@azure/arm-appinsights 3.0.0 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +72 -73
- package/dist/index.js +7675 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/applicationInsightsManagementClient.d.ts +36 -0
- package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/applicationInsightsManagementClient.js +69 -0
- package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2080 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +133 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +86 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1481 -1003
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +63 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +515 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/aPIKeys.d.ts +55 -0
- package/dist-esm/src/operations/aPIKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/aPIKeys.js +185 -0
- package/dist-esm/src/operations/aPIKeys.js.map +1 -0
- package/dist-esm/src/operations/analyticsItems.d.ts +51 -0
- package/dist-esm/src/operations/analyticsItems.d.ts.map +1 -0
- package/dist-esm/src/operations/analyticsItems.js +157 -0
- package/dist-esm/src/operations/analyticsItems.js.map +1 -0
- package/dist-esm/src/operations/annotations.d.ts +63 -0
- package/dist-esm/src/operations/annotations.d.ts.map +1 -0
- package/dist-esm/src/operations/annotations.js +207 -0
- package/dist-esm/src/operations/annotations.js.map +1 -0
- package/dist-esm/src/operations/componentAvailableFeatures.d.ts +20 -0
- package/dist-esm/src/operations/componentAvailableFeatures.d.ts.map +1 -0
- package/dist-esm/src/operations/componentAvailableFeatures.js +50 -0
- package/dist-esm/src/operations/componentAvailableFeatures.js.map +1 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts +29 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts.map +1 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.js +81 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.js.map +1 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.d.ts +20 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.js +50 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.js.map +1 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts +53 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js +174 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js.map +1 -0
- package/dist-esm/src/operations/componentQuotaStatus.d.ts +20 -0
- package/dist-esm/src/operations/componentQuotaStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/componentQuotaStatus.js +50 -0
- package/dist-esm/src/operations/componentQuotaStatus.js.map +1 -0
- package/dist-esm/src/operations/components.d.ts +108 -0
- package/dist-esm/src/operations/components.d.ts.map +1 -0
- package/dist-esm/src/operations/components.js +402 -0
- package/dist-esm/src/operations/components.js.map +1 -0
- package/dist-esm/src/operations/exportConfigurations.d.ts +58 -0
- package/dist-esm/src/operations/exportConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/exportConfigurations.js +195 -0
- package/dist-esm/src/operations/exportConfigurations.js.map +1 -0
- package/dist-esm/src/operations/favorites.d.ts +55 -0
- package/dist-esm/src/operations/favorites.d.ts.map +1 -0
- package/dist-esm/src/operations/favorites.js +196 -0
- package/dist-esm/src/operations/favorites.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +3 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +6 -7
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/liveToken.d.ts +19 -0
- package/dist-esm/src/operations/liveToken.d.ts.map +1 -0
- package/dist-esm/src/operations/liveToken.js +47 -0
- package/dist-esm/src/operations/liveToken.js.map +1 -0
- package/dist-esm/src/operations/myWorkbooks.d.ts +89 -0
- package/dist-esm/src/operations/myWorkbooks.d.ts.map +1 -0
- package/dist-esm/src/operations/myWorkbooks.js +387 -0
- package/dist-esm/src/operations/myWorkbooks.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts +40 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.js +130 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.js.map +1 -0
- package/dist-esm/src/operations/webTestLocations.d.ts +30 -0
- package/dist-esm/src/operations/webTestLocations.d.ts.map +1 -0
- package/dist-esm/src/operations/webTestLocations.js +96 -0
- package/dist-esm/src/operations/webTestLocations.js.map +1 -0
- package/dist-esm/src/operations/webTests.d.ts +108 -0
- package/dist-esm/src/operations/webTests.d.ts.map +1 -0
- package/dist-esm/src/operations/webTests.js +435 -0
- package/dist-esm/src/operations/webTests.js.map +1 -0
- package/dist-esm/src/operations/workItemConfigurations.d.ts +75 -0
- package/dist-esm/src/operations/workItemConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/workItemConfigurations.js +257 -0
- package/dist-esm/src/operations/workItemConfigurations.js.map +1 -0
- package/dist-esm/src/operations/workbookTemplates.d.ts +57 -0
- package/dist-esm/src/operations/workbookTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/workbookTemplates.js +223 -0
- package/dist-esm/src/operations/workbookTemplates.js.map +1 -0
- package/dist-esm/src/operations/workbooks.d.ts +120 -0
- package/dist-esm/src/operations/workbooks.d.ts.map +1 -0
- package/dist-esm/src/operations/workbooks.js +530 -0
- package/dist-esm/src/operations/workbooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.js +9 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.js +9 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/annotations.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/annotations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/annotations.js +9 -0
- package/dist-esm/src/operationsInterfaces/annotations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/components.d.ts +72 -0
- package/dist-esm/src/operationsInterfaces/components.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/components.js +9 -0
- package/dist-esm/src/operationsInterfaces/components.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/favorites.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/favorites.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/favorites.js +9 -0
- package/dist-esm/src/operationsInterfaces/favorites.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +28 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/liveToken.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/liveToken.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/liveToken.js +9 -0
- package/dist-esm/src/operationsInterfaces/liveToken.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts +49 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.js +9 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTests.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/webTests.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTests.js +9 -0
- package/dist-esm/src/operationsInterfaces/webTests.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbooks.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/workbooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/workbooks.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +71 -31
- package/review/arm-appinsights.api.md +1779 -0
- package/rollup.config.js +181 -30
- package/src/applicationInsightsManagementClient.ts +148 -65
- package/src/index.ts +12 -0
- package/src/models/index.ts +1616 -2507
- package/src/models/mappers.ts +1596 -1083
- package/src/models/parameters.ts +370 -186
- package/src/operations/aPIKeys.ts +155 -191
- package/src/operations/analyticsItems.ts +122 -240
- package/src/operations/annotations.ts +187 -214
- package/src/operations/componentAvailableFeatures.ts +40 -57
- package/src/operations/componentCurrentBillingFeatures.ts +66 -110
- package/src/operations/componentFeatureCapabilities.ts +40 -57
- package/src/operations/componentLinkedStorageAccountsOperations.ts +128 -182
- package/src/operations/componentQuotaStatus.ts +39 -57
- package/src/operations/components.ts +327 -440
- package/src/operations/exportConfigurations.ts +139 -264
- package/src/operations/favorites.ts +134 -242
- package/src/operations/index.ts +6 -7
- package/src/operations/liveToken.ts +30 -50
- package/src/operations/myWorkbooks.ts +360 -252
- package/src/operations/operations.ts +84 -169
- package/src/operations/proactiveDetectionConfigurations.ts +97 -160
- package/src/operations/webTestLocations.ts +86 -53
- package/src/operations/webTests.ts +391 -411
- package/src/operations/workItemConfigurations.ts +202 -283
- package/src/operations/workbookTemplates.ts +286 -0
- package/src/operations/workbooks.ts +558 -196
- package/src/operationsInterfaces/aPIKeys.ts +76 -0
- package/src/operationsInterfaces/analyticsItems.ts +82 -0
- package/src/operationsInterfaces/annotations.ts +81 -0
- package/src/operationsInterfaces/componentAvailableFeatures.ts +27 -0
- package/src/operationsInterfaces/componentCurrentBillingFeatures.ts +44 -0
- package/src/operationsInterfaces/componentFeatureCapabilities.ts +27 -0
- package/src/operationsInterfaces/componentLinkedStorageAccountsOperations.ts +86 -0
- package/src/operationsInterfaces/componentQuotaStatus.ts +27 -0
- package/src/operationsInterfaces/components.ts +131 -0
- package/src/operationsInterfaces/exportConfigurations.ts +95 -0
- package/src/operationsInterfaces/favorites.ts +92 -0
- package/src/operationsInterfaces/index.ts +28 -0
- package/src/operationsInterfaces/liveToken.ts +22 -0
- package/src/operationsInterfaces/myWorkbooks.ts +95 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/proactiveDetectionConfigurations.ts +63 -0
- package/src/operationsInterfaces/webTestLocations.ts +29 -0
- package/src/operationsInterfaces/webTests.ts +104 -0
- package/src/operationsInterfaces/workItemConfigurations.ts +109 -0
- package/src/operationsInterfaces/workbookTemplates.ts +80 -0
- package/src/operationsInterfaces/workbooks.ts +120 -0
- package/tsconfig.json +3 -3
- package/types/arm-appinsights.d.ts +3102 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-appinsights.js +0 -6616
- package/dist/arm-appinsights.js.map +0 -1
- package/dist/arm-appinsights.min.js +0 -1
- package/dist/arm-appinsights.min.js.map +0 -1
- package/esm/applicationInsightsManagementClient.d.ts +0 -36
- package/esm/applicationInsightsManagementClient.d.ts.map +0 -1
- package/esm/applicationInsightsManagementClient.js +0 -51
- package/esm/applicationInsightsManagementClient.js.map +0 -1
- package/esm/applicationInsightsManagementClientContext.d.ts +0 -15
- package/esm/applicationInsightsManagementClientContext.d.ts.map +0 -1
- package/esm/applicationInsightsManagementClientContext.js +0 -55
- package/esm/applicationInsightsManagementClientContext.js.map +0 -1
- package/esm/models/aPIKeysMappers.d.ts +0 -2
- package/esm/models/aPIKeysMappers.d.ts.map +0 -1
- package/esm/models/aPIKeysMappers.js +0 -9
- package/esm/models/aPIKeysMappers.js.map +0 -1
- package/esm/models/analyticsItemsMappers.d.ts +0 -2
- package/esm/models/analyticsItemsMappers.d.ts.map +0 -1
- package/esm/models/analyticsItemsMappers.js +0 -9
- package/esm/models/analyticsItemsMappers.js.map +0 -1
- package/esm/models/annotationsMappers.d.ts +0 -2
- package/esm/models/annotationsMappers.d.ts.map +0 -1
- package/esm/models/annotationsMappers.js +0 -9
- package/esm/models/annotationsMappers.js.map +0 -1
- package/esm/models/componentAvailableFeaturesMappers.d.ts +0 -2
- package/esm/models/componentAvailableFeaturesMappers.d.ts.map +0 -1
- package/esm/models/componentAvailableFeaturesMappers.js +0 -9
- package/esm/models/componentAvailableFeaturesMappers.js.map +0 -1
- package/esm/models/componentCurrentBillingFeaturesMappers.d.ts +0 -2
- package/esm/models/componentCurrentBillingFeaturesMappers.d.ts.map +0 -1
- package/esm/models/componentCurrentBillingFeaturesMappers.js +0 -9
- package/esm/models/componentCurrentBillingFeaturesMappers.js.map +0 -1
- package/esm/models/componentFeatureCapabilitiesMappers.d.ts +0 -2
- package/esm/models/componentFeatureCapabilitiesMappers.d.ts.map +0 -1
- package/esm/models/componentFeatureCapabilitiesMappers.js +0 -9
- package/esm/models/componentFeatureCapabilitiesMappers.js.map +0 -1
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts +0 -2
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts.map +0 -1
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.js +0 -9
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.js.map +0 -1
- package/esm/models/componentQuotaStatusMappers.d.ts +0 -2
- package/esm/models/componentQuotaStatusMappers.d.ts.map +0 -1
- package/esm/models/componentQuotaStatusMappers.js +0 -9
- package/esm/models/componentQuotaStatusMappers.js.map +0 -1
- package/esm/models/componentsMappers.d.ts +0 -2
- package/esm/models/componentsMappers.d.ts.map +0 -1
- package/esm/models/componentsMappers.js +0 -9
- package/esm/models/componentsMappers.js.map +0 -1
- package/esm/models/exportConfigurationsMappers.d.ts +0 -2
- package/esm/models/exportConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/exportConfigurationsMappers.js +0 -9
- package/esm/models/exportConfigurationsMappers.js.map +0 -1
- package/esm/models/favoritesMappers.d.ts +0 -2
- package/esm/models/favoritesMappers.d.ts.map +0 -1
- package/esm/models/favoritesMappers.js +0 -9
- package/esm/models/favoritesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -3038
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/liveTokenMappers.d.ts +0 -2
- package/esm/models/liveTokenMappers.d.ts.map +0 -1
- package/esm/models/liveTokenMappers.js +0 -9
- package/esm/models/liveTokenMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -69
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/myWorkbooksMappers.d.ts +0 -2
- package/esm/models/myWorkbooksMappers.d.ts.map +0 -1
- package/esm/models/myWorkbooksMappers.js +0 -9
- package/esm/models/myWorkbooksMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -36
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -416
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/proactiveDetectionConfigurationsMappers.d.ts +0 -2
- package/esm/models/proactiveDetectionConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/proactiveDetectionConfigurationsMappers.js +0 -9
- package/esm/models/proactiveDetectionConfigurationsMappers.js.map +0 -1
- package/esm/models/webTestLocationsMappers.d.ts +0 -2
- package/esm/models/webTestLocationsMappers.d.ts.map +0 -1
- package/esm/models/webTestLocationsMappers.js +0 -9
- package/esm/models/webTestLocationsMappers.js.map +0 -1
- package/esm/models/webTestsMappers.d.ts +0 -2
- package/esm/models/webTestsMappers.d.ts.map +0 -1
- package/esm/models/webTestsMappers.js +0 -9
- package/esm/models/webTestsMappers.js.map +0 -1
- package/esm/models/workItemConfigurationsMappers.d.ts +0 -2
- package/esm/models/workItemConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/workItemConfigurationsMappers.js +0 -9
- package/esm/models/workItemConfigurationsMappers.js.map +0 -1
- package/esm/models/workbooksMappers.d.ts +0 -2
- package/esm/models/workbooksMappers.d.ts.map +0 -1
- package/esm/models/workbooksMappers.js +0 -9
- package/esm/models/workbooksMappers.js.map +0 -1
- package/esm/operations/aPIKeys.d.ts +0 -109
- package/esm/operations/aPIKeys.d.ts.map +0 -1
- package/esm/operations/aPIKeys.js +0 -161
- package/esm/operations/aPIKeys.js.map +0 -1
- package/esm/operations/analyticsItems.d.ts +0 -139
- package/esm/operations/analyticsItems.d.ts.map +0 -1
- package/esm/operations/analyticsItems.js +0 -182
- package/esm/operations/analyticsItems.js.map +0 -1
- package/esm/operations/annotations.d.ts +0 -124
- package/esm/operations/annotations.d.ts.map +0 -1
- package/esm/operations/annotations.js +0 -185
- package/esm/operations/annotations.js.map +0 -1
- package/esm/operations/componentAvailableFeatures.d.ts +0 -34
- package/esm/operations/componentAvailableFeatures.d.ts.map +0 -1
- package/esm/operations/componentAvailableFeatures.js +0 -58
- package/esm/operations/componentAvailableFeatures.js.map +0 -1
- package/esm/operations/componentCurrentBillingFeatures.d.ts +0 -61
- package/esm/operations/componentCurrentBillingFeatures.d.ts.map +0 -1
- package/esm/operations/componentCurrentBillingFeatures.js +0 -95
- package/esm/operations/componentCurrentBillingFeatures.js.map +0 -1
- package/esm/operations/componentFeatureCapabilities.d.ts +0 -34
- package/esm/operations/componentFeatureCapabilities.d.ts.map +0 -1
- package/esm/operations/componentFeatureCapabilities.js +0 -58
- package/esm/operations/componentFeatureCapabilities.js.map +0 -1
- package/esm/operations/componentLinkedStorageAccountsOperations.d.ts +0 -109
- package/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +0 -1
- package/esm/operations/componentLinkedStorageAccountsOperations.js +0 -165
- package/esm/operations/componentLinkedStorageAccountsOperations.js.map +0 -1
- package/esm/operations/componentQuotaStatus.d.ts +0 -34
- package/esm/operations/componentQuotaStatus.d.ts.map +0 -1
- package/esm/operations/componentQuotaStatus.js +0 -58
- package/esm/operations/componentQuotaStatus.js.map +0 -1
- package/esm/operations/components.d.ts +0 -236
- package/esm/operations/components.d.ts.map +0 -1
- package/esm/operations/components.js +0 -344
- package/esm/operations/components.js.map +0 -1
- package/esm/operations/exportConfigurations.d.ts +0 -148
- package/esm/operations/exportConfigurations.d.ts.map +0 -1
- package/esm/operations/exportConfigurations.js +0 -221
- package/esm/operations/exportConfigurations.js.map +0 -1
- package/esm/operations/favorites.d.ts +0 -139
- package/esm/operations/favorites.d.ts.map +0 -1
- package/esm/operations/favorites.js +0 -214
- package/esm/operations/favorites.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/liveToken.d.ts +0 -31
- package/esm/operations/liveToken.d.ts.map +0 -1
- package/esm/operations/liveToken.js +0 -55
- package/esm/operations/liveToken.js.map +0 -1
- package/esm/operations/myWorkbooks.d.ts +0 -148
- package/esm/operations/myWorkbooks.d.ts.map +0 -1
- package/esm/operations/myWorkbooks.js +0 -228
- package/esm/operations/myWorkbooks.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -81
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -127
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/proactiveDetectionConfigurations.d.ts +0 -94
- package/esm/operations/proactiveDetectionConfigurations.d.ts.map +0 -1
- package/esm/operations/proactiveDetectionConfigurations.js +0 -141
- package/esm/operations/proactiveDetectionConfigurations.js.map +0 -1
- package/esm/operations/webTestLocations.d.ts +0 -34
- package/esm/operations/webTestLocations.d.ts.map +0 -1
- package/esm/operations/webTestLocations.js +0 -58
- package/esm/operations/webTestLocations.js.map +0 -1
- package/esm/operations/webTests.d.ts +0 -214
- package/esm/operations/webTests.d.ts.map +0 -1
- package/esm/operations/webTests.js +0 -326
- package/esm/operations/webTests.js.map +0 -1
- package/esm/operations/workItemConfigurations.d.ts +0 -169
- package/esm/operations/workItemConfigurations.d.ts.map +0 -1
- package/esm/operations/workItemConfigurations.js +0 -228
- package/esm/operations/workItemConfigurations.js.map +0 -1
- package/esm/operations/workbooks.d.ts +0 -127
- package/esm/operations/workbooks.d.ts.map +0 -1
- package/esm/operations/workbooks.js +0 -197
- package/esm/operations/workbooks.js.map +0 -1
- package/src/applicationInsightsManagementClientContext.ts +0 -60
- package/src/models/aPIKeysMappers.ts +0 -14
- package/src/models/analyticsItemsMappers.ts +0 -13
- package/src/models/annotationsMappers.ts +0 -15
- package/src/models/componentAvailableFeaturesMappers.ts +0 -14
- package/src/models/componentCurrentBillingFeaturesMappers.ts +0 -13
- package/src/models/componentFeatureCapabilitiesMappers.ts +0 -12
- package/src/models/componentLinkedStorageAccountsOperationsMappers.ts +0 -31
- package/src/models/componentQuotaStatusMappers.ts +0 -12
- package/src/models/componentsMappers.ts +0 -36
- package/src/models/exportConfigurationsMappers.ts +0 -13
- package/src/models/favoritesMappers.ts +0 -12
- package/src/models/liveTokenMappers.ts +0 -12
- package/src/models/myWorkbooksMappers.ts +0 -32
- package/src/models/operationsMappers.ts +0 -18
- package/src/models/proactiveDetectionConfigurationsMappers.ts +0 -30
- package/src/models/webTestLocationsMappers.ts +0 -13
- package/src/models/webTestsMappers.ts +0 -32
- package/src/models/workItemConfigurationsMappers.ts +0 -16
- package/src/models/workbooksMappers.ts +0 -32
|
@@ -0,0 +1,257 @@
|
|
|
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 WorkItemConfigurations operations. */
|
|
14
|
+
export class WorkItemConfigurationsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class WorkItemConfigurations class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Gets the list work item configurations that exist for the application
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(resourceGroupName, resourceName, options) {
|
|
29
|
+
const iter = this.listPagingAll(resourceGroupName, resourceName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listPagingPage(resourceGroupName, resourceName, options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listPagingPage(resourceGroupName, resourceName, options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._list(resourceGroupName, resourceName, options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
listPagingAll(resourceGroupName, resourceName, options) {
|
|
49
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
50
|
+
var e_1, _a;
|
|
51
|
+
try {
|
|
52
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
53
|
+
const page = _c.value;
|
|
54
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
58
|
+
finally {
|
|
59
|
+
try {
|
|
60
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
61
|
+
}
|
|
62
|
+
finally { if (e_1) throw e_1.error; }
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Gets the list work item configurations that exist for the application
|
|
68
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
69
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
_list(resourceGroupName, resourceName, options) {
|
|
73
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listOperationSpec);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Create a work item configuration for an Application Insights component.
|
|
77
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
79
|
+
* @param workItemConfigurationProperties Properties that need to be specified to create a work item
|
|
80
|
+
* configuration of a Application Insights component.
|
|
81
|
+
* @param options The options parameters.
|
|
82
|
+
*/
|
|
83
|
+
create(resourceGroupName, resourceName, workItemConfigurationProperties, options) {
|
|
84
|
+
return this.client.sendOperationRequest({
|
|
85
|
+
resourceGroupName,
|
|
86
|
+
resourceName,
|
|
87
|
+
workItemConfigurationProperties,
|
|
88
|
+
options
|
|
89
|
+
}, createOperationSpec);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Gets default work item configurations that exist for the application
|
|
93
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
94
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
getDefault(resourceGroupName, resourceName, options) {
|
|
98
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getDefaultOperationSpec);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Delete a work item configuration of an Application Insights component.
|
|
102
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
103
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
104
|
+
* @param workItemConfigId The unique work item configuration Id. This can be either friendly name of
|
|
105
|
+
* connector as defined in connector configuration
|
|
106
|
+
* @param options The options parameters.
|
|
107
|
+
*/
|
|
108
|
+
delete(resourceGroupName, resourceName, workItemConfigId, options) {
|
|
109
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, workItemConfigId, options }, deleteOperationSpec);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Gets specified work item configuration for an Application Insights component.
|
|
113
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
115
|
+
* @param workItemConfigId The unique work item configuration Id. This can be either friendly name of
|
|
116
|
+
* connector as defined in connector configuration
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
getItem(resourceGroupName, resourceName, workItemConfigId, options) {
|
|
120
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, workItemConfigId, options }, getItemOperationSpec);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Update a work item configuration for an Application Insights component.
|
|
124
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
125
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
126
|
+
* @param workItemConfigId The unique work item configuration Id. This can be either friendly name of
|
|
127
|
+
* connector as defined in connector configuration
|
|
128
|
+
* @param workItemConfigurationProperties Properties that need to be specified to update a work item
|
|
129
|
+
* configuration for this Application Insights component.
|
|
130
|
+
* @param options The options parameters.
|
|
131
|
+
*/
|
|
132
|
+
updateItem(resourceGroupName, resourceName, workItemConfigId, workItemConfigurationProperties, options) {
|
|
133
|
+
return this.client.sendOperationRequest({
|
|
134
|
+
resourceGroupName,
|
|
135
|
+
resourceName,
|
|
136
|
+
workItemConfigId,
|
|
137
|
+
workItemConfigurationProperties,
|
|
138
|
+
options
|
|
139
|
+
}, updateItemOperationSpec);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
// Operation Specifications
|
|
143
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
144
|
+
const listOperationSpec = {
|
|
145
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs",
|
|
146
|
+
httpMethod: "GET",
|
|
147
|
+
responses: {
|
|
148
|
+
200: {
|
|
149
|
+
bodyMapper: Mappers.WorkItemConfigurationsListResult
|
|
150
|
+
},
|
|
151
|
+
default: {
|
|
152
|
+
bodyMapper: Mappers.WorkItemConfigurationError
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
queryParameters: [Parameters.apiVersion],
|
|
156
|
+
urlParameters: [
|
|
157
|
+
Parameters.$host,
|
|
158
|
+
Parameters.resourceGroupName,
|
|
159
|
+
Parameters.subscriptionId,
|
|
160
|
+
Parameters.resourceName
|
|
161
|
+
],
|
|
162
|
+
headerParameters: [Parameters.accept],
|
|
163
|
+
serializer
|
|
164
|
+
};
|
|
165
|
+
const createOperationSpec = {
|
|
166
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs",
|
|
167
|
+
httpMethod: "POST",
|
|
168
|
+
responses: {
|
|
169
|
+
200: {
|
|
170
|
+
bodyMapper: Mappers.WorkItemConfiguration
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
requestBody: Parameters.workItemConfigurationProperties,
|
|
174
|
+
queryParameters: [Parameters.apiVersion],
|
|
175
|
+
urlParameters: [
|
|
176
|
+
Parameters.$host,
|
|
177
|
+
Parameters.resourceGroupName,
|
|
178
|
+
Parameters.subscriptionId,
|
|
179
|
+
Parameters.resourceName
|
|
180
|
+
],
|
|
181
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
182
|
+
mediaType: "json",
|
|
183
|
+
serializer
|
|
184
|
+
};
|
|
185
|
+
const getDefaultOperationSpec = {
|
|
186
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/DefaultWorkItemConfig",
|
|
187
|
+
httpMethod: "GET",
|
|
188
|
+
responses: {
|
|
189
|
+
200: {
|
|
190
|
+
bodyMapper: Mappers.WorkItemConfiguration
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
queryParameters: [Parameters.apiVersion],
|
|
194
|
+
urlParameters: [
|
|
195
|
+
Parameters.$host,
|
|
196
|
+
Parameters.resourceGroupName,
|
|
197
|
+
Parameters.subscriptionId,
|
|
198
|
+
Parameters.resourceName
|
|
199
|
+
],
|
|
200
|
+
headerParameters: [Parameters.accept],
|
|
201
|
+
serializer
|
|
202
|
+
};
|
|
203
|
+
const deleteOperationSpec = {
|
|
204
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}",
|
|
205
|
+
httpMethod: "DELETE",
|
|
206
|
+
responses: { 200: {} },
|
|
207
|
+
queryParameters: [Parameters.apiVersion],
|
|
208
|
+
urlParameters: [
|
|
209
|
+
Parameters.$host,
|
|
210
|
+
Parameters.resourceGroupName,
|
|
211
|
+
Parameters.subscriptionId,
|
|
212
|
+
Parameters.resourceName,
|
|
213
|
+
Parameters.workItemConfigId
|
|
214
|
+
],
|
|
215
|
+
serializer
|
|
216
|
+
};
|
|
217
|
+
const getItemOperationSpec = {
|
|
218
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}",
|
|
219
|
+
httpMethod: "GET",
|
|
220
|
+
responses: {
|
|
221
|
+
200: {
|
|
222
|
+
bodyMapper: Mappers.WorkItemConfiguration
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
queryParameters: [Parameters.apiVersion],
|
|
226
|
+
urlParameters: [
|
|
227
|
+
Parameters.$host,
|
|
228
|
+
Parameters.resourceGroupName,
|
|
229
|
+
Parameters.subscriptionId,
|
|
230
|
+
Parameters.resourceName,
|
|
231
|
+
Parameters.workItemConfigId
|
|
232
|
+
],
|
|
233
|
+
headerParameters: [Parameters.accept],
|
|
234
|
+
serializer
|
|
235
|
+
};
|
|
236
|
+
const updateItemOperationSpec = {
|
|
237
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs/{workItemConfigId}",
|
|
238
|
+
httpMethod: "PATCH",
|
|
239
|
+
responses: {
|
|
240
|
+
200: {
|
|
241
|
+
bodyMapper: Mappers.WorkItemConfiguration
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
requestBody: Parameters.workItemConfigurationProperties,
|
|
245
|
+
queryParameters: [Parameters.apiVersion],
|
|
246
|
+
urlParameters: [
|
|
247
|
+
Parameters.$host,
|
|
248
|
+
Parameters.resourceGroupName,
|
|
249
|
+
Parameters.subscriptionId,
|
|
250
|
+
Parameters.resourceName,
|
|
251
|
+
Parameters.workItemConfigId
|
|
252
|
+
],
|
|
253
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
254
|
+
mediaType: "json",
|
|
255
|
+
serializer
|
|
256
|
+
};
|
|
257
|
+
//# sourceMappingURL=workItemConfigurations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workItemConfigurations.js","sourceRoot":"","sources":["../../../src/operations/workItemConfigurations.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;AAkBnD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,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,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;YACvE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,YAAoB,EACpB,OAAkD;;YAElD,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA,CAAC;YACxE,oBAAM,MAAM,CAAC,KAAK,IAAI,EAA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AC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EACF,8JAA8J;IAChK,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;KACF;IACD,WAAW,EAAE,UAAU,CAAC,+BAA+B;IACvD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { WorkbookTemplates } from "../operationsInterfaces";
|
|
3
|
+
import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
|
|
4
|
+
import { WorkbookTemplate, WorkbookTemplatesListByResourceGroupOptionalParams, WorkbookTemplatesGetOptionalParams, WorkbookTemplatesGetResponse, WorkbookTemplatesDeleteOptionalParams, WorkbookTemplatesCreateOrUpdateOptionalParams, WorkbookTemplatesCreateOrUpdateResponse, WorkbookTemplatesUpdateOptionalParams, WorkbookTemplatesUpdateResponse } from "../models";
|
|
5
|
+
/** Class containing WorkbookTemplates operations. */
|
|
6
|
+
export declare class WorkbookTemplatesImpl implements WorkbookTemplates {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class WorkbookTemplates class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: ApplicationInsightsManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Get all Workbook templates defined within a specified resource group.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listByResourceGroup(resourceGroupName: string, options?: WorkbookTemplatesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WorkbookTemplate>;
|
|
19
|
+
private listByResourceGroupPagingPage;
|
|
20
|
+
private listByResourceGroupPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* Get all Workbook templates defined within a specified resource group.
|
|
23
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
private _listByResourceGroup;
|
|
27
|
+
/**
|
|
28
|
+
* Get a single workbook template by its resourceName.
|
|
29
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
30
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
get(resourceGroupName: string, resourceName: string, options?: WorkbookTemplatesGetOptionalParams): Promise<WorkbookTemplatesGetResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Delete a workbook template.
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
delete(resourceGroupName: string, resourceName: string, options?: WorkbookTemplatesDeleteOptionalParams): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a new workbook template.
|
|
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 workbookTemplateProperties Properties that need to be specified to create a new workbook.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
createOrUpdate(resourceGroupName: string, resourceName: string, workbookTemplateProperties: WorkbookTemplate, options?: WorkbookTemplatesCreateOrUpdateOptionalParams): Promise<WorkbookTemplatesCreateOrUpdateResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Updates a workbook template that has already been added.
|
|
51
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
52
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
update(resourceGroupName: string, resourceName: string, options?: WorkbookTemplatesUpdateOptionalParams): Promise<WorkbookTemplatesUpdateResponse>;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=workbookTemplates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbookTemplates.d.ts","sourceRoot":"","sources":["../../../src/operations/workbookTemplates.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI5D,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EACL,gBAAgB,EAChB,kDAAkD,EAElD,kCAAkC,EAClC,4BAA4B,EAC5B,qCAAqC,EACrC,6CAA6C,EAC7C,uCAAuC,EACvC,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,0BAA0B,CAAC,gBAAgB,CAAC;YAehC,6BAA6B;YAQ7B,4BAA4B;IAY3C;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,0BAA0B,EAAE,gBAAgB,EAC5C,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAOnD;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;CAM5C"}
|
|
@@ -0,0 +1,223 @@
|
|
|
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 WorkbookTemplates operations. */
|
|
14
|
+
export class WorkbookTemplatesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class WorkbookTemplates class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get all Workbook templates defined within a specified resource group.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
28
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
29
|
+
return {
|
|
30
|
+
next() {
|
|
31
|
+
return iter.next();
|
|
32
|
+
},
|
|
33
|
+
[Symbol.asyncIterator]() {
|
|
34
|
+
return this;
|
|
35
|
+
},
|
|
36
|
+
byPage: () => {
|
|
37
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
42
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
43
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
44
|
+
yield yield __await(result.value || []);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
48
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
49
|
+
var e_1, _a;
|
|
50
|
+
try {
|
|
51
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
52
|
+
const page = _c.value;
|
|
53
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
57
|
+
finally {
|
|
58
|
+
try {
|
|
59
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
60
|
+
}
|
|
61
|
+
finally { if (e_1) throw e_1.error; }
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Get all Workbook templates defined within a specified resource group.
|
|
67
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
71
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Get a single workbook template by its resourceName.
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
get(resourceGroupName, resourceName, options) {
|
|
80
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Delete a workbook template.
|
|
84
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
85
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
delete(resourceGroupName, resourceName, options) {
|
|
89
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, deleteOperationSpec);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Create a new workbook template.
|
|
93
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
94
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
95
|
+
* @param workbookTemplateProperties Properties that need to be specified to create a new workbook.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
createOrUpdate(resourceGroupName, resourceName, workbookTemplateProperties, options) {
|
|
99
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, workbookTemplateProperties, options }, createOrUpdateOperationSpec);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Updates a workbook template that has already been added.
|
|
103
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
104
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
105
|
+
* @param options The options parameters.
|
|
106
|
+
*/
|
|
107
|
+
update(resourceGroupName, resourceName, options) {
|
|
108
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, updateOperationSpec);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
// Operation Specifications
|
|
112
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
113
|
+
const listByResourceGroupOperationSpec = {
|
|
114
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates",
|
|
115
|
+
httpMethod: "GET",
|
|
116
|
+
responses: {
|
|
117
|
+
200: {
|
|
118
|
+
bodyMapper: Mappers.WorkbookTemplatesListResult
|
|
119
|
+
},
|
|
120
|
+
default: {
|
|
121
|
+
bodyMapper: Mappers.WorkbookTemplateError
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
queryParameters: [Parameters.apiVersion1],
|
|
125
|
+
urlParameters: [
|
|
126
|
+
Parameters.$host,
|
|
127
|
+
Parameters.resourceGroupName,
|
|
128
|
+
Parameters.subscriptionId
|
|
129
|
+
],
|
|
130
|
+
headerParameters: [Parameters.accept],
|
|
131
|
+
serializer
|
|
132
|
+
};
|
|
133
|
+
const getOperationSpec = {
|
|
134
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}",
|
|
135
|
+
httpMethod: "GET",
|
|
136
|
+
responses: {
|
|
137
|
+
200: {
|
|
138
|
+
bodyMapper: Mappers.WorkbookTemplate
|
|
139
|
+
},
|
|
140
|
+
default: {
|
|
141
|
+
bodyMapper: Mappers.WorkbookTemplateError
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
queryParameters: [Parameters.apiVersion1],
|
|
145
|
+
urlParameters: [
|
|
146
|
+
Parameters.$host,
|
|
147
|
+
Parameters.resourceGroupName,
|
|
148
|
+
Parameters.subscriptionId,
|
|
149
|
+
Parameters.resourceName
|
|
150
|
+
],
|
|
151
|
+
headerParameters: [Parameters.accept],
|
|
152
|
+
serializer
|
|
153
|
+
};
|
|
154
|
+
const deleteOperationSpec = {
|
|
155
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}",
|
|
156
|
+
httpMethod: "DELETE",
|
|
157
|
+
responses: {
|
|
158
|
+
200: {},
|
|
159
|
+
204: {},
|
|
160
|
+
default: {
|
|
161
|
+
bodyMapper: Mappers.WorkbookTemplateError
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
queryParameters: [Parameters.apiVersion1],
|
|
165
|
+
urlParameters: [
|
|
166
|
+
Parameters.$host,
|
|
167
|
+
Parameters.resourceGroupName,
|
|
168
|
+
Parameters.subscriptionId,
|
|
169
|
+
Parameters.resourceName
|
|
170
|
+
],
|
|
171
|
+
headerParameters: [Parameters.accept],
|
|
172
|
+
serializer
|
|
173
|
+
};
|
|
174
|
+
const createOrUpdateOperationSpec = {
|
|
175
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}",
|
|
176
|
+
httpMethod: "PUT",
|
|
177
|
+
responses: {
|
|
178
|
+
200: {
|
|
179
|
+
bodyMapper: Mappers.WorkbookTemplate
|
|
180
|
+
},
|
|
181
|
+
201: {
|
|
182
|
+
bodyMapper: Mappers.WorkbookTemplate
|
|
183
|
+
},
|
|
184
|
+
default: {
|
|
185
|
+
bodyMapper: Mappers.WorkbookTemplateError
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
requestBody: Parameters.workbookTemplateProperties,
|
|
189
|
+
queryParameters: [Parameters.apiVersion1],
|
|
190
|
+
urlParameters: [
|
|
191
|
+
Parameters.$host,
|
|
192
|
+
Parameters.resourceGroupName,
|
|
193
|
+
Parameters.subscriptionId,
|
|
194
|
+
Parameters.resourceName
|
|
195
|
+
],
|
|
196
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
197
|
+
mediaType: "json",
|
|
198
|
+
serializer
|
|
199
|
+
};
|
|
200
|
+
const updateOperationSpec = {
|
|
201
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooktemplates/{resourceName}",
|
|
202
|
+
httpMethod: "PATCH",
|
|
203
|
+
responses: {
|
|
204
|
+
200: {
|
|
205
|
+
bodyMapper: Mappers.WorkbookTemplate
|
|
206
|
+
},
|
|
207
|
+
default: {
|
|
208
|
+
bodyMapper: Mappers.WorkbookTemplateError
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
requestBody: Parameters.workbookTemplateUpdateParameters,
|
|
212
|
+
queryParameters: [Parameters.apiVersion1],
|
|
213
|
+
urlParameters: [
|
|
214
|
+
Parameters.$host,
|
|
215
|
+
Parameters.resourceGroupName,
|
|
216
|
+
Parameters.subscriptionId,
|
|
217
|
+
Parameters.resourceName
|
|
218
|
+
],
|
|
219
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
220
|
+
mediaType: "json",
|
|
221
|
+
serializer
|
|
222
|
+
};
|
|
223
|
+
//# sourceMappingURL=workbookTemplates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbookTemplates.js","sourceRoot":"","sources":["../../../src/operations/workbookTemplates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAA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