From df1480c4e76116fc3f0c8a88b9e324b4f3f4e742 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Wed, 8 Apr 2020 03:44:47 +0000 Subject: [PATCH] Generated from 2977cf8f6360ec52db0cfa0dc0e981cdddfdf18d reveert --- .../arm-appinsights/LICENSE.txt | 2 +- .../arm-appinsights/README.md | 14 +- .../arm-appinsights/package.json | 22 +- .../arm-appinsights/rollup.config.js | 22 +- .../applicationInsightsManagementClient.ts | 2 +- ...licationInsightsManagementClientContext.ts | 4 +- .../src/models/aPIKeysMappers.ts | 13 +- .../src/models/analyticsItemsMappers.ts | 7 +- .../src/models/annotationsMappers.ts | 13 +- .../componentAvailableFeaturesMappers.ts | 7 +- .../componentCurrentBillingFeaturesMappers.ts | 7 +- .../componentFeatureCapabilitiesMappers.ts | 7 +- .../src/models/componentQuotaStatusMappers.ts | 7 +- .../src/models/componentsMappers.ts | 24 +- .../src/models/exportConfigurationsMappers.ts | 11 +- .../src/models/favoritesMappers.ts | 7 +- .../arm-appinsights/src/models/index.ts | 1335 +++++++---------- .../arm-appinsights/src/models/mappers.ts | 74 +- .../src/models/operationsMappers.ts | 11 +- .../arm-appinsights/src/models/parameters.ts | 11 + ...proactiveDetectionConfigurationsMappers.ts | 18 +- .../src/models/webTestLocationsMappers.ts | 9 +- .../src/models/webTestsMappers.ts | 30 +- .../models/workItemConfigurationsMappers.ts | 15 +- .../src/models/workbooksMappers.ts | 26 +- .../arm-appinsights/src/operations/aPIKeys.ts | 24 +- .../src/operations/analyticsItems.ts | 24 +- .../src/operations/annotations.ts | 45 +- .../operations/componentAvailableFeatures.ts | 6 +- .../componentCurrentBillingFeatures.ts | 12 +- .../componentFeatureCapabilities.ts | 8 +- .../src/operations/componentQuotaStatus.ts | 6 +- .../src/operations/components.ts | 48 +- .../src/operations/exportConfigurations.ts | 30 +- .../src/operations/favorites.ts | 30 +- .../proactiveDetectionConfigurations.ts | 18 +- .../src/operations/webTestLocations.ts | 6 +- .../src/operations/webTests.ts | 40 +- .../src/operations/workItemConfigurations.ts | 187 ++- .../src/operations/workbooks.ts | 30 +- .../arm-appinsights/tsconfig.json | 2 +- 41 files changed, 1035 insertions(+), 1179 deletions(-) diff --git a/sdk/applicationinsights/arm-appinsights/LICENSE.txt b/sdk/applicationinsights/arm-appinsights/LICENSE.txt index a70e8cf66038..ea8fb1516028 100644 --- a/sdk/applicationinsights/arm-appinsights/LICENSE.txt +++ b/sdk/applicationinsights/arm-appinsights/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2020 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 diff --git a/sdk/applicationinsights/arm-appinsights/README.md b/sdk/applicationinsights/arm-appinsights/README.md index 6be3c6ab9f88..a81a6333908d 100644 --- a/sdk/applicationinsights/arm-appinsights/README.md +++ b/sdk/applicationinsights/arm-appinsights/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for ApplicationInsightsManagementClient. ### How to Install -``` +```bash npm install @azure/arm-appinsights ``` @@ -19,13 +19,14 @@ npm install @azure/arm-appinsights ##### Install @azure/ms-rest-nodeauth -``` -npm install @azure/ms-rest-nodeauth +- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +```bash +npm install @azure/ms-rest-nodeauth@"^3.0.0" ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -47,7 +48,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -95,5 +96,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [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%2Fapplicationinsights%2Farm-appinsights%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/applicationinsights/arm-appinsights/README.png) diff --git a/sdk/applicationinsights/arm-appinsights/package.json b/sdk/applicationinsights/arm-appinsights/package.json index af5066cd1398..e1be6c1c422f 100644 --- a/sdk/applicationinsights/arm-appinsights/package.json +++ b/sdk/applicationinsights/arm-appinsights/package.json @@ -4,9 +4,9 @@ "description": "ApplicationInsightsManagementClient Library with typescript type definitions for node.js and browser.", "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,18 +20,19 @@ "module": "./esm/applicationInsightsManagementClient.js", "types": "./esm/applicationInsightsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" + "typescript": "^3.5.3", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-sourcemaps": "^0.4.2", + "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/applicationinsights/arm-appinsights", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/applicationinsights/arm-appinsights", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], diff --git a/sdk/applicationinsights/arm-appinsights/rollup.config.js b/sdk/applicationinsights/arm-appinsights/rollup.config.js index 78641ef3fe3c..034249a738d2 100644 --- a/sdk/applicationinsights/arm-appinsights/rollup.config.js +++ b/sdk/applicationinsights/arm-appinsights/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/applicationInsightsManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/applicationInsightsManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-appinsights.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ mainFields: ['module', 'main'] }), + sourcemaps() ] }; + export default config; diff --git a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts index 1ad9a69a56ef..e95b4412e537 100644 --- a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts +++ b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts @@ -37,7 +37,7 @@ class ApplicationInsightsManagementClient extends ApplicationInsightsManagementC /** * Initializes a new instance of the ApplicationInsightsManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. - * @param subscriptionId The Azure subscription ID. + * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApplicationInsightsManagementClientOptions) { diff --git a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts index 41cf05899c26..b833010cd213 100644 --- a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts +++ b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-appinsights"; -const packageVersion = "0.1.0"; +const packageVersion = "2.1.0"; export class ApplicationInsightsManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -23,7 +23,7 @@ export class ApplicationInsightsManagementClientContext extends msRestAzure.Azur /** * Initializes a new instance of the ApplicationInsightsManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. - * @param subscriptionId The Azure subscription ID. + * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApplicationInsightsManagementClientOptions) { diff --git a/sdk/applicationinsights/arm-appinsights/src/models/aPIKeysMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/aPIKeysMappers.ts index 1d4fc21adfe6..359b47866056 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/aPIKeysMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/aPIKeysMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ApplicationInsightsComponentAPIKeyListResult, + APIKeyRequest, ApplicationInsightsComponentAPIKey, - CloudError, - APIKeyRequest + ApplicationInsightsComponentAPIKeyListResult, + CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/analyticsItemsMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/analyticsItemsMappers.ts index b00875e33415..ec4ddeb966e1 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/analyticsItemsMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/analyticsItemsMappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { @@ -13,4 +11,3 @@ export { ApplicationInsightsComponentAnalyticsItemProperties, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/annotationsMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/annotationsMappers.ts index d5d9386a0d5e..dd86a501f412 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/annotationsMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/annotationsMappers.ts @@ -1,18 +1,15 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - AnnotationsListResult, Annotation, AnnotationError, - InnerError, - CloudError + AnnotationsListResult, + CloudError, + InnerError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/componentAvailableFeaturesMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/componentAvailableFeaturesMappers.ts index 778c0f8e27f8..077b32f04cad 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/componentAvailableFeaturesMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/componentAvailableFeaturesMappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { @@ -14,4 +12,3 @@ export { ApplicationInsightsComponentFeatureCapability, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/componentCurrentBillingFeaturesMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/componentCurrentBillingFeaturesMappers.ts index 3e6161210aec..b765b76a1921 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/componentCurrentBillingFeaturesMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/componentCurrentBillingFeaturesMappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { @@ -13,4 +11,3 @@ export { ApplicationInsightsComponentDataVolumeCap, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/componentFeatureCapabilitiesMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/componentFeatureCapabilitiesMappers.ts index 66534b06f77b..b13f2ae34a0c 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/componentFeatureCapabilitiesMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/componentFeatureCapabilitiesMappers.ts @@ -1,15 +1,12 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { ApplicationInsightsComponentFeatureCapabilities, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/componentQuotaStatusMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/componentQuotaStatusMappers.ts index a3dfa8eaaa53..6b2bc91696da 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/componentQuotaStatusMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/componentQuotaStatusMappers.ts @@ -1,15 +1,12 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { ApplicationInsightsComponentQuotaStatus, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/componentsMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/componentsMappers.ts index c3b85e5ea6cc..2840a9abb941 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/componentsMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/componentsMappers.ts @@ -1,31 +1,29 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ApplicationInsightsComponentListResult, ApplicationInsightsComponent, - ComponentsResource, + ApplicationInsightsComponentListResult, + ApplicationInsightsComponentProactiveDetectionConfiguration, + ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions, BaseResource, CloudError, - TagsResource, ComponentPurgeBody, ComponentPurgeBodyFilters, ComponentPurgeResponse, ComponentPurgeStatusResponse, - ApplicationInsightsComponentProactiveDetectionConfiguration, - ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions, - WebtestsResource, + ComponentsResource, + PrivateLinkScopedResource, + TagsResource, WebTest, WebTestGeolocation, WebTestPropertiesConfiguration, - WorkbookResource, - Workbook + WebtestsResource, + Workbook, + WorkbookResource } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/exportConfigurationsMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/exportConfigurationsMappers.ts index a1919004b9d4..a5c3232aad4e 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/exportConfigurationsMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/exportConfigurationsMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { ApplicationInsightsComponentExportConfiguration, - CloudError, - ApplicationInsightsComponentExportRequest + ApplicationInsightsComponentExportRequest, + CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/favoritesMappers.ts b/sdk/applicationinsights/arm-appinsights/src/models/favoritesMappers.ts index f69c1f6d10e9..d927641eeede 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/favoritesMappers.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/favoritesMappers.ts @@ -1,15 +1,12 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { ApplicationInsightsComponentFavorite, CloudError } from "../models/mappers"; - diff --git a/sdk/applicationinsights/arm-appinsights/src/models/index.ts b/sdk/applicationinsights/arm-appinsights/src/models/index.ts index ff9e140b9556..567115522ddb 100644 --- a/sdk/applicationinsights/arm-appinsights/src/models/index.ts +++ b/sdk/applicationinsights/arm-appinsights/src/models/index.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * 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. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,1769 +11,1418 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing ErrorResponse. - * Error reponse indicates Insights service is not able to process the incoming - * request. The reason is provided in the error message. - * + * Error response indicates Insights service is not able to process the incoming request. The + * reason is provided in the error message. */ export interface ErrorResponse { /** - * @member {string} [code] Error code. + * Error code. */ code?: string; /** - * @member {string} [message] Error message indicating why the operation - * failed. + * Error message indicating why the operation failed. */ message?: string; } /** - * @interface - * An interface representing OperationDisplay. * The object that represents the operation. - * */ export interface OperationDisplay { /** - * @member {string} [provider] Service provider: Microsoft.Cdn + * Service provider: Microsoft.Cdn */ provider?: string; /** - * @member {string} [resource] Resource on which the operation is performed: - * Profile, endpoint, etc. + * Resource on which the operation is performed: Profile, endpoint, etc. */ resource?: string; /** - * @member {string} [operation] Operation type: Read, write, delete, etc. + * Operation type: Read, write, delete, etc. */ operation?: string; } /** - * @interface - * An interface representing Operation. * CDN REST API operation - * */ export interface Operation { /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation} + * Operation name: {provider}/{resource}/{operation} */ name?: string; /** - * @member {OperationDisplay} [display] The object that represents the - * operation. + * The object that represents the operation. */ display?: OperationDisplay; } /** - * @interface - * An interface representing Annotation. * Annotation associated with an application insights resource. - * */ export interface Annotation { /** - * @member {string} [annotationName] Name of annotation + * Name of annotation */ annotationName?: string; /** - * @member {string} [category] Category of annotation, free form + * Category of annotation, free form */ category?: string; /** - * @member {Date} [eventTime] Time when event occurred + * Time when event occurred */ eventTime?: Date; /** - * @member {string} [id] Unique Id for annotation + * Unique Id for annotation */ id?: string; /** - * @member {string} [properties] Serialized JSON object for detailed - * properties + * Serialized JSON object for detailed properties */ properties?: string; /** - * @member {string} [relatedAnnotation] Related parent annotation if any. - * Default value: 'null' . + * Related parent annotation if any. Default value: 'null'. */ relatedAnnotation?: string; } /** - * @interface - * An interface representing InnerError. * Inner error - * */ export interface InnerError { /** - * @member {string} [diagnosticcontext] Provides correlation for request + * Provides correlation for request */ diagnosticcontext?: string; /** - * @member {Date} [time] Request time + * Request time */ time?: Date; } /** - * @interface - * An interface representing AnnotationError. * Error associated with trying to create annotation with Id that already exist - * */ export interface AnnotationError { /** - * @member {string} [code] Error detail code and explanation + * Error detail code and explanation */ code?: string; /** - * @member {string} [message] Error message + * Error message */ message?: string; - /** - * @member {InnerError} [innererror] - */ innererror?: InnerError; } /** - * @interface - * An interface representing APIKeyRequest. - * An Application Insights component API Key createion request definition. - * + * An Application Insights component API Key creation request definition. */ export interface APIKeyRequest { /** - * @member {string} [name] The name of the API Key. + * The name of the API Key. */ name?: string; /** - * @member {string[]} [linkedReadProperties] The read access rights of this - * API Key. + * The read access rights of this API Key. */ linkedReadProperties?: string[]; /** - * @member {string[]} [linkedWriteProperties] The write access rights of this - * API Key. + * The write access rights of this API Key. */ linkedWriteProperties?: string[]; } /** - * @interface - * An interface representing ApplicationInsightsComponentAPIKey. * Properties that define an API key of an Application Insights Component. - * */ export interface ApplicationInsightsComponentAPIKey { /** - * @member {string} [id] The unique ID of the API key inside an Applciation - * Insights component. It is auto generated when the API key is created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The unique ID of the API key inside an Application Insights component. It is auto generated + * when the API key is created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [apiKey] The API key value. It will be only return once - * when the API Key was created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The API key value. It will be only return once when the API Key was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly apiKey?: string; /** - * @member {string} [createdDate] The create date of this API key. + * The create date of this API key. */ createdDate?: string; /** - * @member {string} [name] The name of the API key. + * The name of the API key. */ name?: string; /** - * @member {string[]} [linkedReadProperties] The read access rights of this - * API Key. + * The read access rights of this API Key. */ linkedReadProperties?: string[]; /** - * @member {string[]} [linkedWriteProperties] The write access rights of this - * API Key. + * The write access rights of this API Key. */ linkedWriteProperties?: string[]; } /** - * @interface - * An interface representing ApplicationInsightsComponentExportRequest. - * An Application Insights component Continuous Export configuration request - * definition. - * + * An Application Insights component Continuous Export configuration request definition. */ export interface ApplicationInsightsComponentExportRequest { /** - * @member {string} [recordTypes] The document types to be exported, as comma - * separated values. Allowed values include 'Requests', 'Event', - * 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', + * The document types to be exported, as comma separated values. Allowed values include + * 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', * 'PerformanceCounters', 'Availability', 'Messages'. */ recordTypes?: string; /** - * @member {string} [destinationType] The Continuous Export destination type. - * This has to be 'Blob'. + * The Continuous Export destination type. This has to be 'Blob'. */ destinationType?: string; /** - * @member {string} [destinationAddress] The SAS URL for the destination - * storage container. It must grant write permission. + * The SAS URL for the destination storage container. It must grant write permission. */ destinationAddress?: string; /** - * @member {string} [isEnabled] Set to 'true' to create a Continuous Export - * configuration as enabled, otherwise set it to 'false'. + * Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to + * 'false'. */ isEnabled?: string; /** - * @member {string} [notificationQueueEnabled] Deprecated + * Deprecated */ notificationQueueEnabled?: string; /** - * @member {string} [notificationQueueUri] Deprecated + * Deprecated */ notificationQueueUri?: string; /** - * @member {string} [destinationStorageSubscriptionId] The subscription ID of - * the destination storage container. + * The subscription ID of the destination storage container. */ destinationStorageSubscriptionId?: string; /** - * @member {string} [destinationStorageLocationId] The location ID of the - * destination storage container. + * The location ID of the destination storage container. */ destinationStorageLocationId?: string; /** - * @member {string} [destinationAccountId] The name of destination storage - * account. + * The name of destination storage account. */ destinationAccountId?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentExportConfiguration. * Properties that define a Continuous Export configuration. - * */ export interface ApplicationInsightsComponentExportConfiguration { /** - * @member {string} [exportId] The unique ID of the export configuration - * inside an Applciation Insights component. It is auto generated when the - * Continuous Export configuration is created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The unique ID of the export configuration inside an Application Insights component. It is auto + * generated when the Continuous Export configuration is created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly exportId?: string; /** - * @member {string} [instrumentationKey] The instrumentation key of the - * Application Insights component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The instrumentation key of the Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly instrumentationKey?: string; /** - * @member {string} [recordTypes] This comma separated list of document types - * that will be exported. The possible values include 'Requests', 'Event', - * 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', + * This comma separated list of document types that will be exported. The possible values include + * 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', * 'PerformanceCounters', 'Availability', 'Messages'. */ recordTypes?: string; /** - * @member {string} [applicationName] The name of the Application Insights - * component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly applicationName?: string; /** - * @member {string} [subscriptionId] The subscription of the Application - * Insights component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The subscription of the Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly subscriptionId?: string; /** - * @member {string} [resourceGroup] The resource group of the Application - * Insights component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The resource group of the Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resourceGroup?: string; /** - * @member {string} [destinationStorageSubscriptionId] The destination - * storage account subscription ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The destination storage account subscription ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly destinationStorageSubscriptionId?: string; /** - * @member {string} [destinationStorageLocationId] The destination account - * location ID. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The destination account location ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly destinationStorageLocationId?: string; /** - * @member {string} [destinationAccountId] The name of destination account. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of destination account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly destinationAccountId?: string; /** - * @member {string} [destinationType] The destination type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The destination type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly destinationType?: string; /** - * @member {string} [isUserEnabled] This will be 'true' if the Continuous - * Export configuration is enabled, otherwise it will be 'false'. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be + * 'false'. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly isUserEnabled?: string; /** - * @member {string} [lastUserUpdate] Last time the Continuous Export - * configuration was updated. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Last time the Continuous Export configuration was updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastUserUpdate?: string; /** - * @member {string} [notificationQueueEnabled] Deprecated + * Deprecated */ notificationQueueEnabled?: string; /** - * @member {string} [exportStatus] This indicates current Continuous Export - * configuration status. The possible values are 'Preparing', 'Success', - * 'Failure'. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * This indicates current Continuous Export configuration status. The possible values are + * 'Preparing', 'Success', 'Failure'. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly exportStatus?: string; /** - * @member {string} [lastSuccessTime] The last time data was successfully - * delivered to the destination storage container for this Continuous Export - * configuration. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The last time data was successfully delivered to the destination storage container for this + * Continuous Export configuration. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastSuccessTime?: string; /** - * @member {string} [lastGapTime] The last time the Continuous Export - * configuration started failing. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The last time the Continuous Export configuration started failing. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastGapTime?: string; /** - * @member {string} [permanentErrorReason] This is the reason the Continuous - * Export configuration started failing. It can be 'AzureStorageNotFound' or - * 'AzureStorageAccessDenied'. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * This is the reason the Continuous Export configuration started failing. It can be + * 'AzureStorageNotFound' or 'AzureStorageAccessDenied'. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly permanentErrorReason?: string; /** - * @member {string} [storageName] The name of the destination storage - * account. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the destination storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly storageName?: string; /** - * @member {string} [containerName] The name of the destination storage - * container. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the destination storage container. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly containerName?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentDataVolumeCap. - * An Application Insights component daily data volumne cap - * + * An Application Insights component daily data volume cap */ export interface ApplicationInsightsComponentDataVolumeCap { /** - * @member {number} [cap] Daily data volume cap in GB. + * Daily data volume cap in GB. */ cap?: number; /** - * @member {number} [resetTime] Daily data volume cap UTC reset hour. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Daily data volume cap UTC reset hour. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resetTime?: number; /** - * @member {number} [warningThreshold] Reserved, not used for now. + * Reserved, not used for now. */ warningThreshold?: number; /** - * @member {boolean} [stopSendNotificationWhenHitThreshold] Reserved, not - * used for now. + * Reserved, not used for now. */ stopSendNotificationWhenHitThreshold?: boolean; /** - * @member {boolean} [stopSendNotificationWhenHitCap] Do not send a - * notification email when the daily data volume cap is met. + * Do not send a notification email when the daily data volume cap is met. */ stopSendNotificationWhenHitCap?: boolean; /** - * @member {number} [maxHistoryCap] Maximum daily data volume cap that the - * user can set for this component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Maximum daily data volume cap that the user can set for this component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly maxHistoryCap?: number; } /** - * @interface - * An interface representing ApplicationInsightsComponentBillingFeatures. * An Application Insights component billing features - * */ export interface ApplicationInsightsComponentBillingFeatures { /** - * @member {ApplicationInsightsComponentDataVolumeCap} [dataVolumeCap] An - * Application Insights component daily data volumne cap + * An Application Insights component daily data volume cap */ dataVolumeCap?: ApplicationInsightsComponentDataVolumeCap; /** - * @member {string[]} [currentBillingFeatures] Current enabled pricing plan. - * When the component is in the Enterprise plan, this will list both 'Basic' - * and 'Application Insights Enterprise'. + * Current enabled pricing plan. When the component is in the Enterprise plan, this will list + * both 'Basic' and 'Application Insights Enterprise'. */ currentBillingFeatures?: string[]; } /** - * @interface - * An interface representing ApplicationInsightsComponentQuotaStatus. * An Application Insights component daily data volume cap status - * */ export interface ApplicationInsightsComponentQuotaStatus { /** - * @member {string} [appId] The Application ID for the Application Insights - * component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The Application ID for the Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly appId?: string; /** - * @member {boolean} [shouldBeThrottled] The daily data volume cap is met, - * and data ingestion will be stopped. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The daily data volume cap is met, and data ingestion will be stopped. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly shouldBeThrottled?: boolean; /** - * @member {string} [expirationTime] Date and time when the daily data volume - * cap will be reset, and data ingestion will resume. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Date and time when the daily data volume cap will be reset, and data ingestion will resume. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly expirationTime?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentFeatureCapabilities. * An Application Insights component feature capabilities - * */ export interface ApplicationInsightsComponentFeatureCapabilities { /** - * @member {boolean} [supportExportData] Whether allow to use continuous - * export feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether allow to use continuous export feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly supportExportData?: boolean; /** - * @member {string} [burstThrottlePolicy] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly burstThrottlePolicy?: string; /** - * @member {string} [metadataClass] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly metadataClass?: string; /** - * @member {boolean} [liveStreamMetrics] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly liveStreamMetrics?: boolean; /** - * @member {boolean} [applicationMap] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly applicationMap?: boolean; /** - * @member {boolean} [workItemIntegration] Whether allow to use work item - * integration feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether allow to use work item integration feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly workItemIntegration?: boolean; /** - * @member {boolean} [powerBIIntegration] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly powerBIIntegration?: boolean; /** - * @member {boolean} [openSchema] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly openSchema?: boolean; /** - * @member {boolean} [proactiveDetection] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly proactiveDetection?: boolean; /** - * @member {boolean} [analyticsIntegration] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly analyticsIntegration?: boolean; /** - * @member {boolean} [multipleStepWebTest] Whether allow to use multiple - * steps web test feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether allow to use multiple steps web test feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly multipleStepWebTest?: boolean; /** - * @member {string} [apiAccessLevel] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly apiAccessLevel?: string; /** - * @member {string} [trackingType] The applciation insights component used - * tracking type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The application insights component used tracking type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly trackingType?: string; /** - * @member {number} [dailyCap] Daily data volume cap in GB. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Daily data volume cap in GB. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly dailyCap?: number; /** - * @member {number} [dailyCapResetTime] Daily data volume cap UTC reset hour. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Daily data volume cap UTC reset hour. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly dailyCapResetTime?: number; /** - * @member {number} [throttleRate] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly throttleRate?: number; } /** - * @interface - * An interface representing ApplicationInsightsComponentFeatureCapability. * An Application Insights component feature capability - * */ export interface ApplicationInsightsComponentFeatureCapability { /** - * @member {string} [name] The name of the capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [description] The description of the capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The description of the capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly description?: string; /** - * @member {string} [value] The vaule of the capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The value of the capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly value?: string; /** - * @member {string} [unit] The unit of the capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The unit of the capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly unit?: string; /** - * @member {string} [meterId] The meter used for the capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The meter used for the capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly meterId?: string; /** - * @member {string} [meterRateFrequency] The meter rate of the meter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The meter rate of the meter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly meterRateFrequency?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentFeature. * An Application Insights component daily data volume cap status - * */ export interface ApplicationInsightsComponentFeature { /** - * @member {string} [featureName] The pricing feature name. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The pricing feature name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly featureName?: string; /** - * @member {string} [meterId] The meter id used for the feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The meter id used for the feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly meterId?: string; /** - * @member {string} [meterRateFrequency] The meter meter rate for the - * feature's meter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The meter rate for the feature's meter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly meterRateFrequency?: string; /** - * @member {string} [resouceId] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resouceId?: string; /** - * @member {boolean} [isHidden] Reserved, not used now. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Reserved, not used now. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly isHidden?: boolean; /** - * @member {ApplicationInsightsComponentFeatureCapability[]} [capabilities] A - * list of Application Insigths component feature capability. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * A list of Application Insights component feature capability. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly capabilities?: ApplicationInsightsComponentFeatureCapability[]; /** - * @member {string} [title] Desplay name of the feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Display name of the feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly title?: string; /** - * @member {boolean} [isMainFeature] Whether can apply addon feature on to - * it. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether can apply addon feature on to it. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly isMainFeature?: boolean; /** - * @member {string} [supportedAddonFeatures] The add on features on main - * feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The add on features on main feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly supportedAddonFeatures?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentAvailableFeatures. * An Application Insights component available features. - * */ export interface ApplicationInsightsComponentAvailableFeatures { /** - * @member {ApplicationInsightsComponentFeature[]} [result] A list of - * Application Insigths component feature. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * A list of Application Insights component feature. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly result?: ApplicationInsightsComponentFeature[]; } /** - * @interface - * An interface representing ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions. - * Static definitions of the ProactiveDetection configuration rule (same values - * for all components). - * + * Static definitions of the ProactiveDetection configuration rule (same values for all + * components). */ export interface ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions { /** - * @member {string} [name] The rule name + * The rule name */ name?: string; /** - * @member {string} [displayName] The rule name as it is displayed in UI + * The rule name as it is displayed in UI */ displayName?: string; /** - * @member {string} [description] The rule description + * The rule description */ description?: string; /** - * @member {string} [helpUrl] URL which displays aditional info about the - * proactive detection rule + * URL which displays additional info about the proactive detection rule */ helpUrl?: string; /** - * @member {boolean} [isHidden] A flag indicating whether the rule is hidden - * (from the UI) + * A flag indicating whether the rule is hidden (from the UI) */ isHidden?: boolean; /** - * @member {boolean} [isEnabledByDefault] A flag indicating whether the rule - * is enabled by default + * A flag indicating whether the rule is enabled by default */ isEnabledByDefault?: boolean; /** - * @member {boolean} [isInPreview] A flag indicating whether the rule is in - * preview + * A flag indicating whether the rule is in preview */ isInPreview?: boolean; /** - * @member {boolean} [supportsEmailNotifications] A flag indicating whether - * email notifications are supported for detections for this rule + * A flag indicating whether email notifications are supported for detections for this rule */ supportsEmailNotifications?: boolean; } /** - * @interface - * An interface representing ApplicationInsightsComponentProactiveDetectionConfiguration. * Properties that define a ProactiveDetection configuration. - * - * @extends BaseResource */ export interface ApplicationInsightsComponentProactiveDetectionConfiguration extends BaseResource { /** - * @member {string} [name] The rule name + * The rule name */ name?: string; /** - * @member {boolean} [enabled] A flag that indicates whether this rule is - * enabled by the user + * A flag that indicates whether this rule is enabled by the user */ enabled?: boolean; /** - * @member {boolean} [sendEmailsToSubscriptionOwners] A flag that indicated - * whether notifications on this rule should be sent to subscription owners + * A flag that indicated whether notifications on this rule should be sent to subscription owners */ sendEmailsToSubscriptionOwners?: boolean; /** - * @member {string[]} [customEmails] Custom email addresses for this rule - * notifications + * Custom email addresses for this rule notifications */ customEmails?: string[]; /** - * @member {string} [lastUpdatedTime] The last time this rule was updated + * The last time this rule was updated */ lastUpdatedTime?: string; /** - * @member - * {ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions} - * [ruleDefinitions] Static definitions of the ProactiveDetection - * configuration rule (same values for all components). + * Static definitions of the ProactiveDetection configuration rule (same values for all + * components). */ ruleDefinitions?: ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions; } /** - * @interface - * An interface representing ComponentsResource. * An azure resource object - * - * @extends BaseResource */ export interface ComponentsResource extends BaseResource { /** - * @member {string} [id] Azure resource Id - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Azure resource name - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Azure resource type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} location Resource location + * Resource location */ location: string; /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags + * Resource tags */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing TagsResource. - * A container holding only the Tags for a resource, allowing the user to - * update the tags on a WebTest instance. - * + * A container holding only the Tags for a resource, allowing the user to update the tags on a + * WebTest instance. */ export interface TagsResource { /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags + * Resource tags */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing ApplicationInsightsComponent. + * The private link scope resource reference. + */ +export interface PrivateLinkScopedResource { + /** + * The full resource Id of the private link scope resource. + */ + resourceId?: string; + /** + * The private link scope unique Identifier. + */ + scopeId?: string; +} + +/** * An Application Insights component definition. - * - * @extends ComponentsResource */ export interface ApplicationInsightsComponent extends ComponentsResource { /** - * @member {string} kind The kind of application that this component refers - * to, used to customize UI. This value is a freeform string, values should - * typically be one of the following: web, ios, other, store, java, phone. + * The kind of application that this component refers to, used to customize UI. This value is a + * freeform string, values should typically be one of the following: web, ios, other, store, + * java, phone. */ kind: string; /** - * @member {string} [applicationId] The unique ID of your application. This - * field mirrors the 'Name' field and cannot be changed. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The unique ID of your application. This field mirrors the 'Name' field and cannot be changed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly applicationId?: string; /** - * @member {string} [appId] Application Insights Unique ID for your - * Application. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Application Insights Unique ID for your Application. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly appId?: string; /** - * @member {ApplicationType} applicationType Type of application being - * monitored. Possible values include: 'web', 'other'. Default value: 'web' . + * Type of application being monitored. Possible values include: 'web', 'other'. Default value: + * 'web'. */ applicationType: ApplicationType; /** - * @member {FlowType} [flowType] Used by the Application Insights system to - * determine what kind of flow this component was created by. This is to be - * set to 'Bluefield' when creating/updating a component via the REST API. - * Possible values include: 'Bluefield'. Default value: 'Bluefield' . + * Used by the Application Insights system to determine what kind of flow this component was + * created by. This is to be set to 'Bluefield' when creating/updating a component via the REST + * API. Possible values include: 'Bluefield'. Default value: 'Bluefield'. */ flowType?: FlowType; /** - * @member {RequestSource} [requestSource] Describes what tool created this - * Application Insights component. Customers using this API should set this - * to the default 'rest'. Possible values include: 'rest'. Default value: - * 'rest' . + * Describes what tool created this Application Insights component. Customers using this API + * should set this to the default 'rest'. Possible values include: 'rest'. Default value: 'rest'. */ requestSource?: RequestSource; /** - * @member {string} [instrumentationKey] Application Insights Instrumentation - * key. A read-only value that applications can use to identify the - * destination for all telemetry sent to Azure Application Insights. This - * value will be supplied upon construction of each new Application Insights - * component. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Application Insights Instrumentation key. A read-only value that applications can use to + * identify the destination for all telemetry sent to Azure Application Insights. This value will + * be supplied upon construction of each new Application Insights component. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly instrumentationKey?: string; /** - * @member {Date} [creationDate] Creation Date for the Application Insights - * component, in ISO 8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Creation Date for the Application Insights component, in ISO 8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly creationDate?: Date; /** - * @member {string} [tenantId] Azure Tenant Id. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure Tenant Id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly tenantId?: string; /** - * @member {string} [hockeyAppId] The unique application ID created when a - * new application is added to HockeyApp, used for communications with - * HockeyApp. + * The unique application ID created when a new application is added to HockeyApp, used for + * communications with HockeyApp. */ hockeyAppId?: string; /** - * @member {string} [hockeyAppToken] Token used to authenticate - * communications with between Application Insights and HockeyApp. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Token used to authenticate communications with between Application Insights and HockeyApp. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly hockeyAppToken?: string; /** - * @member {string} [provisioningState] Current state of this component: - * whether or not is has been provisioned within the resource group it is - * defined. Users cannot change this value but are able to read from it. - * Values will include Succeeded, Deploying, Canceled, and Failed. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Current state of this component: whether or not is has been provisioned within the resource + * group it is defined. Users cannot change this value but are able to read from it. Values will + * include Succeeded, Deploying, Canceled, and Failed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; /** - * @member {number} [samplingPercentage] Percentage of the data produced by - * the application being monitored that is being sampled for Application - * Insights telemetry. + * Percentage of the data produced by the application being monitored that is being sampled for + * Application Insights telemetry. */ samplingPercentage?: number; + /** + * Application Insights component connection string. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly connectionString?: string; + /** + * Retention period in days. Default value: 90. + */ + retentionInDays?: number; + /** + * Disable IP masking. + */ + disableIpMasking?: boolean; + /** + * Purge data immediately after 30 days. + */ + immediatePurgeDataOn30Days?: boolean; + /** + * List of linked private link scope resources. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly privateLinkScopedResources?: PrivateLinkScopedResource[]; } /** - * @interface - * An interface representing ComponentPurgeBodyFilters. * User-defined filters to return data which will be purged from the table. - * */ export interface ComponentPurgeBodyFilters { /** - * @member {string} [column] The column of the table over which the given - * query should run + * The column of the table over which the given query should run */ column?: string; /** - * @member {string} [operator] A query operator to evaluate over the provided - * column and value(s). + * A query operator to evaluate over the provided column and value(s). Supported operators are + * ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL + * query. */ operator?: string; /** - * @member {any} [value] the value for the operator to function over. This - * can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or - * array of values. + * the value for the operator to function over. This can be a number (e.g., > 100), a string + * (timestamp >= '2017-09-01') or array of values. */ value?: any; /** - * @member {string} [key] When filtering over custom dimensions, this key - * will be used as the name of the custom dimension. + * When filtering over custom dimensions, this key will be used as the name of the custom + * dimension. */ key?: string; } /** - * @interface - * An interface representing ComponentPurgeBody. * Describes the body of a purge request for an App Insights component - * */ export interface ComponentPurgeBody { /** - * @member {string} table Table from which to purge data. + * Table from which to purge data. */ table: string; /** - * @member {ComponentPurgeBodyFilters[]} filters The set of columns and - * filters (queries) to run over them to purge the resulting data. + * The set of columns and filters (queries) to run over them to purge the resulting data. */ filters: ComponentPurgeBodyFilters[]; } /** - * @interface - * An interface representing ComponentPurgeResponse. * Response containing operationId for a specific purge action. - * */ export interface ComponentPurgeResponse { /** - * @member {string} operationId Id to use when querying for status for a - * particular purge operation. + * Id to use when querying for status for a particular purge operation. */ operationId: string; } /** - * @interface - * An interface representing ComponentPurgeStatusResponse. * Response containing status for a specific purge operation. - * */ export interface ComponentPurgeStatusResponse { /** - * @member {PurgeState} status Status of the operation represented by the - * requested Id. Possible values include: 'pending', 'completed' + * Status of the operation represented by the requested Id. Possible values include: 'pending', + * 'completed' */ status: PurgeState; } /** - * @interface - * An interface representing WorkItemConfiguration. * Work item configuration associated with an application insights resource. - * */ export interface WorkItemConfiguration { /** - * @member {string} [connectorId] Connector identifier where work item is - * created + * Connector identifier where work item is created */ connectorId?: string; /** - * @member {string} [configDisplayName] Configuration friendly name + * Configuration friendly name */ configDisplayName?: string; /** - * @member {boolean} [isDefault] Boolean value indicating whether - * configuration is default + * Boolean value indicating whether configuration is default */ isDefault?: boolean; /** - * @member {string} [id] Unique Id for work item + * Unique Id for work item */ id?: string; /** - * @member {string} [configProperties] Serialized JSON object for detailed - * properties + * Serialized JSON object for detailed properties */ configProperties?: string; } /** - * @interface - * An interface representing WorkItemCreateConfiguration. * Work item configuration creation payload - * */ export interface WorkItemCreateConfiguration { /** - * @member {string} [connectorId] Unique connector id + * Unique connector id */ connectorId?: string; /** - * @member {string} [connectorDataConfiguration] Serialized JSON object for - * detaile d properties + * Serialized JSON object for detailed properties */ connectorDataConfiguration?: string; /** - * @member {boolean} [validateOnly] Boolean indicating validate only + * Boolean indicating validate only */ validateOnly?: boolean; /** - * @member {string} [workItemProperties] Custom work item properties + * Custom work item properties */ - workItemProperties?: string; + workItemProperties?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing WorkItemConfigurationError. - * Error associated with trying to get work item configuration or - * configurations - * + * Error associated with trying to get work item configuration or configurations */ export interface WorkItemConfigurationError { /** - * @member {string} [code] Error detail code and explanation + * Error detail code and explanation */ code?: string; /** - * @member {string} [message] Error message + * Error message */ message?: string; - /** - * @member {InnerError} [innererror] - */ innererror?: InnerError; } /** - * @interface - * An interface representing ApplicationInsightsComponentFavorite. - * Properties that define a favorite that is associated to an Application - * Insights component. - * + * Properties that define a favorite that is associated to an Application Insights component. */ export interface ApplicationInsightsComponentFavorite { /** - * @member {string} [name] The user-defined name of the favorite. + * The user-defined name of the favorite. */ name?: string; /** - * @member {string} [config] Configuration of this particular favorite, which - * are driven by the Azure portal UX. Configuration data is a string - * containing valid JSON + * Configuration of this particular favorite, which are driven by the Azure portal UX. + * Configuration data is a string containing valid JSON */ config?: string; /** - * @member {string} [version] This instance's version of the data model. This - * can change as new features are added that can be marked favorite. Current - * examples include MetricsExplorer (ME) and Search. + * This instance's version of the data model. This can change as new features are added that can + * be marked favorite. Current examples include MetricsExplorer (ME) and Search. */ version?: string; /** - * @member {string} [favoriteId] Internally assigned unique id of the - * favorite definition. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Internally assigned unique id of the favorite definition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly favoriteId?: string; /** - * @member {FavoriteType} [favoriteType] Enum indicating if this favorite - * definition is owned by a specific user or is shared between all users with - * access to the Application Insights component. Possible values include: + * Enum indicating if this favorite definition is owned by a specific user or is shared between + * all users with access to the Application Insights component. Possible values include: * 'shared', 'user' */ favoriteType?: FavoriteType; /** - * @member {string} [sourceType] The source of the favorite definition. + * The source of the favorite definition. */ sourceType?: string; /** - * @member {string} [timeModified] Date and time in UTC of the last - * modification that was made to this favorite definition. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Date and time in UTC of the last modification that was made to this favorite definition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timeModified?: string; /** - * @member {string[]} [tags] A list of 0 or more tags that are associated - * with this favorite definition + * A list of 0 or more tags that are associated with this favorite definition */ tags?: string[]; /** - * @member {string} [category] Favorite category, as defined by the user at - * creation time. + * Favorite category, as defined by the user at creation time. */ category?: string; /** - * @member {boolean} [isGeneratedFromTemplate] Flag denoting wether or not - * this favorite was generated from a template. + * Flag denoting wether or not this favorite was generated from a template. */ isGeneratedFromTemplate?: boolean; /** - * @member {string} [userId] Unique user id of the specific user that owns - * this favorite. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Unique user id of the specific user that owns this favorite. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly userId?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentWebTestLocation. - * Properties that define a web test location available to an Application - * Insights Component. - * + * Properties that define a web test location available to an Application Insights Component. */ export interface ApplicationInsightsComponentWebTestLocation { /** - * @member {string} [displayName] The display name of the web test location. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The display name of the web test location. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayName?: string; /** - * @member {string} [tag] Internally defined geographic location tag. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Internally defined geographic location tag. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly tag?: string; } /** - * @interface - * An interface representing WebtestsResource. * An azure resource object - * - * @extends BaseResource */ export interface WebtestsResource extends BaseResource { /** - * @member {string} [id] Azure resource Id - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Azure resource name - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Azure resource type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} location Resource location + * Resource location */ location: string; /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags + * Resource tags */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing WebTestGeolocation. - * Geo-physical location to run a web test from. You must specify one or more - * locations for the test to run from. - * + * Geo-physical location to run a web test from. You must specify one or more locations for the + * test to run from. */ export interface WebTestGeolocation { /** - * @member {string} [location] Location ID for the webtest to run from. + * Location ID for the webtest to run from. */ location?: string; } /** - * @interface - * An interface representing WebTestPropertiesConfiguration. * An XML configuration specification for a WebTest. - * */ export interface WebTestPropertiesConfiguration { /** - * @member {string} [webTest] The XML specification of a WebTest to run - * against an application. + * The XML specification of a WebTest to run against an application. */ webTest?: string; } /** - * @interface - * An interface representing WebTest. * An Application Insights web test definition. - * - * @extends WebtestsResource */ export interface WebTest extends WebtestsResource { /** - * @member {WebTestKind} [kind] The kind of web test that this web test - * watches. Choices are ping and multistep. Possible values include: 'ping', - * 'multistep'. Default value: 'ping' . + * The kind of web test that this web test watches. Choices are ping and multistep. Possible + * values include: 'ping', 'multistep'. Default value: 'ping'. */ kind?: WebTestKind; /** - * @member {string} syntheticMonitorId Unique ID of this WebTest. This is - * typically the same value as the Name field. + * Unique ID of this WebTest. This is typically the same value as the Name field. */ syntheticMonitorId: string; /** - * @member {string} webTestName User defined name if this WebTest. + * User defined name if this WebTest. */ webTestName: string; /** - * @member {string} [description] Purpose/user defined descriptive test for - * this WebTest. + * Purpose/user defined descriptive test for this WebTest. */ description?: string; /** - * @member {boolean} [enabled] Is the test actively being monitored. + * Is the test actively being monitored. */ enabled?: boolean; /** - * @member {number} [frequency] Interval in seconds between test runs for - * this WebTest. Default value is 300. Default value: 300 . + * Interval in seconds between test runs for this WebTest. Default value is 300. Default value: + * 300. */ frequency?: number; /** - * @member {number} [timeout] Seconds until this WebTest will timeout and - * fail. Default value is 30. Default value: 30 . + * Seconds until this WebTest will timeout and fail. Default value is 30. Default value: 30. */ timeout?: number; /** - * @member {WebTestKind} webTestKind The kind of web test this is, valid - * choices are ping and multistep. Possible values include: 'ping', - * 'multistep'. Default value: 'ping' . + * The kind of web test this is, valid choices are ping and multistep. Possible values include: + * 'ping', 'multistep'. Default value: 'ping'. */ webTestKind: WebTestKind; /** - * @member {boolean} [retryEnabled] Allow for retries should this WebTest - * fail. + * Allow for retries should this WebTest fail. */ retryEnabled?: boolean; /** - * @member {WebTestGeolocation[]} locations A list of where to physically run - * the tests from to give global coverage for accessibility of your - * application. + * A list of where to physically run the tests from to give global coverage for accessibility of + * your application. */ locations: WebTestGeolocation[]; /** - * @member {WebTestPropertiesConfiguration} [configuration] An XML - * configuration specification for a WebTest. + * An XML configuration specification for a WebTest. */ configuration?: WebTestPropertiesConfiguration; /** - * @member {string} [provisioningState] Current state of this component, - * whether or not is has been provisioned within the resource group it is - * defined. Users cannot change this value but are able to read from it. - * Values will include Succeeded, Deploying, Canceled, and Failed. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Current state of this component, whether or not is has been provisioned within the resource + * group it is defined. Users cannot change this value but are able to read from it. Values will + * include Succeeded, Deploying, Canceled, and Failed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentAnalyticsItemProperties. - * A set of properties that can be defined in the context of a specific item - * type. Each type may have its own properties. - * + * A set of properties that can be defined in the context of a specific item type. Each type may + * have its own properties. */ export interface ApplicationInsightsComponentAnalyticsItemProperties { /** - * @member {string} [functionAlias] A function alias, used when the type of - * the item is Function + * A function alias, used when the type of the item is Function */ functionAlias?: string; } /** - * @interface - * An interface representing ApplicationInsightsComponentAnalyticsItem. - * Properties that define an Analytics item that is associated to an - * Application Insights component. - * + * Properties that define an Analytics item that is associated to an Application Insights + * component. */ export interface ApplicationInsightsComponentAnalyticsItem { /** - * @member {string} [id] Internally assigned unique id of the item - * definition. + * Internally assigned unique id of the item definition. */ id?: string; /** - * @member {string} [name] The user-defined name of the item. + * The user-defined name of the item. */ name?: string; /** - * @member {string} [content] The content of this item + * The content of this item */ content?: string; /** - * @member {string} [version] This instance's version of the data model. This - * can change as new features are added. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * This instance's version of the data model. This can change as new features are added. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly version?: string; /** - * @member {ItemScope} [scope] Enum indicating if this item definition is - * owned by a specific user or is shared between all users with access to the - * Application Insights component. Possible values include: 'shared', 'user' + * Enum indicating if this item definition is owned by a specific user or is shared between all + * users with access to the Application Insights component. Possible values include: 'shared', + * 'user' */ scope?: ItemScope; /** - * @member {ItemType} [type] Enum indicating the type of the Analytics item. - * Possible values include: 'query', 'function', 'folder', 'recent' + * Enum indicating the type of the Analytics item. Possible values include: 'query', 'function', + * 'folder', 'recent' */ type?: ItemType; /** - * @member {string} [timeCreated] Date and time in UTC when this item was - * created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Date and time in UTC when this item was created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timeCreated?: string; /** - * @member {string} [timeModified] Date and time in UTC of the last - * modification that was made to this item. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Date and time in UTC of the last modification that was made to this item. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timeModified?: string; - /** - * @member {ApplicationInsightsComponentAnalyticsItemProperties} [properties] - */ properties?: ApplicationInsightsComponentAnalyticsItemProperties; } /** - * @interface - * An interface representing WorkbookResource. * An azure resource object - * - * @extends BaseResource */ export interface WorkbookResource extends BaseResource { /** - * @member {string} [id] Azure resource Id - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Azure resource name - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Azure resource type - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Azure resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} [location] Resource location + * Resource location */ location?: string; /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags + * Resource tags */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing Workbook. * An Application Insights workbook definition. - * - * @extends WorkbookResource */ export interface Workbook extends WorkbookResource { /** - * @member {SharedTypeKind} [kind] The kind of workbook. Choices are user and - * shared. Possible values include: 'user', 'shared' + * The kind of workbook. Choices are user and shared. Possible values include: 'user', 'shared' */ kind?: SharedTypeKind; /** - * @member {string} workbookName The user-defined name of the workbook. + * The user-defined name of the workbook. */ workbookName: string; /** - * @member {string} serializedData Configuration of this particular workbook. - * Configuration data is a string containing valid JSON + * Configuration of this particular workbook. Configuration data is a string containing valid + * JSON */ serializedData: string; /** - * @member {string} [version] This instance's version of the data model. This - * can change as new features are added that can be marked workbook. + * This instance's version of the data model. This can change as new features are added that can + * be marked workbook. */ version?: string; /** - * @member {string} workbookId Internally assigned unique id of the workbook - * definition. + * Internally assigned unique id of the workbook definition. */ workbookId: string; /** - * @member {SharedTypeKind} sharedTypeKind Enum indicating if this workbook - * definition is owned by a specific user or is shared between all users with - * access to the Application Insights component. Possible values include: - * 'user', 'shared'. Default value: 'shared' . + * Enum indicating if this workbook definition is owned by a specific user or is shared between + * all users with access to the Application Insights component. Possible values include: 'user', + * 'shared'. Default value: 'shared'. */ sharedTypeKind: SharedTypeKind; /** - * @member {string} [timeModified] Date and time in UTC of the last - * modification that was made to this workbook definition. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Date and time in UTC of the last modification that was made to this workbook definition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timeModified?: string; /** - * @member {string} category Workbook category, as defined by the user at - * creation time. + * Workbook category, as defined by the user at creation time. */ category: string; /** - * @member {string[]} [workbookTags] A list of 0 or more tags that are - * associated with this workbook definition + * A list of 0 or more tags that are associated with this workbook definition */ workbookTags?: string[]; /** - * @member {string} userId Unique user id of the specific user that owns this - * workbook. + * Unique user id of the specific user that owns this workbook. */ userId: string; /** - * @member {string} [sourceResourceId] Optional resourceId for a source - * resource. + * Optional resourceId for a source resource. */ sourceResourceId?: string; } /** - * @interface - * An interface representing LinkProperties. * Contains a sourceId and workbook resource id to link two resources. - * */ export interface LinkProperties { /** - * @member {string} [sourceId] The source Azure resource id + * The source Azure resource id */ sourceId?: string; /** - * @member {string} [targetId] The workbook Azure resource id + * The workbook Azure resource id */ targetId?: string; /** - * @member {string} [category] The category of workbook + * The category of workbook */ category?: string; } /** - * @interface - * An interface representing ErrorFieldContract. * Error Field contract. - * */ export interface ErrorFieldContract { /** - * @member {string} [code] Property level error code. + * Property level error code. */ code?: string; /** - * @member {string} [message] Human-readable representation of property-level - * error. + * Human-readable representation of property-level error. */ message?: string; /** - * @member {string} [target] Property name. + * Property name. */ target?: string; } /** - * @interface - * An interface representing WorkbookError. * Error message body that will indicate why the operation failed. - * */ export interface WorkbookError { /** - * @member {string} [code] Service-defined error code. This code serves as a - * sub-status for the HTTP error code specified in the response. + * Service-defined error code. This code serves as a sub-status for the HTTP error code specified + * in the response. */ code?: string; /** - * @member {string} [message] Human-readable representation of the error. + * Human-readable representation of the error. */ message?: string; /** - * @member {ErrorFieldContract[]} [details] The list of invalid fields send - * in request, in case of validation error. + * The list of invalid fields send in request, in case of validation error. */ details?: ErrorFieldContract[]; } /** - * @interface - * An interface representing FavoritesListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface FavoritesListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {FavoriteType} [favoriteType] The type of favorite. Value can be - * either shared or user. Possible values include: 'shared', 'user'. Default - * value: 'shared' . + * The type of favorite. Value can be either shared or user. Possible values include: 'shared', + * 'user'. Default value: 'shared'. */ favoriteType?: FavoriteType; /** - * @member {FavoriteSourceType} [sourceType] Source type of favorite to - * return. When left out, the source type defaults to 'other' (not present in - * this enum). Possible values include: 'retention', 'notebook', 'sessions', - * 'events', 'userflows', 'funnel', 'impact', 'segmentation' + * Source type of favorite to return. When left out, the source type defaults to 'other' (not + * present in this enum). Possible values include: 'retention', 'notebook', 'sessions', 'events', + * 'userflows', 'funnel', 'impact', 'segmentation' */ sourceType?: FavoriteSourceType; /** - * @member {boolean} [canFetchContent] Flag indicating whether or not to - * return the full content for each applicable favorite. If false, only - * return summary content for favorites. + * Flag indicating whether or not to return the full content for each applicable favorite. If + * false, only return summary content for favorites. */ canFetchContent?: boolean; /** - * @member {string[]} [tags] Tags that must be present on each favorite - * returned. + * Tags that must be present on each favorite returned. */ tags?: string[]; } /** - * @interface - * An interface representing AnalyticsItemsListOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface AnalyticsItemsListOptionalParams extends msRest.RequestOptionsBase { /** - * @member {ItemScope} [scope] Enum indicating if this item definition is - * owned by a specific user or is shared between all users with access to the - * Application Insights component. Possible values include: 'shared', 'user'. - * Default value: 'shared' . + * Enum indicating if this item definition is owned by a specific user or is shared between all + * users with access to the Application Insights component. Possible values include: 'shared', + * 'user'. Default value: 'shared'. */ scope?: ItemScope; /** - * @member {ItemTypeParameter} [type] Enum indicating the type of the - * Analytics item. Possible values include: 'none', 'query', 'function', - * 'folder', 'recent'. Default value: 'none' . + * Enum indicating the type of the Analytics item. Possible values include: 'none', 'query', + * 'function', 'folder', 'recent'. Default value: 'none'. */ type?: ItemTypeParameter; /** - * @member {boolean} [includeContent] Flag indicating whether or not to - * return the content of each applicable item. If false, only return the item - * information. + * Flag indicating whether or not to return the content of each applicable item. If false, only + * return the item information. */ includeContent?: boolean; } /** - * @interface - * An interface representing AnalyticsItemsGetOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface AnalyticsItemsGetOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [id] The Id of a specific item defined in the Application - * Insights component + * The Id of a specific item defined in the Application Insights component */ id?: string; /** - * @member {string} [name] The name of a specific item defined in the - * Application Insights component + * The name of a specific item defined in the Application Insights component */ name?: string; } /** - * @interface - * An interface representing AnalyticsItemsPutOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface AnalyticsItemsPutOptionalParams extends msRest.RequestOptionsBase { /** - * @member {boolean} [overrideItem] Flag indicating whether or not to force - * save an item. This allows overriding an item if it already exists. + * Flag indicating whether or not to force save an item. This allows overriding an item if it + * already exists. */ overrideItem?: boolean; } /** - * @interface - * An interface representing AnalyticsItemsDeleteMethodOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface AnalyticsItemsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string} [id] The Id of a specific item defined in the Application - * Insights component + * The Id of a specific item defined in the Application Insights component */ id?: string; /** - * @member {string} [name] The name of a specific item defined in the - * Application Insights component + * The name of a specific item defined in the Application Insights component */ name?: string; } /** - * @interface - * An interface representing WorkbooksListByResourceGroupOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface WorkbooksListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { /** - * @member {string[]} [tags] Tags presents on each workbook returned. + * Tags presents on each workbook returned. */ tags?: string[]; /** - * @member {boolean} [canFetchContent] Flag indicating whether or not to - * return the full content for each applicable workbook. If false, only - * return summary content for workbooks. + * Flag indicating whether or not to return the full content for each applicable workbook. If + * false, only return summary content for workbooks. */ canFetchContent?: boolean; } /** - * @interface * An interface representing ApplicationInsightsManagementClientOptions. - * @extends AzureServiceClientOptions */ export interface ApplicationInsightsManagementClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } - /** * @interface - * An interface representing the OperationListResult. - * Result of the request to list CDN operations. It contains a list of - * operations and a URL link to get the next set of results. - * + * Result of the request to list CDN operations. It contains a list of operations and a URL link to + * get the next set of results. * @extends Array */ export interface OperationListResult extends Array { /** - * @member {string} [nextLink] URL to get the next set of operation list - * results if there are any. + * URL to get the next set of operation list results if there are any. */ nextLink?: string; } /** * @interface - * An interface representing the AnnotationsListResult. * Annotations list result. - * * @extends Array */ export interface AnnotationsListResult extends Array { @@ -1783,9 +1430,7 @@ export interface AnnotationsListResult extends Array { /** * @interface - * An interface representing the ApplicationInsightsComponentAPIKeyListResult. * Describes the list of API Keys of an Application Insights Component. - * * @extends Array */ export interface ApplicationInsightsComponentAPIKeyListResult extends Array { @@ -1793,25 +1438,20 @@ export interface ApplicationInsightsComponentAPIKeyListResult extends Array */ export interface ApplicationInsightsComponentListResult extends Array { /** - * @member {string} [nextLink] The URI to get the next set of Application - * Insights component defintions if too many components where returned in the - * result set. + * The URI to get the next set of Application Insights component definitions if too many + * components where returned in the result set. */ nextLink?: string; } /** * @interface - * An interface representing the WorkItemConfigurationsListResult. * Work item configuration list result. - * * @extends Array */ export interface WorkItemConfigurationsListResult extends Array { @@ -1819,10 +1459,7 @@ export interface WorkItemConfigurationsListResult extends Array */ export interface ApplicationInsightsWebTestLocationsListResult extends Array { @@ -1830,25 +1467,20 @@ export interface ApplicationInsightsWebTestLocationsListResult extends Array */ export interface WebTestListResult extends Array { /** - * @member {string} [nextLink] The link to get the next part of the returned - * list of web tests, should the return set be too large for a single - * request. May be null. + * The link to get the next part of the returned list of web tests, should the return set be too + * large for a single request. May be null. */ nextLink?: string; } /** * @interface - * An interface representing the WorkbooksListResult. * Workbook list result. - * * @extends Array */ export interface WorkbooksListResult extends Array { @@ -1971,6 +1603,7 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1990,6 +1623,7 @@ export type OperationsListNextResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2009,6 +1643,7 @@ export type AnnotationsListResponse = AnnotationsListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2028,33 +1663,11 @@ export type AnnotationsCreateResponse = Array & { * The response body as text (string format) */ bodyAsText: string; - /** - * The response body as parsed JSON or XML - */ - parsedBody: Annotation[]; - }; -}; -/** - * Contains response data for the deleteMethod operation. - */ -export type AnnotationsDeleteMethodResponse = { - /** - * The parsed response body. - */ - body: any; - /** - * 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: any; + parsedBody: Annotation[]; }; }; @@ -2070,6 +1683,7 @@ export type AnnotationsGetResponse = Array & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2089,6 +1703,7 @@ export type APIKeysListResponse = ApplicationInsightsComponentAPIKeyListResult & * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2108,6 +1723,7 @@ export type APIKeysCreateResponse = ApplicationInsightsComponentAPIKey & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2127,6 +1743,7 @@ export type APIKeysDeleteMethodResponse = ApplicationInsightsComponentAPIKey & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2146,6 +1763,7 @@ export type APIKeysGetResponse = ApplicationInsightsComponentAPIKey & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2165,6 +1783,7 @@ export type ExportConfigurationsListResponse = Array * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2682,6 +2343,7 @@ export type FavoritesGetResponse = ApplicationInsightsComponentFavorite & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2701,6 +2363,7 @@ export type FavoritesAddResponse = ApplicationInsightsComponentFavorite & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2720,6 +2383,7 @@ export type FavoritesUpdateResponse = ApplicationInsightsComponentFavorite & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2739,6 +2403,7 @@ export type WebTestLocationsListResponse = ApplicationInsightsWebTestLocationsLi * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2758,6 +2423,7 @@ export type WebTestsListByResourceGroupResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2777,6 +2443,7 @@ export type WebTestsGetResponse = WebTest & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2796,6 +2463,7 @@ export type WebTestsCreateOrUpdateResponse = WebTest & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2815,6 +2483,7 @@ export type WebTestsUpdateTagsResponse = WebTest & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2834,6 +2503,7 @@ export type WebTestsListResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2853,6 +2523,7 @@ export type WebTestsListByComponentResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2872,6 +2543,7 @@ export type WebTestsListByResourceGroupNextResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2891,6 +2563,7 @@ export type WebTestsListNextResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2910,6 +2583,7 @@ export type WebTestsListByComponentNextResponse = WebTestListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2929,6 +2603,7 @@ export type AnalyticsItemsListResponse = Array */ list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class APIKeys { /** * Create an API Key of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param aPIKeyProperties Properties that need to be specified to create an API key of a * Application Insights component. @@ -69,7 +69,7 @@ export class APIKeys { */ create(resourceGroupName: string, resourceName: string, aPIKeyProperties: Models.APIKeyRequest, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param aPIKeyProperties Properties that need to be specified to create an API key of a * Application Insights component. @@ -77,7 +77,7 @@ export class APIKeys { */ create(resourceGroupName: string, resourceName: string, aPIKeyProperties: Models.APIKeyRequest, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param aPIKeyProperties Properties that need to be specified to create an API key of a * Application Insights component. @@ -99,7 +99,7 @@ export class APIKeys { /** * Delete an API Key of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param [options] The optional parameters @@ -107,14 +107,14 @@ export class APIKeys { */ deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, keyId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param options The optional parameters @@ -135,7 +135,7 @@ export class APIKeys { /** * Get the API Key for this key id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param [options] The optional parameters @@ -143,14 +143,14 @@ export class APIKeys { */ get(resourceGroupName: string, resourceName: string, keyId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, keyId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param keyId The API Key ID. This is unique within a Application Insights component. * @param options The optional parameters diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/analyticsItems.ts b/sdk/applicationinsights/arm-appinsights/src/operations/analyticsItems.ts index bafbaa9326ea..d8d5c077dd79 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/analyticsItems.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/analyticsItems.ts @@ -28,7 +28,7 @@ export class AnalyticsItems { /** * Gets a list of Analytics Items defined within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -38,7 +38,7 @@ export class AnalyticsItems { */ list(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsListOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -47,7 +47,7 @@ export class AnalyticsItems { */ list(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -70,7 +70,7 @@ export class AnalyticsItems { /** * Gets a specific Analytics Items defined within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -80,7 +80,7 @@ export class AnalyticsItems { */ get(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsGetOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -89,7 +89,7 @@ export class AnalyticsItems { */ get(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -112,7 +112,7 @@ export class AnalyticsItems { /** * Adds or Updates a specific Analytics Item within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -124,7 +124,7 @@ export class AnalyticsItems { */ put(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, itemProperties: Models.ApplicationInsightsComponentAnalyticsItem, options?: Models.AnalyticsItemsPutOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -135,7 +135,7 @@ export class AnalyticsItems { */ put(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, itemProperties: Models.ApplicationInsightsComponentAnalyticsItem, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -161,7 +161,7 @@ export class AnalyticsItems { /** * Deletes a specific Analytics Items defined within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -171,7 +171,7 @@ export class AnalyticsItems { */ deleteMethod(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, options?: Models.AnalyticsItemsDeleteMethodOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values @@ -180,7 +180,7 @@ export class AnalyticsItems { */ deleteMethod(resourceGroupName: string, resourceName: string, scopePath: Models.ItemScopePath, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param scopePath Enum indicating if this item definition is owned by a specific user or is * shared between all users with access to the Application Insights component. Possible values diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/annotations.ts b/sdk/applicationinsights/arm-appinsights/src/operations/annotations.ts index f36ded7ddd78..97d0165ebf2d 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/annotations.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/annotations.ts @@ -28,7 +28,7 @@ export class Annotations { /** * Gets the list of annotations for a component for given time range - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param start The start time to query from for annotations, cannot be older than 90 days from * current date. @@ -38,7 +38,7 @@ export class Annotations { */ list(resourceGroupName: string, resourceName: string, start: string, end: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param start The start time to query from for annotations, cannot be older than 90 days from * current date. @@ -47,7 +47,7 @@ export class Annotations { */ list(resourceGroupName: string, resourceName: string, start: string, end: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param start The start time to query from for annotations, cannot be older than 90 days from * current date. @@ -71,7 +71,7 @@ export class Annotations { /** * Create an Annotation of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationProperties Properties that need to be specified to create an annotation of a * Application Insights component. @@ -80,7 +80,7 @@ export class Annotations { */ create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationProperties Properties that need to be specified to create an annotation of a * Application Insights component. @@ -88,7 +88,7 @@ export class Annotations { */ create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationProperties Properties that need to be specified to create an annotation of a * Application Insights component. @@ -110,32 +110,32 @@ export class Annotations { /** * Delete an Annotation of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase): Promise; + deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. * @param callback The callback */ - deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. * @param options The optional parameters * @param callback The callback */ - deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -144,12 +144,12 @@ export class Annotations { options }, deleteMethodOperationSpec, - callback) as Promise; + callback); } /** * Get the annotation for given id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. @@ -158,7 +158,7 @@ export class Annotations { */ get(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. @@ -166,7 +166,7 @@ export class Annotations { */ get(resourceGroupName: string, resourceName: string, annotationId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param annotationId The unique annotation ID. This is unique within a Application Insights * component. @@ -275,14 +275,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "Object" - } - } - }, + 200: {}, default: { bodyMapper: Mappers.CloudError } diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/componentAvailableFeatures.ts b/sdk/applicationinsights/arm-appinsights/src/operations/componentAvailableFeatures.ts index 84cc340da70b..3b203d7b06db 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/componentAvailableFeatures.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/componentAvailableFeatures.ts @@ -28,20 +28,20 @@ export class ComponentAvailableFeatures { /** * Returns all available features of the application insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/componentCurrentBillingFeatures.ts b/sdk/applicationinsights/arm-appinsights/src/operations/componentCurrentBillingFeatures.ts index d4a36c61adb3..834abe56146c 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/componentCurrentBillingFeatures.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/componentCurrentBillingFeatures.ts @@ -28,20 +28,20 @@ export class ComponentCurrentBillingFeatures { /** * Returns current billing features for an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class ComponentCurrentBillingFeatures { /** * Update current billing features for an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param billingFeaturesProperties Properties that need to be specified to update billing features * for an Application Insights component. @@ -69,7 +69,7 @@ export class ComponentCurrentBillingFeatures { */ update(resourceGroupName: string, resourceName: string, billingFeaturesProperties: Models.ApplicationInsightsComponentBillingFeatures, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param billingFeaturesProperties Properties that need to be specified to update billing features * for an Application Insights component. @@ -77,7 +77,7 @@ export class ComponentCurrentBillingFeatures { */ update(resourceGroupName: string, resourceName: string, billingFeaturesProperties: Models.ApplicationInsightsComponentBillingFeatures, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param billingFeaturesProperties Properties that need to be specified to update billing features * for an Application Insights component. diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/componentFeatureCapabilities.ts b/sdk/applicationinsights/arm-appinsights/src/operations/componentFeatureCapabilities.ts index 26e06651a059..0b3b938f3cd3 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/componentFeatureCapabilities.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/componentFeatureCapabilities.ts @@ -27,21 +27,21 @@ export class ComponentFeatureCapabilities { } /** - * Returns feature capabilites of the application insights component. - * @param resourceGroupName The name of the resource group. + * Returns feature capabilities of the application insights component. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/componentQuotaStatus.ts b/sdk/applicationinsights/arm-appinsights/src/operations/componentQuotaStatus.ts index 9c62a249142b..6a9a755dc264 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/componentQuotaStatus.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/componentQuotaStatus.ts @@ -28,20 +28,20 @@ export class ComponentQuotaStatus { /** * Returns daily data volume cap (quota) status for an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/components.ts b/sdk/applicationinsights/arm-appinsights/src/operations/components.ts index 5d5ab4a6b9c1..d48244ee5d05 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/components.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/components.ts @@ -52,18 +52,18 @@ export class Components { /** * Gets a list of Application Insights components within a resource group. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param [options] The optional parameters * @returns Promise */ listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param callback The callback */ listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The optional parameters * @param callback The callback */ @@ -80,20 +80,20 @@ export class Components { /** * Deletes an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -112,20 +112,20 @@ export class Components { /** * Returns an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -145,7 +145,7 @@ export class Components { /** * Creates (or updates) an Application Insights component. Note: You cannot specify a different * value for InstrumentationKey nor AppId in the Put operation. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param insightProperties Properties that need to be specified to create an Application Insights * component. @@ -154,7 +154,7 @@ export class Components { */ createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: Models.ApplicationInsightsComponent, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param insightProperties Properties that need to be specified to create an Application Insights * component. @@ -162,7 +162,7 @@ export class Components { */ createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: Models.ApplicationInsightsComponent, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param insightProperties Properties that need to be specified to create an Application Insights * component. @@ -184,7 +184,7 @@ export class Components { /** * Updates an existing component's tags. To update other fields use the CreateOrUpdate method. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param componentTags Updated tag information to set into the component instance. * @param [options] The optional parameters @@ -192,14 +192,14 @@ export class Components { */ updateTags(resourceGroupName: string, resourceName: string, componentTags: Models.TagsResource, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param componentTags Updated tag information to set into the component instance. * @param callback The callback */ updateTags(resourceGroupName: string, resourceName: string, componentTags: Models.TagsResource, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param componentTags Updated tag information to set into the component instance. * @param options The optional parameters @@ -220,7 +220,13 @@ export class Components { /** * Purges data in an Application Insights component by a set of user-defined filters. - * @param resourceGroupName The name of the resource group. + * + * In order to manage system resources, purge requests are throttled at 50 requests per hour. You + * should batch the execution of purge requests by sending a single command whose predicate + * includes all user identities that require purging. Use the in operator to specify multiple + * identities. You should run the query prior to using for a purge request to verify that the + * results are expected. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param body Describes the body of a request to purge data in a single table of an Application * Insights component @@ -229,7 +235,7 @@ export class Components { */ purge(resourceGroupName: string, resourceName: string, body: Models.ComponentPurgeBody, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param body Describes the body of a request to purge data in a single table of an Application * Insights component @@ -237,7 +243,7 @@ export class Components { */ purge(resourceGroupName: string, resourceName: string, body: Models.ComponentPurgeBody, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param body Describes the body of a request to purge data in a single table of an Application * Insights component @@ -259,7 +265,7 @@ export class Components { /** * Get status for an ongoing purge operation. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param purgeId In a purge status request, this is the Id of the operation the status of which is * returned. @@ -268,7 +274,7 @@ export class Components { */ getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param purgeId In a purge status request, this is the Id of the operation the status of which is * returned. @@ -276,7 +282,7 @@ export class Components { */ getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param purgeId In a purge status request, this is the Id of the operation the status of which is * returned. diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/exportConfigurations.ts b/sdk/applicationinsights/arm-appinsights/src/operations/exportConfigurations.ts index a7985ea6e265..246ae2e74359 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/exportConfigurations.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/exportConfigurations.ts @@ -28,20 +28,20 @@ export class ExportConfigurations { /** * Gets a list of Continuous Export configuration of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class ExportConfigurations { /** * Create a Continuous Export configuration of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportProperties Properties that need to be specified to create a Continuous Export * configuration of a Application Insights component. @@ -69,7 +69,7 @@ export class ExportConfigurations { */ create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportProperties Properties that need to be specified to create a Continuous Export * configuration of a Application Insights component. @@ -77,7 +77,7 @@ export class ExportConfigurations { */ create(resourceGroupName: string, resourceName: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportProperties Properties that need to be specified to create a Continuous Export * configuration of a Application Insights component. @@ -99,7 +99,7 @@ export class ExportConfigurations { /** * Delete a Continuous Export configuration of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -108,7 +108,7 @@ export class ExportConfigurations { */ deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -116,7 +116,7 @@ export class ExportConfigurations { */ deleteMethod(resourceGroupName: string, resourceName: string, exportId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -138,7 +138,7 @@ export class ExportConfigurations { /** * Get the Continuous Export configuration for this export id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -147,7 +147,7 @@ export class ExportConfigurations { */ get(resourceGroupName: string, resourceName: string, exportId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -155,7 +155,7 @@ export class ExportConfigurations { */ get(resourceGroupName: string, resourceName: string, exportId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -177,7 +177,7 @@ export class ExportConfigurations { /** * Update the Continuous Export configuration for this export id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -188,7 +188,7 @@ export class ExportConfigurations { */ update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. @@ -198,7 +198,7 @@ export class ExportConfigurations { */ update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: Models.ApplicationInsightsComponentExportRequest, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param exportId The Continuous Export configuration ID. This is unique within a Application * Insights component. diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/favorites.ts b/sdk/applicationinsights/arm-appinsights/src/operations/favorites.ts index b7d321659714..cceaa112ddf2 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/favorites.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/favorites.ts @@ -28,20 +28,20 @@ export class Favorites { /** * Gets a list of favorites defined within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, resourceName: string, options?: Models.FavoritesListOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class Favorites { /** * Get a single favorite by its FavoriteId, defined within an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param [options] The optional parameters @@ -68,14 +68,14 @@ export class Favorites { */ get(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param callback The callback */ get(resourceGroupName: string, resourceName: string, favoriteId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param options The optional parameters @@ -96,7 +96,7 @@ export class Favorites { /** * Adds a new favorites to an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to create a new favorite and add @@ -106,7 +106,7 @@ export class Favorites { */ add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to create a new favorite and add @@ -115,7 +115,7 @@ export class Favorites { */ add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to create a new favorite and add @@ -139,7 +139,7 @@ export class Favorites { /** * Updates a favorite that has already been added to an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to update the existing favorite. @@ -148,7 +148,7 @@ export class Favorites { */ update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to update the existing favorite. @@ -156,7 +156,7 @@ export class Favorites { */ update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param favoriteProperties Properties that need to be specified to update the existing favorite. @@ -179,7 +179,7 @@ export class Favorites { /** * Remove a favorite that is associated to an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param [options] The optional parameters @@ -187,14 +187,14 @@ export class Favorites { */ deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param favoriteId The Id of a specific favorite defined in the Application Insights component * @param options The optional parameters diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/proactiveDetectionConfigurations.ts b/sdk/applicationinsights/arm-appinsights/src/operations/proactiveDetectionConfigurations.ts index ca6f6dcbe202..a8e6c5c232c0 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/proactiveDetectionConfigurations.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/proactiveDetectionConfigurations.ts @@ -28,20 +28,20 @@ export class ProactiveDetectionConfigurations { /** * Gets a list of ProactiveDetection configurations of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class ProactiveDetectionConfigurations { /** * Get the ProactiveDetection configuration for this configuration id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. @@ -69,7 +69,7 @@ export class ProactiveDetectionConfigurations { */ get(resourceGroupName: string, resourceName: string, configurationId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. @@ -77,7 +77,7 @@ export class ProactiveDetectionConfigurations { */ get(resourceGroupName: string, resourceName: string, configurationId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. @@ -99,7 +99,7 @@ export class ProactiveDetectionConfigurations { /** * Update the ProactiveDetection configuration for this configuration id. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. @@ -110,7 +110,7 @@ export class ProactiveDetectionConfigurations { */ update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. @@ -120,7 +120,7 @@ export class ProactiveDetectionConfigurations { */ update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param configurationId The ProactiveDetection configuration ID. This is unique within a * Application Insights component. diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/webTestLocations.ts b/sdk/applicationinsights/arm-appinsights/src/operations/webTestLocations.ts index 95fbad790bb0..442773b190c2 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/webTestLocations.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/webTestLocations.ts @@ -28,20 +28,20 @@ export class WebTestLocations { /** * Gets a list of web test locations available to this Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/webTests.ts b/sdk/applicationinsights/arm-appinsights/src/operations/webTests.ts index 85311b4d629b..840c988c7fd2 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/webTests.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/webTests.ts @@ -28,18 +28,18 @@ export class WebTests { /** * Get all Application Insights web tests defined within a specified resource group. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param [options] The optional parameters * @returns Promise */ listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param callback The callback */ listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The optional parameters * @param callback The callback */ @@ -56,20 +56,20 @@ export class WebTests { /** * Get a specific Application Insights web test definition. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param callback The callback */ get(resourceGroupName: string, webTestName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param options The optional parameters * @param callback The callback @@ -88,7 +88,7 @@ export class WebTests { /** * Creates or updates an Application Insights web test definition. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param webTestDefinition Properties that need to be specified to create or update an Application * Insights web test definition. @@ -97,7 +97,7 @@ export class WebTests { */ createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: Models.WebTest, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param webTestDefinition Properties that need to be specified to create or update an Application * Insights web test definition. @@ -105,7 +105,7 @@ export class WebTests { */ createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: Models.WebTest, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param webTestDefinition Properties that need to be specified to create or update an Application * Insights web test definition. @@ -127,7 +127,7 @@ export class WebTests { /** * Creates or updates an Application Insights web test definition. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param webTestTags Updated tag information to set into the web test instance. * @param [options] The optional parameters @@ -135,14 +135,14 @@ export class WebTests { */ updateTags(resourceGroupName: string, webTestName: string, webTestTags: Models.TagsResource, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param webTestTags Updated tag information to set into the web test instance. * @param callback The callback */ updateTags(resourceGroupName: string, webTestName: string, webTestTags: Models.TagsResource, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param webTestTags Updated tag information to set into the web test instance. * @param options The optional parameters @@ -163,20 +163,20 @@ export class WebTests { /** * Deletes an Application Insights web test. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param [options] The optional parameters * @returns Promise */ deleteMethod(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param callback The callback */ deleteMethod(resourceGroupName: string, webTestName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param webTestName The name of the Application Insights webtest resource. * @param options The optional parameters * @param callback The callback @@ -194,7 +194,7 @@ export class WebTests { } /** - * Get all Application Insights web test alerts definitioned within a subscription. + * Get all Application Insights web test alerts definitions within a subscription. * @param [options] The optional parameters * @returns Promise */ @@ -220,20 +220,20 @@ export class WebTests { /** * Get all Application Insights web tests defined for the specified component. * @param componentName The name of the Application Insights component resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param [options] The optional parameters * @returns Promise */ listByComponent(componentName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param componentName The name of the Application Insights component resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param callback The callback */ listByComponent(componentName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; /** * @param componentName The name of the Application Insights component resource. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The optional parameters * @param callback The callback */ @@ -278,7 +278,7 @@ export class WebTests { } /** - * Get all Application Insights web test alerts definitioned within a subscription. + * Get all Application Insights web test alerts definitions within a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/workItemConfigurations.ts b/sdk/applicationinsights/arm-appinsights/src/operations/workItemConfigurations.ts index 5d8318641273..63925295a7ef 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/workItemConfigurations.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/workItemConfigurations.ts @@ -28,20 +28,20 @@ export class WorkItemConfigurations { /** * Gets the list work item configurations that exist for the application - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -60,7 +60,7 @@ export class WorkItemConfigurations { /** * Create a work item configuration for an Application Insights component. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigurationProperties Properties that need to be specified to create a work * item configuration of a Application Insights component. @@ -69,7 +69,7 @@ export class WorkItemConfigurations { */ create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigurationProperties Properties that need to be specified to create a work * item configuration of a Application Insights component. @@ -77,7 +77,7 @@ export class WorkItemConfigurations { */ create(resourceGroupName: string, resourceName: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigurationProperties Properties that need to be specified to create a work * item configuration of a Application Insights component. @@ -99,20 +99,20 @@ export class WorkItemConfigurations { /** * Gets default work item configurations that exist for the application - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ getDefault(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ getDefault(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -130,33 +130,33 @@ export class WorkItemConfigurations { } /** - * Delete an workitem configuration of an Application Insights component. - * @param resourceGroupName The name of the resource group. + * Delete a work item configuration of an Application Insights component. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigId The unique work item configuration Id. This can be either friendly name * of connector as defined in connector configuration * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase): Promise; + deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigId The unique work item configuration Id. This can be either friendly name * of connector as defined in connector configuration * @param callback The callback */ - deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workItemConfigId The unique work item configuration Id. This can be either friendly name * of connector as defined in connector configuration * @param options The optional parameters * @param callback The callback */ - deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -165,7 +165,92 @@ export class WorkItemConfigurations { options }, deleteMethodOperationSpec, - callback) as Promise; + callback); + } + + /** + * Gets specified work item configuration for an Application Insights component. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param [options] The optional parameters + * @returns Promise + */ + getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param callback The callback + */ + getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param options The optional parameters + * @param callback The callback + */ + getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + resourceName, + workItemConfigId, + options + }, + getItemOperationSpec, + callback) as Promise; + } + + /** + * Update a work item configuration for an Application Insights component. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param workItemConfigurationProperties Properties that need to be specified to update a work + * item configuration for this Application Insights component. + * @param [options] The optional parameters + * @returns Promise + */ + updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param workItemConfigurationProperties Properties that need to be specified to update a work + * item configuration for this Application Insights component. + * @param callback The callback + */ + updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the Application Insights component resource. + * @param workItemConfigId The unique work item configuration Id. This can be either friendly name + * of connector as defined in connector configuration + * @param workItemConfigurationProperties Properties that need to be specified to update a work + * item configuration for this Application Insights component. + * @param options The optional parameters + * @param callback The callback + */ + updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateItem(resourceGroupName: string, resourceName: string, workItemConfigId: string, workItemConfigurationProperties: Models.WorkItemCreateConfiguration, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + resourceName, + workItemConfigId, + workItemConfigurationProperties, + options + }, + updateItemOperationSpec, + callback) as Promise; } } @@ -268,14 +353,66 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getItemOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.resourceName, + Parameters.workItemConfigId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "Object" - } - } + bodyMapper: Mappers.WorkItemConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateItemOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.resourceName, + Parameters.workItemConfigId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workItemConfigurationProperties", + mapper: { + ...Mappers.WorkItemCreateConfiguration, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkItemConfiguration }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/applicationinsights/arm-appinsights/src/operations/workbooks.ts b/sdk/applicationinsights/arm-appinsights/src/operations/workbooks.ts index 7fa139f6e407..56ce5236f6f4 100644 --- a/sdk/applicationinsights/arm-appinsights/src/operations/workbooks.ts +++ b/sdk/applicationinsights/arm-appinsights/src/operations/workbooks.ts @@ -28,7 +28,7 @@ export class Workbooks { /** * Get all Workbooks defined within a specified resource group and category. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param category Category of workbook to return. Possible values include: 'workbook', 'TSG', * 'performance', 'retention' * @param [options] The optional parameters @@ -36,14 +36,14 @@ export class Workbooks { */ listByResourceGroup(resourceGroupName: string, category: Models.CategoryType, options?: Models.WorkbooksListByResourceGroupOptionalParams): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param category Category of workbook to return. Possible values include: 'workbook', 'TSG', * 'performance', 'retention' * @param callback The callback */ listByResourceGroup(resourceGroupName: string, category: Models.CategoryType, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param category Category of workbook to return. Possible values include: 'workbook', 'TSG', * 'performance', 'retention' * @param options The optional parameters @@ -63,20 +63,20 @@ export class Workbooks { /** * Get a single workbook by its resourceName. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -95,20 +95,20 @@ export class Workbooks { /** * Delete a workbook. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param [options] The optional parameters * @returns Promise */ deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param callback The callback */ deleteMethod(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param options The optional parameters * @param callback The callback @@ -127,7 +127,7 @@ export class Workbooks { /** * Create a new workbook. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param [options] The optional parameters @@ -135,14 +135,14 @@ export class Workbooks { */ createOrUpdate(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param callback The callback */ createOrUpdate(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param options The optional parameters @@ -163,7 +163,7 @@ export class Workbooks { /** * Updates a workbook that has already been added. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param [options] The optional parameters @@ -171,14 +171,14 @@ export class Workbooks { */ update(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, options?: msRest.RequestOptionsBase): Promise; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param callback The callback */ update(resourceGroupName: string, resourceName: string, workbookProperties: Models.Workbook, callback: msRest.ServiceCallback): void; /** - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the Application Insights component resource. * @param workbookProperties Properties that need to be specified to create a new workbook. * @param options The optional parameters diff --git a/sdk/applicationinsights/arm-appinsights/tsconfig.json b/sdk/applicationinsights/arm-appinsights/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/applicationinsights/arm-appinsights/tsconfig.json +++ b/sdk/applicationinsights/arm-appinsights/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true