@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
|
|
12
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Annotations } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
Annotation,
|
|
17
|
+
AnnotationsListOptionalParams,
|
|
18
|
+
AnnotationsListResponse,
|
|
19
|
+
AnnotationsCreateOptionalParams,
|
|
20
|
+
AnnotationsCreateResponse,
|
|
21
|
+
AnnotationsDeleteOptionalParams,
|
|
22
|
+
AnnotationsGetOptionalParams,
|
|
23
|
+
AnnotationsGetResponse
|
|
24
|
+
} from "../models";
|
|
15
25
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
26
|
+
/// <reference lib="esnext.asynciterable" />
|
|
27
|
+
/** Class containing Annotations operations. */
|
|
28
|
+
export class AnnotationsImpl implements Annotations {
|
|
29
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
19
30
|
|
|
20
31
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
32
|
+
* Initialize a new instance of the class Annotations 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,43 +40,99 @@ export class Annotations {
|
|
|
29
40
|
* Gets the list of annotations for a component for given time range
|
|
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 start The start time to query from for annotations, cannot be older than 90 days from
|
|
33
|
-
*
|
|
43
|
+
* @param start The start time to query from for annotations, cannot be older than 90 days from current
|
|
44
|
+
* date.
|
|
34
45
|
* @param end The end time to query for annotations.
|
|
35
|
-
* @param
|
|
36
|
-
* @returns Promise<Models.AnnotationsListResponse>
|
|
46
|
+
* @param options The options parameters.
|
|
37
47
|
*/
|
|
38
|
-
list(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
public list(
|
|
49
|
+
resourceGroupName: string,
|
|
50
|
+
resourceName: string,
|
|
51
|
+
start: string,
|
|
52
|
+
end: string,
|
|
53
|
+
options?: AnnotationsListOptionalParams
|
|
54
|
+
): PagedAsyncIterableIterator<Annotation> {
|
|
55
|
+
const iter = this.listPagingAll(
|
|
56
|
+
resourceGroupName,
|
|
57
|
+
resourceName,
|
|
58
|
+
start,
|
|
59
|
+
end,
|
|
60
|
+
options
|
|
61
|
+
);
|
|
62
|
+
return {
|
|
63
|
+
next() {
|
|
64
|
+
return iter.next();
|
|
65
|
+
},
|
|
66
|
+
[Symbol.asyncIterator]() {
|
|
67
|
+
return this;
|
|
68
|
+
},
|
|
69
|
+
byPage: () => {
|
|
70
|
+
return this.listPagingPage(
|
|
71
|
+
resourceGroupName,
|
|
72
|
+
resourceName,
|
|
73
|
+
start,
|
|
74
|
+
end,
|
|
75
|
+
options
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
private async *listPagingPage(
|
|
82
|
+
resourceGroupName: string,
|
|
83
|
+
resourceName: string,
|
|
84
|
+
start: string,
|
|
85
|
+
end: string,
|
|
86
|
+
options?: AnnotationsListOptionalParams
|
|
87
|
+
): AsyncIterableIterator<Annotation[]> {
|
|
88
|
+
let result = await this._list(
|
|
89
|
+
resourceGroupName,
|
|
90
|
+
resourceName,
|
|
91
|
+
start,
|
|
92
|
+
end,
|
|
93
|
+
options
|
|
94
|
+
);
|
|
95
|
+
yield result.value || [];
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
private async *listPagingAll(
|
|
99
|
+
resourceGroupName: string,
|
|
100
|
+
resourceName: string,
|
|
101
|
+
start: string,
|
|
102
|
+
end: string,
|
|
103
|
+
options?: AnnotationsListOptionalParams
|
|
104
|
+
): AsyncIterableIterator<Annotation> {
|
|
105
|
+
for await (const page of this.listPagingPage(
|
|
106
|
+
resourceGroupName,
|
|
107
|
+
resourceName,
|
|
108
|
+
start,
|
|
109
|
+
end,
|
|
110
|
+
options
|
|
111
|
+
)) {
|
|
112
|
+
yield* page;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
48
116
|
/**
|
|
117
|
+
* Gets the list of annotations for a component for given time range
|
|
49
118
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
119
|
* @param resourceName The name of the Application Insights component resource.
|
|
51
|
-
* @param start The start time to query from for annotations, cannot be older than 90 days from
|
|
52
|
-
*
|
|
120
|
+
* @param start The start time to query from for annotations, cannot be older than 90 days from current
|
|
121
|
+
* date.
|
|
53
122
|
* @param end The end time to query for annotations.
|
|
54
|
-
* @param options The
|
|
55
|
-
* @param callback The callback
|
|
123
|
+
* @param options The options parameters.
|
|
56
124
|
*/
|
|
57
|
-
|
|
58
|
-
|
|
125
|
+
private _list(
|
|
126
|
+
resourceGroupName: string,
|
|
127
|
+
resourceName: string,
|
|
128
|
+
start: string,
|
|
129
|
+
end: string,
|
|
130
|
+
options?: AnnotationsListOptionalParams
|
|
131
|
+
): Promise<AnnotationsListResponse> {
|
|
59
132
|
return this.client.sendOperationRequest(
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
start,
|
|
64
|
-
end,
|
|
65
|
-
options
|
|
66
|
-
},
|
|
67
|
-
listOperationSpec,
|
|
68
|
-
callback) as Promise<Models.AnnotationsListResponse>;
|
|
133
|
+
{ resourceGroupName, resourceName, start, end, options },
|
|
134
|
+
listOperationSpec
|
|
135
|
+
);
|
|
69
136
|
}
|
|
70
137
|
|
|
71
138
|
/**
|
|
@@ -73,38 +140,19 @@ export class Annotations {
|
|
|
73
140
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
141
|
* @param resourceName The name of the Application Insights component resource.
|
|
75
142
|
* @param annotationProperties Properties that need to be specified to create an annotation of a
|
|
76
|
-
*
|
|
77
|
-
* @param
|
|
78
|
-
* @returns Promise<Models.AnnotationsCreateResponse>
|
|
79
|
-
*/
|
|
80
|
-
create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options?: msRest.RequestOptionsBase): Promise<Models.AnnotationsCreateResponse>;
|
|
81
|
-
/**
|
|
82
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
83
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
84
|
-
* @param annotationProperties Properties that need to be specified to create an annotation of a
|
|
85
|
-
* Application Insights component.
|
|
86
|
-
* @param callback The callback
|
|
143
|
+
* Application Insights component.
|
|
144
|
+
* @param options The options parameters.
|
|
87
145
|
*/
|
|
88
|
-
create(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
* @param options The optional parameters
|
|
95
|
-
* @param callback The callback
|
|
96
|
-
*/
|
|
97
|
-
create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Annotation[]>): void;
|
|
98
|
-
create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Annotation[]>, callback?: msRest.ServiceCallback<Models.Annotation[]>): Promise<Models.AnnotationsCreateResponse> {
|
|
146
|
+
create(
|
|
147
|
+
resourceGroupName: string,
|
|
148
|
+
resourceName: string,
|
|
149
|
+
annotationProperties: Annotation,
|
|
150
|
+
options?: AnnotationsCreateOptionalParams
|
|
151
|
+
): Promise<AnnotationsCreateResponse> {
|
|
99
152
|
return this.client.sendOperationRequest(
|
|
100
|
-
{
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
annotationProperties,
|
|
104
|
-
options
|
|
105
|
-
},
|
|
106
|
-
createOperationSpec,
|
|
107
|
-
callback) as Promise<Models.AnnotationsCreateResponse>;
|
|
153
|
+
{ resourceGroupName, resourceName, annotationProperties, options },
|
|
154
|
+
createOperationSpec
|
|
155
|
+
);
|
|
108
156
|
}
|
|
109
157
|
|
|
110
158
|
/**
|
|
@@ -112,38 +160,19 @@ export class Annotations {
|
|
|
112
160
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
113
161
|
* @param resourceName The name of the Application Insights component resource.
|
|
114
162
|
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
115
|
-
*
|
|
116
|
-
* @param
|
|
117
|
-
* @returns Promise<msRest.RestResponse>
|
|
118
|
-
*/
|
|
119
|
-
deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
120
|
-
/**
|
|
121
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
122
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
123
|
-
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
124
|
-
* component.
|
|
125
|
-
* @param callback The callback
|
|
126
|
-
*/
|
|
127
|
-
deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, callback: msRest.ServiceCallback<void>): void;
|
|
128
|
-
/**
|
|
129
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
130
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
131
|
-
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
132
|
-
* component.
|
|
133
|
-
* @param options The optional parameters
|
|
134
|
-
* @param callback The callback
|
|
163
|
+
* component.
|
|
164
|
+
* @param options The options parameters.
|
|
135
165
|
*/
|
|
136
|
-
|
|
137
|
-
|
|
166
|
+
delete(
|
|
167
|
+
resourceGroupName: string,
|
|
168
|
+
resourceName: string,
|
|
169
|
+
annotationId: string,
|
|
170
|
+
options?: AnnotationsDeleteOptionalParams
|
|
171
|
+
): Promise<void> {
|
|
138
172
|
return this.client.sendOperationRequest(
|
|
139
|
-
{
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
annotationId,
|
|
143
|
-
options
|
|
144
|
-
},
|
|
145
|
-
deleteMethodOperationSpec,
|
|
146
|
-
callback);
|
|
173
|
+
{ resourceGroupName, resourceName, annotationId, options },
|
|
174
|
+
deleteOperationSpec
|
|
175
|
+
);
|
|
147
176
|
}
|
|
148
177
|
|
|
149
178
|
/**
|
|
@@ -151,59 +180,28 @@ export class Annotations {
|
|
|
151
180
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
152
181
|
* @param resourceName The name of the Application Insights component resource.
|
|
153
182
|
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
154
|
-
*
|
|
155
|
-
* @param
|
|
156
|
-
* @returns Promise<Models.AnnotationsGetResponse>
|
|
157
|
-
*/
|
|
158
|
-
get(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase): Promise<Models.AnnotationsGetResponse>;
|
|
159
|
-
/**
|
|
160
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
161
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
162
|
-
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
163
|
-
* component.
|
|
164
|
-
* @param callback The callback
|
|
165
|
-
*/
|
|
166
|
-
get(resourceGroupName: string, resourceName: string, annotationId: string, callback: msRest.ServiceCallback<Models.Annotation[]>): void;
|
|
167
|
-
/**
|
|
168
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
169
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
170
|
-
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
171
|
-
* component.
|
|
172
|
-
* @param options The optional parameters
|
|
173
|
-
* @param callback The callback
|
|
183
|
+
* component.
|
|
184
|
+
* @param options The options parameters.
|
|
174
185
|
*/
|
|
175
|
-
get(
|
|
176
|
-
|
|
186
|
+
get(
|
|
187
|
+
resourceGroupName: string,
|
|
188
|
+
resourceName: string,
|
|
189
|
+
annotationId: string,
|
|
190
|
+
options?: AnnotationsGetOptionalParams
|
|
191
|
+
): Promise<AnnotationsGetResponse> {
|
|
177
192
|
return this.client.sendOperationRequest(
|
|
178
|
-
{
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
annotationId,
|
|
182
|
-
options
|
|
183
|
-
},
|
|
184
|
-
getOperationSpec,
|
|
185
|
-
callback) as Promise<Models.AnnotationsGetResponse>;
|
|
193
|
+
{ resourceGroupName, resourceName, annotationId, options },
|
|
194
|
+
getOperationSpec
|
|
195
|
+
);
|
|
186
196
|
}
|
|
187
197
|
}
|
|
188
|
-
|
|
189
198
|
// Operation Specifications
|
|
190
|
-
const serializer =
|
|
191
|
-
|
|
199
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
200
|
+
|
|
201
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
202
|
+
path:
|
|
203
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
|
|
192
204
|
httpMethod: "GET",
|
|
193
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
|
|
194
|
-
urlParameters: [
|
|
195
|
-
Parameters.resourceGroupName,
|
|
196
|
-
Parameters.subscriptionId,
|
|
197
|
-
Parameters.resourceName
|
|
198
|
-
],
|
|
199
|
-
queryParameters: [
|
|
200
|
-
Parameters.apiVersion0,
|
|
201
|
-
Parameters.start,
|
|
202
|
-
Parameters.end
|
|
203
|
-
],
|
|
204
|
-
headerParameters: [
|
|
205
|
-
Parameters.acceptLanguage
|
|
206
|
-
],
|
|
207
205
|
responses: {
|
|
208
206
|
200: {
|
|
209
207
|
bodyMapper: Mappers.AnnotationsListResult
|
|
@@ -212,42 +210,26 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
212
210
|
bodyMapper: Mappers.AnnotationError
|
|
213
211
|
}
|
|
214
212
|
},
|
|
215
|
-
|
|
216
|
-
};
|
|
217
|
-
|
|
218
|
-
const createOperationSpec: msRest.OperationSpec = {
|
|
219
|
-
httpMethod: "PUT",
|
|
220
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
|
|
213
|
+
queryParameters: [Parameters.apiVersion, Parameters.start, Parameters.end],
|
|
221
214
|
urlParameters: [
|
|
215
|
+
Parameters.$host,
|
|
222
216
|
Parameters.resourceGroupName,
|
|
223
217
|
Parameters.subscriptionId,
|
|
224
218
|
Parameters.resourceName
|
|
225
219
|
],
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
parameterPath: "annotationProperties",
|
|
234
|
-
mapper: {
|
|
235
|
-
...Mappers.Annotation,
|
|
236
|
-
required: true
|
|
237
|
-
}
|
|
238
|
-
},
|
|
220
|
+
headerParameters: [Parameters.accept],
|
|
221
|
+
serializer
|
|
222
|
+
};
|
|
223
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
|
224
|
+
path:
|
|
225
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
|
|
226
|
+
httpMethod: "PUT",
|
|
239
227
|
responses: {
|
|
240
228
|
200: {
|
|
241
229
|
bodyMapper: {
|
|
242
|
-
serializedName: "parsedResponse",
|
|
243
230
|
type: {
|
|
244
231
|
name: "Sequence",
|
|
245
|
-
element: {
|
|
246
|
-
type: {
|
|
247
|
-
name: "Composite",
|
|
248
|
-
className: "Annotation"
|
|
249
|
-
}
|
|
250
|
-
}
|
|
232
|
+
element: { type: { name: "Composite", className: "Annotation" } }
|
|
251
233
|
}
|
|
252
234
|
}
|
|
253
235
|
},
|
|
@@ -255,60 +237,43 @@ const createOperationSpec: msRest.OperationSpec = {
|
|
|
255
237
|
bodyMapper: Mappers.AnnotationError
|
|
256
238
|
}
|
|
257
239
|
},
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
262
|
-
httpMethod: "DELETE",
|
|
263
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}",
|
|
240
|
+
requestBody: Parameters.annotationProperties,
|
|
241
|
+
queryParameters: [Parameters.apiVersion],
|
|
264
242
|
urlParameters: [
|
|
243
|
+
Parameters.$host,
|
|
265
244
|
Parameters.resourceGroupName,
|
|
266
245
|
Parameters.subscriptionId,
|
|
267
|
-
Parameters.resourceName
|
|
268
|
-
Parameters.annotationId
|
|
269
|
-
],
|
|
270
|
-
queryParameters: [
|
|
271
|
-
Parameters.apiVersion0
|
|
272
|
-
],
|
|
273
|
-
headerParameters: [
|
|
274
|
-
Parameters.acceptLanguage
|
|
246
|
+
Parameters.resourceName
|
|
275
247
|
],
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
default: {
|
|
279
|
-
bodyMapper: Mappers.CloudError
|
|
280
|
-
}
|
|
281
|
-
},
|
|
248
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
249
|
+
mediaType: "json",
|
|
282
250
|
serializer
|
|
283
251
|
};
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
252
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
253
|
+
path:
|
|
254
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}",
|
|
255
|
+
httpMethod: "DELETE",
|
|
256
|
+
responses: { 200: {} },
|
|
257
|
+
queryParameters: [Parameters.apiVersion],
|
|
288
258
|
urlParameters: [
|
|
259
|
+
Parameters.$host,
|
|
289
260
|
Parameters.resourceGroupName,
|
|
290
261
|
Parameters.subscriptionId,
|
|
291
262
|
Parameters.resourceName,
|
|
292
263
|
Parameters.annotationId
|
|
293
264
|
],
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
265
|
+
serializer
|
|
266
|
+
};
|
|
267
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
268
|
+
path:
|
|
269
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}",
|
|
270
|
+
httpMethod: "GET",
|
|
300
271
|
responses: {
|
|
301
272
|
200: {
|
|
302
273
|
bodyMapper: {
|
|
303
|
-
serializedName: "parsedResponse",
|
|
304
274
|
type: {
|
|
305
275
|
name: "Sequence",
|
|
306
|
-
element: {
|
|
307
|
-
type: {
|
|
308
|
-
name: "Composite",
|
|
309
|
-
className: "Annotation"
|
|
310
|
-
}
|
|
311
|
-
}
|
|
276
|
+
element: { type: { name: "Composite", className: "Annotation" } }
|
|
312
277
|
}
|
|
313
278
|
}
|
|
314
279
|
},
|
|
@@ -316,5 +281,14 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
316
281
|
bodyMapper: Mappers.AnnotationError
|
|
317
282
|
}
|
|
318
283
|
},
|
|
284
|
+
queryParameters: [Parameters.apiVersion],
|
|
285
|
+
urlParameters: [
|
|
286
|
+
Parameters.$host,
|
|
287
|
+
Parameters.resourceGroupName,
|
|
288
|
+
Parameters.subscriptionId,
|
|
289
|
+
Parameters.resourceName,
|
|
290
|
+
Parameters.annotationId
|
|
291
|
+
],
|
|
292
|
+
headerParameters: [Parameters.accept],
|
|
319
293
|
serializer
|
|
320
294
|
};
|
|
@@ -3,25 +3,29 @@
|
|
|
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 { ComponentAvailableFeatures } 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
|
+
ComponentAvailableFeaturesGetOptionalParams,
|
|
16
|
+
ComponentAvailableFeaturesGetResponse
|
|
17
|
+
} from "../models";
|
|
15
18
|
|
|
16
|
-
/** Class
|
|
17
|
-
export class
|
|
18
|
-
|
|
19
|
+
/** Class containing ComponentAvailableFeatures operations. */
|
|
20
|
+
export class ComponentAvailableFeaturesImpl
|
|
21
|
+
implements ComponentAvailableFeatures {
|
|
22
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
19
23
|
|
|
20
24
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
25
|
+
* Initialize a new instance of the class ComponentAvailableFeatures class.
|
|
26
|
+
* @param client Reference to the service client
|
|
23
27
|
*/
|
|
24
|
-
constructor(client:
|
|
28
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
25
29
|
this.client = client;
|
|
26
30
|
}
|
|
27
31
|
|
|
@@ -29,58 +33,38 @@ export class ComponentAvailableFeatures {
|
|
|
29
33
|
* Returns all available features of the application insights component.
|
|
30
34
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
35
|
* @param resourceName The name of the Application Insights component resource.
|
|
32
|
-
* @param
|
|
33
|
-
* @returns Promise<Models.ComponentAvailableFeaturesGetResponse>
|
|
36
|
+
* @param options The options parameters.
|
|
34
37
|
*/
|
|
35
|
-
get(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
*/
|
|
41
|
-
get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentAvailableFeatures>): 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
|
-
get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentAvailableFeatures>): void;
|
|
49
|
-
get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentAvailableFeatures>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentAvailableFeatures>): Promise<Models.ComponentAvailableFeaturesGetResponse> {
|
|
38
|
+
get(
|
|
39
|
+
resourceGroupName: string,
|
|
40
|
+
resourceName: string,
|
|
41
|
+
options?: ComponentAvailableFeaturesGetOptionalParams
|
|
42
|
+
): Promise<ComponentAvailableFeaturesGetResponse> {
|
|
50
43
|
return this.client.sendOperationRequest(
|
|
51
|
-
{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
options
|
|
55
|
-
},
|
|
56
|
-
getOperationSpec,
|
|
57
|
-
callback) as Promise<Models.ComponentAvailableFeaturesGetResponse>;
|
|
44
|
+
{ resourceGroupName, resourceName, options },
|
|
45
|
+
getOperationSpec
|
|
46
|
+
);
|
|
58
47
|
}
|
|
59
48
|
}
|
|
60
|
-
|
|
61
49
|
// Operation Specifications
|
|
62
|
-
const serializer =
|
|
63
|
-
|
|
50
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
51
|
+
|
|
52
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
53
|
+
path:
|
|
54
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/getavailablebillingfeatures",
|
|
64
55
|
httpMethod: "GET",
|
|
65
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/getavailablebillingfeatures",
|
|
66
|
-
urlParameters: [
|
|
67
|
-
Parameters.resourceGroupName,
|
|
68
|
-
Parameters.subscriptionId,
|
|
69
|
-
Parameters.resourceName
|
|
70
|
-
],
|
|
71
|
-
queryParameters: [
|
|
72
|
-
Parameters.apiVersion0
|
|
73
|
-
],
|
|
74
|
-
headerParameters: [
|
|
75
|
-
Parameters.acceptLanguage
|
|
76
|
-
],
|
|
77
56
|
responses: {
|
|
78
57
|
200: {
|
|
79
58
|
bodyMapper: Mappers.ApplicationInsightsComponentAvailableFeatures
|
|
80
|
-
},
|
|
81
|
-
default: {
|
|
82
|
-
bodyMapper: Mappers.CloudError
|
|
83
59
|
}
|
|
84
60
|
},
|
|
61
|
+
queryParameters: [Parameters.apiVersion],
|
|
62
|
+
urlParameters: [
|
|
63
|
+
Parameters.$host,
|
|
64
|
+
Parameters.resourceGroupName,
|
|
65
|
+
Parameters.subscriptionId,
|
|
66
|
+
Parameters.resourceName
|
|
67
|
+
],
|
|
68
|
+
headerParameters: [Parameters.accept],
|
|
85
69
|
serializer
|
|
86
70
|
};
|