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