@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,221 +3,131 @@
|
|
|
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 { Operations } 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
|
+
OperationLive,
|
|
17
|
+
OperationsListNextOptionalParams,
|
|
18
|
+
OperationsListOptionalParams,
|
|
19
|
+
OperationsListResponse,
|
|
20
|
+
OperationsListNextResponse
|
|
21
|
+
} from "../models";
|
|
15
22
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
|
24
|
+
/** Class containing Operations operations. */
|
|
25
|
+
export class OperationsImpl implements Operations {
|
|
26
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
19
27
|
|
|
20
28
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
29
|
+
* Initialize a new instance of the class Operations class.
|
|
30
|
+
* @param client Reference to the service client
|
|
23
31
|
*/
|
|
24
|
-
constructor(client:
|
|
32
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
25
33
|
this.client = client;
|
|
26
34
|
}
|
|
27
35
|
|
|
28
36
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @param
|
|
31
|
-
* @returns Promise<Models.OperationsListResponse>
|
|
32
|
-
*/
|
|
33
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @param callback The callback
|
|
36
|
-
*/
|
|
37
|
-
list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
38
|
-
/**
|
|
39
|
-
* @param options The optional parameters
|
|
40
|
-
* @param callback The callback
|
|
37
|
+
* List the available operations supported by the resource provider.
|
|
38
|
+
* @param options The options parameters.
|
|
41
39
|
*/
|
|
42
|
-
list(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
public list(
|
|
41
|
+
options?: OperationsListOptionalParams
|
|
42
|
+
): PagedAsyncIterableIterator<OperationLive> {
|
|
43
|
+
const iter = this.listPagingAll(options);
|
|
44
|
+
return {
|
|
45
|
+
next() {
|
|
46
|
+
return iter.next();
|
|
47
|
+
},
|
|
48
|
+
[Symbol.asyncIterator]() {
|
|
49
|
+
return this;
|
|
47
50
|
},
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
byPage: () => {
|
|
52
|
+
return this.listPagingPage(options);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
50
55
|
}
|
|
51
56
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @param options The optional parameters
|
|
65
|
-
* @param callback The callback
|
|
66
|
-
*/
|
|
67
|
-
list1(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationsListResult>): void;
|
|
68
|
-
list1(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OperationsListResult>, callback?: msRest.ServiceCallback<Models.OperationsListResult>): Promise<Models.OperationsList1Response> {
|
|
69
|
-
return this.client.sendOperationRequest(
|
|
70
|
-
{
|
|
71
|
-
options
|
|
72
|
-
},
|
|
73
|
-
list1OperationSpec,
|
|
74
|
-
callback) as Promise<Models.OperationsList1Response>;
|
|
57
|
+
private async *listPagingPage(
|
|
58
|
+
options?: OperationsListOptionalParams
|
|
59
|
+
): AsyncIterableIterator<OperationLive[]> {
|
|
60
|
+
let result = await this._list(options);
|
|
61
|
+
yield result.value || [];
|
|
62
|
+
let continuationToken = result.nextLink;
|
|
63
|
+
while (continuationToken) {
|
|
64
|
+
result = await this._listNext(continuationToken, options);
|
|
65
|
+
continuationToken = result.nextLink;
|
|
66
|
+
yield result.value || [];
|
|
67
|
+
}
|
|
75
68
|
}
|
|
76
69
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.OperationsListNextResponse>;
|
|
84
|
-
/**
|
|
85
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
86
|
-
* @param callback The callback
|
|
87
|
-
*/
|
|
88
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
89
|
-
/**
|
|
90
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
91
|
-
* @param options The optional parameters
|
|
92
|
-
* @param callback The callback
|
|
93
|
-
*/
|
|
94
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
|
|
95
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OperationListResult>, callback?: msRest.ServiceCallback<Models.OperationListResult>): Promise<Models.OperationsListNextResponse> {
|
|
96
|
-
return this.client.sendOperationRequest(
|
|
97
|
-
{
|
|
98
|
-
nextPageLink,
|
|
99
|
-
options
|
|
100
|
-
},
|
|
101
|
-
listNextOperationSpec,
|
|
102
|
-
callback) as Promise<Models.OperationsListNextResponse>;
|
|
70
|
+
private async *listPagingAll(
|
|
71
|
+
options?: OperationsListOptionalParams
|
|
72
|
+
): AsyncIterableIterator<OperationLive> {
|
|
73
|
+
for await (const page of this.listPagingPage(options)) {
|
|
74
|
+
yield* page;
|
|
75
|
+
}
|
|
103
76
|
}
|
|
104
77
|
|
|
105
78
|
/**
|
|
106
79
|
* List the available operations supported by the resource provider.
|
|
107
|
-
* @
|
|
108
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
109
|
-
* @param [options] The optional parameters
|
|
110
|
-
* @returns Promise<Models.OperationsList1NextResponse>
|
|
80
|
+
* @param options The options parameters.
|
|
111
81
|
*/
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
82
|
+
private _list(
|
|
83
|
+
options?: OperationsListOptionalParams
|
|
84
|
+
): Promise<OperationsListResponse> {
|
|
85
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
86
|
+
}
|
|
87
|
+
|
|
118
88
|
/**
|
|
119
|
-
*
|
|
120
|
-
* @param
|
|
121
|
-
* @param
|
|
89
|
+
* ListNext
|
|
90
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
91
|
+
* @param options The options parameters.
|
|
122
92
|
*/
|
|
123
|
-
|
|
124
|
-
|
|
93
|
+
private _listNext(
|
|
94
|
+
nextLink: string,
|
|
95
|
+
options?: OperationsListNextOptionalParams
|
|
96
|
+
): Promise<OperationsListNextResponse> {
|
|
125
97
|
return this.client.sendOperationRequest(
|
|
126
|
-
{
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
},
|
|
130
|
-
list1NextOperationSpec,
|
|
131
|
-
callback) as Promise<Models.OperationsList1NextResponse>;
|
|
98
|
+
{ nextLink, options },
|
|
99
|
+
listNextOperationSpec
|
|
100
|
+
);
|
|
132
101
|
}
|
|
133
102
|
}
|
|
134
|
-
|
|
135
103
|
// Operation Specifications
|
|
136
|
-
const serializer =
|
|
137
|
-
const listOperationSpec: msRest.OperationSpec = {
|
|
138
|
-
httpMethod: "GET",
|
|
139
|
-
path: "providers/Microsoft.Insights/operations",
|
|
140
|
-
queryParameters: [
|
|
141
|
-
Parameters.apiVersion0
|
|
142
|
-
],
|
|
143
|
-
headerParameters: [
|
|
144
|
-
Parameters.acceptLanguage
|
|
145
|
-
],
|
|
146
|
-
responses: {
|
|
147
|
-
200: {
|
|
148
|
-
bodyMapper: Mappers.OperationListResult
|
|
149
|
-
},
|
|
150
|
-
default: {
|
|
151
|
-
bodyMapper: Mappers.ErrorResponse
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
serializer
|
|
155
|
-
};
|
|
104
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
156
105
|
|
|
157
|
-
const
|
|
106
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
107
|
+
path: "/providers/microsoft.insights/operations",
|
|
158
108
|
httpMethod: "GET",
|
|
159
|
-
path: "providers/microsoft.insights/operations",
|
|
160
|
-
queryParameters: [
|
|
161
|
-
Parameters.apiVersion1
|
|
162
|
-
],
|
|
163
|
-
headerParameters: [
|
|
164
|
-
Parameters.acceptLanguage
|
|
165
|
-
],
|
|
166
109
|
responses: {
|
|
167
110
|
200: {
|
|
168
111
|
bodyMapper: Mappers.OperationsListResult
|
|
169
112
|
},
|
|
170
|
-
default: {
|
|
171
|
-
bodyMapper: Mappers.CloudError
|
|
172
|
-
}
|
|
113
|
+
default: {}
|
|
173
114
|
},
|
|
115
|
+
queryParameters: [Parameters.apiVersion6],
|
|
116
|
+
urlParameters: [Parameters.$host],
|
|
117
|
+
headerParameters: [Parameters.accept],
|
|
174
118
|
serializer
|
|
175
119
|
};
|
|
176
|
-
|
|
177
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
178
|
-
httpMethod: "GET",
|
|
179
|
-
baseUrl: "https://management.azure.com",
|
|
120
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
180
121
|
path: "{nextLink}",
|
|
181
|
-
urlParameters: [
|
|
182
|
-
Parameters.nextPageLink
|
|
183
|
-
],
|
|
184
|
-
queryParameters: [
|
|
185
|
-
Parameters.apiVersion0
|
|
186
|
-
],
|
|
187
|
-
headerParameters: [
|
|
188
|
-
Parameters.acceptLanguage
|
|
189
|
-
],
|
|
190
|
-
responses: {
|
|
191
|
-
200: {
|
|
192
|
-
bodyMapper: Mappers.OperationListResult
|
|
193
|
-
},
|
|
194
|
-
default: {
|
|
195
|
-
bodyMapper: Mappers.ErrorResponse
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
serializer
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
const list1NextOperationSpec: msRest.OperationSpec = {
|
|
202
122
|
httpMethod: "GET",
|
|
203
|
-
baseUrl: "https://management.azure.com",
|
|
204
|
-
path: "{nextLink}",
|
|
205
|
-
urlParameters: [
|
|
206
|
-
Parameters.nextPageLink
|
|
207
|
-
],
|
|
208
|
-
queryParameters: [
|
|
209
|
-
Parameters.apiVersion1
|
|
210
|
-
],
|
|
211
|
-
headerParameters: [
|
|
212
|
-
Parameters.acceptLanguage
|
|
213
|
-
],
|
|
214
123
|
responses: {
|
|
215
124
|
200: {
|
|
216
125
|
bodyMapper: Mappers.OperationsListResult
|
|
217
126
|
},
|
|
218
|
-
default: {
|
|
219
|
-
bodyMapper: Mappers.CloudError
|
|
220
|
-
}
|
|
127
|
+
default: {}
|
|
221
128
|
},
|
|
129
|
+
queryParameters: [Parameters.apiVersion6],
|
|
130
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
131
|
+
headerParameters: [Parameters.accept],
|
|
222
132
|
serializer
|
|
223
133
|
};
|
|
@@ -3,25 +3,34 @@
|
|
|
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 { ProactiveDetectionConfigurations } 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
|
+
ProactiveDetectionConfigurationsListOptionalParams,
|
|
16
|
+
ProactiveDetectionConfigurationsListResponse,
|
|
17
|
+
ProactiveDetectionConfigurationsGetOptionalParams,
|
|
18
|
+
ProactiveDetectionConfigurationsGetResponse,
|
|
19
|
+
ApplicationInsightsComponentProactiveDetectionConfiguration,
|
|
20
|
+
ProactiveDetectionConfigurationsUpdateOptionalParams,
|
|
21
|
+
ProactiveDetectionConfigurationsUpdateResponse
|
|
22
|
+
} from "../models";
|
|
15
23
|
|
|
16
|
-
/** Class
|
|
17
|
-
export class
|
|
18
|
-
|
|
24
|
+
/** Class containing ProactiveDetectionConfigurations operations. */
|
|
25
|
+
export class ProactiveDetectionConfigurationsImpl
|
|
26
|
+
implements ProactiveDetectionConfigurations {
|
|
27
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
19
28
|
|
|
20
29
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
30
|
+
* Initialize a new instance of the class ProactiveDetectionConfigurations class.
|
|
31
|
+
* @param client Reference to the service client
|
|
23
32
|
*/
|
|
24
|
-
constructor(client:
|
|
33
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
25
34
|
this.client = client;
|
|
26
35
|
}
|
|
27
36
|
|
|
@@ -29,107 +38,56 @@ export class ProactiveDetectionConfigurations {
|
|
|
29
38
|
* Gets a list of ProactiveDetection configurations of an Application Insights component.
|
|
30
39
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
40
|
* @param resourceName The name of the Application Insights component resource.
|
|
32
|
-
* @param
|
|
33
|
-
* @returns Promise<Models.ProactiveDetectionConfigurationsListResponse>
|
|
41
|
+
* @param options The options parameters.
|
|
34
42
|
*/
|
|
35
|
-
list(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
*/
|
|
41
|
-
list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration[]>): void;
|
|
42
|
-
/**
|
|
43
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
45
|
-
* @param options The optional parameters
|
|
46
|
-
* @param callback The callback
|
|
47
|
-
*/
|
|
48
|
-
list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration[]>): void;
|
|
49
|
-
list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration[]>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration[]>): Promise<Models.ProactiveDetectionConfigurationsListResponse> {
|
|
43
|
+
list(
|
|
44
|
+
resourceGroupName: string,
|
|
45
|
+
resourceName: string,
|
|
46
|
+
options?: ProactiveDetectionConfigurationsListOptionalParams
|
|
47
|
+
): Promise<ProactiveDetectionConfigurationsListResponse> {
|
|
50
48
|
return this.client.sendOperationRequest(
|
|
51
|
-
{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
options
|
|
55
|
-
},
|
|
56
|
-
listOperationSpec,
|
|
57
|
-
callback) as Promise<Models.ProactiveDetectionConfigurationsListResponse>;
|
|
49
|
+
{ resourceGroupName, resourceName, options },
|
|
50
|
+
listOperationSpec
|
|
51
|
+
);
|
|
58
52
|
}
|
|
59
53
|
|
|
60
54
|
/**
|
|
61
55
|
* Get the ProactiveDetection configuration for this configuration id.
|
|
62
56
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
63
57
|
* @param resourceName The name of the Application Insights component resource.
|
|
64
|
-
* @param configurationId The ProactiveDetection configuration ID. This is unique within a
|
|
65
|
-
*
|
|
66
|
-
* @param
|
|
67
|
-
* @returns Promise<Models.ProactiveDetectionConfigurationsGetResponse>
|
|
58
|
+
* @param configurationId The ProactiveDetection configuration ID. This is unique within a Application
|
|
59
|
+
* Insights component.
|
|
60
|
+
* @param options The options parameters.
|
|
68
61
|
*/
|
|
69
|
-
get(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
* @param callback The callback
|
|
76
|
-
*/
|
|
77
|
-
get(resourceGroupName: string, resourceName: string, configurationId: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration>): void;
|
|
78
|
-
/**
|
|
79
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
80
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
81
|
-
* @param configurationId The ProactiveDetection configuration ID. This is unique within a
|
|
82
|
-
* Application Insights component.
|
|
83
|
-
* @param options The optional parameters
|
|
84
|
-
* @param callback The callback
|
|
85
|
-
*/
|
|
86
|
-
get(resourceGroupName: string, resourceName: string, configurationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration>): void;
|
|
87
|
-
get(resourceGroupName: string, resourceName: string, configurationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration>): Promise<Models.ProactiveDetectionConfigurationsGetResponse> {
|
|
62
|
+
get(
|
|
63
|
+
resourceGroupName: string,
|
|
64
|
+
resourceName: string,
|
|
65
|
+
configurationId: string,
|
|
66
|
+
options?: ProactiveDetectionConfigurationsGetOptionalParams
|
|
67
|
+
): Promise<ProactiveDetectionConfigurationsGetResponse> {
|
|
88
68
|
return this.client.sendOperationRequest(
|
|
89
|
-
{
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
configurationId,
|
|
93
|
-
options
|
|
94
|
-
},
|
|
95
|
-
getOperationSpec,
|
|
96
|
-
callback) as Promise<Models.ProactiveDetectionConfigurationsGetResponse>;
|
|
69
|
+
{ resourceGroupName, resourceName, configurationId, options },
|
|
70
|
+
getOperationSpec
|
|
71
|
+
);
|
|
97
72
|
}
|
|
98
73
|
|
|
99
74
|
/**
|
|
100
75
|
* Update the ProactiveDetection configuration for this configuration id.
|
|
101
76
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
102
77
|
* @param resourceName The name of the Application Insights component resource.
|
|
103
|
-
* @param configurationId The ProactiveDetection configuration ID. This is unique within a
|
|
104
|
-
*
|
|
105
|
-
* @param proactiveDetectionProperties Properties that need to be specified to update the
|
|
106
|
-
* ProactiveDetection configuration.
|
|
107
|
-
* @param [options] The optional parameters
|
|
108
|
-
* @returns Promise<Models.ProactiveDetectionConfigurationsUpdateResponse>
|
|
109
|
-
*/
|
|
110
|
-
update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, options?: msRest.RequestOptionsBase): Promise<Models.ProactiveDetectionConfigurationsUpdateResponse>;
|
|
111
|
-
/**
|
|
112
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
113
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
114
|
-
* @param configurationId The ProactiveDetection configuration ID. This is unique within a
|
|
115
|
-
* Application Insights component.
|
|
116
|
-
* @param proactiveDetectionProperties Properties that need to be specified to update the
|
|
117
|
-
* ProactiveDetection configuration.
|
|
118
|
-
* @param callback The callback
|
|
119
|
-
*/
|
|
120
|
-
update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration>): void;
|
|
121
|
-
/**
|
|
122
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
123
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
124
|
-
* @param configurationId The ProactiveDetection configuration ID. This is unique within a
|
|
125
|
-
* Application Insights component.
|
|
78
|
+
* @param configurationId The ProactiveDetection configuration ID. This is unique within a Application
|
|
79
|
+
* Insights component.
|
|
126
80
|
* @param proactiveDetectionProperties Properties that need to be specified to update the
|
|
127
|
-
*
|
|
128
|
-
* @param options The
|
|
129
|
-
* @param callback The callback
|
|
81
|
+
* ProactiveDetection configuration.
|
|
82
|
+
* @param options The options parameters.
|
|
130
83
|
*/
|
|
131
|
-
update(
|
|
132
|
-
|
|
84
|
+
update(
|
|
85
|
+
resourceGroupName: string,
|
|
86
|
+
resourceName: string,
|
|
87
|
+
configurationId: string,
|
|
88
|
+
proactiveDetectionProperties: ApplicationInsightsComponentProactiveDetectionConfiguration,
|
|
89
|
+
options?: ProactiveDetectionConfigurationsUpdateOptionalParams
|
|
90
|
+
): Promise<ProactiveDetectionConfigurationsUpdateResponse> {
|
|
133
91
|
return this.client.sendOperationRequest(
|
|
134
92
|
{
|
|
135
93
|
resourceGroupName,
|
|
@@ -138,104 +96,84 @@ export class ProactiveDetectionConfigurations {
|
|
|
138
96
|
proactiveDetectionProperties,
|
|
139
97
|
options
|
|
140
98
|
},
|
|
141
|
-
updateOperationSpec
|
|
142
|
-
|
|
99
|
+
updateOperationSpec
|
|
100
|
+
);
|
|
143
101
|
}
|
|
144
102
|
}
|
|
145
|
-
|
|
146
103
|
// Operation Specifications
|
|
147
|
-
const serializer =
|
|
148
|
-
|
|
104
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
105
|
+
|
|
106
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
107
|
+
path:
|
|
108
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs",
|
|
149
109
|
httpMethod: "GET",
|
|
150
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs",
|
|
151
|
-
urlParameters: [
|
|
152
|
-
Parameters.resourceGroupName,
|
|
153
|
-
Parameters.subscriptionId,
|
|
154
|
-
Parameters.resourceName
|
|
155
|
-
],
|
|
156
|
-
queryParameters: [
|
|
157
|
-
Parameters.apiVersion0
|
|
158
|
-
],
|
|
159
|
-
headerParameters: [
|
|
160
|
-
Parameters.acceptLanguage
|
|
161
|
-
],
|
|
162
110
|
responses: {
|
|
163
111
|
200: {
|
|
164
112
|
bodyMapper: {
|
|
165
|
-
serializedName: "parsedResponse",
|
|
166
113
|
type: {
|
|
167
114
|
name: "Sequence",
|
|
168
115
|
element: {
|
|
169
116
|
type: {
|
|
170
117
|
name: "Composite",
|
|
171
|
-
className:
|
|
118
|
+
className:
|
|
119
|
+
"ApplicationInsightsComponentProactiveDetectionConfiguration"
|
|
172
120
|
}
|
|
173
121
|
}
|
|
174
122
|
}
|
|
175
123
|
}
|
|
176
|
-
},
|
|
177
|
-
default: {
|
|
178
|
-
bodyMapper: Mappers.CloudError
|
|
179
124
|
}
|
|
180
125
|
},
|
|
126
|
+
queryParameters: [Parameters.apiVersion],
|
|
127
|
+
urlParameters: [
|
|
128
|
+
Parameters.$host,
|
|
129
|
+
Parameters.resourceGroupName,
|
|
130
|
+
Parameters.subscriptionId,
|
|
131
|
+
Parameters.resourceName
|
|
132
|
+
],
|
|
133
|
+
headerParameters: [Parameters.accept],
|
|
181
134
|
serializer
|
|
182
135
|
};
|
|
183
|
-
|
|
184
|
-
|
|
136
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
137
|
+
path:
|
|
138
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
|
|
185
139
|
httpMethod: "GET",
|
|
186
|
-
|
|
140
|
+
responses: {
|
|
141
|
+
200: {
|
|
142
|
+
bodyMapper:
|
|
143
|
+
Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
queryParameters: [Parameters.apiVersion],
|
|
187
147
|
urlParameters: [
|
|
148
|
+
Parameters.$host,
|
|
188
149
|
Parameters.resourceGroupName,
|
|
189
150
|
Parameters.subscriptionId,
|
|
190
151
|
Parameters.resourceName,
|
|
191
152
|
Parameters.configurationId
|
|
192
153
|
],
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
154
|
+
headerParameters: [Parameters.accept],
|
|
155
|
+
serializer
|
|
156
|
+
};
|
|
157
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
158
|
+
path:
|
|
159
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
|
|
160
|
+
httpMethod: "PUT",
|
|
199
161
|
responses: {
|
|
200
162
|
200: {
|
|
201
|
-
bodyMapper:
|
|
202
|
-
|
|
203
|
-
default: {
|
|
204
|
-
bodyMapper: Mappers.CloudError
|
|
163
|
+
bodyMapper:
|
|
164
|
+
Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration
|
|
205
165
|
}
|
|
206
166
|
},
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
211
|
-
httpMethod: "PUT",
|
|
212
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
|
|
167
|
+
requestBody: Parameters.proactiveDetectionProperties,
|
|
168
|
+
queryParameters: [Parameters.apiVersion],
|
|
213
169
|
urlParameters: [
|
|
170
|
+
Parameters.$host,
|
|
214
171
|
Parameters.resourceGroupName,
|
|
215
172
|
Parameters.subscriptionId,
|
|
216
173
|
Parameters.resourceName,
|
|
217
174
|
Parameters.configurationId
|
|
218
175
|
],
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
],
|
|
222
|
-
headerParameters: [
|
|
223
|
-
Parameters.acceptLanguage
|
|
224
|
-
],
|
|
225
|
-
requestBody: {
|
|
226
|
-
parameterPath: "proactiveDetectionProperties",
|
|
227
|
-
mapper: {
|
|
228
|
-
...Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration,
|
|
229
|
-
required: true
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
responses: {
|
|
233
|
-
200: {
|
|
234
|
-
bodyMapper: Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration
|
|
235
|
-
},
|
|
236
|
-
default: {
|
|
237
|
-
bodyMapper: Mappers.CloudError
|
|
238
|
-
}
|
|
239
|
-
},
|
|
176
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
177
|
+
mediaType: "json",
|
|
240
178
|
serializer
|
|
241
179
|
};
|