@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
|
@@ -3,25 +3,36 @@
|
|
|
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
|
|
11
|
-
import * as
|
|
12
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { Favorites } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
13
12
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
13
|
+
import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
|
|
14
|
+
import {
|
|
15
|
+
FavoritesListOptionalParams,
|
|
16
|
+
FavoritesListResponse,
|
|
17
|
+
FavoritesGetOptionalParams,
|
|
18
|
+
FavoritesGetResponse,
|
|
19
|
+
ApplicationInsightsComponentFavorite,
|
|
20
|
+
FavoritesAddOptionalParams,
|
|
21
|
+
FavoritesAddResponse,
|
|
22
|
+
FavoritesUpdateOptionalParams,
|
|
23
|
+
FavoritesUpdateResponse,
|
|
24
|
+
FavoritesDeleteOptionalParams
|
|
25
|
+
} from "../models";
|
|
15
26
|
|
|
16
|
-
/** Class
|
|
17
|
-
export class Favorites {
|
|
18
|
-
private readonly client:
|
|
27
|
+
/** Class containing Favorites operations. */
|
|
28
|
+
export class FavoritesImpl implements Favorites {
|
|
29
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
19
30
|
|
|
20
31
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
32
|
+
* Initialize a new instance of the class Favorites class.
|
|
33
|
+
* @param client Reference to the service client
|
|
23
34
|
*/
|
|
24
|
-
constructor(client:
|
|
35
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
25
36
|
this.client = client;
|
|
26
37
|
}
|
|
27
38
|
|
|
@@ -29,32 +40,17 @@ export class Favorites {
|
|
|
29
40
|
* Gets a list of favorites defined within an Application Insights component.
|
|
30
41
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
42
|
* @param resourceName The name of the Application Insights component resource.
|
|
32
|
-
* @param
|
|
33
|
-
* @returns Promise<Models.FavoritesListResponse>
|
|
43
|
+
* @param options The options parameters.
|
|
34
44
|
*/
|
|
35
|
-
list(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
*/
|
|
41
|
-
list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite[]>): void;
|
|
42
|
-
/**
|
|
43
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
45
|
-
* @param options The optional parameters
|
|
46
|
-
* @param callback The callback
|
|
47
|
-
*/
|
|
48
|
-
list(resourceGroupName: string, resourceName: string, options: Models.FavoritesListOptionalParams, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite[]>): void;
|
|
49
|
-
list(resourceGroupName: string, resourceName: string, options?: Models.FavoritesListOptionalParams | msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite[]>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite[]>): Promise<Models.FavoritesListResponse> {
|
|
45
|
+
list(
|
|
46
|
+
resourceGroupName: string,
|
|
47
|
+
resourceName: string,
|
|
48
|
+
options?: FavoritesListOptionalParams
|
|
49
|
+
): Promise<FavoritesListResponse> {
|
|
50
50
|
return this.client.sendOperationRequest(
|
|
51
|
-
{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
options
|
|
55
|
-
},
|
|
56
|
-
listOperationSpec,
|
|
57
|
-
callback) as Promise<Models.FavoritesListResponse>;
|
|
51
|
+
{ resourceGroupName, resourceName, options },
|
|
52
|
+
listOperationSpec
|
|
53
|
+
);
|
|
58
54
|
}
|
|
59
55
|
|
|
60
56
|
/**
|
|
@@ -62,35 +58,18 @@ export class Favorites {
|
|
|
62
58
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
63
59
|
* @param resourceName The name of the Application Insights component resource.
|
|
64
60
|
* @param favoriteId The Id of a specific favorite defined in the Application Insights component
|
|
65
|
-
* @param
|
|
66
|
-
* @returns Promise<Models.FavoritesGetResponse>
|
|
67
|
-
*/
|
|
68
|
-
get(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase): Promise<Models.FavoritesGetResponse>;
|
|
69
|
-
/**
|
|
70
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
71
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
72
|
-
* @param favoriteId The Id of a specific favorite defined in the Application Insights component
|
|
73
|
-
* @param callback The callback
|
|
61
|
+
* @param options The options parameters.
|
|
74
62
|
*/
|
|
75
|
-
get(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
* @param callback The callback
|
|
82
|
-
*/
|
|
83
|
-
get(resourceGroupName: string, resourceName: string, favoriteId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite>): void;
|
|
84
|
-
get(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite>): Promise<Models.FavoritesGetResponse> {
|
|
63
|
+
get(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
resourceName: string,
|
|
66
|
+
favoriteId: string,
|
|
67
|
+
options?: FavoritesGetOptionalParams
|
|
68
|
+
): Promise<FavoritesGetResponse> {
|
|
85
69
|
return this.client.sendOperationRequest(
|
|
86
|
-
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
favoriteId,
|
|
90
|
-
options
|
|
91
|
-
},
|
|
92
|
-
getOperationSpec,
|
|
93
|
-
callback) as Promise<Models.FavoritesGetResponse>;
|
|
70
|
+
{ resourceGroupName, resourceName, favoriteId, options },
|
|
71
|
+
getOperationSpec
|
|
72
|
+
);
|
|
94
73
|
}
|
|
95
74
|
|
|
96
75
|
/**
|
|
@@ -98,32 +77,17 @@ export class Favorites {
|
|
|
98
77
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
78
|
* @param resourceName The name of the Application Insights component resource.
|
|
100
79
|
* @param favoriteId The Id of a specific favorite defined in the Application Insights component
|
|
101
|
-
* @param favoriteProperties Properties that need to be specified to create a new favorite and add
|
|
102
|
-
*
|
|
103
|
-
* @param
|
|
104
|
-
* @returns Promise<Models.FavoritesAddResponse>
|
|
105
|
-
*/
|
|
106
|
-
add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase): Promise<Models.FavoritesAddResponse>;
|
|
107
|
-
/**
|
|
108
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
110
|
-
* @param favoriteId The Id of a specific favorite defined in the Application Insights component
|
|
111
|
-
* @param favoriteProperties Properties that need to be specified to create a new favorite and add
|
|
112
|
-
* it to an Application Insights component.
|
|
113
|
-
* @param callback The callback
|
|
80
|
+
* @param favoriteProperties Properties that need to be specified to create a new favorite and add it
|
|
81
|
+
* to an Application Insights component.
|
|
82
|
+
* @param options The options parameters.
|
|
114
83
|
*/
|
|
115
|
-
add(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
* @param options The optional parameters
|
|
123
|
-
* @param callback The callback
|
|
124
|
-
*/
|
|
125
|
-
add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite>): void;
|
|
126
|
-
add(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite>): Promise<Models.FavoritesAddResponse> {
|
|
84
|
+
add(
|
|
85
|
+
resourceGroupName: string,
|
|
86
|
+
resourceName: string,
|
|
87
|
+
favoriteId: string,
|
|
88
|
+
favoriteProperties: ApplicationInsightsComponentFavorite,
|
|
89
|
+
options?: FavoritesAddOptionalParams
|
|
90
|
+
): Promise<FavoritesAddResponse> {
|
|
127
91
|
return this.client.sendOperationRequest(
|
|
128
92
|
{
|
|
129
93
|
resourceGroupName,
|
|
@@ -132,8 +96,8 @@ export class Favorites {
|
|
|
132
96
|
favoriteProperties,
|
|
133
97
|
options
|
|
134
98
|
},
|
|
135
|
-
addOperationSpec
|
|
136
|
-
|
|
99
|
+
addOperationSpec
|
|
100
|
+
);
|
|
137
101
|
}
|
|
138
102
|
|
|
139
103
|
/**
|
|
@@ -142,28 +106,15 @@ export class Favorites {
|
|
|
142
106
|
* @param resourceName The name of the Application Insights component resource.
|
|
143
107
|
* @param favoriteId The Id of a specific favorite defined in the Application Insights component
|
|
144
108
|
* @param favoriteProperties Properties that need to be specified to update the existing favorite.
|
|
145
|
-
* @param
|
|
146
|
-
* @returns Promise<Models.FavoritesUpdateResponse>
|
|
109
|
+
* @param options The options parameters.
|
|
147
110
|
*/
|
|
148
|
-
update(
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
*/
|
|
156
|
-
update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite>): void;
|
|
157
|
-
/**
|
|
158
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
159
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
160
|
-
* @param favoriteId The Id of a specific favorite defined in the Application Insights component
|
|
161
|
-
* @param favoriteProperties Properties that need to be specified to update the existing favorite.
|
|
162
|
-
* @param options The optional parameters
|
|
163
|
-
* @param callback The callback
|
|
164
|
-
*/
|
|
165
|
-
update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite>): void;
|
|
166
|
-
update(resourceGroupName: string, resourceName: string, favoriteId: string, favoriteProperties: Models.ApplicationInsightsComponentFavorite, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentFavorite>): Promise<Models.FavoritesUpdateResponse> {
|
|
111
|
+
update(
|
|
112
|
+
resourceGroupName: string,
|
|
113
|
+
resourceName: string,
|
|
114
|
+
favoriteId: string,
|
|
115
|
+
favoriteProperties: ApplicationInsightsComponentFavorite,
|
|
116
|
+
options?: FavoritesUpdateOptionalParams
|
|
117
|
+
): Promise<FavoritesUpdateResponse> {
|
|
167
118
|
return this.client.sendOperationRequest(
|
|
168
119
|
{
|
|
169
120
|
resourceGroupName,
|
|
@@ -172,8 +123,8 @@ export class Favorites {
|
|
|
172
123
|
favoriteProperties,
|
|
173
124
|
options
|
|
174
125
|
},
|
|
175
|
-
updateOperationSpec
|
|
176
|
-
|
|
126
|
+
updateOperationSpec
|
|
127
|
+
);
|
|
177
128
|
}
|
|
178
129
|
|
|
179
130
|
/**
|
|
@@ -181,62 +132,30 @@ export class Favorites {
|
|
|
181
132
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
182
133
|
* @param resourceName The name of the Application Insights component resource.
|
|
183
134
|
* @param favoriteId The Id of a specific favorite defined in the Application Insights component
|
|
184
|
-
* @param
|
|
185
|
-
* @returns Promise<msRest.RestResponse>
|
|
186
|
-
*/
|
|
187
|
-
deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
188
|
-
/**
|
|
189
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
190
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
191
|
-
* @param favoriteId The Id of a specific favorite defined in the Application Insights component
|
|
192
|
-
* @param callback The callback
|
|
193
|
-
*/
|
|
194
|
-
deleteMethod(resourceGroupName: string, resourceName: string, favoriteId: string, callback: msRest.ServiceCallback<void>): void;
|
|
195
|
-
/**
|
|
196
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
197
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
198
|
-
* @param favoriteId The Id of a specific favorite defined in the Application Insights component
|
|
199
|
-
* @param options The optional parameters
|
|
200
|
-
* @param callback The callback
|
|
135
|
+
* @param options The options parameters.
|
|
201
136
|
*/
|
|
202
|
-
|
|
203
|
-
|
|
137
|
+
delete(
|
|
138
|
+
resourceGroupName: string,
|
|
139
|
+
resourceName: string,
|
|
140
|
+
favoriteId: string,
|
|
141
|
+
options?: FavoritesDeleteOptionalParams
|
|
142
|
+
): Promise<void> {
|
|
204
143
|
return this.client.sendOperationRequest(
|
|
205
|
-
{
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
favoriteId,
|
|
209
|
-
options
|
|
210
|
-
},
|
|
211
|
-
deleteMethodOperationSpec,
|
|
212
|
-
callback);
|
|
144
|
+
{ resourceGroupName, resourceName, favoriteId, options },
|
|
145
|
+
deleteOperationSpec
|
|
146
|
+
);
|
|
213
147
|
}
|
|
214
148
|
}
|
|
215
|
-
|
|
216
149
|
// Operation Specifications
|
|
217
|
-
const serializer =
|
|
218
|
-
|
|
150
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
151
|
+
|
|
152
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
153
|
+
path:
|
|
154
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites",
|
|
219
155
|
httpMethod: "GET",
|
|
220
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites",
|
|
221
|
-
urlParameters: [
|
|
222
|
-
Parameters.resourceGroupName,
|
|
223
|
-
Parameters.subscriptionId,
|
|
224
|
-
Parameters.resourceName
|
|
225
|
-
],
|
|
226
|
-
queryParameters: [
|
|
227
|
-
Parameters.apiVersion0,
|
|
228
|
-
Parameters.favoriteType,
|
|
229
|
-
Parameters.sourceType,
|
|
230
|
-
Parameters.canFetchContent,
|
|
231
|
-
Parameters.tags
|
|
232
|
-
],
|
|
233
|
-
headerParameters: [
|
|
234
|
-
Parameters.acceptLanguage
|
|
235
|
-
],
|
|
236
156
|
responses: {
|
|
237
157
|
200: {
|
|
238
158
|
bodyMapper: {
|
|
239
|
-
serializedName: "parsedResponse",
|
|
240
159
|
type: {
|
|
241
160
|
name: "Sequence",
|
|
242
161
|
element: {
|
|
@@ -247,126 +166,100 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
247
166
|
}
|
|
248
167
|
}
|
|
249
168
|
}
|
|
250
|
-
},
|
|
251
|
-
default: {
|
|
252
|
-
bodyMapper: Mappers.CloudError
|
|
253
169
|
}
|
|
254
170
|
},
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
171
|
+
queryParameters: [
|
|
172
|
+
Parameters.apiVersion,
|
|
173
|
+
Parameters.favoriteType,
|
|
174
|
+
Parameters.sourceType,
|
|
175
|
+
Parameters.canFetchContent,
|
|
176
|
+
Parameters.tags
|
|
177
|
+
],
|
|
261
178
|
urlParameters: [
|
|
179
|
+
Parameters.$host,
|
|
262
180
|
Parameters.resourceGroupName,
|
|
263
181
|
Parameters.subscriptionId,
|
|
264
|
-
Parameters.resourceName
|
|
265
|
-
Parameters.favoriteId
|
|
266
|
-
],
|
|
267
|
-
queryParameters: [
|
|
268
|
-
Parameters.apiVersion0
|
|
269
|
-
],
|
|
270
|
-
headerParameters: [
|
|
271
|
-
Parameters.acceptLanguage
|
|
182
|
+
Parameters.resourceName
|
|
272
183
|
],
|
|
184
|
+
headerParameters: [Parameters.accept],
|
|
185
|
+
serializer
|
|
186
|
+
};
|
|
187
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
188
|
+
path:
|
|
189
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}",
|
|
190
|
+
httpMethod: "GET",
|
|
273
191
|
responses: {
|
|
274
192
|
200: {
|
|
275
193
|
bodyMapper: Mappers.ApplicationInsightsComponentFavorite
|
|
276
|
-
},
|
|
277
|
-
default: {
|
|
278
|
-
bodyMapper: Mappers.CloudError
|
|
279
194
|
}
|
|
280
195
|
},
|
|
281
|
-
|
|
282
|
-
};
|
|
283
|
-
|
|
284
|
-
const addOperationSpec: msRest.OperationSpec = {
|
|
285
|
-
httpMethod: "PUT",
|
|
286
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}",
|
|
196
|
+
queryParameters: [Parameters.apiVersion],
|
|
287
197
|
urlParameters: [
|
|
198
|
+
Parameters.$host,
|
|
288
199
|
Parameters.resourceGroupName,
|
|
289
200
|
Parameters.subscriptionId,
|
|
290
201
|
Parameters.resourceName,
|
|
291
202
|
Parameters.favoriteId
|
|
292
203
|
],
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
parameterPath: "favoriteProperties",
|
|
301
|
-
mapper: {
|
|
302
|
-
...Mappers.ApplicationInsightsComponentFavorite,
|
|
303
|
-
required: true
|
|
304
|
-
}
|
|
305
|
-
},
|
|
204
|
+
headerParameters: [Parameters.accept],
|
|
205
|
+
serializer
|
|
206
|
+
};
|
|
207
|
+
const addOperationSpec: coreClient.OperationSpec = {
|
|
208
|
+
path:
|
|
209
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}",
|
|
210
|
+
httpMethod: "PUT",
|
|
306
211
|
responses: {
|
|
307
212
|
200: {
|
|
308
213
|
bodyMapper: Mappers.ApplicationInsightsComponentFavorite
|
|
309
|
-
},
|
|
310
|
-
default: {
|
|
311
|
-
bodyMapper: Mappers.CloudError
|
|
312
214
|
}
|
|
313
215
|
},
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
318
|
-
httpMethod: "PATCH",
|
|
319
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}",
|
|
216
|
+
requestBody: Parameters.favoriteProperties,
|
|
217
|
+
queryParameters: [Parameters.apiVersion],
|
|
320
218
|
urlParameters: [
|
|
219
|
+
Parameters.$host,
|
|
321
220
|
Parameters.resourceGroupName,
|
|
322
221
|
Parameters.subscriptionId,
|
|
323
222
|
Parameters.resourceName,
|
|
324
223
|
Parameters.favoriteId
|
|
325
224
|
],
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
mapper: {
|
|
335
|
-
...Mappers.ApplicationInsightsComponentFavorite,
|
|
336
|
-
required: true
|
|
337
|
-
}
|
|
338
|
-
},
|
|
225
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
226
|
+
mediaType: "json",
|
|
227
|
+
serializer
|
|
228
|
+
};
|
|
229
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
230
|
+
path:
|
|
231
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}",
|
|
232
|
+
httpMethod: "PATCH",
|
|
339
233
|
responses: {
|
|
340
234
|
200: {
|
|
341
235
|
bodyMapper: Mappers.ApplicationInsightsComponentFavorite
|
|
342
|
-
},
|
|
343
|
-
default: {
|
|
344
|
-
bodyMapper: Mappers.CloudError
|
|
345
236
|
}
|
|
346
237
|
},
|
|
238
|
+
requestBody: Parameters.favoriteProperties,
|
|
239
|
+
queryParameters: [Parameters.apiVersion],
|
|
240
|
+
urlParameters: [
|
|
241
|
+
Parameters.$host,
|
|
242
|
+
Parameters.resourceGroupName,
|
|
243
|
+
Parameters.subscriptionId,
|
|
244
|
+
Parameters.resourceName,
|
|
245
|
+
Parameters.favoriteId
|
|
246
|
+
],
|
|
247
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
248
|
+
mediaType: "json",
|
|
347
249
|
serializer
|
|
348
250
|
};
|
|
349
|
-
|
|
350
|
-
|
|
251
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
252
|
+
path:
|
|
253
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}",
|
|
351
254
|
httpMethod: "DELETE",
|
|
352
|
-
|
|
255
|
+
responses: { 200: {} },
|
|
256
|
+
queryParameters: [Parameters.apiVersion],
|
|
353
257
|
urlParameters: [
|
|
258
|
+
Parameters.$host,
|
|
354
259
|
Parameters.resourceGroupName,
|
|
355
260
|
Parameters.subscriptionId,
|
|
356
261
|
Parameters.resourceName,
|
|
357
262
|
Parameters.favoriteId
|
|
358
263
|
],
|
|
359
|
-
queryParameters: [
|
|
360
|
-
Parameters.apiVersion0
|
|
361
|
-
],
|
|
362
|
-
headerParameters: [
|
|
363
|
-
Parameters.acceptLanguage
|
|
364
|
-
],
|
|
365
|
-
responses: {
|
|
366
|
-
200: {},
|
|
367
|
-
default: {
|
|
368
|
-
bodyMapper: Mappers.CloudError
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
264
|
serializer
|
|
372
265
|
};
|
package/src/operations/index.ts
CHANGED
|
@@ -3,11 +3,9 @@
|
|
|
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
|
-
export * from "./operations";
|
|
11
9
|
export * from "./annotations";
|
|
12
10
|
export * from "./aPIKeys";
|
|
13
11
|
export * from "./exportConfigurations";
|
|
@@ -26,4 +24,5 @@ export * from "./myWorkbooks";
|
|
|
26
24
|
export * from "./workbooks";
|
|
27
25
|
export * from "./components";
|
|
28
26
|
export * from "./componentLinkedStorageAccountsOperations";
|
|
27
|
+
export * from "./operations";
|
|
29
28
|
export * from "./liveToken";
|
|
@@ -3,71 +3,49 @@
|
|
|
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
|
|
11
|
-
import * as
|
|
12
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { LiveToken } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
13
12
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
13
|
+
import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
|
|
14
|
+
import { LiveTokenGetOptionalParams, LiveTokenGetResponse } from "../models";
|
|
15
15
|
|
|
16
|
-
/** Class
|
|
17
|
-
export class LiveToken {
|
|
18
|
-
private readonly client:
|
|
16
|
+
/** Class containing LiveToken operations. */
|
|
17
|
+
export class LiveTokenImpl implements LiveToken {
|
|
18
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
21
|
+
* Initialize a new instance of the class LiveToken class.
|
|
22
|
+
* @param client Reference to the service client
|
|
23
23
|
*/
|
|
24
|
-
constructor(client:
|
|
24
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
25
25
|
this.client = client;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* **Gets an access token for live metrics stream data.**
|
|
30
30
|
* @param resourceUri The identifier of the resource.
|
|
31
|
-
* @param
|
|
32
|
-
* @returns Promise<Models.LiveTokenGetResponse>
|
|
31
|
+
* @param options The options parameters.
|
|
33
32
|
*/
|
|
34
|
-
get(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
*/
|
|
39
|
-
get(resourceUri: string, callback: msRest.ServiceCallback<Models.LiveTokenResponse>): void;
|
|
40
|
-
/**
|
|
41
|
-
* @param resourceUri The identifier of the resource.
|
|
42
|
-
* @param options The optional parameters
|
|
43
|
-
* @param callback The callback
|
|
44
|
-
*/
|
|
45
|
-
get(resourceUri: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LiveTokenResponse>): void;
|
|
46
|
-
get(resourceUri: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LiveTokenResponse>, callback?: msRest.ServiceCallback<Models.LiveTokenResponse>): Promise<Models.LiveTokenGetResponse> {
|
|
33
|
+
get(
|
|
34
|
+
resourceUri: string,
|
|
35
|
+
options?: LiveTokenGetOptionalParams
|
|
36
|
+
): Promise<LiveTokenGetResponse> {
|
|
47
37
|
return this.client.sendOperationRequest(
|
|
48
|
-
{
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
getOperationSpec,
|
|
53
|
-
callback) as Promise<Models.LiveTokenGetResponse>;
|
|
38
|
+
{ resourceUri, options },
|
|
39
|
+
getOperationSpec
|
|
40
|
+
);
|
|
54
41
|
}
|
|
55
42
|
}
|
|
56
|
-
|
|
57
43
|
// Operation Specifications
|
|
58
|
-
const serializer =
|
|
59
|
-
|
|
44
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
45
|
+
|
|
46
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
47
|
+
path: "/{resourceUri}/providers/microsoft.insights/generatelivetoken",
|
|
60
48
|
httpMethod: "POST",
|
|
61
|
-
path: "{resourceUri}/providers/microsoft.insights/generatelivetoken",
|
|
62
|
-
urlParameters: [
|
|
63
|
-
Parameters.resourceUri
|
|
64
|
-
],
|
|
65
|
-
queryParameters: [
|
|
66
|
-
Parameters.apiVersion1
|
|
67
|
-
],
|
|
68
|
-
headerParameters: [
|
|
69
|
-
Parameters.acceptLanguage
|
|
70
|
-
],
|
|
71
49
|
responses: {
|
|
72
50
|
200: {
|
|
73
51
|
bodyMapper: Mappers.LiveTokenResponse
|
|
@@ -76,5 +54,8 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
76
54
|
bodyMapper: Mappers.ErrorResponseLinkedStorage
|
|
77
55
|
}
|
|
78
56
|
},
|
|
57
|
+
queryParameters: [Parameters.apiVersion6],
|
|
58
|
+
urlParameters: [Parameters.$host, Parameters.resourceUri],
|
|
59
|
+
headerParameters: [Parameters.accept],
|
|
79
60
|
serializer
|
|
80
61
|
};
|