@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
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Components operations. */
|
|
14
|
+
export class ComponentsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Components class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Gets a list of all Application Insights components within a subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(options) {
|
|
27
|
+
const iter = this.listPagingAll(options);
|
|
28
|
+
return {
|
|
29
|
+
next() {
|
|
30
|
+
return iter.next();
|
|
31
|
+
},
|
|
32
|
+
[Symbol.asyncIterator]() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
byPage: () => {
|
|
36
|
+
return this.listPagingPage(options);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
listPagingPage(options) {
|
|
41
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
42
|
+
let result = yield __await(this._list(options));
|
|
43
|
+
yield yield __await(result.value || []);
|
|
44
|
+
let continuationToken = result.nextLink;
|
|
45
|
+
while (continuationToken) {
|
|
46
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
47
|
+
continuationToken = result.nextLink;
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
listPagingAll(options) {
|
|
53
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
54
|
+
var e_1, _a;
|
|
55
|
+
try {
|
|
56
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
57
|
+
const page = _c.value;
|
|
58
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
+
finally {
|
|
63
|
+
try {
|
|
64
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
65
|
+
}
|
|
66
|
+
finally { if (e_1) throw e_1.error; }
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Gets a list of Application Insights components within a resource group.
|
|
72
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
76
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
77
|
+
return {
|
|
78
|
+
next() {
|
|
79
|
+
return iter.next();
|
|
80
|
+
},
|
|
81
|
+
[Symbol.asyncIterator]() {
|
|
82
|
+
return this;
|
|
83
|
+
},
|
|
84
|
+
byPage: () => {
|
|
85
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
90
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
91
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
92
|
+
yield yield __await(result.value || []);
|
|
93
|
+
let continuationToken = result.nextLink;
|
|
94
|
+
while (continuationToken) {
|
|
95
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
96
|
+
continuationToken = result.nextLink;
|
|
97
|
+
yield yield __await(result.value || []);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
102
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
103
|
+
var e_2, _a;
|
|
104
|
+
try {
|
|
105
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
106
|
+
const page = _c.value;
|
|
107
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
111
|
+
finally {
|
|
112
|
+
try {
|
|
113
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
114
|
+
}
|
|
115
|
+
finally { if (e_2) throw e_2.error; }
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Gets a list of all Application Insights components within a subscription.
|
|
121
|
+
* @param options The options parameters.
|
|
122
|
+
*/
|
|
123
|
+
_list(options) {
|
|
124
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Gets a list of Application Insights components within a resource group.
|
|
128
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
132
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Deletes an Application Insights component.
|
|
136
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
137
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
138
|
+
* @param options The options parameters.
|
|
139
|
+
*/
|
|
140
|
+
delete(resourceGroupName, resourceName, options) {
|
|
141
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Returns an Application Insights component.
|
|
145
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
146
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
147
|
+
* @param options The options parameters.
|
|
148
|
+
*/
|
|
149
|
+
get(resourceGroupName, resourceName, options) {
|
|
150
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Creates (or updates) an Application Insights component. Note: You cannot specify a different value
|
|
154
|
+
* for InstrumentationKey nor AppId in the Put operation.
|
|
155
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
156
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
157
|
+
* @param insightProperties Properties that need to be specified to create an Application Insights
|
|
158
|
+
* component.
|
|
159
|
+
* @param options The options parameters.
|
|
160
|
+
*/
|
|
161
|
+
createOrUpdate(resourceGroupName, resourceName, insightProperties, options) {
|
|
162
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, insightProperties, options }, createOrUpdateOperationSpec);
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Updates an existing component's tags. To update other fields use the CreateOrUpdate method.
|
|
166
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
167
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
168
|
+
* @param componentTags Updated tag information to set into the component instance.
|
|
169
|
+
* @param options The options parameters.
|
|
170
|
+
*/
|
|
171
|
+
updateTags(resourceGroupName, resourceName, componentTags, options) {
|
|
172
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, componentTags, options }, updateTagsOperationSpec);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Purges data in an Application Insights component by a set of user-defined filters.
|
|
176
|
+
*
|
|
177
|
+
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You
|
|
178
|
+
* should batch the execution of purge requests by sending a single command whose predicate includes
|
|
179
|
+
* all user identities that require purging. Use the in operator to specify multiple identities. You
|
|
180
|
+
* should run the query prior to using for a purge request to verify that the results are expected.
|
|
181
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
182
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
183
|
+
* @param body Describes the body of a request to purge data in a single table of an Application
|
|
184
|
+
* Insights component
|
|
185
|
+
* @param options The options parameters.
|
|
186
|
+
*/
|
|
187
|
+
purge(resourceGroupName, resourceName, body, options) {
|
|
188
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, body, options }, purgeOperationSpec);
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Get status for an ongoing purge operation.
|
|
192
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
193
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
194
|
+
* @param purgeId In a purge status request, this is the Id of the operation the status of which is
|
|
195
|
+
* returned.
|
|
196
|
+
* @param options The options parameters.
|
|
197
|
+
*/
|
|
198
|
+
getPurgeStatus(resourceGroupName, resourceName, purgeId, options) {
|
|
199
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, purgeId, options }, getPurgeStatusOperationSpec);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* ListNext
|
|
203
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
204
|
+
* @param options The options parameters.
|
|
205
|
+
*/
|
|
206
|
+
_listNext(nextLink, options) {
|
|
207
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* ListByResourceGroupNext
|
|
211
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
212
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
213
|
+
* @param options The options parameters.
|
|
214
|
+
*/
|
|
215
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
216
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
// Operation Specifications
|
|
220
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
221
|
+
const listOperationSpec = {
|
|
222
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/components",
|
|
223
|
+
httpMethod: "GET",
|
|
224
|
+
responses: {
|
|
225
|
+
200: {
|
|
226
|
+
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
queryParameters: [Parameters.apiVersion4],
|
|
230
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
231
|
+
headerParameters: [Parameters.accept],
|
|
232
|
+
serializer
|
|
233
|
+
};
|
|
234
|
+
const listByResourceGroupOperationSpec = {
|
|
235
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components",
|
|
236
|
+
httpMethod: "GET",
|
|
237
|
+
responses: {
|
|
238
|
+
200: {
|
|
239
|
+
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
queryParameters: [Parameters.apiVersion4],
|
|
243
|
+
urlParameters: [
|
|
244
|
+
Parameters.$host,
|
|
245
|
+
Parameters.resourceGroupName,
|
|
246
|
+
Parameters.subscriptionId
|
|
247
|
+
],
|
|
248
|
+
headerParameters: [Parameters.accept],
|
|
249
|
+
serializer
|
|
250
|
+
};
|
|
251
|
+
const deleteOperationSpec = {
|
|
252
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
253
|
+
httpMethod: "DELETE",
|
|
254
|
+
responses: { 200: {}, 204: {} },
|
|
255
|
+
queryParameters: [Parameters.apiVersion4],
|
|
256
|
+
urlParameters: [
|
|
257
|
+
Parameters.$host,
|
|
258
|
+
Parameters.resourceGroupName,
|
|
259
|
+
Parameters.subscriptionId,
|
|
260
|
+
Parameters.resourceName
|
|
261
|
+
],
|
|
262
|
+
serializer
|
|
263
|
+
};
|
|
264
|
+
const getOperationSpec = {
|
|
265
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
266
|
+
httpMethod: "GET",
|
|
267
|
+
responses: {
|
|
268
|
+
200: {
|
|
269
|
+
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
queryParameters: [Parameters.apiVersion4],
|
|
273
|
+
urlParameters: [
|
|
274
|
+
Parameters.$host,
|
|
275
|
+
Parameters.resourceGroupName,
|
|
276
|
+
Parameters.subscriptionId,
|
|
277
|
+
Parameters.resourceName
|
|
278
|
+
],
|
|
279
|
+
headerParameters: [Parameters.accept],
|
|
280
|
+
serializer
|
|
281
|
+
};
|
|
282
|
+
const createOrUpdateOperationSpec = {
|
|
283
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
284
|
+
httpMethod: "PUT",
|
|
285
|
+
responses: {
|
|
286
|
+
200: {
|
|
287
|
+
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
288
|
+
},
|
|
289
|
+
201: {
|
|
290
|
+
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
requestBody: Parameters.insightProperties,
|
|
294
|
+
queryParameters: [Parameters.apiVersion4],
|
|
295
|
+
urlParameters: [
|
|
296
|
+
Parameters.$host,
|
|
297
|
+
Parameters.resourceGroupName,
|
|
298
|
+
Parameters.subscriptionId,
|
|
299
|
+
Parameters.resourceName
|
|
300
|
+
],
|
|
301
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
302
|
+
mediaType: "json",
|
|
303
|
+
serializer
|
|
304
|
+
};
|
|
305
|
+
const updateTagsOperationSpec = {
|
|
306
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
307
|
+
httpMethod: "PATCH",
|
|
308
|
+
responses: {
|
|
309
|
+
200: {
|
|
310
|
+
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
311
|
+
},
|
|
312
|
+
201: {
|
|
313
|
+
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
requestBody: Parameters.componentTags,
|
|
317
|
+
queryParameters: [Parameters.apiVersion4],
|
|
318
|
+
urlParameters: [
|
|
319
|
+
Parameters.$host,
|
|
320
|
+
Parameters.resourceGroupName,
|
|
321
|
+
Parameters.subscriptionId,
|
|
322
|
+
Parameters.resourceName
|
|
323
|
+
],
|
|
324
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
325
|
+
mediaType: "json",
|
|
326
|
+
serializer
|
|
327
|
+
};
|
|
328
|
+
const purgeOperationSpec = {
|
|
329
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge",
|
|
330
|
+
httpMethod: "POST",
|
|
331
|
+
responses: {
|
|
332
|
+
202: {
|
|
333
|
+
bodyMapper: Mappers.ComponentPurgeResponse
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
requestBody: Parameters.body,
|
|
337
|
+
queryParameters: [Parameters.apiVersion4],
|
|
338
|
+
urlParameters: [
|
|
339
|
+
Parameters.$host,
|
|
340
|
+
Parameters.resourceGroupName,
|
|
341
|
+
Parameters.subscriptionId,
|
|
342
|
+
Parameters.resourceName
|
|
343
|
+
],
|
|
344
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
345
|
+
mediaType: "json",
|
|
346
|
+
serializer
|
|
347
|
+
};
|
|
348
|
+
const getPurgeStatusOperationSpec = {
|
|
349
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}",
|
|
350
|
+
httpMethod: "GET",
|
|
351
|
+
responses: {
|
|
352
|
+
200: {
|
|
353
|
+
bodyMapper: Mappers.ComponentPurgeStatusResponse
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
queryParameters: [Parameters.apiVersion4],
|
|
357
|
+
urlParameters: [
|
|
358
|
+
Parameters.$host,
|
|
359
|
+
Parameters.resourceGroupName,
|
|
360
|
+
Parameters.subscriptionId,
|
|
361
|
+
Parameters.resourceName,
|
|
362
|
+
Parameters.purgeId
|
|
363
|
+
],
|
|
364
|
+
headerParameters: [Parameters.accept],
|
|
365
|
+
serializer
|
|
366
|
+
};
|
|
367
|
+
const listNextOperationSpec = {
|
|
368
|
+
path: "{nextLink}",
|
|
369
|
+
httpMethod: "GET",
|
|
370
|
+
responses: {
|
|
371
|
+
200: {
|
|
372
|
+
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
queryParameters: [Parameters.apiVersion4],
|
|
376
|
+
urlParameters: [
|
|
377
|
+
Parameters.$host,
|
|
378
|
+
Parameters.subscriptionId,
|
|
379
|
+
Parameters.nextLink
|
|
380
|
+
],
|
|
381
|
+
headerParameters: [Parameters.accept],
|
|
382
|
+
serializer
|
|
383
|
+
};
|
|
384
|
+
const listByResourceGroupNextOperationSpec = {
|
|
385
|
+
path: "{nextLink}",
|
|
386
|
+
httpMethod: "GET",
|
|
387
|
+
responses: {
|
|
388
|
+
200: {
|
|
389
|
+
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
queryParameters: [Parameters.apiVersion4],
|
|
393
|
+
urlParameters: [
|
|
394
|
+
Parameters.$host,
|
|
395
|
+
Parameters.resourceGroupName,
|
|
396
|
+
Parameters.subscriptionId,
|
|
397
|
+
Parameters.nextLink
|
|
398
|
+
],
|
|
399
|
+
headerParameters: [Parameters.accept],
|
|
400
|
+
serializer
|
|
401
|
+
};
|
|
402
|
+
//# sourceMappingURL=components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/operations/components.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA2BnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,M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BAA4B;SACjD;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sCAAsC;SAC3D;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sCAAsC;SAC3D;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ExportConfigurations } from "../operationsInterfaces";
|
|
2
|
+
import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
|
|
3
|
+
import { ExportConfigurationsListOptionalParams, ExportConfigurationsListResponse, ApplicationInsightsComponentExportRequest, ExportConfigurationsCreateOptionalParams, ExportConfigurationsCreateResponse, ExportConfigurationsDeleteOptionalParams, ExportConfigurationsDeleteResponse, ExportConfigurationsGetOptionalParams, ExportConfigurationsGetResponse, ExportConfigurationsUpdateOptionalParams, ExportConfigurationsUpdateResponse } from "../models";
|
|
4
|
+
/** Class containing ExportConfigurations operations. */
|
|
5
|
+
export declare class ExportConfigurationsImpl implements ExportConfigurations {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class ExportConfigurations class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: ApplicationInsightsManagementClient);
|
|
12
|
+
/**
|
|
13
|
+
* Gets a list of Continuous Export configuration of an Application Insights component.
|
|
14
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
15
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
list(resourceGroupName: string, resourceName: string, options?: ExportConfigurationsListOptionalParams): Promise<ExportConfigurationsListResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Create a Continuous Export configuration of an Application Insights component.
|
|
21
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
22
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
23
|
+
* @param exportProperties Properties that need to be specified to create a Continuous Export
|
|
24
|
+
* configuration of a Application Insights component.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
create(resourceGroupName: string, resourceName: string, exportProperties: ApplicationInsightsComponentExportRequest, options?: ExportConfigurationsCreateOptionalParams): Promise<ExportConfigurationsCreateResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Delete a Continuous Export configuration of an Application Insights component.
|
|
30
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
32
|
+
* @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
|
|
33
|
+
* component.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
delete(resourceGroupName: string, resourceName: string, exportId: string, options?: ExportConfigurationsDeleteOptionalParams): Promise<ExportConfigurationsDeleteResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Get the Continuous Export configuration for this export id.
|
|
39
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
41
|
+
* @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
|
|
42
|
+
* component.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
get(resourceGroupName: string, resourceName: string, exportId: string, options?: ExportConfigurationsGetOptionalParams): Promise<ExportConfigurationsGetResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Update the Continuous Export configuration for this export id.
|
|
48
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
49
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
50
|
+
* @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
|
|
51
|
+
* component.
|
|
52
|
+
* @param exportProperties Properties that need to be specified to update the Continuous Export
|
|
53
|
+
* configuration.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
update(resourceGroupName: string, resourceName: string, exportId: string, exportProperties: ApplicationInsightsComponentExportRequest, options?: ExportConfigurationsUpdateOptionalParams): Promise<ExportConfigurationsUpdateResponse>;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=exportConfigurations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/exportConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC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195 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers";
|
|
10
|
+
import * as Parameters from "../models/parameters";
|
|
11
|
+
/** Class containing ExportConfigurations operations. */
|
|
12
|
+
export class ExportConfigurationsImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class ExportConfigurations class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Gets a list of Continuous Export configuration of an Application Insights component.
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(resourceGroupName, resourceName, options) {
|
|
27
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Create a Continuous Export configuration of an Application Insights component.
|
|
31
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
33
|
+
* @param exportProperties Properties that need to be specified to create a Continuous Export
|
|
34
|
+
* configuration of a Application Insights component.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
create(resourceGroupName, resourceName, exportProperties, options) {
|
|
38
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportProperties, options }, createOperationSpec);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Delete a Continuous Export configuration of an Application Insights component.
|
|
42
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
44
|
+
* @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
|
|
45
|
+
* component.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
delete(resourceGroupName, resourceName, exportId, options) {
|
|
49
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, options }, deleteOperationSpec);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get the Continuous Export configuration for this export id.
|
|
53
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
54
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
55
|
+
* @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
|
|
56
|
+
* component.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
get(resourceGroupName, resourceName, exportId, options) {
|
|
60
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, options }, getOperationSpec);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Update the Continuous Export configuration for this export id.
|
|
64
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
66
|
+
* @param exportId The Continuous Export configuration ID. This is unique within a Application Insights
|
|
67
|
+
* component.
|
|
68
|
+
* @param exportProperties Properties that need to be specified to update the Continuous Export
|
|
69
|
+
* configuration.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
update(resourceGroupName, resourceName, exportId, exportProperties, options) {
|
|
73
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, exportId, exportProperties, options }, updateOperationSpec);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
// Operation Specifications
|
|
77
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
78
|
+
const listOperationSpec = {
|
|
79
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration",
|
|
80
|
+
httpMethod: "GET",
|
|
81
|
+
responses: {
|
|
82
|
+
200: {
|
|
83
|
+
bodyMapper: {
|
|
84
|
+
type: {
|
|
85
|
+
name: "Sequence",
|
|
86
|
+
element: {
|
|
87
|
+
type: {
|
|
88
|
+
name: "Composite",
|
|
89
|
+
className: "ApplicationInsightsComponentExportConfiguration"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
queryParameters: [Parameters.apiVersion],
|
|
97
|
+
urlParameters: [
|
|
98
|
+
Parameters.$host,
|
|
99
|
+
Parameters.resourceGroupName,
|
|
100
|
+
Parameters.subscriptionId,
|
|
101
|
+
Parameters.resourceName
|
|
102
|
+
],
|
|
103
|
+
headerParameters: [Parameters.accept],
|
|
104
|
+
serializer
|
|
105
|
+
};
|
|
106
|
+
const createOperationSpec = {
|
|
107
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration",
|
|
108
|
+
httpMethod: "POST",
|
|
109
|
+
responses: {
|
|
110
|
+
200: {
|
|
111
|
+
bodyMapper: {
|
|
112
|
+
type: {
|
|
113
|
+
name: "Sequence",
|
|
114
|
+
element: {
|
|
115
|
+
type: {
|
|
116
|
+
name: "Composite",
|
|
117
|
+
className: "ApplicationInsightsComponentExportConfiguration"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
requestBody: Parameters.exportProperties,
|
|
125
|
+
queryParameters: [Parameters.apiVersion],
|
|
126
|
+
urlParameters: [
|
|
127
|
+
Parameters.$host,
|
|
128
|
+
Parameters.resourceGroupName,
|
|
129
|
+
Parameters.subscriptionId,
|
|
130
|
+
Parameters.resourceName
|
|
131
|
+
],
|
|
132
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
133
|
+
mediaType: "json",
|
|
134
|
+
serializer
|
|
135
|
+
};
|
|
136
|
+
const deleteOperationSpec = {
|
|
137
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
|
|
138
|
+
httpMethod: "DELETE",
|
|
139
|
+
responses: {
|
|
140
|
+
200: {
|
|
141
|
+
bodyMapper: Mappers.ApplicationInsightsComponentExportConfiguration
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
queryParameters: [Parameters.apiVersion],
|
|
145
|
+
urlParameters: [
|
|
146
|
+
Parameters.$host,
|
|
147
|
+
Parameters.resourceGroupName,
|
|
148
|
+
Parameters.subscriptionId,
|
|
149
|
+
Parameters.resourceName,
|
|
150
|
+
Parameters.exportId
|
|
151
|
+
],
|
|
152
|
+
headerParameters: [Parameters.accept],
|
|
153
|
+
serializer
|
|
154
|
+
};
|
|
155
|
+
const getOperationSpec = {
|
|
156
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
|
|
157
|
+
httpMethod: "GET",
|
|
158
|
+
responses: {
|
|
159
|
+
200: {
|
|
160
|
+
bodyMapper: Mappers.ApplicationInsightsComponentExportConfiguration
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
queryParameters: [Parameters.apiVersion],
|
|
164
|
+
urlParameters: [
|
|
165
|
+
Parameters.$host,
|
|
166
|
+
Parameters.resourceGroupName,
|
|
167
|
+
Parameters.subscriptionId,
|
|
168
|
+
Parameters.resourceName,
|
|
169
|
+
Parameters.exportId
|
|
170
|
+
],
|
|
171
|
+
headerParameters: [Parameters.accept],
|
|
172
|
+
serializer
|
|
173
|
+
};
|
|
174
|
+
const updateOperationSpec = {
|
|
175
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}",
|
|
176
|
+
httpMethod: "PUT",
|
|
177
|
+
responses: {
|
|
178
|
+
200: {
|
|
179
|
+
bodyMapper: Mappers.ApplicationInsightsComponentExportConfiguration
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
requestBody: Parameters.exportProperties,
|
|
183
|
+
queryParameters: [Parameters.apiVersion],
|
|
184
|
+
urlParameters: [
|
|
185
|
+
Parameters.$host,
|
|
186
|
+
Parameters.resourceGroupName,
|
|
187
|
+
Parameters.subscriptionId,
|
|
188
|
+
Parameters.resourceName,
|
|
189
|
+
Parameters.exportId
|
|
190
|
+
],
|
|
191
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
192
|
+
mediaType: "json",
|
|
193
|
+
serializer
|
|
194
|
+
};
|
|
195
|
+
//# sourceMappingURL=exportConfigurations.js.map
|