@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
|
@@ -1,128 +1,315 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
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";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
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";
|
|
16
40
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
41
|
+
/// <reference lib="esnext.asynciterable" />
|
|
42
|
+
/** Class containing Workbooks operations. */
|
|
43
|
+
export class WorkbooksImpl implements Workbooks {
|
|
44
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
20
45
|
|
|
21
46
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
47
|
+
* Initialize a new instance of the class Workbooks class.
|
|
48
|
+
* @param client Reference to the service client
|
|
24
49
|
*/
|
|
25
|
-
constructor(client:
|
|
50
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
26
51
|
this.client = client;
|
|
27
52
|
}
|
|
28
53
|
|
|
29
54
|
/**
|
|
30
|
-
* Get all
|
|
31
|
-
* @param
|
|
32
|
-
* @param
|
|
33
|
-
* 'performance', 'retention'
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.WorkbooksListByResourceGroupResponse>
|
|
36
|
-
*/
|
|
37
|
-
listByResourceGroup(resourceGroupName: string, category: Models.CategoryType, options?: Models.WorkbooksListByResourceGroupOptionalParams): Promise<Models.WorkbooksListByResourceGroupResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
-
* @param category Category of workbook to return. Possible values include: 'workbook', 'TSG',
|
|
41
|
-
* 'performance', 'retention'
|
|
42
|
-
* @param callback The callback
|
|
55
|
+
* Get all private workbooks defined within a specified subscription and category.
|
|
56
|
+
* @param category Category of workbook to return.
|
|
57
|
+
* @param options The options parameters.
|
|
43
58
|
*/
|
|
44
|
-
|
|
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(
|
|
86
|
+
category,
|
|
87
|
+
continuationToken,
|
|
88
|
+
options
|
|
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
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
45
107
|
/**
|
|
108
|
+
* Get all Workbooks defined within a specified resource group and category.
|
|
46
109
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
47
|
-
* @param category Category of workbook to return.
|
|
48
|
-
*
|
|
49
|
-
* @param options The optional parameters
|
|
50
|
-
* @param callback The callback
|
|
110
|
+
* @param category Category of workbook to return.
|
|
111
|
+
* @param options The options parameters.
|
|
51
112
|
*/
|
|
52
|
-
listByResourceGroup(
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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(
|
|
56
154
|
resourceGroupName,
|
|
57
155
|
category,
|
|
156
|
+
continuationToken,
|
|
58
157
|
options
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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
|
+
}
|
|
62
176
|
}
|
|
63
177
|
|
|
64
178
|
/**
|
|
65
|
-
* Get
|
|
66
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
68
|
-
* @param [options] The optional parameters
|
|
69
|
-
* @returns Promise<Models.WorkbooksGetResponse>
|
|
70
|
-
*/
|
|
71
|
-
get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkbooksGetResponse>;
|
|
72
|
-
/**
|
|
73
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
75
|
-
* @param callback The callback
|
|
76
|
-
*/
|
|
77
|
-
get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.Workbook>): void;
|
|
78
|
-
/**
|
|
179
|
+
* Get the revisions for the workbook defined by its resourceName.
|
|
79
180
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
80
181
|
* @param resourceName The name of the Application Insights component resource.
|
|
81
|
-
* @param options The
|
|
82
|
-
* @param callback The callback
|
|
182
|
+
* @param options The options parameters.
|
|
83
183
|
*/
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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(
|
|
88
225
|
resourceGroupName,
|
|
89
226
|
resourceName,
|
|
227
|
+
continuationToken,
|
|
90
228
|
options
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
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
|
+
}
|
|
94
247
|
}
|
|
95
248
|
|
|
96
249
|
/**
|
|
97
|
-
*
|
|
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.
|
|
253
|
+
*/
|
|
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
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Get all Workbooks defined within a specified resource group and category.
|
|
98
266
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
99
|
-
* @param
|
|
100
|
-
* @param
|
|
101
|
-
* @returns Promise<msRest.RestResponse>
|
|
267
|
+
* @param category Category of workbook to return.
|
|
268
|
+
* @param options The options parameters.
|
|
102
269
|
*/
|
|
103
|
-
|
|
270
|
+
private _listByResourceGroup(
|
|
271
|
+
resourceGroupName: string,
|
|
272
|
+
category: CategoryType,
|
|
273
|
+
options?: WorkbooksListByResourceGroupOptionalParams
|
|
274
|
+
): Promise<WorkbooksListByResourceGroupResponse> {
|
|
275
|
+
return this.client.sendOperationRequest(
|
|
276
|
+
{ resourceGroupName, category, options },
|
|
277
|
+
listByResourceGroupOperationSpec
|
|
278
|
+
);
|
|
279
|
+
}
|
|
280
|
+
|
|
104
281
|
/**
|
|
282
|
+
* Get a single workbook by its resourceName.
|
|
105
283
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
106
284
|
* @param resourceName The name of the Application Insights component resource.
|
|
107
|
-
* @param
|
|
285
|
+
* @param options The options parameters.
|
|
108
286
|
*/
|
|
109
|
-
|
|
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
|
+
|
|
110
298
|
/**
|
|
299
|
+
* Delete a workbook.
|
|
111
300
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
112
301
|
* @param resourceName The name of the Application Insights component resource.
|
|
113
|
-
* @param options The
|
|
114
|
-
* @param callback The callback
|
|
302
|
+
* @param options The options parameters.
|
|
115
303
|
*/
|
|
116
|
-
|
|
117
|
-
|
|
304
|
+
delete(
|
|
305
|
+
resourceGroupName: string,
|
|
306
|
+
resourceName: string,
|
|
307
|
+
options?: WorkbooksDeleteOptionalParams
|
|
308
|
+
): Promise<void> {
|
|
118
309
|
return this.client.sendOperationRequest(
|
|
119
|
-
{
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
options
|
|
123
|
-
},
|
|
124
|
-
deleteMethodOperationSpec,
|
|
125
|
-
callback);
|
|
310
|
+
{ resourceGroupName, resourceName, options },
|
|
311
|
+
deleteOperationSpec
|
|
312
|
+
);
|
|
126
313
|
}
|
|
127
314
|
|
|
128
315
|
/**
|
|
@@ -130,92 +317,135 @@ export class Workbooks {
|
|
|
130
317
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
131
318
|
* @param resourceName The name of the Application Insights component resource.
|
|
132
319
|
* @param workbookProperties Properties that need to be specified to create a new workbook.
|
|
133
|
-
* @param
|
|
134
|
-
* @returns Promise<Models.WorkbooksCreateOrUpdateResponse>
|
|
320
|
+
* @param options The options parameters.
|
|
135
321
|
*/
|
|
136
|
-
createOrUpdate(
|
|
322
|
+
createOrUpdate(
|
|
323
|
+
resourceGroupName: string,
|
|
324
|
+
resourceName: string,
|
|
325
|
+
workbookProperties: Workbook,
|
|
326
|
+
options?: WorkbooksCreateOrUpdateOptionalParams
|
|
327
|
+
): Promise<WorkbooksCreateOrUpdateResponse> {
|
|
328
|
+
return this.client.sendOperationRequest(
|
|
329
|
+
{ resourceGroupName, resourceName, workbookProperties, options },
|
|
330
|
+
createOrUpdateOperationSpec
|
|
331
|
+
);
|
|
332
|
+
}
|
|
333
|
+
|
|
137
334
|
/**
|
|
335
|
+
* Updates a workbook that has already been added.
|
|
138
336
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
139
337
|
* @param resourceName The name of the Application Insights component resource.
|
|
140
|
-
* @param
|
|
141
|
-
* @param callback The callback
|
|
338
|
+
* @param options The options parameters.
|
|
142
339
|
*/
|
|
143
|
-
|
|
340
|
+
update(
|
|
341
|
+
resourceGroupName: string,
|
|
342
|
+
resourceName: string,
|
|
343
|
+
options?: WorkbooksUpdateOptionalParams
|
|
344
|
+
): Promise<WorkbooksUpdateResponse> {
|
|
345
|
+
return this.client.sendOperationRequest(
|
|
346
|
+
{ resourceGroupName, resourceName, options },
|
|
347
|
+
updateOperationSpec
|
|
348
|
+
);
|
|
349
|
+
}
|
|
350
|
+
|
|
144
351
|
/**
|
|
352
|
+
* Get the revisions for the workbook defined by its resourceName.
|
|
145
353
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
146
354
|
* @param resourceName The name of the Application Insights component resource.
|
|
147
|
-
* @param
|
|
148
|
-
* @param options The optional parameters
|
|
149
|
-
* @param callback The callback
|
|
355
|
+
* @param options The options parameters.
|
|
150
356
|
*/
|
|
151
|
-
|
|
152
|
-
|
|
357
|
+
private _revisionsList(
|
|
358
|
+
resourceGroupName: string,
|
|
359
|
+
resourceName: string,
|
|
360
|
+
options?: WorkbooksRevisionsListOptionalParams
|
|
361
|
+
): Promise<WorkbooksRevisionsListResponse> {
|
|
153
362
|
return this.client.sendOperationRequest(
|
|
154
|
-
{
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
workbookProperties,
|
|
158
|
-
options
|
|
159
|
-
},
|
|
160
|
-
createOrUpdateOperationSpec,
|
|
161
|
-
callback) as Promise<Models.WorkbooksCreateOrUpdateResponse>;
|
|
363
|
+
{ resourceGroupName, resourceName, options },
|
|
364
|
+
revisionsListOperationSpec
|
|
365
|
+
);
|
|
162
366
|
}
|
|
163
367
|
|
|
164
368
|
/**
|
|
165
|
-
*
|
|
369
|
+
* Get a single workbook revision defined by its revisionId.
|
|
166
370
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
167
371
|
* @param resourceName The name of the Application Insights component resource.
|
|
168
|
-
* @param
|
|
169
|
-
* @param
|
|
170
|
-
|
|
372
|
+
* @param revisionId The id of the workbook's revision.
|
|
373
|
+
* @param options The options parameters.
|
|
374
|
+
*/
|
|
375
|
+
revisionGet(
|
|
376
|
+
resourceGroupName: string,
|
|
377
|
+
resourceName: string,
|
|
378
|
+
revisionId: string,
|
|
379
|
+
options?: WorkbooksRevisionGetOptionalParams
|
|
380
|
+
): Promise<WorkbooksRevisionGetResponse> {
|
|
381
|
+
return this.client.sendOperationRequest(
|
|
382
|
+
{ resourceGroupName, resourceName, revisionId, options },
|
|
383
|
+
revisionGetOperationSpec
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
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.
|
|
171
392
|
*/
|
|
172
|
-
|
|
393
|
+
private _listBySubscriptionNext(
|
|
394
|
+
category: CategoryType,
|
|
395
|
+
nextLink: string,
|
|
396
|
+
options?: WorkbooksListBySubscriptionNextOptionalParams
|
|
397
|
+
): Promise<WorkbooksListBySubscriptionNextResponse> {
|
|
398
|
+
return this.client.sendOperationRequest(
|
|
399
|
+
{ category, nextLink, options },
|
|
400
|
+
listBySubscriptionNextOperationSpec
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
|
|
173
404
|
/**
|
|
405
|
+
* ListByResourceGroupNext
|
|
174
406
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
175
|
-
* @param
|
|
176
|
-
* @param
|
|
177
|
-
* @param
|
|
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.
|
|
178
410
|
*/
|
|
179
|
-
|
|
411
|
+
private _listByResourceGroupNext(
|
|
412
|
+
resourceGroupName: string,
|
|
413
|
+
category: CategoryType,
|
|
414
|
+
nextLink: string,
|
|
415
|
+
options?: WorkbooksListByResourceGroupNextOptionalParams
|
|
416
|
+
): Promise<WorkbooksListByResourceGroupNextResponse> {
|
|
417
|
+
return this.client.sendOperationRequest(
|
|
418
|
+
{ resourceGroupName, category, nextLink, options },
|
|
419
|
+
listByResourceGroupNextOperationSpec
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
|
|
180
423
|
/**
|
|
424
|
+
* RevisionsListNext
|
|
181
425
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
182
426
|
* @param resourceName The name of the Application Insights component resource.
|
|
183
|
-
* @param
|
|
184
|
-
* @param options The
|
|
185
|
-
* @param callback The callback
|
|
427
|
+
* @param nextLink The nextLink from the previous successful call to the RevisionsList method.
|
|
428
|
+
* @param options The options parameters.
|
|
186
429
|
*/
|
|
187
|
-
|
|
188
|
-
|
|
430
|
+
private _revisionsListNext(
|
|
431
|
+
resourceGroupName: string,
|
|
432
|
+
resourceName: string,
|
|
433
|
+
nextLink: string,
|
|
434
|
+
options?: WorkbooksRevisionsListNextOptionalParams
|
|
435
|
+
): Promise<WorkbooksRevisionsListNextResponse> {
|
|
189
436
|
return this.client.sendOperationRequest(
|
|
190
|
-
{
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
workbookProperties,
|
|
194
|
-
options
|
|
195
|
-
},
|
|
196
|
-
updateOperationSpec,
|
|
197
|
-
callback) as Promise<Models.WorkbooksUpdateResponse>;
|
|
437
|
+
{ resourceGroupName, resourceName, nextLink, options },
|
|
438
|
+
revisionsListNextOperationSpec
|
|
439
|
+
);
|
|
198
440
|
}
|
|
199
441
|
}
|
|
200
|
-
|
|
201
442
|
// Operation Specifications
|
|
202
|
-
const serializer =
|
|
203
|
-
|
|
443
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
444
|
+
|
|
445
|
+
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
446
|
+
path:
|
|
447
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks",
|
|
204
448
|
httpMethod: "GET",
|
|
205
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks",
|
|
206
|
-
urlParameters: [
|
|
207
|
-
Parameters.subscriptionId,
|
|
208
|
-
Parameters.resourceGroupName
|
|
209
|
-
],
|
|
210
|
-
queryParameters: [
|
|
211
|
-
Parameters.category,
|
|
212
|
-
Parameters.tags,
|
|
213
|
-
Parameters.canFetchContent,
|
|
214
|
-
Parameters.apiVersion0
|
|
215
|
-
],
|
|
216
|
-
headerParameters: [
|
|
217
|
-
Parameters.acceptLanguage
|
|
218
|
-
],
|
|
219
449
|
responses: {
|
|
220
450
|
200: {
|
|
221
451
|
bodyMapper: Mappers.WorkbooksListResult
|
|
@@ -224,23 +454,47 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
|
224
454
|
bodyMapper: Mappers.WorkbookError
|
|
225
455
|
}
|
|
226
456
|
},
|
|
457
|
+
queryParameters: [
|
|
458
|
+
Parameters.canFetchContent,
|
|
459
|
+
Parameters.tags,
|
|
460
|
+
Parameters.category,
|
|
461
|
+
Parameters.apiVersion3
|
|
462
|
+
],
|
|
463
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
464
|
+
headerParameters: [Parameters.accept],
|
|
227
465
|
serializer
|
|
228
466
|
};
|
|
229
|
-
|
|
230
|
-
|
|
467
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
468
|
+
path:
|
|
469
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks",
|
|
231
470
|
httpMethod: "GET",
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
471
|
+
responses: {
|
|
472
|
+
200: {
|
|
473
|
+
bodyMapper: Mappers.WorkbooksListResult
|
|
474
|
+
},
|
|
475
|
+
default: {
|
|
476
|
+
bodyMapper: Mappers.WorkbookError
|
|
477
|
+
}
|
|
478
|
+
},
|
|
238
479
|
queryParameters: [
|
|
239
|
-
Parameters.
|
|
480
|
+
Parameters.canFetchContent,
|
|
481
|
+
Parameters.tags,
|
|
482
|
+
Parameters.category,
|
|
483
|
+
Parameters.sourceId,
|
|
484
|
+
Parameters.apiVersion3
|
|
240
485
|
],
|
|
241
|
-
|
|
242
|
-
Parameters
|
|
486
|
+
urlParameters: [
|
|
487
|
+
Parameters.$host,
|
|
488
|
+
Parameters.resourceGroupName,
|
|
489
|
+
Parameters.subscriptionId
|
|
243
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",
|
|
244
498
|
responses: {
|
|
245
499
|
200: {
|
|
246
500
|
bodyMapper: Mappers.Workbook
|
|
@@ -249,54 +503,41 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
249
503
|
bodyMapper: Mappers.WorkbookError
|
|
250
504
|
}
|
|
251
505
|
},
|
|
252
|
-
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
256
|
-
httpMethod: "DELETE",
|
|
257
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}",
|
|
506
|
+
queryParameters: [Parameters.apiVersion3],
|
|
258
507
|
urlParameters: [
|
|
259
|
-
Parameters
|
|
508
|
+
Parameters.$host,
|
|
260
509
|
Parameters.resourceGroupName,
|
|
510
|
+
Parameters.subscriptionId,
|
|
261
511
|
Parameters.resourceName
|
|
262
512
|
],
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
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",
|
|
269
520
|
responses: {
|
|
270
|
-
|
|
521
|
+
200: {},
|
|
271
522
|
204: {},
|
|
272
523
|
default: {
|
|
273
524
|
bodyMapper: Mappers.WorkbookError
|
|
274
525
|
}
|
|
275
526
|
},
|
|
276
|
-
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
280
|
-
httpMethod: "PUT",
|
|
281
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks/{resourceName}",
|
|
527
|
+
queryParameters: [Parameters.apiVersion3],
|
|
282
528
|
urlParameters: [
|
|
283
|
-
Parameters
|
|
529
|
+
Parameters.$host,
|
|
284
530
|
Parameters.resourceGroupName,
|
|
531
|
+
Parameters.subscriptionId,
|
|
285
532
|
Parameters.resourceName
|
|
286
533
|
],
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
parameterPath: "workbookProperties",
|
|
295
|
-
mapper: {
|
|
296
|
-
...Mappers.Workbook,
|
|
297
|
-
required: true
|
|
298
|
-
}
|
|
299
|
-
},
|
|
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",
|
|
300
541
|
responses: {
|
|
301
542
|
200: {
|
|
302
543
|
bodyMapper: Mappers.Workbook
|
|
@@ -308,37 +549,158 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
|
308
549
|
bodyMapper: Mappers.WorkbookError
|
|
309
550
|
}
|
|
310
551
|
},
|
|
552
|
+
requestBody: Parameters.workbookProperties1,
|
|
553
|
+
queryParameters: [Parameters.sourceId, Parameters.apiVersion3],
|
|
554
|
+
urlParameters: [
|
|
555
|
+
Parameters.$host,
|
|
556
|
+
Parameters.resourceGroupName,
|
|
557
|
+
Parameters.subscriptionId,
|
|
558
|
+
Parameters.resourceName
|
|
559
|
+
],
|
|
560
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
561
|
+
mediaType: "json",
|
|
311
562
|
serializer
|
|
312
563
|
};
|
|
313
|
-
|
|
314
|
-
|
|
564
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
565
|
+
path:
|
|
566
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
|
|
315
567
|
httpMethod: "PATCH",
|
|
316
|
-
|
|
568
|
+
responses: {
|
|
569
|
+
201: {
|
|
570
|
+
bodyMapper: Mappers.Workbook
|
|
571
|
+
},
|
|
572
|
+
default: {
|
|
573
|
+
bodyMapper: Mappers.WorkbookError
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
requestBody: Parameters.workbookUpdateParameters,
|
|
577
|
+
queryParameters: [Parameters.sourceId, Parameters.apiVersion3],
|
|
317
578
|
urlParameters: [
|
|
579
|
+
Parameters.$host,
|
|
580
|
+
Parameters.resourceGroupName,
|
|
318
581
|
Parameters.subscriptionId,
|
|
582
|
+
Parameters.resourceName
|
|
583
|
+
],
|
|
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",
|
|
592
|
+
responses: {
|
|
593
|
+
200: {
|
|
594
|
+
bodyMapper: Mappers.WorkbooksListResult
|
|
595
|
+
},
|
|
596
|
+
default: {
|
|
597
|
+
bodyMapper: Mappers.WorkbookError
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
queryParameters: [Parameters.apiVersion3],
|
|
601
|
+
urlParameters: [
|
|
602
|
+
Parameters.$host,
|
|
319
603
|
Parameters.resourceGroupName,
|
|
604
|
+
Parameters.subscriptionId,
|
|
320
605
|
Parameters.resourceName
|
|
321
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",
|
|
614
|
+
responses: {
|
|
615
|
+
200: {
|
|
616
|
+
bodyMapper: Mappers.Workbook
|
|
617
|
+
},
|
|
618
|
+
default: {
|
|
619
|
+
bodyMapper: Mappers.WorkbookError
|
|
620
|
+
}
|
|
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],
|
|
631
|
+
serializer
|
|
632
|
+
};
|
|
633
|
+
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
634
|
+
path: "{nextLink}",
|
|
635
|
+
httpMethod: "GET",
|
|
636
|
+
responses: {
|
|
637
|
+
200: {
|
|
638
|
+
bodyMapper: Mappers.WorkbooksListResult
|
|
639
|
+
},
|
|
640
|
+
default: {
|
|
641
|
+
bodyMapper: Mappers.WorkbookError
|
|
642
|
+
}
|
|
643
|
+
},
|
|
322
644
|
queryParameters: [
|
|
323
|
-
Parameters.
|
|
645
|
+
Parameters.canFetchContent,
|
|
646
|
+
Parameters.tags,
|
|
647
|
+
Parameters.category,
|
|
648
|
+
Parameters.apiVersion3
|
|
324
649
|
],
|
|
325
|
-
|
|
326
|
-
Parameters
|
|
650
|
+
urlParameters: [
|
|
651
|
+
Parameters.$host,
|
|
652
|
+
Parameters.subscriptionId,
|
|
653
|
+
Parameters.nextLink
|
|
327
654
|
],
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
655
|
+
headerParameters: [Parameters.accept],
|
|
656
|
+
serializer
|
|
657
|
+
};
|
|
658
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
659
|
+
path: "{nextLink}",
|
|
660
|
+
httpMethod: "GET",
|
|
661
|
+
responses: {
|
|
662
|
+
200: {
|
|
663
|
+
bodyMapper: Mappers.WorkbooksListResult
|
|
664
|
+
},
|
|
665
|
+
default: {
|
|
666
|
+
bodyMapper: Mappers.WorkbookError
|
|
333
667
|
}
|
|
334
668
|
},
|
|
669
|
+
queryParameters: [
|
|
670
|
+
Parameters.canFetchContent,
|
|
671
|
+
Parameters.tags,
|
|
672
|
+
Parameters.category,
|
|
673
|
+
Parameters.sourceId,
|
|
674
|
+
Parameters.apiVersion3
|
|
675
|
+
],
|
|
676
|
+
urlParameters: [
|
|
677
|
+
Parameters.$host,
|
|
678
|
+
Parameters.resourceGroupName,
|
|
679
|
+
Parameters.subscriptionId,
|
|
680
|
+
Parameters.nextLink
|
|
681
|
+
],
|
|
682
|
+
headerParameters: [Parameters.accept],
|
|
683
|
+
serializer
|
|
684
|
+
};
|
|
685
|
+
const revisionsListNextOperationSpec: coreClient.OperationSpec = {
|
|
686
|
+
path: "{nextLink}",
|
|
687
|
+
httpMethod: "GET",
|
|
335
688
|
responses: {
|
|
336
689
|
200: {
|
|
337
|
-
bodyMapper: Mappers.
|
|
690
|
+
bodyMapper: Mappers.WorkbooksListResult
|
|
338
691
|
},
|
|
339
692
|
default: {
|
|
340
693
|
bodyMapper: Mappers.WorkbookError
|
|
341
694
|
}
|
|
342
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],
|
|
343
705
|
serializer
|
|
344
706
|
};
|