@azure/arm-appinsights 4.0.0 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +70 -78
- package/dist/index.js +7675 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/applicationInsightsManagementClient.d.ts +36 -0
- package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/applicationInsightsManagementClient.js +69 -0
- package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2080 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +133 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +86 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1389 -1567
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +63 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +259 -225
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/aPIKeys.d.ts +55 -0
- package/dist-esm/src/operations/aPIKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/aPIKeys.js +185 -0
- package/dist-esm/src/operations/aPIKeys.js.map +1 -0
- package/dist-esm/src/operations/analyticsItems.d.ts +51 -0
- package/dist-esm/src/operations/analyticsItems.d.ts.map +1 -0
- package/dist-esm/src/operations/analyticsItems.js +157 -0
- package/dist-esm/src/operations/analyticsItems.js.map +1 -0
- package/dist-esm/src/operations/annotations.d.ts +63 -0
- package/dist-esm/src/operations/annotations.d.ts.map +1 -0
- package/dist-esm/src/operations/annotations.js +207 -0
- package/dist-esm/src/operations/annotations.js.map +1 -0
- package/dist-esm/src/operations/componentAvailableFeatures.d.ts +20 -0
- package/dist-esm/src/operations/componentAvailableFeatures.d.ts.map +1 -0
- package/dist-esm/src/operations/componentAvailableFeatures.js +50 -0
- package/dist-esm/src/operations/componentAvailableFeatures.js.map +1 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts +29 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts.map +1 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.js +81 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.js.map +1 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.d.ts +20 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.js +50 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.js.map +1 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts +53 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js +174 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js.map +1 -0
- package/dist-esm/src/operations/componentQuotaStatus.d.ts +20 -0
- package/dist-esm/src/operations/componentQuotaStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/componentQuotaStatus.js +50 -0
- package/dist-esm/src/operations/componentQuotaStatus.js.map +1 -0
- package/dist-esm/src/operations/components.d.ts +108 -0
- package/dist-esm/src/operations/components.d.ts.map +1 -0
- package/dist-esm/src/operations/components.js +402 -0
- package/dist-esm/src/operations/components.js.map +1 -0
- package/dist-esm/src/operations/exportConfigurations.d.ts +58 -0
- package/dist-esm/src/operations/exportConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/exportConfigurations.js +195 -0
- package/dist-esm/src/operations/exportConfigurations.js.map +1 -0
- package/dist-esm/src/operations/favorites.d.ts +55 -0
- package/dist-esm/src/operations/favorites.d.ts.map +1 -0
- package/dist-esm/src/operations/favorites.js +196 -0
- package/dist-esm/src/operations/favorites.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +2 -3
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/liveToken.d.ts +19 -0
- package/dist-esm/src/operations/liveToken.d.ts.map +1 -0
- package/dist-esm/src/operations/liveToken.js +47 -0
- package/dist-esm/src/operations/liveToken.js.map +1 -0
- package/dist-esm/src/operations/myWorkbooks.d.ts +89 -0
- package/dist-esm/src/operations/myWorkbooks.d.ts.map +1 -0
- package/dist-esm/src/operations/myWorkbooks.js +387 -0
- package/dist-esm/src/operations/myWorkbooks.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts +40 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.js +130 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.js.map +1 -0
- package/dist-esm/src/operations/webTestLocations.d.ts +30 -0
- package/dist-esm/src/operations/webTestLocations.d.ts.map +1 -0
- package/dist-esm/src/operations/webTestLocations.js +96 -0
- package/dist-esm/src/operations/webTestLocations.js.map +1 -0
- package/dist-esm/src/operations/webTests.d.ts +108 -0
- package/dist-esm/src/operations/webTests.d.ts.map +1 -0
- package/dist-esm/src/operations/webTests.js +435 -0
- package/dist-esm/src/operations/webTests.js.map +1 -0
- package/dist-esm/src/operations/workItemConfigurations.d.ts +75 -0
- package/dist-esm/src/operations/workItemConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/workItemConfigurations.js +257 -0
- package/dist-esm/src/operations/workItemConfigurations.js.map +1 -0
- package/dist-esm/src/operations/workbookTemplates.d.ts +57 -0
- package/dist-esm/src/operations/workbookTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/workbookTemplates.js +223 -0
- package/dist-esm/src/operations/workbookTemplates.js.map +1 -0
- package/dist-esm/src/operations/workbooks.d.ts +120 -0
- package/dist-esm/src/operations/workbooks.d.ts.map +1 -0
- package/dist-esm/src/operations/workbooks.js +530 -0
- package/dist-esm/src/operations/workbooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/aPIKeys.js} +2 -1
- package/dist-esm/src/operationsInterfaces/aPIKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts.map +1 -0
- package/{src/models/favoritesMappers.ts → dist-esm/src/operationsInterfaces/analyticsItems.js} +2 -5
- package/dist-esm/src/operationsInterfaces/analyticsItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/annotations.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/annotations.d.ts.map +1 -0
- package/{src/models/componentQuotaStatusMappers.ts → dist-esm/src/operationsInterfaces/annotations.js} +2 -5
- package/dist-esm/src/operationsInterfaces/annotations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts.map +1 -0
- package/{src/models/componentFeatureCapabilitiesMappers.ts → dist-esm/src/operationsInterfaces/componentAvailableFeatures.js} +2 -5
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/components.d.ts +72 -0
- package/dist-esm/src/operationsInterfaces/components.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/components.js +9 -0
- package/dist-esm/src/operationsInterfaces/components.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/favorites.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/favorites.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/favorites.js +9 -0
- package/dist-esm/src/operationsInterfaces/favorites.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +28 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/liveToken.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/liveToken.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/liveToken.js +9 -0
- package/dist-esm/src/operationsInterfaces/liveToken.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts +49 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.js +9 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTests.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/webTests.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTests.js +9 -0
- package/dist-esm/src/operationsInterfaces/webTests.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbooks.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/workbooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/workbooks.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +71 -32
- package/review/arm-appinsights.api.md +1779 -0
- package/rollup.config.js +181 -30
- package/src/applicationInsightsManagementClient.ts +146 -70
- package/src/{models/aPIKeysMappers.ts → index.ts} +4 -6
- package/src/models/index.ts +1526 -3216
- package/src/models/mappers.ts +1331 -1506
- package/src/models/parameters.ts +344 -225
- package/src/operations/aPIKeys.ts +153 -188
- package/src/operations/analyticsItems.ts +120 -237
- package/src/operations/annotations.ts +185 -211
- package/src/operations/componentAvailableFeatures.ts +38 -54
- package/src/operations/componentCurrentBillingFeatures.ts +64 -107
- package/src/operations/componentFeatureCapabilities.ts +38 -54
- package/src/operations/componentLinkedStorageAccountsOperations.ts +122 -175
- package/src/operations/componentQuotaStatus.ts +37 -54
- package/src/operations/components.ts +325 -443
- package/src/operations/exportConfigurations.ts +137 -261
- package/src/operations/favorites.ts +132 -239
- package/src/operations/index.ts +2 -3
- package/src/operations/liveToken.ts +27 -46
- package/src/operations/myWorkbooks.ts +334 -353
- package/src/operations/operations.ts +82 -172
- package/src/operations/proactiveDetectionConfigurations.ts +95 -157
- package/src/operations/webTestLocations.ts +84 -50
- package/src/operations/webTests.ts +389 -417
- package/src/operations/workItemConfigurations.ts +200 -280
- package/src/operations/workbookTemplates.ts +167 -210
- package/src/operations/workbooks.ts +481 -470
- package/src/operationsInterfaces/aPIKeys.ts +76 -0
- package/src/operationsInterfaces/analyticsItems.ts +82 -0
- package/src/operationsInterfaces/annotations.ts +81 -0
- package/src/operationsInterfaces/componentAvailableFeatures.ts +27 -0
- package/src/operationsInterfaces/componentCurrentBillingFeatures.ts +44 -0
- package/src/operationsInterfaces/componentFeatureCapabilities.ts +27 -0
- package/src/operationsInterfaces/componentLinkedStorageAccountsOperations.ts +86 -0
- package/src/operationsInterfaces/componentQuotaStatus.ts +27 -0
- package/src/operationsInterfaces/components.ts +131 -0
- package/src/operationsInterfaces/exportConfigurations.ts +95 -0
- package/src/operationsInterfaces/favorites.ts +92 -0
- package/src/operationsInterfaces/index.ts +28 -0
- package/src/operationsInterfaces/liveToken.ts +22 -0
- package/src/operationsInterfaces/myWorkbooks.ts +95 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/proactiveDetectionConfigurations.ts +63 -0
- package/src/operationsInterfaces/webTestLocations.ts +29 -0
- package/src/operationsInterfaces/webTests.ts +104 -0
- package/src/operationsInterfaces/workItemConfigurations.ts +109 -0
- package/src/operationsInterfaces/workbookTemplates.ts +80 -0
- package/src/operationsInterfaces/workbooks.ts +120 -0
- package/tsconfig.json +3 -3
- package/types/arm-appinsights.d.ts +3102 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-appinsights.js +0 -7933
- package/dist/arm-appinsights.js.map +0 -1
- package/dist/arm-appinsights.min.js +0 -1
- package/dist/arm-appinsights.min.js.map +0 -1
- package/esm/applicationInsightsManagementClient.d.ts +0 -43
- package/esm/applicationInsightsManagementClient.d.ts.map +0 -1
- package/esm/applicationInsightsManagementClient.js +0 -56
- package/esm/applicationInsightsManagementClient.js.map +0 -1
- package/esm/applicationInsightsManagementClientContext.d.ts +0 -21
- package/esm/applicationInsightsManagementClientContext.d.ts.map +0 -1
- package/esm/applicationInsightsManagementClientContext.js +0 -59
- package/esm/applicationInsightsManagementClientContext.js.map +0 -1
- package/esm/models/aPIKeysMappers.d.ts +0 -2
- package/esm/models/aPIKeysMappers.d.ts.map +0 -1
- package/esm/models/aPIKeysMappers.js +0 -9
- package/esm/models/aPIKeysMappers.js.map +0 -1
- package/esm/models/analyticsItemsMappers.d.ts +0 -2
- package/esm/models/analyticsItemsMappers.d.ts.map +0 -1
- package/esm/models/analyticsItemsMappers.js +0 -9
- package/esm/models/analyticsItemsMappers.js.map +0 -1
- package/esm/models/annotationsMappers.d.ts +0 -2
- package/esm/models/annotationsMappers.d.ts.map +0 -1
- package/esm/models/annotationsMappers.js +0 -9
- package/esm/models/annotationsMappers.js.map +0 -1
- package/esm/models/componentAvailableFeaturesMappers.d.ts +0 -2
- package/esm/models/componentAvailableFeaturesMappers.d.ts.map +0 -1
- package/esm/models/componentAvailableFeaturesMappers.js +0 -9
- package/esm/models/componentAvailableFeaturesMappers.js.map +0 -1
- package/esm/models/componentCurrentBillingFeaturesMappers.d.ts +0 -2
- package/esm/models/componentCurrentBillingFeaturesMappers.d.ts.map +0 -1
- package/esm/models/componentCurrentBillingFeaturesMappers.js +0 -9
- package/esm/models/componentCurrentBillingFeaturesMappers.js.map +0 -1
- package/esm/models/componentFeatureCapabilitiesMappers.d.ts +0 -2
- package/esm/models/componentFeatureCapabilitiesMappers.d.ts.map +0 -1
- package/esm/models/componentFeatureCapabilitiesMappers.js +0 -9
- package/esm/models/componentFeatureCapabilitiesMappers.js.map +0 -1
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts +0 -2
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts.map +0 -1
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.js +0 -9
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.js.map +0 -1
- package/esm/models/componentQuotaStatusMappers.d.ts +0 -2
- package/esm/models/componentQuotaStatusMappers.d.ts.map +0 -1
- package/esm/models/componentQuotaStatusMappers.js +0 -9
- package/esm/models/componentQuotaStatusMappers.js.map +0 -1
- package/esm/models/componentsMappers.d.ts +0 -2
- package/esm/models/componentsMappers.d.ts.map +0 -1
- package/esm/models/componentsMappers.js +0 -9
- package/esm/models/componentsMappers.js.map +0 -1
- package/esm/models/exportConfigurationsMappers.d.ts +0 -2
- package/esm/models/exportConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/exportConfigurationsMappers.js +0 -9
- package/esm/models/exportConfigurationsMappers.js.map +0 -1
- package/esm/models/favoritesMappers.d.ts +0 -2
- package/esm/models/favoritesMappers.d.ts.map +0 -1
- package/esm/models/favoritesMappers.js +0 -9
- package/esm/models/favoritesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -3793
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/liveTokenMappers.d.ts +0 -2
- package/esm/models/liveTokenMappers.d.ts.map +0 -1
- package/esm/models/liveTokenMappers.js +0 -9
- package/esm/models/liveTokenMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -89
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/myWorkbooksMappers.d.ts +0 -2
- package/esm/models/myWorkbooksMappers.d.ts.map +0 -1
- package/esm/models/myWorkbooksMappers.js +0 -9
- package/esm/models/myWorkbooksMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -41
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/proactiveDetectionConfigurationsMappers.d.ts +0 -2
- package/esm/models/proactiveDetectionConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/proactiveDetectionConfigurationsMappers.js +0 -9
- package/esm/models/proactiveDetectionConfigurationsMappers.js.map +0 -1
- package/esm/models/webTestLocationsMappers.d.ts +0 -2
- package/esm/models/webTestLocationsMappers.d.ts.map +0 -1
- package/esm/models/webTestLocationsMappers.js +0 -9
- package/esm/models/webTestLocationsMappers.js.map +0 -1
- package/esm/models/webTestsMappers.d.ts +0 -2
- package/esm/models/webTestsMappers.d.ts.map +0 -1
- package/esm/models/webTestsMappers.js +0 -9
- package/esm/models/webTestsMappers.js.map +0 -1
- package/esm/models/workItemConfigurationsMappers.d.ts +0 -2
- package/esm/models/workItemConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/workItemConfigurationsMappers.js +0 -9
- package/esm/models/workItemConfigurationsMappers.js.map +0 -1
- package/esm/models/workbookTemplatesMappers.d.ts +0 -2
- package/esm/models/workbookTemplatesMappers.d.ts.map +0 -1
- package/esm/models/workbookTemplatesMappers.js +0 -9
- package/esm/models/workbookTemplatesMappers.js.map +0 -1
- package/esm/models/workbooksMappers.d.ts +0 -2
- package/esm/models/workbooksMappers.d.ts.map +0 -1
- package/esm/models/workbooksMappers.js +0 -9
- package/esm/models/workbooksMappers.js.map +0 -1
- package/esm/operations/aPIKeys.d.ts +0 -109
- package/esm/operations/aPIKeys.d.ts.map +0 -1
- package/esm/operations/aPIKeys.js +0 -160
- package/esm/operations/aPIKeys.js.map +0 -1
- package/esm/operations/analyticsItems.d.ts +0 -139
- package/esm/operations/analyticsItems.d.ts.map +0 -1
- package/esm/operations/analyticsItems.js +0 -181
- package/esm/operations/analyticsItems.js.map +0 -1
- package/esm/operations/annotations.d.ts +0 -124
- package/esm/operations/annotations.d.ts.map +0 -1
- package/esm/operations/annotations.js +0 -184
- package/esm/operations/annotations.js.map +0 -1
- package/esm/operations/componentAvailableFeatures.d.ts +0 -34
- package/esm/operations/componentAvailableFeatures.d.ts.map +0 -1
- package/esm/operations/componentAvailableFeatures.js +0 -57
- package/esm/operations/componentAvailableFeatures.js.map +0 -1
- package/esm/operations/componentCurrentBillingFeatures.d.ts +0 -61
- package/esm/operations/componentCurrentBillingFeatures.d.ts.map +0 -1
- package/esm/operations/componentCurrentBillingFeatures.js +0 -94
- package/esm/operations/componentCurrentBillingFeatures.js.map +0 -1
- package/esm/operations/componentFeatureCapabilities.d.ts +0 -34
- package/esm/operations/componentFeatureCapabilities.d.ts.map +0 -1
- package/esm/operations/componentFeatureCapabilities.js +0 -57
- package/esm/operations/componentFeatureCapabilities.js.map +0 -1
- package/esm/operations/componentLinkedStorageAccountsOperations.d.ts +0 -109
- package/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +0 -1
- package/esm/operations/componentLinkedStorageAccountsOperations.js +0 -164
- package/esm/operations/componentLinkedStorageAccountsOperations.js.map +0 -1
- package/esm/operations/componentQuotaStatus.d.ts +0 -34
- package/esm/operations/componentQuotaStatus.d.ts.map +0 -1
- package/esm/operations/componentQuotaStatus.js +0 -57
- package/esm/operations/componentQuotaStatus.js.map +0 -1
- package/esm/operations/components.d.ts +0 -236
- package/esm/operations/components.d.ts.map +0 -1
- package/esm/operations/components.js +0 -349
- package/esm/operations/components.js.map +0 -1
- package/esm/operations/exportConfigurations.d.ts +0 -148
- package/esm/operations/exportConfigurations.d.ts.map +0 -1
- package/esm/operations/exportConfigurations.js +0 -220
- package/esm/operations/exportConfigurations.js.map +0 -1
- package/esm/operations/favorites.d.ts +0 -139
- package/esm/operations/favorites.d.ts.map +0 -1
- package/esm/operations/favorites.js +0 -213
- package/esm/operations/favorites.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/liveToken.d.ts +0 -31
- package/esm/operations/liveToken.d.ts.map +0 -1
- package/esm/operations/liveToken.js +0 -54
- package/esm/operations/liveToken.js.map +0 -1
- package/esm/operations/myWorkbooks.d.ts +0 -196
- package/esm/operations/myWorkbooks.d.ts.map +0 -1
- package/esm/operations/myWorkbooks.js +0 -297
- package/esm/operations/myWorkbooks.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -81
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -132
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/proactiveDetectionConfigurations.d.ts +0 -94
- package/esm/operations/proactiveDetectionConfigurations.d.ts.map +0 -1
- package/esm/operations/proactiveDetectionConfigurations.js +0 -140
- package/esm/operations/proactiveDetectionConfigurations.js.map +0 -1
- package/esm/operations/webTestLocations.d.ts +0 -34
- package/esm/operations/webTestLocations.d.ts.map +0 -1
- package/esm/operations/webTestLocations.js +0 -57
- package/esm/operations/webTestLocations.js.map +0 -1
- package/esm/operations/webTests.d.ts +0 -214
- package/esm/operations/webTests.d.ts.map +0 -1
- package/esm/operations/webTests.js +0 -334
- package/esm/operations/webTests.js.map +0 -1
- package/esm/operations/workItemConfigurations.d.ts +0 -169
- package/esm/operations/workItemConfigurations.d.ts.map +0 -1
- package/esm/operations/workItemConfigurations.js +0 -227
- package/esm/operations/workItemConfigurations.js.map +0 -1
- package/esm/operations/workbookTemplates.d.ts +0 -118
- package/esm/operations/workbookTemplates.d.ts.map +0 -1
- package/esm/operations/workbookTemplates.js +0 -194
- package/esm/operations/workbookTemplates.js.map +0 -1
- package/esm/operations/workbooks.d.ts +0 -256
- package/esm/operations/workbooks.d.ts.map +0 -1
- package/esm/operations/workbooks.js +0 -392
- package/esm/operations/workbooks.js.map +0 -1
- package/src/applicationInsightsManagementClientContext.ts +0 -65
- package/src/models/analyticsItemsMappers.ts +0 -13
- package/src/models/annotationsMappers.ts +0 -15
- package/src/models/componentAvailableFeaturesMappers.ts +0 -14
- package/src/models/componentCurrentBillingFeaturesMappers.ts +0 -13
- package/src/models/componentLinkedStorageAccountsOperationsMappers.ts +0 -42
- package/src/models/componentsMappers.ts +0 -46
- package/src/models/exportConfigurationsMappers.ts +0 -13
- package/src/models/liveTokenMappers.ts +0 -13
- package/src/models/myWorkbooksMappers.ts +0 -42
- package/src/models/operationsMappers.ts +0 -18
- package/src/models/proactiveDetectionConfigurationsMappers.ts +0 -40
- package/src/models/webTestLocationsMappers.ts +0 -13
- package/src/models/webTestsMappers.ts +0 -42
- package/src/models/workItemConfigurationsMappers.ts +0 -16
- package/src/models/workbookTemplatesMappers.ts +0 -44
- package/src/models/workbooksMappers.ts +0 -43
package/rollup.config.js
CHANGED
|
@@ -1,37 +1,188 @@
|
|
|
1
|
-
|
|
2
|
-
import nodeResolve from "rollup-plugin-node-resolve";
|
|
3
|
-
import sourcemaps from "rollup-plugin-sourcemaps";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @type {rollup.RollupFileOptions}
|
|
7
|
-
*/
|
|
8
|
-
const config = {
|
|
9
|
-
input: "./esm/applicationInsightsManagementClient.js",
|
|
10
|
-
external: [
|
|
11
|
-
"@azure/ms-rest-js",
|
|
12
|
-
"@azure/ms-rest-azure-js"
|
|
13
|
-
],
|
|
14
|
-
output: {
|
|
15
|
-
file: "./dist/arm-appinsights.js",
|
|
16
|
-
format: "umd",
|
|
17
|
-
name: "Azure.ArmAppinsights",
|
|
18
|
-
sourcemap: true,
|
|
19
|
-
globals: {
|
|
20
|
-
"@azure/ms-rest-js": "msRest",
|
|
21
|
-
"@azure/ms-rest-azure-js": "msRestAzure"
|
|
22
|
-
},
|
|
23
|
-
banner: `/*
|
|
1
|
+
/*
|
|
24
2
|
* Copyright (c) Microsoft Corporation.
|
|
25
3
|
* Licensed under the MIT License.
|
|
26
4
|
*
|
|
27
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
28
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import nodeResolve from "@rollup/plugin-node-resolve";
|
|
10
|
+
import cjs from "@rollup/plugin-commonjs";
|
|
11
|
+
import sourcemaps from "rollup-plugin-sourcemaps";
|
|
12
|
+
import multiEntry from "@rollup/plugin-multi-entry";
|
|
13
|
+
import json from "@rollup/plugin-json";
|
|
14
|
+
|
|
15
|
+
import nodeBuiltins from "builtin-modules";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api.
|
|
19
|
+
*
|
|
20
|
+
* NOTE: this manual configuration is only needed because OpenTelemetry uses an
|
|
21
|
+
* __exportStar downleveled helper function to declare its exports which confuses
|
|
22
|
+
* rollup's automatic discovery mechanism.
|
|
23
|
+
*
|
|
24
|
+
* @returns an object reference that can be `...`'d into your cjs() configuration.
|
|
25
|
+
*/
|
|
26
|
+
export function openTelemetryCommonJs() {
|
|
27
|
+
const namedExports = {};
|
|
28
|
+
|
|
29
|
+
for (const key of [
|
|
30
|
+
"@opentelemetry/api",
|
|
31
|
+
"@azure/core-tracing/node_modules/@opentelemetry/api"
|
|
32
|
+
]) {
|
|
33
|
+
namedExports[key] = [
|
|
34
|
+
"SpanKind",
|
|
35
|
+
"TraceFlags",
|
|
36
|
+
"getSpan",
|
|
37
|
+
"setSpan",
|
|
38
|
+
"SpanStatusCode",
|
|
39
|
+
"getSpanContext",
|
|
40
|
+
"setSpanContext"
|
|
41
|
+
];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"];
|
|
45
|
+
|
|
46
|
+
for (const version of releasedOpenTelemetryVersions) {
|
|
47
|
+
namedExports[
|
|
48
|
+
// working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path.
|
|
49
|
+
`../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js`
|
|
50
|
+
] = [
|
|
51
|
+
"SpanKind",
|
|
52
|
+
"TraceFlags",
|
|
53
|
+
"getSpan",
|
|
54
|
+
"setSpan",
|
|
55
|
+
"StatusCode",
|
|
56
|
+
"CanonicalCode",
|
|
57
|
+
"getSpanContext",
|
|
58
|
+
"setSpanContext"
|
|
59
|
+
];
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return namedExports;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// #region Warning Handler
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* A function that can determine whether a rollupwarning should be ignored. If
|
|
69
|
+
* the function returns `true`, then the warning will not be displayed.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
function ignoreNiseSinonEvalWarnings(warning) {
|
|
73
|
+
return (
|
|
74
|
+
warning.code === "EVAL" &&
|
|
75
|
+
warning.id &&
|
|
76
|
+
(warning.id.includes("node_modules/nise") ||
|
|
77
|
+
warning.id.includes("node_modules/sinon")) === true
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function ignoreChaiCircularDependencyWarnings(warning) {
|
|
82
|
+
return (
|
|
83
|
+
warning.code === "CIRCULAR_DEPENDENCY" &&
|
|
84
|
+
warning.importer && warning.importer.includes("node_modules/chai") === true
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
const warningInhibitors = [
|
|
89
|
+
ignoreChaiCircularDependencyWarnings,
|
|
90
|
+
ignoreNiseSinonEvalWarnings
|
|
91
|
+
];
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Construct a warning handler for the shared rollup configuration
|
|
95
|
+
* that ignores certain warnings that are not relevant to testing.
|
|
96
|
+
*/
|
|
97
|
+
function makeOnWarnForTesting() {
|
|
98
|
+
return (warning, warn) => {
|
|
99
|
+
// If every inhibitor returns false (i.e. no inhibitors), then show the warning
|
|
100
|
+
if (warningInhibitors.every((inhib) => !inhib(warning))) {
|
|
101
|
+
warn(warning);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// #endregion
|
|
107
|
+
|
|
108
|
+
function makeBrowserTestConfig() {
|
|
109
|
+
const config = {
|
|
110
|
+
input: {
|
|
111
|
+
include: ["dist-esm/test/**/*.spec.js"],
|
|
112
|
+
exclude: ["dist-esm/test/**/node/**"]
|
|
113
|
+
},
|
|
114
|
+
output: {
|
|
115
|
+
file: `dist-test/index.browser.js`,
|
|
116
|
+
format: "umd",
|
|
117
|
+
sourcemap: true
|
|
118
|
+
},
|
|
119
|
+
preserveSymlinks: false,
|
|
120
|
+
plugins: [
|
|
121
|
+
multiEntry({ exports: false }),
|
|
122
|
+
nodeResolve({
|
|
123
|
+
mainFields: ["module", "browser"]
|
|
124
|
+
}),
|
|
125
|
+
cjs({
|
|
126
|
+
namedExports: {
|
|
127
|
+
// Chai's strange internal architecture makes it impossible to statically
|
|
128
|
+
// analyze its exports.
|
|
129
|
+
chai: [
|
|
130
|
+
"version",
|
|
131
|
+
"use",
|
|
132
|
+
"util",
|
|
133
|
+
"config",
|
|
134
|
+
"expect",
|
|
135
|
+
"should",
|
|
136
|
+
"assert"
|
|
137
|
+
],
|
|
138
|
+
...openTelemetryCommonJs()
|
|
139
|
+
}
|
|
140
|
+
}),
|
|
141
|
+
json(),
|
|
142
|
+
sourcemaps()
|
|
143
|
+
//viz({ filename: "dist-test/browser-stats.html", sourcemap: true })
|
|
144
|
+
],
|
|
145
|
+
onwarn: makeOnWarnForTesting(),
|
|
146
|
+
// Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0,
|
|
147
|
+
// rollup started respecting the "sideEffects" field in package.json. Since
|
|
148
|
+
// our package.json sets "sideEffects=false", this also applies to test
|
|
149
|
+
// code, which causes all tests to be removed by tree-shaking.
|
|
150
|
+
treeshake: false
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
return config;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
const defaultConfigurationOptions = {
|
|
157
|
+
disableBrowserBundle: false
|
|
35
158
|
};
|
|
36
159
|
|
|
37
|
-
export
|
|
160
|
+
export function makeConfig(pkg, options) {
|
|
161
|
+
options = {
|
|
162
|
+
...defaultConfigurationOptions,
|
|
163
|
+
...(options || {})
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
const baseConfig = {
|
|
167
|
+
// Use the package's module field if it has one
|
|
168
|
+
input: pkg["module"] || "dist-esm/src/index.js",
|
|
169
|
+
external: [
|
|
170
|
+
...nodeBuiltins,
|
|
171
|
+
...Object.keys(pkg.dependencies),
|
|
172
|
+
...Object.keys(pkg.devDependencies)
|
|
173
|
+
],
|
|
174
|
+
output: { file: "dist/index.js", format: "cjs", sourcemap: true },
|
|
175
|
+
preserveSymlinks: false,
|
|
176
|
+
plugins: [sourcemaps(), nodeResolve(), cjs()]
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
const config = [baseConfig];
|
|
180
|
+
|
|
181
|
+
if (!options.disableBrowserBundle) {
|
|
182
|
+
config.push(makeBrowserTestConfig());
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
return config;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export default makeConfig(require("./package.json"));
|
|
@@ -3,83 +3,159 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import * as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as coreAuth from "@azure/core-auth";
|
|
11
|
+
import {
|
|
12
|
+
AnnotationsImpl,
|
|
13
|
+
APIKeysImpl,
|
|
14
|
+
ExportConfigurationsImpl,
|
|
15
|
+
ComponentCurrentBillingFeaturesImpl,
|
|
16
|
+
ComponentQuotaStatusImpl,
|
|
17
|
+
ComponentFeatureCapabilitiesImpl,
|
|
18
|
+
ComponentAvailableFeaturesImpl,
|
|
19
|
+
ProactiveDetectionConfigurationsImpl,
|
|
20
|
+
WorkItemConfigurationsImpl,
|
|
21
|
+
FavoritesImpl,
|
|
22
|
+
WebTestLocationsImpl,
|
|
23
|
+
WebTestsImpl,
|
|
24
|
+
AnalyticsItemsImpl,
|
|
25
|
+
WorkbookTemplatesImpl,
|
|
26
|
+
MyWorkbooksImpl,
|
|
27
|
+
WorkbooksImpl,
|
|
28
|
+
ComponentsImpl,
|
|
29
|
+
ComponentLinkedStorageAccountsOperationsImpl,
|
|
30
|
+
OperationsImpl,
|
|
31
|
+
LiveTokenImpl
|
|
32
|
+
} from "./operations";
|
|
33
|
+
import {
|
|
34
|
+
Annotations,
|
|
35
|
+
APIKeys,
|
|
36
|
+
ExportConfigurations,
|
|
37
|
+
ComponentCurrentBillingFeatures,
|
|
38
|
+
ComponentQuotaStatus,
|
|
39
|
+
ComponentFeatureCapabilities,
|
|
40
|
+
ComponentAvailableFeatures,
|
|
41
|
+
ProactiveDetectionConfigurations,
|
|
42
|
+
WorkItemConfigurations,
|
|
43
|
+
Favorites,
|
|
44
|
+
WebTestLocations,
|
|
45
|
+
WebTests,
|
|
46
|
+
AnalyticsItems,
|
|
47
|
+
WorkbookTemplates,
|
|
48
|
+
MyWorkbooks,
|
|
49
|
+
Workbooks,
|
|
50
|
+
Components,
|
|
51
|
+
ComponentLinkedStorageAccountsOperations,
|
|
52
|
+
Operations,
|
|
53
|
+
LiveToken
|
|
54
|
+
} from "./operationsInterfaces";
|
|
55
|
+
import { ApplicationInsightsManagementClientOptionalParams } from "./models";
|
|
16
56
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
operations: operations.Operations;
|
|
21
|
-
annotations: operations.Annotations;
|
|
22
|
-
aPIKeys: operations.APIKeys;
|
|
23
|
-
exportConfigurations: operations.ExportConfigurations;
|
|
24
|
-
componentCurrentBillingFeatures: operations.ComponentCurrentBillingFeatures;
|
|
25
|
-
componentQuotaStatus: operations.ComponentQuotaStatus;
|
|
26
|
-
componentFeatureCapabilities: operations.ComponentFeatureCapabilities;
|
|
27
|
-
componentAvailableFeatures: operations.ComponentAvailableFeatures;
|
|
28
|
-
proactiveDetectionConfigurations: operations.ProactiveDetectionConfigurations;
|
|
29
|
-
workItemConfigurations: operations.WorkItemConfigurations;
|
|
30
|
-
favorites: operations.Favorites;
|
|
31
|
-
webTestLocations: operations.WebTestLocations;
|
|
32
|
-
webTests: operations.WebTests;
|
|
33
|
-
analyticsItems: operations.AnalyticsItems;
|
|
34
|
-
workbookTemplates: operations.WorkbookTemplates;
|
|
35
|
-
myWorkbooks: operations.MyWorkbooks;
|
|
36
|
-
workbooks: operations.Workbooks;
|
|
37
|
-
components: operations.Components;
|
|
38
|
-
componentLinkedStorageAccounts: operations.ComponentLinkedStorageAccountsOperations;
|
|
39
|
-
liveToken: operations.LiveToken;
|
|
57
|
+
export class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
|
|
58
|
+
$host: string;
|
|
59
|
+
subscriptionId: string;
|
|
40
60
|
|
|
41
61
|
/**
|
|
42
62
|
* Initializes a new instance of the ApplicationInsightsManagementClient class.
|
|
43
|
-
* @param credentials
|
|
44
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
45
|
-
* more information about these credentials, see
|
|
46
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
47
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
48
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
63
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
49
64
|
* @param subscriptionId The ID of the target subscription.
|
|
50
|
-
* @param
|
|
65
|
+
* @param options The parameter options
|
|
51
66
|
*/
|
|
52
|
-
constructor(
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
this.componentLinkedStorageAccounts = new operations.ComponentLinkedStorageAccountsOperations(this);
|
|
73
|
-
this.liveToken = new operations.LiveToken(this);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
67
|
+
constructor(
|
|
68
|
+
credentials: coreAuth.TokenCredential,
|
|
69
|
+
subscriptionId: string,
|
|
70
|
+
options?: ApplicationInsightsManagementClientOptionalParams
|
|
71
|
+
) {
|
|
72
|
+
if (credentials === undefined) {
|
|
73
|
+
throw new Error("'credentials' cannot be null");
|
|
74
|
+
}
|
|
75
|
+
if (subscriptionId === undefined) {
|
|
76
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Initializing default values for options
|
|
80
|
+
if (!options) {
|
|
81
|
+
options = {};
|
|
82
|
+
}
|
|
83
|
+
const defaults: ApplicationInsightsManagementClientOptionalParams = {
|
|
84
|
+
requestContentType: "application/json; charset=utf-8",
|
|
85
|
+
credential: credentials
|
|
86
|
+
};
|
|
76
87
|
|
|
77
|
-
|
|
88
|
+
const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.1`;
|
|
89
|
+
const userAgentPrefix =
|
|
90
|
+
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
91
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
92
|
+
: `${packageDetails}`;
|
|
78
93
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
94
|
+
if (!options.credentialScopes) {
|
|
95
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
96
|
+
}
|
|
97
|
+
const optionsWithDefaults = {
|
|
98
|
+
...defaults,
|
|
99
|
+
...options,
|
|
100
|
+
userAgentOptions: {
|
|
101
|
+
userAgentPrefix
|
|
102
|
+
},
|
|
103
|
+
baseUri: options.endpoint || "https://management.azure.com"
|
|
104
|
+
};
|
|
105
|
+
super(optionsWithDefaults);
|
|
106
|
+
// Parameter assignments
|
|
107
|
+
this.subscriptionId = subscriptionId;
|
|
108
|
+
|
|
109
|
+
// Assigning values to Constant parameters
|
|
110
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
111
|
+
this.annotations = new AnnotationsImpl(this);
|
|
112
|
+
this.aPIKeys = new APIKeysImpl(this);
|
|
113
|
+
this.exportConfigurations = new ExportConfigurationsImpl(this);
|
|
114
|
+
this.componentCurrentBillingFeatures = new ComponentCurrentBillingFeaturesImpl(
|
|
115
|
+
this
|
|
116
|
+
);
|
|
117
|
+
this.componentQuotaStatus = new ComponentQuotaStatusImpl(this);
|
|
118
|
+
this.componentFeatureCapabilities = new ComponentFeatureCapabilitiesImpl(
|
|
119
|
+
this
|
|
120
|
+
);
|
|
121
|
+
this.componentAvailableFeatures = new ComponentAvailableFeaturesImpl(this);
|
|
122
|
+
this.proactiveDetectionConfigurations = new ProactiveDetectionConfigurationsImpl(
|
|
123
|
+
this
|
|
124
|
+
);
|
|
125
|
+
this.workItemConfigurations = new WorkItemConfigurationsImpl(this);
|
|
126
|
+
this.favorites = new FavoritesImpl(this);
|
|
127
|
+
this.webTestLocations = new WebTestLocationsImpl(this);
|
|
128
|
+
this.webTests = new WebTestsImpl(this);
|
|
129
|
+
this.analyticsItems = new AnalyticsItemsImpl(this);
|
|
130
|
+
this.workbookTemplates = new WorkbookTemplatesImpl(this);
|
|
131
|
+
this.myWorkbooks = new MyWorkbooksImpl(this);
|
|
132
|
+
this.workbooks = new WorkbooksImpl(this);
|
|
133
|
+
this.components = new ComponentsImpl(this);
|
|
134
|
+
this.componentLinkedStorageAccountsOperations = new ComponentLinkedStorageAccountsOperationsImpl(
|
|
135
|
+
this
|
|
136
|
+
);
|
|
137
|
+
this.operations = new OperationsImpl(this);
|
|
138
|
+
this.liveToken = new LiveTokenImpl(this);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
annotations: Annotations;
|
|
142
|
+
aPIKeys: APIKeys;
|
|
143
|
+
exportConfigurations: ExportConfigurations;
|
|
144
|
+
componentCurrentBillingFeatures: ComponentCurrentBillingFeatures;
|
|
145
|
+
componentQuotaStatus: ComponentQuotaStatus;
|
|
146
|
+
componentFeatureCapabilities: ComponentFeatureCapabilities;
|
|
147
|
+
componentAvailableFeatures: ComponentAvailableFeatures;
|
|
148
|
+
proactiveDetectionConfigurations: ProactiveDetectionConfigurations;
|
|
149
|
+
workItemConfigurations: WorkItemConfigurations;
|
|
150
|
+
favorites: Favorites;
|
|
151
|
+
webTestLocations: WebTestLocations;
|
|
152
|
+
webTests: WebTests;
|
|
153
|
+
analyticsItems: AnalyticsItems;
|
|
154
|
+
workbookTemplates: WorkbookTemplates;
|
|
155
|
+
myWorkbooks: MyWorkbooks;
|
|
156
|
+
workbooks: Workbooks;
|
|
157
|
+
components: Components;
|
|
158
|
+
componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;
|
|
159
|
+
operations: Operations;
|
|
160
|
+
liveToken: LiveToken;
|
|
161
|
+
}
|
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
CloudError
|
|
14
|
-
} from "../models/mappers";
|
|
9
|
+
/// <reference lib="esnext.asynciterable" />
|
|
10
|
+
export * from "./models";
|
|
11
|
+
export { ApplicationInsightsManagementClient } from "./applicationInsightsManagementClient";
|
|
12
|
+
export * from "./operationsInterfaces";
|