@azure/arm-appinsights 4.0.0 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +70 -78
- package/dist/index.js +7675 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/applicationInsightsManagementClient.d.ts +36 -0
- package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/applicationInsightsManagementClient.js +69 -0
- package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2080 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +133 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +86 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1389 -1567
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +63 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +259 -225
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/aPIKeys.d.ts +55 -0
- package/dist-esm/src/operations/aPIKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/aPIKeys.js +185 -0
- package/dist-esm/src/operations/aPIKeys.js.map +1 -0
- package/dist-esm/src/operations/analyticsItems.d.ts +51 -0
- package/dist-esm/src/operations/analyticsItems.d.ts.map +1 -0
- package/dist-esm/src/operations/analyticsItems.js +157 -0
- package/dist-esm/src/operations/analyticsItems.js.map +1 -0
- package/dist-esm/src/operations/annotations.d.ts +63 -0
- package/dist-esm/src/operations/annotations.d.ts.map +1 -0
- package/dist-esm/src/operations/annotations.js +207 -0
- package/dist-esm/src/operations/annotations.js.map +1 -0
- package/dist-esm/src/operations/componentAvailableFeatures.d.ts +20 -0
- package/dist-esm/src/operations/componentAvailableFeatures.d.ts.map +1 -0
- package/dist-esm/src/operations/componentAvailableFeatures.js +50 -0
- package/dist-esm/src/operations/componentAvailableFeatures.js.map +1 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts +29 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts.map +1 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.js +81 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.js.map +1 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.d.ts +20 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.js +50 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.js.map +1 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts +53 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js +174 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js.map +1 -0
- package/dist-esm/src/operations/componentQuotaStatus.d.ts +20 -0
- package/dist-esm/src/operations/componentQuotaStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/componentQuotaStatus.js +50 -0
- package/dist-esm/src/operations/componentQuotaStatus.js.map +1 -0
- package/dist-esm/src/operations/components.d.ts +108 -0
- package/dist-esm/src/operations/components.d.ts.map +1 -0
- package/dist-esm/src/operations/components.js +402 -0
- package/dist-esm/src/operations/components.js.map +1 -0
- package/dist-esm/src/operations/exportConfigurations.d.ts +58 -0
- package/dist-esm/src/operations/exportConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/exportConfigurations.js +195 -0
- package/dist-esm/src/operations/exportConfigurations.js.map +1 -0
- package/dist-esm/src/operations/favorites.d.ts +55 -0
- package/dist-esm/src/operations/favorites.d.ts.map +1 -0
- package/dist-esm/src/operations/favorites.js +196 -0
- package/dist-esm/src/operations/favorites.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +2 -3
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/liveToken.d.ts +19 -0
- package/dist-esm/src/operations/liveToken.d.ts.map +1 -0
- package/dist-esm/src/operations/liveToken.js +47 -0
- package/dist-esm/src/operations/liveToken.js.map +1 -0
- package/dist-esm/src/operations/myWorkbooks.d.ts +89 -0
- package/dist-esm/src/operations/myWorkbooks.d.ts.map +1 -0
- package/dist-esm/src/operations/myWorkbooks.js +387 -0
- package/dist-esm/src/operations/myWorkbooks.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts +40 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.js +130 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.js.map +1 -0
- package/dist-esm/src/operations/webTestLocations.d.ts +30 -0
- package/dist-esm/src/operations/webTestLocations.d.ts.map +1 -0
- package/dist-esm/src/operations/webTestLocations.js +96 -0
- package/dist-esm/src/operations/webTestLocations.js.map +1 -0
- package/dist-esm/src/operations/webTests.d.ts +108 -0
- package/dist-esm/src/operations/webTests.d.ts.map +1 -0
- package/dist-esm/src/operations/webTests.js +435 -0
- package/dist-esm/src/operations/webTests.js.map +1 -0
- package/dist-esm/src/operations/workItemConfigurations.d.ts +75 -0
- package/dist-esm/src/operations/workItemConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/workItemConfigurations.js +257 -0
- package/dist-esm/src/operations/workItemConfigurations.js.map +1 -0
- package/dist-esm/src/operations/workbookTemplates.d.ts +57 -0
- package/dist-esm/src/operations/workbookTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/workbookTemplates.js +223 -0
- package/dist-esm/src/operations/workbookTemplates.js.map +1 -0
- package/dist-esm/src/operations/workbooks.d.ts +120 -0
- package/dist-esm/src/operations/workbooks.d.ts.map +1 -0
- package/dist-esm/src/operations/workbooks.js +530 -0
- package/dist-esm/src/operations/workbooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/aPIKeys.js} +2 -1
- package/dist-esm/src/operationsInterfaces/aPIKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts.map +1 -0
- package/{src/models/favoritesMappers.ts → dist-esm/src/operationsInterfaces/analyticsItems.js} +2 -5
- package/dist-esm/src/operationsInterfaces/analyticsItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/annotations.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/annotations.d.ts.map +1 -0
- package/{src/models/componentQuotaStatusMappers.ts → dist-esm/src/operationsInterfaces/annotations.js} +2 -5
- package/dist-esm/src/operationsInterfaces/annotations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts.map +1 -0
- package/{src/models/componentFeatureCapabilitiesMappers.ts → dist-esm/src/operationsInterfaces/componentAvailableFeatures.js} +2 -5
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/components.d.ts +72 -0
- package/dist-esm/src/operationsInterfaces/components.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/components.js +9 -0
- package/dist-esm/src/operationsInterfaces/components.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/favorites.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/favorites.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/favorites.js +9 -0
- package/dist-esm/src/operationsInterfaces/favorites.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +28 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/liveToken.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/liveToken.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/liveToken.js +9 -0
- package/dist-esm/src/operationsInterfaces/liveToken.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts +49 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.js +9 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTests.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/webTests.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTests.js +9 -0
- package/dist-esm/src/operationsInterfaces/webTests.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbooks.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/workbooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/workbooks.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +71 -32
- package/review/arm-appinsights.api.md +1779 -0
- package/rollup.config.js +181 -30
- package/src/applicationInsightsManagementClient.ts +146 -70
- package/src/{models/aPIKeysMappers.ts → index.ts} +4 -6
- package/src/models/index.ts +1526 -3216
- package/src/models/mappers.ts +1331 -1506
- package/src/models/parameters.ts +344 -225
- package/src/operations/aPIKeys.ts +153 -188
- package/src/operations/analyticsItems.ts +120 -237
- package/src/operations/annotations.ts +185 -211
- package/src/operations/componentAvailableFeatures.ts +38 -54
- package/src/operations/componentCurrentBillingFeatures.ts +64 -107
- package/src/operations/componentFeatureCapabilities.ts +38 -54
- package/src/operations/componentLinkedStorageAccountsOperations.ts +122 -175
- package/src/operations/componentQuotaStatus.ts +37 -54
- package/src/operations/components.ts +325 -443
- package/src/operations/exportConfigurations.ts +137 -261
- package/src/operations/favorites.ts +132 -239
- package/src/operations/index.ts +2 -3
- package/src/operations/liveToken.ts +27 -46
- package/src/operations/myWorkbooks.ts +334 -353
- package/src/operations/operations.ts +82 -172
- package/src/operations/proactiveDetectionConfigurations.ts +95 -157
- package/src/operations/webTestLocations.ts +84 -50
- package/src/operations/webTests.ts +389 -417
- package/src/operations/workItemConfigurations.ts +200 -280
- package/src/operations/workbookTemplates.ts +167 -210
- package/src/operations/workbooks.ts +481 -470
- package/src/operationsInterfaces/aPIKeys.ts +76 -0
- package/src/operationsInterfaces/analyticsItems.ts +82 -0
- package/src/operationsInterfaces/annotations.ts +81 -0
- package/src/operationsInterfaces/componentAvailableFeatures.ts +27 -0
- package/src/operationsInterfaces/componentCurrentBillingFeatures.ts +44 -0
- package/src/operationsInterfaces/componentFeatureCapabilities.ts +27 -0
- package/src/operationsInterfaces/componentLinkedStorageAccountsOperations.ts +86 -0
- package/src/operationsInterfaces/componentQuotaStatus.ts +27 -0
- package/src/operationsInterfaces/components.ts +131 -0
- package/src/operationsInterfaces/exportConfigurations.ts +95 -0
- package/src/operationsInterfaces/favorites.ts +92 -0
- package/src/operationsInterfaces/index.ts +28 -0
- package/src/operationsInterfaces/liveToken.ts +22 -0
- package/src/operationsInterfaces/myWorkbooks.ts +95 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/proactiveDetectionConfigurations.ts +63 -0
- package/src/operationsInterfaces/webTestLocations.ts +29 -0
- package/src/operationsInterfaces/webTests.ts +104 -0
- package/src/operationsInterfaces/workItemConfigurations.ts +109 -0
- package/src/operationsInterfaces/workbookTemplates.ts +80 -0
- package/src/operationsInterfaces/workbooks.ts +120 -0
- package/tsconfig.json +3 -3
- package/types/arm-appinsights.d.ts +3102 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-appinsights.js +0 -7933
- package/dist/arm-appinsights.js.map +0 -1
- package/dist/arm-appinsights.min.js +0 -1
- package/dist/arm-appinsights.min.js.map +0 -1
- package/esm/applicationInsightsManagementClient.d.ts +0 -43
- package/esm/applicationInsightsManagementClient.d.ts.map +0 -1
- package/esm/applicationInsightsManagementClient.js +0 -56
- package/esm/applicationInsightsManagementClient.js.map +0 -1
- package/esm/applicationInsightsManagementClientContext.d.ts +0 -21
- package/esm/applicationInsightsManagementClientContext.d.ts.map +0 -1
- package/esm/applicationInsightsManagementClientContext.js +0 -59
- package/esm/applicationInsightsManagementClientContext.js.map +0 -1
- package/esm/models/aPIKeysMappers.d.ts +0 -2
- package/esm/models/aPIKeysMappers.d.ts.map +0 -1
- package/esm/models/aPIKeysMappers.js +0 -9
- package/esm/models/aPIKeysMappers.js.map +0 -1
- package/esm/models/analyticsItemsMappers.d.ts +0 -2
- package/esm/models/analyticsItemsMappers.d.ts.map +0 -1
- package/esm/models/analyticsItemsMappers.js +0 -9
- package/esm/models/analyticsItemsMappers.js.map +0 -1
- package/esm/models/annotationsMappers.d.ts +0 -2
- package/esm/models/annotationsMappers.d.ts.map +0 -1
- package/esm/models/annotationsMappers.js +0 -9
- package/esm/models/annotationsMappers.js.map +0 -1
- package/esm/models/componentAvailableFeaturesMappers.d.ts +0 -2
- package/esm/models/componentAvailableFeaturesMappers.d.ts.map +0 -1
- package/esm/models/componentAvailableFeaturesMappers.js +0 -9
- package/esm/models/componentAvailableFeaturesMappers.js.map +0 -1
- package/esm/models/componentCurrentBillingFeaturesMappers.d.ts +0 -2
- package/esm/models/componentCurrentBillingFeaturesMappers.d.ts.map +0 -1
- package/esm/models/componentCurrentBillingFeaturesMappers.js +0 -9
- package/esm/models/componentCurrentBillingFeaturesMappers.js.map +0 -1
- package/esm/models/componentFeatureCapabilitiesMappers.d.ts +0 -2
- package/esm/models/componentFeatureCapabilitiesMappers.d.ts.map +0 -1
- package/esm/models/componentFeatureCapabilitiesMappers.js +0 -9
- package/esm/models/componentFeatureCapabilitiesMappers.js.map +0 -1
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts +0 -2
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts.map +0 -1
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.js +0 -9
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.js.map +0 -1
- package/esm/models/componentQuotaStatusMappers.d.ts +0 -2
- package/esm/models/componentQuotaStatusMappers.d.ts.map +0 -1
- package/esm/models/componentQuotaStatusMappers.js +0 -9
- package/esm/models/componentQuotaStatusMappers.js.map +0 -1
- package/esm/models/componentsMappers.d.ts +0 -2
- package/esm/models/componentsMappers.d.ts.map +0 -1
- package/esm/models/componentsMappers.js +0 -9
- package/esm/models/componentsMappers.js.map +0 -1
- package/esm/models/exportConfigurationsMappers.d.ts +0 -2
- package/esm/models/exportConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/exportConfigurationsMappers.js +0 -9
- package/esm/models/exportConfigurationsMappers.js.map +0 -1
- package/esm/models/favoritesMappers.d.ts +0 -2
- package/esm/models/favoritesMappers.d.ts.map +0 -1
- package/esm/models/favoritesMappers.js +0 -9
- package/esm/models/favoritesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -3793
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/liveTokenMappers.d.ts +0 -2
- package/esm/models/liveTokenMappers.d.ts.map +0 -1
- package/esm/models/liveTokenMappers.js +0 -9
- package/esm/models/liveTokenMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -89
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/myWorkbooksMappers.d.ts +0 -2
- package/esm/models/myWorkbooksMappers.d.ts.map +0 -1
- package/esm/models/myWorkbooksMappers.js +0 -9
- package/esm/models/myWorkbooksMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -41
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/proactiveDetectionConfigurationsMappers.d.ts +0 -2
- package/esm/models/proactiveDetectionConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/proactiveDetectionConfigurationsMappers.js +0 -9
- package/esm/models/proactiveDetectionConfigurationsMappers.js.map +0 -1
- package/esm/models/webTestLocationsMappers.d.ts +0 -2
- package/esm/models/webTestLocationsMappers.d.ts.map +0 -1
- package/esm/models/webTestLocationsMappers.js +0 -9
- package/esm/models/webTestLocationsMappers.js.map +0 -1
- package/esm/models/webTestsMappers.d.ts +0 -2
- package/esm/models/webTestsMappers.d.ts.map +0 -1
- package/esm/models/webTestsMappers.js +0 -9
- package/esm/models/webTestsMappers.js.map +0 -1
- package/esm/models/workItemConfigurationsMappers.d.ts +0 -2
- package/esm/models/workItemConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/workItemConfigurationsMappers.js +0 -9
- package/esm/models/workItemConfigurationsMappers.js.map +0 -1
- package/esm/models/workbookTemplatesMappers.d.ts +0 -2
- package/esm/models/workbookTemplatesMappers.d.ts.map +0 -1
- package/esm/models/workbookTemplatesMappers.js +0 -9
- package/esm/models/workbookTemplatesMappers.js.map +0 -1
- package/esm/models/workbooksMappers.d.ts +0 -2
- package/esm/models/workbooksMappers.d.ts.map +0 -1
- package/esm/models/workbooksMappers.js +0 -9
- package/esm/models/workbooksMappers.js.map +0 -1
- package/esm/operations/aPIKeys.d.ts +0 -109
- package/esm/operations/aPIKeys.d.ts.map +0 -1
- package/esm/operations/aPIKeys.js +0 -160
- package/esm/operations/aPIKeys.js.map +0 -1
- package/esm/operations/analyticsItems.d.ts +0 -139
- package/esm/operations/analyticsItems.d.ts.map +0 -1
- package/esm/operations/analyticsItems.js +0 -181
- package/esm/operations/analyticsItems.js.map +0 -1
- package/esm/operations/annotations.d.ts +0 -124
- package/esm/operations/annotations.d.ts.map +0 -1
- package/esm/operations/annotations.js +0 -184
- package/esm/operations/annotations.js.map +0 -1
- package/esm/operations/componentAvailableFeatures.d.ts +0 -34
- package/esm/operations/componentAvailableFeatures.d.ts.map +0 -1
- package/esm/operations/componentAvailableFeatures.js +0 -57
- package/esm/operations/componentAvailableFeatures.js.map +0 -1
- package/esm/operations/componentCurrentBillingFeatures.d.ts +0 -61
- package/esm/operations/componentCurrentBillingFeatures.d.ts.map +0 -1
- package/esm/operations/componentCurrentBillingFeatures.js +0 -94
- package/esm/operations/componentCurrentBillingFeatures.js.map +0 -1
- package/esm/operations/componentFeatureCapabilities.d.ts +0 -34
- package/esm/operations/componentFeatureCapabilities.d.ts.map +0 -1
- package/esm/operations/componentFeatureCapabilities.js +0 -57
- package/esm/operations/componentFeatureCapabilities.js.map +0 -1
- package/esm/operations/componentLinkedStorageAccountsOperations.d.ts +0 -109
- package/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +0 -1
- package/esm/operations/componentLinkedStorageAccountsOperations.js +0 -164
- package/esm/operations/componentLinkedStorageAccountsOperations.js.map +0 -1
- package/esm/operations/componentQuotaStatus.d.ts +0 -34
- package/esm/operations/componentQuotaStatus.d.ts.map +0 -1
- package/esm/operations/componentQuotaStatus.js +0 -57
- package/esm/operations/componentQuotaStatus.js.map +0 -1
- package/esm/operations/components.d.ts +0 -236
- package/esm/operations/components.d.ts.map +0 -1
- package/esm/operations/components.js +0 -349
- package/esm/operations/components.js.map +0 -1
- package/esm/operations/exportConfigurations.d.ts +0 -148
- package/esm/operations/exportConfigurations.d.ts.map +0 -1
- package/esm/operations/exportConfigurations.js +0 -220
- package/esm/operations/exportConfigurations.js.map +0 -1
- package/esm/operations/favorites.d.ts +0 -139
- package/esm/operations/favorites.d.ts.map +0 -1
- package/esm/operations/favorites.js +0 -213
- package/esm/operations/favorites.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/liveToken.d.ts +0 -31
- package/esm/operations/liveToken.d.ts.map +0 -1
- package/esm/operations/liveToken.js +0 -54
- package/esm/operations/liveToken.js.map +0 -1
- package/esm/operations/myWorkbooks.d.ts +0 -196
- package/esm/operations/myWorkbooks.d.ts.map +0 -1
- package/esm/operations/myWorkbooks.js +0 -297
- package/esm/operations/myWorkbooks.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -81
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -132
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/proactiveDetectionConfigurations.d.ts +0 -94
- package/esm/operations/proactiveDetectionConfigurations.d.ts.map +0 -1
- package/esm/operations/proactiveDetectionConfigurations.js +0 -140
- package/esm/operations/proactiveDetectionConfigurations.js.map +0 -1
- package/esm/operations/webTestLocations.d.ts +0 -34
- package/esm/operations/webTestLocations.d.ts.map +0 -1
- package/esm/operations/webTestLocations.js +0 -57
- package/esm/operations/webTestLocations.js.map +0 -1
- package/esm/operations/webTests.d.ts +0 -214
- package/esm/operations/webTests.d.ts.map +0 -1
- package/esm/operations/webTests.js +0 -334
- package/esm/operations/webTests.js.map +0 -1
- package/esm/operations/workItemConfigurations.d.ts +0 -169
- package/esm/operations/workItemConfigurations.d.ts.map +0 -1
- package/esm/operations/workItemConfigurations.js +0 -227
- package/esm/operations/workItemConfigurations.js.map +0 -1
- package/esm/operations/workbookTemplates.d.ts +0 -118
- package/esm/operations/workbookTemplates.d.ts.map +0 -1
- package/esm/operations/workbookTemplates.js +0 -194
- package/esm/operations/workbookTemplates.js.map +0 -1
- package/esm/operations/workbooks.d.ts +0 -256
- package/esm/operations/workbooks.d.ts.map +0 -1
- package/esm/operations/workbooks.js +0 -392
- package/esm/operations/workbooks.js.map +0 -1
- package/src/applicationInsightsManagementClientContext.ts +0 -65
- package/src/models/analyticsItemsMappers.ts +0 -13
- package/src/models/annotationsMappers.ts +0 -15
- package/src/models/componentAvailableFeaturesMappers.ts +0 -14
- package/src/models/componentCurrentBillingFeaturesMappers.ts +0 -13
- package/src/models/componentLinkedStorageAccountsOperationsMappers.ts +0 -42
- package/src/models/componentsMappers.ts +0 -46
- package/src/models/exportConfigurationsMappers.ts +0 -13
- package/src/models/liveTokenMappers.ts +0 -13
- package/src/models/myWorkbooksMappers.ts +0 -42
- package/src/models/operationsMappers.ts +0 -18
- package/src/models/proactiveDetectionConfigurationsMappers.ts +0 -40
- package/src/models/webTestLocationsMappers.ts +0 -13
- package/src/models/webTestsMappers.ts +0 -42
- package/src/models/workItemConfigurationsMappers.ts +0 -16
- package/src/models/workbookTemplatesMappers.ts +0 -44
- package/src/models/workbooksMappers.ts +0 -43
|
@@ -3,256 +3,366 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Workbooks } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
Workbook,
|
|
17
|
+
CategoryType,
|
|
18
|
+
WorkbooksListBySubscriptionNextOptionalParams,
|
|
19
|
+
WorkbooksListBySubscriptionOptionalParams,
|
|
20
|
+
WorkbooksListByResourceGroupNextOptionalParams,
|
|
21
|
+
WorkbooksListByResourceGroupOptionalParams,
|
|
22
|
+
WorkbooksRevisionsListNextOptionalParams,
|
|
23
|
+
WorkbooksRevisionsListOptionalParams,
|
|
24
|
+
WorkbooksListBySubscriptionResponse,
|
|
25
|
+
WorkbooksListByResourceGroupResponse,
|
|
26
|
+
WorkbooksGetOptionalParams,
|
|
27
|
+
WorkbooksGetResponse,
|
|
28
|
+
WorkbooksDeleteOptionalParams,
|
|
29
|
+
WorkbooksCreateOrUpdateOptionalParams,
|
|
30
|
+
WorkbooksCreateOrUpdateResponse,
|
|
31
|
+
WorkbooksUpdateOptionalParams,
|
|
32
|
+
WorkbooksUpdateResponse,
|
|
33
|
+
WorkbooksRevisionsListResponse,
|
|
34
|
+
WorkbooksRevisionGetOptionalParams,
|
|
35
|
+
WorkbooksRevisionGetResponse,
|
|
36
|
+
WorkbooksListBySubscriptionNextResponse,
|
|
37
|
+
WorkbooksListByResourceGroupNextResponse,
|
|
38
|
+
WorkbooksRevisionsListNextResponse
|
|
39
|
+
} from "../models";
|
|
15
40
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
41
|
+
/// <reference lib="esnext.asynciterable" />
|
|
42
|
+
/** Class containing Workbooks operations. */
|
|
43
|
+
export class WorkbooksImpl implements Workbooks {
|
|
44
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
19
45
|
|
|
20
46
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
47
|
+
* Initialize a new instance of the class Workbooks class.
|
|
48
|
+
* @param client Reference to the service client
|
|
23
49
|
*/
|
|
24
|
-
constructor(client:
|
|
50
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
25
51
|
this.client = client;
|
|
26
52
|
}
|
|
27
53
|
|
|
28
54
|
/**
|
|
29
55
|
* Get all private workbooks defined within a specified subscription and category.
|
|
30
|
-
* @param category Category of workbook to return.
|
|
31
|
-
*
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
56
|
+
* @param category Category of workbook to return.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
public listBySubscription(
|
|
60
|
+
category: CategoryType,
|
|
61
|
+
options?: WorkbooksListBySubscriptionOptionalParams
|
|
62
|
+
): PagedAsyncIterableIterator<Workbook> {
|
|
63
|
+
const iter = this.listBySubscriptionPagingAll(category, options);
|
|
64
|
+
return {
|
|
65
|
+
next() {
|
|
66
|
+
return iter.next();
|
|
67
|
+
},
|
|
68
|
+
[Symbol.asyncIterator]() {
|
|
69
|
+
return this;
|
|
70
|
+
},
|
|
71
|
+
byPage: () => {
|
|
72
|
+
return this.listBySubscriptionPagingPage(category, options);
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
private async *listBySubscriptionPagingPage(
|
|
78
|
+
category: CategoryType,
|
|
79
|
+
options?: WorkbooksListBySubscriptionOptionalParams
|
|
80
|
+
): AsyncIterableIterator<Workbook[]> {
|
|
81
|
+
let result = await this._listBySubscription(category, options);
|
|
82
|
+
yield result.value || [];
|
|
83
|
+
let continuationToken = result.nextLink;
|
|
84
|
+
while (continuationToken) {
|
|
85
|
+
result = await this._listBySubscriptionNext(
|
|
52
86
|
category,
|
|
87
|
+
continuationToken,
|
|
53
88
|
options
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
89
|
+
);
|
|
90
|
+
continuationToken = result.nextLink;
|
|
91
|
+
yield result.value || [];
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
private async *listBySubscriptionPagingAll(
|
|
96
|
+
category: CategoryType,
|
|
97
|
+
options?: WorkbooksListBySubscriptionOptionalParams
|
|
98
|
+
): AsyncIterableIterator<Workbook> {
|
|
99
|
+
for await (const page of this.listBySubscriptionPagingPage(
|
|
100
|
+
category,
|
|
101
|
+
options
|
|
102
|
+
)) {
|
|
103
|
+
yield* page;
|
|
104
|
+
}
|
|
57
105
|
}
|
|
58
106
|
|
|
59
107
|
/**
|
|
60
108
|
* Get all Workbooks defined within a specified resource group and category.
|
|
61
109
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
62
|
-
* @param category Category of workbook to return.
|
|
63
|
-
*
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
110
|
+
* @param category Category of workbook to return.
|
|
111
|
+
* @param options The options parameters.
|
|
112
|
+
*/
|
|
113
|
+
public listByResourceGroup(
|
|
114
|
+
resourceGroupName: string,
|
|
115
|
+
category: CategoryType,
|
|
116
|
+
options?: WorkbooksListByResourceGroupOptionalParams
|
|
117
|
+
): PagedAsyncIterableIterator<Workbook> {
|
|
118
|
+
const iter = this.listByResourceGroupPagingAll(
|
|
119
|
+
resourceGroupName,
|
|
120
|
+
category,
|
|
121
|
+
options
|
|
122
|
+
);
|
|
123
|
+
return {
|
|
124
|
+
next() {
|
|
125
|
+
return iter.next();
|
|
126
|
+
},
|
|
127
|
+
[Symbol.asyncIterator]() {
|
|
128
|
+
return this;
|
|
129
|
+
},
|
|
130
|
+
byPage: () => {
|
|
131
|
+
return this.listByResourceGroupPagingPage(
|
|
132
|
+
resourceGroupName,
|
|
133
|
+
category,
|
|
134
|
+
options
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
private async *listByResourceGroupPagingPage(
|
|
141
|
+
resourceGroupName: string,
|
|
142
|
+
category: CategoryType,
|
|
143
|
+
options?: WorkbooksListByResourceGroupOptionalParams
|
|
144
|
+
): AsyncIterableIterator<Workbook[]> {
|
|
145
|
+
let result = await this._listByResourceGroup(
|
|
146
|
+
resourceGroupName,
|
|
147
|
+
category,
|
|
148
|
+
options
|
|
149
|
+
);
|
|
150
|
+
yield result.value || [];
|
|
151
|
+
let continuationToken = result.nextLink;
|
|
152
|
+
while (continuationToken) {
|
|
153
|
+
result = await this._listByResourceGroupNext(
|
|
86
154
|
resourceGroupName,
|
|
87
155
|
category,
|
|
156
|
+
continuationToken,
|
|
88
157
|
options
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
158
|
+
);
|
|
159
|
+
continuationToken = result.nextLink;
|
|
160
|
+
yield result.value || [];
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
private async *listByResourceGroupPagingAll(
|
|
165
|
+
resourceGroupName: string,
|
|
166
|
+
category: CategoryType,
|
|
167
|
+
options?: WorkbooksListByResourceGroupOptionalParams
|
|
168
|
+
): AsyncIterableIterator<Workbook> {
|
|
169
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
170
|
+
resourceGroupName,
|
|
171
|
+
category,
|
|
172
|
+
options
|
|
173
|
+
)) {
|
|
174
|
+
yield* page;
|
|
175
|
+
}
|
|
92
176
|
}
|
|
93
177
|
|
|
94
178
|
/**
|
|
95
|
-
* Get
|
|
96
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
97
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
98
|
-
* @param [options] The optional parameters
|
|
99
|
-
* @returns Promise<Models.WorkbooksGetResponse>
|
|
100
|
-
*/
|
|
101
|
-
get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkbooksGetResponse>;
|
|
102
|
-
/**
|
|
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 callback The callback
|
|
106
|
-
*/
|
|
107
|
-
get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.Workbook>): void;
|
|
108
|
-
/**
|
|
179
|
+
* Get the revisions for the workbook defined by its resourceName.
|
|
109
180
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
110
181
|
* @param resourceName The name of the Application Insights component resource.
|
|
111
|
-
* @param options The
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
182
|
+
* @param options The options parameters.
|
|
183
|
+
*/
|
|
184
|
+
public listRevisionsList(
|
|
185
|
+
resourceGroupName: string,
|
|
186
|
+
resourceName: string,
|
|
187
|
+
options?: WorkbooksRevisionsListOptionalParams
|
|
188
|
+
): PagedAsyncIterableIterator<Workbook> {
|
|
189
|
+
const iter = this.revisionsListPagingAll(
|
|
190
|
+
resourceGroupName,
|
|
191
|
+
resourceName,
|
|
192
|
+
options
|
|
193
|
+
);
|
|
194
|
+
return {
|
|
195
|
+
next() {
|
|
196
|
+
return iter.next();
|
|
197
|
+
},
|
|
198
|
+
[Symbol.asyncIterator]() {
|
|
199
|
+
return this;
|
|
200
|
+
},
|
|
201
|
+
byPage: () => {
|
|
202
|
+
return this.revisionsListPagingPage(
|
|
203
|
+
resourceGroupName,
|
|
204
|
+
resourceName,
|
|
205
|
+
options
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
private async *revisionsListPagingPage(
|
|
212
|
+
resourceGroupName: string,
|
|
213
|
+
resourceName: string,
|
|
214
|
+
options?: WorkbooksRevisionsListOptionalParams
|
|
215
|
+
): AsyncIterableIterator<Workbook[]> {
|
|
216
|
+
let result = await this._revisionsList(
|
|
217
|
+
resourceGroupName,
|
|
218
|
+
resourceName,
|
|
219
|
+
options
|
|
220
|
+
);
|
|
221
|
+
yield result.value || [];
|
|
222
|
+
let continuationToken = result.nextLink;
|
|
223
|
+
while (continuationToken) {
|
|
224
|
+
result = await this._revisionsListNext(
|
|
118
225
|
resourceGroupName,
|
|
119
226
|
resourceName,
|
|
227
|
+
continuationToken,
|
|
120
228
|
options
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
229
|
+
);
|
|
230
|
+
continuationToken = result.nextLink;
|
|
231
|
+
yield result.value || [];
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
private async *revisionsListPagingAll(
|
|
236
|
+
resourceGroupName: string,
|
|
237
|
+
resourceName: string,
|
|
238
|
+
options?: WorkbooksRevisionsListOptionalParams
|
|
239
|
+
): AsyncIterableIterator<Workbook> {
|
|
240
|
+
for await (const page of this.revisionsListPagingPage(
|
|
241
|
+
resourceGroupName,
|
|
242
|
+
resourceName,
|
|
243
|
+
options
|
|
244
|
+
)) {
|
|
245
|
+
yield* page;
|
|
246
|
+
}
|
|
124
247
|
}
|
|
125
248
|
|
|
126
249
|
/**
|
|
127
|
-
*
|
|
128
|
-
* @param
|
|
129
|
-
* @param
|
|
130
|
-
* @param [options] The optional parameters
|
|
131
|
-
* @returns Promise<msRest.RestResponse>
|
|
132
|
-
*/
|
|
133
|
-
deleteMethod(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
134
|
-
/**
|
|
135
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
136
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
137
|
-
* @param callback The callback
|
|
250
|
+
* Get all private workbooks defined within a specified subscription and category.
|
|
251
|
+
* @param category Category of workbook to return.
|
|
252
|
+
* @param options The options parameters.
|
|
138
253
|
*/
|
|
139
|
-
|
|
254
|
+
private _listBySubscription(
|
|
255
|
+
category: CategoryType,
|
|
256
|
+
options?: WorkbooksListBySubscriptionOptionalParams
|
|
257
|
+
): Promise<WorkbooksListBySubscriptionResponse> {
|
|
258
|
+
return this.client.sendOperationRequest(
|
|
259
|
+
{ category, options },
|
|
260
|
+
listBySubscriptionOperationSpec
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
|
|
140
264
|
/**
|
|
265
|
+
* Get all Workbooks defined within a specified resource group and category.
|
|
141
266
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
142
|
-
* @param
|
|
143
|
-
* @param options The
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
267
|
+
* @param category Category of workbook to return.
|
|
268
|
+
* @param options The options parameters.
|
|
269
|
+
*/
|
|
270
|
+
private _listByResourceGroup(
|
|
271
|
+
resourceGroupName: string,
|
|
272
|
+
category: CategoryType,
|
|
273
|
+
options?: WorkbooksListByResourceGroupOptionalParams
|
|
274
|
+
): Promise<WorkbooksListByResourceGroupResponse> {
|
|
148
275
|
return this.client.sendOperationRequest(
|
|
149
|
-
{
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
options
|
|
153
|
-
},
|
|
154
|
-
deleteMethodOperationSpec,
|
|
155
|
-
callback);
|
|
276
|
+
{ resourceGroupName, category, options },
|
|
277
|
+
listByResourceGroupOperationSpec
|
|
278
|
+
);
|
|
156
279
|
}
|
|
157
280
|
|
|
158
281
|
/**
|
|
159
|
-
*
|
|
282
|
+
* Get a single workbook by its resourceName.
|
|
160
283
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
161
284
|
* @param resourceName The name of the Application Insights component resource.
|
|
162
|
-
* @param
|
|
163
|
-
* @param [options] The optional parameters
|
|
164
|
-
* @returns Promise<Models.WorkbooksCreateOrUpdateResponse>
|
|
285
|
+
* @param options The options parameters.
|
|
165
286
|
*/
|
|
166
|
-
|
|
287
|
+
get(
|
|
288
|
+
resourceGroupName: string,
|
|
289
|
+
resourceName: string,
|
|
290
|
+
options?: WorkbooksGetOptionalParams
|
|
291
|
+
): Promise<WorkbooksGetResponse> {
|
|
292
|
+
return this.client.sendOperationRequest(
|
|
293
|
+
{ resourceGroupName, resourceName, options },
|
|
294
|
+
getOperationSpec
|
|
295
|
+
);
|
|
296
|
+
}
|
|
297
|
+
|
|
167
298
|
/**
|
|
299
|
+
* Delete a workbook.
|
|
168
300
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
169
301
|
* @param resourceName The name of the Application Insights component resource.
|
|
170
|
-
* @param
|
|
171
|
-
* @param callback The callback
|
|
302
|
+
* @param options The options parameters.
|
|
172
303
|
*/
|
|
173
|
-
|
|
304
|
+
delete(
|
|
305
|
+
resourceGroupName: string,
|
|
306
|
+
resourceName: string,
|
|
307
|
+
options?: WorkbooksDeleteOptionalParams
|
|
308
|
+
): Promise<void> {
|
|
309
|
+
return this.client.sendOperationRequest(
|
|
310
|
+
{ resourceGroupName, resourceName, options },
|
|
311
|
+
deleteOperationSpec
|
|
312
|
+
);
|
|
313
|
+
}
|
|
314
|
+
|
|
174
315
|
/**
|
|
316
|
+
* Create a new workbook.
|
|
175
317
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
176
318
|
* @param resourceName The name of the Application Insights component resource.
|
|
177
319
|
* @param workbookProperties Properties that need to be specified to create a new workbook.
|
|
178
|
-
* @param options The
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
320
|
+
* @param options The options parameters.
|
|
321
|
+
*/
|
|
322
|
+
createOrUpdate(
|
|
323
|
+
resourceGroupName: string,
|
|
324
|
+
resourceName: string,
|
|
325
|
+
workbookProperties: Workbook,
|
|
326
|
+
options?: WorkbooksCreateOrUpdateOptionalParams
|
|
327
|
+
): Promise<WorkbooksCreateOrUpdateResponse> {
|
|
183
328
|
return this.client.sendOperationRequest(
|
|
184
|
-
{
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
workbookProperties,
|
|
188
|
-
options
|
|
189
|
-
},
|
|
190
|
-
createOrUpdateOperationSpec,
|
|
191
|
-
callback) as Promise<Models.WorkbooksCreateOrUpdateResponse>;
|
|
329
|
+
{ resourceGroupName, resourceName, workbookProperties, options },
|
|
330
|
+
createOrUpdateOperationSpec
|
|
331
|
+
);
|
|
192
332
|
}
|
|
193
333
|
|
|
194
334
|
/**
|
|
195
335
|
* Updates a workbook that has already been added.
|
|
196
336
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
197
337
|
* @param resourceName The name of the Application Insights component resource.
|
|
198
|
-
* @param
|
|
199
|
-
* @returns Promise<Models.WorkbooksUpdateResponse>
|
|
338
|
+
* @param options The options parameters.
|
|
200
339
|
*/
|
|
201
|
-
update(
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
*/
|
|
207
|
-
update(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.Workbook>): void;
|
|
208
|
-
/**
|
|
209
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
210
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
211
|
-
* @param options The optional parameters
|
|
212
|
-
* @param callback The callback
|
|
213
|
-
*/
|
|
214
|
-
update(resourceGroupName: string, resourceName: string, options: Models.WorkbooksUpdateOptionalParams, callback: msRest.ServiceCallback<Models.Workbook>): void;
|
|
215
|
-
update(resourceGroupName: string, resourceName: string, options?: Models.WorkbooksUpdateOptionalParams | msRest.ServiceCallback<Models.Workbook>, callback?: msRest.ServiceCallback<Models.Workbook>): Promise<Models.WorkbooksUpdateResponse> {
|
|
340
|
+
update(
|
|
341
|
+
resourceGroupName: string,
|
|
342
|
+
resourceName: string,
|
|
343
|
+
options?: WorkbooksUpdateOptionalParams
|
|
344
|
+
): Promise<WorkbooksUpdateResponse> {
|
|
216
345
|
return this.client.sendOperationRequest(
|
|
217
|
-
{
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
options
|
|
221
|
-
},
|
|
222
|
-
updateOperationSpec,
|
|
223
|
-
callback) as Promise<Models.WorkbooksUpdateResponse>;
|
|
346
|
+
{ resourceGroupName, resourceName, options },
|
|
347
|
+
updateOperationSpec
|
|
348
|
+
);
|
|
224
349
|
}
|
|
225
350
|
|
|
226
351
|
/**
|
|
227
352
|
* Get the revisions for the workbook defined by its resourceName.
|
|
228
353
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
229
354
|
* @param resourceName The name of the Application Insights component resource.
|
|
230
|
-
* @param
|
|
231
|
-
* @returns Promise<Models.WorkbooksRevisionsListResponse>
|
|
355
|
+
* @param options The options parameters.
|
|
232
356
|
*/
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
*/
|
|
239
|
-
revisionsList(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.WorkbooksListResult>): void;
|
|
240
|
-
/**
|
|
241
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
242
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
243
|
-
* @param options The optional parameters
|
|
244
|
-
* @param callback The callback
|
|
245
|
-
*/
|
|
246
|
-
revisionsList(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkbooksListResult>): void;
|
|
247
|
-
revisionsList(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkbooksListResult>, callback?: msRest.ServiceCallback<Models.WorkbooksListResult>): Promise<Models.WorkbooksRevisionsListResponse> {
|
|
357
|
+
private _revisionsList(
|
|
358
|
+
resourceGroupName: string,
|
|
359
|
+
resourceName: string,
|
|
360
|
+
options?: WorkbooksRevisionsListOptionalParams
|
|
361
|
+
): Promise<WorkbooksRevisionsListResponse> {
|
|
248
362
|
return this.client.sendOperationRequest(
|
|
249
|
-
{
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
options
|
|
253
|
-
},
|
|
254
|
-
revisionsListOperationSpec,
|
|
255
|
-
callback) as Promise<Models.WorkbooksRevisionsListResponse>;
|
|
363
|
+
{ resourceGroupName, resourceName, options },
|
|
364
|
+
revisionsListOperationSpec
|
|
365
|
+
);
|
|
256
366
|
}
|
|
257
367
|
|
|
258
368
|
/**
|
|
@@ -260,153 +370,82 @@ export class Workbooks {
|
|
|
260
370
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
261
371
|
* @param resourceName The name of the Application Insights component resource.
|
|
262
372
|
* @param revisionId The id of the workbook's revision.
|
|
263
|
-
* @param
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
* @param callback The callback
|
|
272
|
-
*/
|
|
273
|
-
revisionGet(resourceGroupName: string, resourceName: string, revisionId: string, callback: msRest.ServiceCallback<Models.Workbook>): void;
|
|
274
|
-
/**
|
|
275
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
276
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
277
|
-
* @param revisionId The id of the workbook's revision.
|
|
278
|
-
* @param options The optional parameters
|
|
279
|
-
* @param callback The callback
|
|
280
|
-
*/
|
|
281
|
-
revisionGet(resourceGroupName: string, resourceName: string, revisionId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Workbook>): void;
|
|
282
|
-
revisionGet(resourceGroupName: string, resourceName: string, revisionId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Workbook>, callback?: msRest.ServiceCallback<Models.Workbook>): Promise<Models.WorkbooksRevisionGetResponse> {
|
|
373
|
+
* @param options The options parameters.
|
|
374
|
+
*/
|
|
375
|
+
revisionGet(
|
|
376
|
+
resourceGroupName: string,
|
|
377
|
+
resourceName: string,
|
|
378
|
+
revisionId: string,
|
|
379
|
+
options?: WorkbooksRevisionGetOptionalParams
|
|
380
|
+
): Promise<WorkbooksRevisionGetResponse> {
|
|
283
381
|
return this.client.sendOperationRequest(
|
|
284
|
-
{
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
revisionId,
|
|
288
|
-
options
|
|
289
|
-
},
|
|
290
|
-
revisionGetOperationSpec,
|
|
291
|
-
callback) as Promise<Models.WorkbooksRevisionGetResponse>;
|
|
382
|
+
{ resourceGroupName, resourceName, revisionId, options },
|
|
383
|
+
revisionGetOperationSpec
|
|
384
|
+
);
|
|
292
385
|
}
|
|
293
386
|
|
|
294
387
|
/**
|
|
295
|
-
*
|
|
296
|
-
* @param
|
|
297
|
-
* @param
|
|
298
|
-
*
|
|
299
|
-
* @param [options] The optional parameters
|
|
300
|
-
* @returns Promise<Models.WorkbooksListBySubscriptionNextResponse>
|
|
388
|
+
* ListBySubscriptionNext
|
|
389
|
+
* @param category Category of workbook to return.
|
|
390
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
391
|
+
* @param options The options parameters.
|
|
301
392
|
*/
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
* @param callback The callback
|
|
308
|
-
*/
|
|
309
|
-
listBySubscriptionNext(nextPageLink: string, category: Models.CategoryType, callback: msRest.ServiceCallback<Models.WorkbooksListResult>): void;
|
|
310
|
-
/**
|
|
311
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
312
|
-
* @param category Category of workbook to return. Possible values include: 'workbook', 'TSG',
|
|
313
|
-
* 'performance', 'retention'
|
|
314
|
-
* @param options The optional parameters
|
|
315
|
-
* @param callback The callback
|
|
316
|
-
*/
|
|
317
|
-
listBySubscriptionNext(nextPageLink: string, category: Models.CategoryType, options: Models.WorkbooksListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback<Models.WorkbooksListResult>): void;
|
|
318
|
-
listBySubscriptionNext(nextPageLink: string, category: Models.CategoryType, options?: Models.WorkbooksListBySubscriptionNextOptionalParams | msRest.ServiceCallback<Models.WorkbooksListResult>, callback?: msRest.ServiceCallback<Models.WorkbooksListResult>): Promise<Models.WorkbooksListBySubscriptionNextResponse> {
|
|
393
|
+
private _listBySubscriptionNext(
|
|
394
|
+
category: CategoryType,
|
|
395
|
+
nextLink: string,
|
|
396
|
+
options?: WorkbooksListBySubscriptionNextOptionalParams
|
|
397
|
+
): Promise<WorkbooksListBySubscriptionNextResponse> {
|
|
319
398
|
return this.client.sendOperationRequest(
|
|
320
|
-
{
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
options
|
|
324
|
-
},
|
|
325
|
-
listBySubscriptionNextOperationSpec,
|
|
326
|
-
callback) as Promise<Models.WorkbooksListBySubscriptionNextResponse>;
|
|
399
|
+
{ category, nextLink, options },
|
|
400
|
+
listBySubscriptionNextOperationSpec
|
|
401
|
+
);
|
|
327
402
|
}
|
|
328
403
|
|
|
329
404
|
/**
|
|
330
|
-
*
|
|
331
|
-
* @param
|
|
332
|
-
* @param category Category of workbook to return.
|
|
333
|
-
*
|
|
334
|
-
* @param
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
* @param callback The callback
|
|
343
|
-
*/
|
|
344
|
-
listByResourceGroupNext(nextPageLink: string, category: Models.CategoryType, callback: msRest.ServiceCallback<Models.WorkbooksListResult>): void;
|
|
345
|
-
/**
|
|
346
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
347
|
-
* @param category Category of workbook to return. Possible values include: 'workbook', 'TSG',
|
|
348
|
-
* 'performance', 'retention'
|
|
349
|
-
* @param options The optional parameters
|
|
350
|
-
* @param callback The callback
|
|
351
|
-
*/
|
|
352
|
-
listByResourceGroupNext(nextPageLink: string, category: Models.CategoryType, options: Models.WorkbooksListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback<Models.WorkbooksListResult>): void;
|
|
353
|
-
listByResourceGroupNext(nextPageLink: string, category: Models.CategoryType, options?: Models.WorkbooksListByResourceGroupNextOptionalParams | msRest.ServiceCallback<Models.WorkbooksListResult>, callback?: msRest.ServiceCallback<Models.WorkbooksListResult>): Promise<Models.WorkbooksListByResourceGroupNextResponse> {
|
|
405
|
+
* ListByResourceGroupNext
|
|
406
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
407
|
+
* @param category Category of workbook to return.
|
|
408
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
409
|
+
* @param options The options parameters.
|
|
410
|
+
*/
|
|
411
|
+
private _listByResourceGroupNext(
|
|
412
|
+
resourceGroupName: string,
|
|
413
|
+
category: CategoryType,
|
|
414
|
+
nextLink: string,
|
|
415
|
+
options?: WorkbooksListByResourceGroupNextOptionalParams
|
|
416
|
+
): Promise<WorkbooksListByResourceGroupNextResponse> {
|
|
354
417
|
return this.client.sendOperationRequest(
|
|
355
|
-
{
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
options
|
|
359
|
-
},
|
|
360
|
-
listByResourceGroupNextOperationSpec,
|
|
361
|
-
callback) as Promise<Models.WorkbooksListByResourceGroupNextResponse>;
|
|
418
|
+
{ resourceGroupName, category, nextLink, options },
|
|
419
|
+
listByResourceGroupNextOperationSpec
|
|
420
|
+
);
|
|
362
421
|
}
|
|
363
422
|
|
|
364
423
|
/**
|
|
365
|
-
*
|
|
366
|
-
* @param
|
|
367
|
-
* @param
|
|
368
|
-
* @
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
378
|
-
* @param options The optional parameters
|
|
379
|
-
* @param callback The callback
|
|
380
|
-
*/
|
|
381
|
-
revisionsListNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkbooksListResult>): void;
|
|
382
|
-
revisionsListNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkbooksListResult>, callback?: msRest.ServiceCallback<Models.WorkbooksListResult>): Promise<Models.WorkbooksRevisionsListNextResponse> {
|
|
424
|
+
* RevisionsListNext
|
|
425
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
426
|
+
* @param resourceName The name of the Application Insights component resource.
|
|
427
|
+
* @param nextLink The nextLink from the previous successful call to the RevisionsList method.
|
|
428
|
+
* @param options The options parameters.
|
|
429
|
+
*/
|
|
430
|
+
private _revisionsListNext(
|
|
431
|
+
resourceGroupName: string,
|
|
432
|
+
resourceName: string,
|
|
433
|
+
nextLink: string,
|
|
434
|
+
options?: WorkbooksRevisionsListNextOptionalParams
|
|
435
|
+
): Promise<WorkbooksRevisionsListNextResponse> {
|
|
383
436
|
return this.client.sendOperationRequest(
|
|
384
|
-
{
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
},
|
|
388
|
-
revisionsListNextOperationSpec,
|
|
389
|
-
callback) as Promise<Models.WorkbooksRevisionsListNextResponse>;
|
|
437
|
+
{ resourceGroupName, resourceName, nextLink, options },
|
|
438
|
+
revisionsListNextOperationSpec
|
|
439
|
+
);
|
|
390
440
|
}
|
|
391
441
|
}
|
|
392
|
-
|
|
393
442
|
// Operation Specifications
|
|
394
|
-
const serializer =
|
|
395
|
-
|
|
443
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
444
|
+
|
|
445
|
+
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
446
|
+
path:
|
|
447
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks",
|
|
396
448
|
httpMethod: "GET",
|
|
397
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks",
|
|
398
|
-
urlParameters: [
|
|
399
|
-
Parameters.subscriptionId
|
|
400
|
-
],
|
|
401
|
-
queryParameters: [
|
|
402
|
-
Parameters.category,
|
|
403
|
-
Parameters.tags,
|
|
404
|
-
Parameters.canFetchContent,
|
|
405
|
-
Parameters.apiVersion4
|
|
406
|
-
],
|
|
407
|
-
headerParameters: [
|
|
408
|
-
Parameters.acceptLanguage
|
|
409
|
-
],
|
|
410
449
|
responses: {
|
|
411
450
|
200: {
|
|
412
451
|
bodyMapper: Mappers.WorkbooksListResult
|
|
@@ -415,26 +454,20 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = {
|
|
|
415
454
|
bodyMapper: Mappers.WorkbookError
|
|
416
455
|
}
|
|
417
456
|
},
|
|
418
|
-
serializer
|
|
419
|
-
};
|
|
420
|
-
|
|
421
|
-
const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
422
|
-
httpMethod: "GET",
|
|
423
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks",
|
|
424
|
-
urlParameters: [
|
|
425
|
-
Parameters.subscriptionId,
|
|
426
|
-
Parameters.resourceGroupName
|
|
427
|
-
],
|
|
428
457
|
queryParameters: [
|
|
429
|
-
Parameters.category,
|
|
430
|
-
Parameters.tags,
|
|
431
|
-
Parameters.sourceId,
|
|
432
458
|
Parameters.canFetchContent,
|
|
433
|
-
Parameters.
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
Parameters.acceptLanguage
|
|
459
|
+
Parameters.tags,
|
|
460
|
+
Parameters.category,
|
|
461
|
+
Parameters.apiVersion3
|
|
437
462
|
],
|
|
463
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
464
|
+
headerParameters: [Parameters.accept],
|
|
465
|
+
serializer
|
|
466
|
+
};
|
|
467
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
468
|
+
path:
|
|
469
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks",
|
|
470
|
+
httpMethod: "GET",
|
|
438
471
|
responses: {
|
|
439
472
|
200: {
|
|
440
473
|
bodyMapper: Mappers.WorkbooksListResult
|
|
@@ -443,23 +476,25 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
|
443
476
|
bodyMapper: Mappers.WorkbookError
|
|
444
477
|
}
|
|
445
478
|
},
|
|
446
|
-
serializer
|
|
447
|
-
};
|
|
448
|
-
|
|
449
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
450
|
-
httpMethod: "GET",
|
|
451
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
|
|
452
|
-
urlParameters: [
|
|
453
|
-
Parameters.subscriptionId,
|
|
454
|
-
Parameters.resourceGroupName,
|
|
455
|
-
Parameters.resourceName
|
|
456
|
-
],
|
|
457
479
|
queryParameters: [
|
|
458
|
-
Parameters.
|
|
480
|
+
Parameters.canFetchContent,
|
|
481
|
+
Parameters.tags,
|
|
482
|
+
Parameters.category,
|
|
483
|
+
Parameters.sourceId,
|
|
484
|
+
Parameters.apiVersion3
|
|
459
485
|
],
|
|
460
|
-
|
|
461
|
-
Parameters
|
|
486
|
+
urlParameters: [
|
|
487
|
+
Parameters.$host,
|
|
488
|
+
Parameters.resourceGroupName,
|
|
489
|
+
Parameters.subscriptionId
|
|
462
490
|
],
|
|
491
|
+
headerParameters: [Parameters.accept],
|
|
492
|
+
serializer
|
|
493
|
+
};
|
|
494
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
495
|
+
path:
|
|
496
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
|
|
497
|
+
httpMethod: "GET",
|
|
463
498
|
responses: {
|
|
464
499
|
200: {
|
|
465
500
|
bodyMapper: Mappers.Workbook
|
|
@@ -468,23 +503,20 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
468
503
|
bodyMapper: Mappers.WorkbookError
|
|
469
504
|
}
|
|
470
505
|
},
|
|
471
|
-
|
|
472
|
-
};
|
|
473
|
-
|
|
474
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
475
|
-
httpMethod: "DELETE",
|
|
476
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
|
|
506
|
+
queryParameters: [Parameters.apiVersion3],
|
|
477
507
|
urlParameters: [
|
|
478
|
-
Parameters
|
|
508
|
+
Parameters.$host,
|
|
479
509
|
Parameters.resourceGroupName,
|
|
510
|
+
Parameters.subscriptionId,
|
|
480
511
|
Parameters.resourceName
|
|
481
512
|
],
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
513
|
+
headerParameters: [Parameters.accept],
|
|
514
|
+
serializer
|
|
515
|
+
};
|
|
516
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
517
|
+
path:
|
|
518
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
|
|
519
|
+
httpMethod: "DELETE",
|
|
488
520
|
responses: {
|
|
489
521
|
200: {},
|
|
490
522
|
204: {},
|
|
@@ -492,31 +524,20 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
|
492
524
|
bodyMapper: Mappers.WorkbookError
|
|
493
525
|
}
|
|
494
526
|
},
|
|
495
|
-
|
|
496
|
-
};
|
|
497
|
-
|
|
498
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
499
|
-
httpMethod: "PUT",
|
|
500
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
|
|
527
|
+
queryParameters: [Parameters.apiVersion3],
|
|
501
528
|
urlParameters: [
|
|
502
|
-
Parameters
|
|
529
|
+
Parameters.$host,
|
|
503
530
|
Parameters.resourceGroupName,
|
|
531
|
+
Parameters.subscriptionId,
|
|
504
532
|
Parameters.resourceName
|
|
505
533
|
],
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
requestBody: {
|
|
514
|
-
parameterPath: "workbookProperties",
|
|
515
|
-
mapper: {
|
|
516
|
-
...Mappers.Workbook,
|
|
517
|
-
required: true
|
|
518
|
-
}
|
|
519
|
-
},
|
|
534
|
+
headerParameters: [Parameters.accept],
|
|
535
|
+
serializer
|
|
536
|
+
};
|
|
537
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
538
|
+
path:
|
|
539
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
|
|
540
|
+
httpMethod: "PUT",
|
|
520
541
|
responses: {
|
|
521
542
|
200: {
|
|
522
543
|
bodyMapper: Mappers.Workbook
|
|
@@ -528,31 +549,22 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
|
528
549
|
bodyMapper: Mappers.WorkbookError
|
|
529
550
|
}
|
|
530
551
|
},
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
535
|
-
httpMethod: "PATCH",
|
|
536
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
|
|
552
|
+
requestBody: Parameters.workbookProperties1,
|
|
553
|
+
queryParameters: [Parameters.sourceId, Parameters.apiVersion3],
|
|
537
554
|
urlParameters: [
|
|
538
|
-
Parameters
|
|
555
|
+
Parameters.$host,
|
|
539
556
|
Parameters.resourceGroupName,
|
|
557
|
+
Parameters.subscriptionId,
|
|
540
558
|
Parameters.resourceName
|
|
541
559
|
],
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
parameterPath: [
|
|
551
|
-
"options",
|
|
552
|
-
"workbookUpdateParameters"
|
|
553
|
-
],
|
|
554
|
-
mapper: Mappers.WorkbookUpdateParameters
|
|
555
|
-
},
|
|
560
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
561
|
+
mediaType: "json",
|
|
562
|
+
serializer
|
|
563
|
+
};
|
|
564
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
565
|
+
path:
|
|
566
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
|
|
567
|
+
httpMethod: "PATCH",
|
|
556
568
|
responses: {
|
|
557
569
|
201: {
|
|
558
570
|
bodyMapper: Mappers.Workbook
|
|
@@ -561,23 +573,22 @@ const updateOperationSpec: msRest.OperationSpec = {
|
|
|
561
573
|
bodyMapper: Mappers.WorkbookError
|
|
562
574
|
}
|
|
563
575
|
},
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
const revisionsListOperationSpec: msRest.OperationSpec = {
|
|
568
|
-
httpMethod: "GET",
|
|
569
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions",
|
|
576
|
+
requestBody: Parameters.workbookUpdateParameters,
|
|
577
|
+
queryParameters: [Parameters.sourceId, Parameters.apiVersion3],
|
|
570
578
|
urlParameters: [
|
|
571
|
-
Parameters
|
|
579
|
+
Parameters.$host,
|
|
572
580
|
Parameters.resourceGroupName,
|
|
581
|
+
Parameters.subscriptionId,
|
|
573
582
|
Parameters.resourceName
|
|
574
583
|
],
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
584
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
585
|
+
mediaType: "json",
|
|
586
|
+
serializer
|
|
587
|
+
};
|
|
588
|
+
const revisionsListOperationSpec: coreClient.OperationSpec = {
|
|
589
|
+
path:
|
|
590
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions",
|
|
591
|
+
httpMethod: "GET",
|
|
581
592
|
responses: {
|
|
582
593
|
200: {
|
|
583
594
|
bodyMapper: Mappers.WorkbooksListResult
|
|
@@ -586,24 +597,20 @@ const revisionsListOperationSpec: msRest.OperationSpec = {
|
|
|
586
597
|
bodyMapper: Mappers.WorkbookError
|
|
587
598
|
}
|
|
588
599
|
},
|
|
589
|
-
|
|
590
|
-
};
|
|
591
|
-
|
|
592
|
-
const revisionGetOperationSpec: msRest.OperationSpec = {
|
|
593
|
-
httpMethod: "GET",
|
|
594
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions/{revisionId}",
|
|
600
|
+
queryParameters: [Parameters.apiVersion3],
|
|
595
601
|
urlParameters: [
|
|
596
|
-
Parameters
|
|
602
|
+
Parameters.$host,
|
|
597
603
|
Parameters.resourceGroupName,
|
|
598
|
-
Parameters.
|
|
599
|
-
Parameters.
|
|
600
|
-
],
|
|
601
|
-
queryParameters: [
|
|
602
|
-
Parameters.apiVersion4
|
|
603
|
-
],
|
|
604
|
-
headerParameters: [
|
|
605
|
-
Parameters.acceptLanguage
|
|
604
|
+
Parameters.subscriptionId,
|
|
605
|
+
Parameters.resourceName
|
|
606
606
|
],
|
|
607
|
+
headerParameters: [Parameters.accept],
|
|
608
|
+
serializer
|
|
609
|
+
};
|
|
610
|
+
const revisionGetOperationSpec: coreClient.OperationSpec = {
|
|
611
|
+
path:
|
|
612
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions/{revisionId}",
|
|
613
|
+
httpMethod: "GET",
|
|
607
614
|
responses: {
|
|
608
615
|
200: {
|
|
609
616
|
bodyMapper: Mappers.Workbook
|
|
@@ -612,25 +619,20 @@ const revisionGetOperationSpec: msRest.OperationSpec = {
|
|
|
612
619
|
bodyMapper: Mappers.WorkbookError
|
|
613
620
|
}
|
|
614
621
|
},
|
|
622
|
+
queryParameters: [Parameters.apiVersion3],
|
|
623
|
+
urlParameters: [
|
|
624
|
+
Parameters.$host,
|
|
625
|
+
Parameters.resourceGroupName,
|
|
626
|
+
Parameters.subscriptionId,
|
|
627
|
+
Parameters.resourceName,
|
|
628
|
+
Parameters.revisionId
|
|
629
|
+
],
|
|
630
|
+
headerParameters: [Parameters.accept],
|
|
615
631
|
serializer
|
|
616
632
|
};
|
|
617
|
-
|
|
618
|
-
const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
619
|
-
httpMethod: "GET",
|
|
620
|
-
baseUrl: "https://management.azure.com",
|
|
633
|
+
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
621
634
|
path: "{nextLink}",
|
|
622
|
-
|
|
623
|
-
Parameters.nextPageLink
|
|
624
|
-
],
|
|
625
|
-
queryParameters: [
|
|
626
|
-
Parameters.category,
|
|
627
|
-
Parameters.tags,
|
|
628
|
-
Parameters.canFetchContent,
|
|
629
|
-
Parameters.apiVersion4
|
|
630
|
-
],
|
|
631
|
-
headerParameters: [
|
|
632
|
-
Parameters.acceptLanguage
|
|
633
|
-
],
|
|
635
|
+
httpMethod: "GET",
|
|
634
636
|
responses: {
|
|
635
637
|
200: {
|
|
636
638
|
bodyMapper: Mappers.WorkbooksListResult
|
|
@@ -639,26 +641,23 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
|
639
641
|
bodyMapper: Mappers.WorkbookError
|
|
640
642
|
}
|
|
641
643
|
},
|
|
642
|
-
serializer
|
|
643
|
-
};
|
|
644
|
-
|
|
645
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
646
|
-
httpMethod: "GET",
|
|
647
|
-
baseUrl: "https://management.azure.com",
|
|
648
|
-
path: "{nextLink}",
|
|
649
|
-
urlParameters: [
|
|
650
|
-
Parameters.nextPageLink
|
|
651
|
-
],
|
|
652
644
|
queryParameters: [
|
|
653
|
-
Parameters.category,
|
|
654
|
-
Parameters.tags,
|
|
655
|
-
Parameters.sourceId,
|
|
656
645
|
Parameters.canFetchContent,
|
|
657
|
-
Parameters.
|
|
646
|
+
Parameters.tags,
|
|
647
|
+
Parameters.category,
|
|
648
|
+
Parameters.apiVersion3
|
|
658
649
|
],
|
|
659
|
-
|
|
660
|
-
Parameters
|
|
650
|
+
urlParameters: [
|
|
651
|
+
Parameters.$host,
|
|
652
|
+
Parameters.subscriptionId,
|
|
653
|
+
Parameters.nextLink
|
|
661
654
|
],
|
|
655
|
+
headerParameters: [Parameters.accept],
|
|
656
|
+
serializer
|
|
657
|
+
};
|
|
658
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
659
|
+
path: "{nextLink}",
|
|
660
|
+
httpMethod: "GET",
|
|
662
661
|
responses: {
|
|
663
662
|
200: {
|
|
664
663
|
bodyMapper: Mappers.WorkbooksListResult
|
|
@@ -667,22 +666,25 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
|
667
666
|
bodyMapper: Mappers.WorkbookError
|
|
668
667
|
}
|
|
669
668
|
},
|
|
670
|
-
serializer
|
|
671
|
-
};
|
|
672
|
-
|
|
673
|
-
const revisionsListNextOperationSpec: msRest.OperationSpec = {
|
|
674
|
-
httpMethod: "GET",
|
|
675
|
-
baseUrl: "https://management.azure.com",
|
|
676
|
-
path: "{nextLink}",
|
|
677
|
-
urlParameters: [
|
|
678
|
-
Parameters.nextPageLink
|
|
679
|
-
],
|
|
680
669
|
queryParameters: [
|
|
681
|
-
Parameters.
|
|
670
|
+
Parameters.canFetchContent,
|
|
671
|
+
Parameters.tags,
|
|
672
|
+
Parameters.category,
|
|
673
|
+
Parameters.sourceId,
|
|
674
|
+
Parameters.apiVersion3
|
|
682
675
|
],
|
|
683
|
-
|
|
684
|
-
Parameters
|
|
676
|
+
urlParameters: [
|
|
677
|
+
Parameters.$host,
|
|
678
|
+
Parameters.resourceGroupName,
|
|
679
|
+
Parameters.subscriptionId,
|
|
680
|
+
Parameters.nextLink
|
|
685
681
|
],
|
|
682
|
+
headerParameters: [Parameters.accept],
|
|
683
|
+
serializer
|
|
684
|
+
};
|
|
685
|
+
const revisionsListNextOperationSpec: coreClient.OperationSpec = {
|
|
686
|
+
path: "{nextLink}",
|
|
687
|
+
httpMethod: "GET",
|
|
686
688
|
responses: {
|
|
687
689
|
200: {
|
|
688
690
|
bodyMapper: Mappers.WorkbooksListResult
|
|
@@ -691,5 +693,14 @@ const revisionsListNextOperationSpec: msRest.OperationSpec = {
|
|
|
691
693
|
bodyMapper: Mappers.WorkbookError
|
|
692
694
|
}
|
|
693
695
|
},
|
|
696
|
+
queryParameters: [Parameters.apiVersion3],
|
|
697
|
+
urlParameters: [
|
|
698
|
+
Parameters.$host,
|
|
699
|
+
Parameters.resourceGroupName,
|
|
700
|
+
Parameters.subscriptionId,
|
|
701
|
+
Parameters.resourceName,
|
|
702
|
+
Parameters.nextLink
|
|
703
|
+
],
|
|
704
|
+
headerParameters: [Parameters.accept],
|
|
694
705
|
serializer
|
|
695
706
|
};
|