@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,125 +3,268 @@
|
|
|
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 { WebTests } 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
|
+
WebTest,
|
|
17
|
+
WebTestsListByResourceGroupNextOptionalParams,
|
|
18
|
+
WebTestsListByResourceGroupOptionalParams,
|
|
19
|
+
WebTestsListNextOptionalParams,
|
|
20
|
+
WebTestsListOptionalParams,
|
|
21
|
+
WebTestsListByComponentNextOptionalParams,
|
|
22
|
+
WebTestsListByComponentOptionalParams,
|
|
23
|
+
WebTestsListByResourceGroupResponse,
|
|
24
|
+
WebTestsGetOptionalParams,
|
|
25
|
+
WebTestsGetResponse,
|
|
26
|
+
WebTestsCreateOrUpdateOptionalParams,
|
|
27
|
+
WebTestsCreateOrUpdateResponse,
|
|
28
|
+
TagsResource,
|
|
29
|
+
WebTestsUpdateTagsOptionalParams,
|
|
30
|
+
WebTestsUpdateTagsResponse,
|
|
31
|
+
WebTestsDeleteOptionalParams,
|
|
32
|
+
WebTestsListResponse,
|
|
33
|
+
WebTestsListByComponentResponse,
|
|
34
|
+
WebTestsListByResourceGroupNextResponse,
|
|
35
|
+
WebTestsListNextResponse,
|
|
36
|
+
WebTestsListByComponentNextResponse
|
|
37
|
+
} from "../models";
|
|
15
38
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
39
|
+
/// <reference lib="esnext.asynciterable" />
|
|
40
|
+
/** Class containing WebTests operations. */
|
|
41
|
+
export class WebTestsImpl implements WebTests {
|
|
42
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
19
43
|
|
|
20
44
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
45
|
+
* Initialize a new instance of the class WebTests class.
|
|
46
|
+
* @param client Reference to the service client
|
|
23
47
|
*/
|
|
24
|
-
constructor(client:
|
|
48
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
25
49
|
this.client = client;
|
|
26
50
|
}
|
|
27
51
|
|
|
28
52
|
/**
|
|
29
53
|
* Get all Application Insights web tests defined within a specified resource group.
|
|
30
54
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
31
|
-
* @param
|
|
32
|
-
* @returns Promise<Models.WebTestsListByResourceGroupResponse>
|
|
55
|
+
* @param options The options parameters.
|
|
33
56
|
*/
|
|
34
|
-
listByResourceGroup(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
57
|
+
public listByResourceGroup(
|
|
58
|
+
resourceGroupName: string,
|
|
59
|
+
options?: WebTestsListByResourceGroupOptionalParams
|
|
60
|
+
): PagedAsyncIterableIterator<WebTest> {
|
|
61
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
62
|
+
return {
|
|
63
|
+
next() {
|
|
64
|
+
return iter.next();
|
|
65
|
+
},
|
|
66
|
+
[Symbol.asyncIterator]() {
|
|
67
|
+
return this;
|
|
68
|
+
},
|
|
69
|
+
byPage: () => {
|
|
70
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
private async *listByResourceGroupPagingPage(
|
|
76
|
+
resourceGroupName: string,
|
|
77
|
+
options?: WebTestsListByResourceGroupOptionalParams
|
|
78
|
+
): AsyncIterableIterator<WebTest[]> {
|
|
79
|
+
let result = await this._listByResourceGroup(resourceGroupName, options);
|
|
80
|
+
yield result.value || [];
|
|
81
|
+
let continuationToken = result.nextLink;
|
|
82
|
+
while (continuationToken) {
|
|
83
|
+
result = await this._listByResourceGroupNext(
|
|
49
84
|
resourceGroupName,
|
|
85
|
+
continuationToken,
|
|
50
86
|
options
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
87
|
+
);
|
|
88
|
+
continuationToken = result.nextLink;
|
|
89
|
+
yield result.value || [];
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
private async *listByResourceGroupPagingAll(
|
|
94
|
+
resourceGroupName: string,
|
|
95
|
+
options?: WebTestsListByResourceGroupOptionalParams
|
|
96
|
+
): AsyncIterableIterator<WebTest> {
|
|
97
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
98
|
+
resourceGroupName,
|
|
99
|
+
options
|
|
100
|
+
)) {
|
|
101
|
+
yield* page;
|
|
102
|
+
}
|
|
54
103
|
}
|
|
55
104
|
|
|
56
105
|
/**
|
|
57
|
-
* Get
|
|
58
|
-
* @param
|
|
59
|
-
* @param webTestName The name of the Application Insights webtest resource.
|
|
60
|
-
* @param [options] The optional parameters
|
|
61
|
-
* @returns Promise<Models.WebTestsGetResponse>
|
|
62
|
-
*/
|
|
63
|
-
get(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsGetResponse>;
|
|
64
|
-
/**
|
|
65
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
66
|
-
* @param webTestName The name of the Application Insights webtest resource.
|
|
67
|
-
* @param callback The callback
|
|
106
|
+
* Get all Application Insights web test alerts definitions within a subscription.
|
|
107
|
+
* @param options The options parameters.
|
|
68
108
|
*/
|
|
69
|
-
|
|
109
|
+
public list(
|
|
110
|
+
options?: WebTestsListOptionalParams
|
|
111
|
+
): PagedAsyncIterableIterator<WebTest> {
|
|
112
|
+
const iter = this.listPagingAll(options);
|
|
113
|
+
return {
|
|
114
|
+
next() {
|
|
115
|
+
return iter.next();
|
|
116
|
+
},
|
|
117
|
+
[Symbol.asyncIterator]() {
|
|
118
|
+
return this;
|
|
119
|
+
},
|
|
120
|
+
byPage: () => {
|
|
121
|
+
return this.listPagingPage(options);
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
private async *listPagingPage(
|
|
127
|
+
options?: WebTestsListOptionalParams
|
|
128
|
+
): AsyncIterableIterator<WebTest[]> {
|
|
129
|
+
let result = await this._list(options);
|
|
130
|
+
yield result.value || [];
|
|
131
|
+
let continuationToken = result.nextLink;
|
|
132
|
+
while (continuationToken) {
|
|
133
|
+
result = await this._listNext(continuationToken, options);
|
|
134
|
+
continuationToken = result.nextLink;
|
|
135
|
+
yield result.value || [];
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
private async *listPagingAll(
|
|
140
|
+
options?: WebTestsListOptionalParams
|
|
141
|
+
): AsyncIterableIterator<WebTest> {
|
|
142
|
+
for await (const page of this.listPagingPage(options)) {
|
|
143
|
+
yield* page;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
70
147
|
/**
|
|
148
|
+
* Get all Application Insights web tests defined for the specified component.
|
|
149
|
+
* @param componentName The name of the Application Insights component resource.
|
|
71
150
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
72
|
-
* @param
|
|
73
|
-
* @param options The optional parameters
|
|
74
|
-
* @param callback The callback
|
|
151
|
+
* @param options The options parameters.
|
|
75
152
|
*/
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
153
|
+
public listByComponent(
|
|
154
|
+
componentName: string,
|
|
155
|
+
resourceGroupName: string,
|
|
156
|
+
options?: WebTestsListByComponentOptionalParams
|
|
157
|
+
): PagedAsyncIterableIterator<WebTest> {
|
|
158
|
+
const iter = this.listByComponentPagingAll(
|
|
159
|
+
componentName,
|
|
160
|
+
resourceGroupName,
|
|
161
|
+
options
|
|
162
|
+
);
|
|
163
|
+
return {
|
|
164
|
+
next() {
|
|
165
|
+
return iter.next();
|
|
166
|
+
},
|
|
167
|
+
[Symbol.asyncIterator]() {
|
|
168
|
+
return this;
|
|
169
|
+
},
|
|
170
|
+
byPage: () => {
|
|
171
|
+
return this.listByComponentPagingPage(
|
|
172
|
+
componentName,
|
|
173
|
+
resourceGroupName,
|
|
174
|
+
options
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
private async *listByComponentPagingPage(
|
|
181
|
+
componentName: string,
|
|
182
|
+
resourceGroupName: string,
|
|
183
|
+
options?: WebTestsListByComponentOptionalParams
|
|
184
|
+
): AsyncIterableIterator<WebTest[]> {
|
|
185
|
+
let result = await this._listByComponent(
|
|
186
|
+
componentName,
|
|
187
|
+
resourceGroupName,
|
|
188
|
+
options
|
|
189
|
+
);
|
|
190
|
+
yield result.value || [];
|
|
191
|
+
let continuationToken = result.nextLink;
|
|
192
|
+
while (continuationToken) {
|
|
193
|
+
result = await this._listByComponentNext(
|
|
194
|
+
componentName,
|
|
80
195
|
resourceGroupName,
|
|
81
|
-
|
|
196
|
+
continuationToken,
|
|
82
197
|
options
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
198
|
+
);
|
|
199
|
+
continuationToken = result.nextLink;
|
|
200
|
+
yield result.value || [];
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
private async *listByComponentPagingAll(
|
|
205
|
+
componentName: string,
|
|
206
|
+
resourceGroupName: string,
|
|
207
|
+
options?: WebTestsListByComponentOptionalParams
|
|
208
|
+
): AsyncIterableIterator<WebTest> {
|
|
209
|
+
for await (const page of this.listByComponentPagingPage(
|
|
210
|
+
componentName,
|
|
211
|
+
resourceGroupName,
|
|
212
|
+
options
|
|
213
|
+
)) {
|
|
214
|
+
yield* page;
|
|
215
|
+
}
|
|
86
216
|
}
|
|
87
217
|
|
|
88
218
|
/**
|
|
89
|
-
*
|
|
219
|
+
* Get all Application Insights web tests defined within a specified resource group.
|
|
90
220
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
91
|
-
* @param
|
|
92
|
-
* @param webTestDefinition Properties that need to be specified to create or update an Application
|
|
93
|
-
* Insights web test definition.
|
|
94
|
-
* @param [options] The optional parameters
|
|
95
|
-
* @returns Promise<Models.WebTestsCreateOrUpdateResponse>
|
|
221
|
+
* @param options The options parameters.
|
|
96
222
|
*/
|
|
97
|
-
|
|
223
|
+
private _listByResourceGroup(
|
|
224
|
+
resourceGroupName: string,
|
|
225
|
+
options?: WebTestsListByResourceGroupOptionalParams
|
|
226
|
+
): Promise<WebTestsListByResourceGroupResponse> {
|
|
227
|
+
return this.client.sendOperationRequest(
|
|
228
|
+
{ resourceGroupName, options },
|
|
229
|
+
listByResourceGroupOperationSpec
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
|
|
98
233
|
/**
|
|
234
|
+
* Get a specific Application Insights web test definition.
|
|
99
235
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
100
236
|
* @param webTestName The name of the Application Insights webtest resource.
|
|
101
|
-
* @param
|
|
102
|
-
* Insights web test definition.
|
|
103
|
-
* @param callback The callback
|
|
237
|
+
* @param options The options parameters.
|
|
104
238
|
*/
|
|
105
|
-
|
|
239
|
+
get(
|
|
240
|
+
resourceGroupName: string,
|
|
241
|
+
webTestName: string,
|
|
242
|
+
options?: WebTestsGetOptionalParams
|
|
243
|
+
): Promise<WebTestsGetResponse> {
|
|
244
|
+
return this.client.sendOperationRequest(
|
|
245
|
+
{ resourceGroupName, webTestName, options },
|
|
246
|
+
getOperationSpec
|
|
247
|
+
);
|
|
248
|
+
}
|
|
249
|
+
|
|
106
250
|
/**
|
|
251
|
+
* Creates or updates an Application Insights web test definition.
|
|
107
252
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
108
253
|
* @param webTestName The name of the Application Insights webtest resource.
|
|
109
254
|
* @param webTestDefinition Properties that need to be specified to create or update an Application
|
|
110
|
-
*
|
|
111
|
-
* @param options The
|
|
112
|
-
* @param callback The callback
|
|
255
|
+
* Insights web test definition.
|
|
256
|
+
* @param options The options parameters.
|
|
113
257
|
*/
|
|
114
|
-
createOrUpdate(
|
|
115
|
-
|
|
258
|
+
createOrUpdate(
|
|
259
|
+
resourceGroupName: string,
|
|
260
|
+
webTestName: string,
|
|
261
|
+
webTestDefinition: WebTest,
|
|
262
|
+
options?: WebTestsCreateOrUpdateOptionalParams
|
|
263
|
+
): Promise<WebTestsCreateOrUpdateResponse> {
|
|
116
264
|
return this.client.sendOperationRequest(
|
|
117
|
-
{
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
webTestDefinition,
|
|
121
|
-
options
|
|
122
|
-
},
|
|
123
|
-
createOrUpdateOperationSpec,
|
|
124
|
-
callback) as Promise<Models.WebTestsCreateOrUpdateResponse>;
|
|
265
|
+
{ resourceGroupName, webTestName, webTestDefinition, options },
|
|
266
|
+
createOrUpdateOperationSpec
|
|
267
|
+
);
|
|
125
268
|
}
|
|
126
269
|
|
|
127
270
|
/**
|
|
@@ -129,465 +272,294 @@ export class WebTests {
|
|
|
129
272
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
130
273
|
* @param webTestName The name of the Application Insights webtest resource.
|
|
131
274
|
* @param webTestTags Updated tag information to set into the web test instance.
|
|
132
|
-
* @param
|
|
133
|
-
* @returns Promise<Models.WebTestsUpdateTagsResponse>
|
|
275
|
+
* @param options The options parameters.
|
|
134
276
|
*/
|
|
135
|
-
updateTags(
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
*/
|
|
142
|
-
updateTags(resourceGroupName: string, webTestName: string, webTestTags: Models.TagsResource, callback: msRest.ServiceCallback<Models.WebTest>): void;
|
|
143
|
-
/**
|
|
144
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
145
|
-
* @param webTestName The name of the Application Insights webtest resource.
|
|
146
|
-
* @param webTestTags Updated tag information to set into the web test instance.
|
|
147
|
-
* @param options The optional parameters
|
|
148
|
-
* @param callback The callback
|
|
149
|
-
*/
|
|
150
|
-
updateTags(resourceGroupName: string, webTestName: string, webTestTags: Models.TagsResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WebTest>): void;
|
|
151
|
-
updateTags(resourceGroupName: string, webTestName: string, webTestTags: Models.TagsResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WebTest>, callback?: msRest.ServiceCallback<Models.WebTest>): Promise<Models.WebTestsUpdateTagsResponse> {
|
|
277
|
+
updateTags(
|
|
278
|
+
resourceGroupName: string,
|
|
279
|
+
webTestName: string,
|
|
280
|
+
webTestTags: TagsResource,
|
|
281
|
+
options?: WebTestsUpdateTagsOptionalParams
|
|
282
|
+
): Promise<WebTestsUpdateTagsResponse> {
|
|
152
283
|
return this.client.sendOperationRequest(
|
|
153
|
-
{
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
webTestTags,
|
|
157
|
-
options
|
|
158
|
-
},
|
|
159
|
-
updateTagsOperationSpec,
|
|
160
|
-
callback) as Promise<Models.WebTestsUpdateTagsResponse>;
|
|
284
|
+
{ resourceGroupName, webTestName, webTestTags, options },
|
|
285
|
+
updateTagsOperationSpec
|
|
286
|
+
);
|
|
161
287
|
}
|
|
162
288
|
|
|
163
289
|
/**
|
|
164
290
|
* Deletes an Application Insights web test.
|
|
165
291
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
166
292
|
* @param webTestName The name of the Application Insights webtest resource.
|
|
167
|
-
* @param
|
|
168
|
-
* @returns Promise<msRest.RestResponse>
|
|
169
|
-
*/
|
|
170
|
-
deleteMethod(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
171
|
-
/**
|
|
172
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
173
|
-
* @param webTestName The name of the Application Insights webtest resource.
|
|
174
|
-
* @param callback The callback
|
|
293
|
+
* @param options The options parameters.
|
|
175
294
|
*/
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
* @param callback The callback
|
|
182
|
-
*/
|
|
183
|
-
deleteMethod(resourceGroupName: string, webTestName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
184
|
-
deleteMethod(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
295
|
+
delete(
|
|
296
|
+
resourceGroupName: string,
|
|
297
|
+
webTestName: string,
|
|
298
|
+
options?: WebTestsDeleteOptionalParams
|
|
299
|
+
): Promise<void> {
|
|
185
300
|
return this.client.sendOperationRequest(
|
|
186
|
-
{
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
options
|
|
190
|
-
},
|
|
191
|
-
deleteMethodOperationSpec,
|
|
192
|
-
callback);
|
|
301
|
+
{ resourceGroupName, webTestName, options },
|
|
302
|
+
deleteOperationSpec
|
|
303
|
+
);
|
|
193
304
|
}
|
|
194
305
|
|
|
195
306
|
/**
|
|
196
307
|
* Get all Application Insights web test alerts definitions within a subscription.
|
|
197
|
-
* @param
|
|
198
|
-
* @returns Promise<Models.WebTestsListResponse>
|
|
199
|
-
*/
|
|
200
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.WebTestsListResponse>;
|
|
201
|
-
/**
|
|
202
|
-
* @param callback The callback
|
|
308
|
+
* @param options The options parameters.
|
|
203
309
|
*/
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
*/
|
|
209
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WebTestListResult>): void;
|
|
210
|
-
list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WebTestListResult>, callback?: msRest.ServiceCallback<Models.WebTestListResult>): Promise<Models.WebTestsListResponse> {
|
|
211
|
-
return this.client.sendOperationRequest(
|
|
212
|
-
{
|
|
213
|
-
options
|
|
214
|
-
},
|
|
215
|
-
listOperationSpec,
|
|
216
|
-
callback) as Promise<Models.WebTestsListResponse>;
|
|
310
|
+
private _list(
|
|
311
|
+
options?: WebTestsListOptionalParams
|
|
312
|
+
): Promise<WebTestsListResponse> {
|
|
313
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
217
314
|
}
|
|
218
315
|
|
|
219
316
|
/**
|
|
220
317
|
* Get all Application Insights web tests defined for the specified component.
|
|
221
318
|
* @param componentName The name of the Application Insights component resource.
|
|
222
319
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
223
|
-
* @param
|
|
224
|
-
* @returns Promise<Models.WebTestsListByComponentResponse>
|
|
320
|
+
* @param options The options parameters.
|
|
225
321
|
*/
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
*/
|
|
232
|
-
listByComponent(componentName: string, resourceGroupName: string, callback: msRest.ServiceCallback<Models.WebTestListResult>): void;
|
|
233
|
-
/**
|
|
234
|
-
* @param componentName The name of the Application Insights component resource.
|
|
235
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
236
|
-
* @param options The optional parameters
|
|
237
|
-
* @param callback The callback
|
|
238
|
-
*/
|
|
239
|
-
listByComponent(componentName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WebTestListResult>): void;
|
|
240
|
-
listByComponent(componentName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WebTestListResult>, callback?: msRest.ServiceCallback<Models.WebTestListResult>): Promise<Models.WebTestsListByComponentResponse> {
|
|
322
|
+
private _listByComponent(
|
|
323
|
+
componentName: string,
|
|
324
|
+
resourceGroupName: string,
|
|
325
|
+
options?: WebTestsListByComponentOptionalParams
|
|
326
|
+
): Promise<WebTestsListByComponentResponse> {
|
|
241
327
|
return this.client.sendOperationRequest(
|
|
242
|
-
{
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
options
|
|
246
|
-
},
|
|
247
|
-
listByComponentOperationSpec,
|
|
248
|
-
callback) as Promise<Models.WebTestsListByComponentResponse>;
|
|
328
|
+
{ componentName, resourceGroupName, options },
|
|
329
|
+
listByComponentOperationSpec
|
|
330
|
+
);
|
|
249
331
|
}
|
|
250
332
|
|
|
251
333
|
/**
|
|
252
|
-
*
|
|
253
|
-
* @param
|
|
254
|
-
* @param
|
|
255
|
-
* @
|
|
256
|
-
*/
|
|
257
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsListByResourceGroupNextResponse>;
|
|
258
|
-
/**
|
|
259
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
260
|
-
* @param callback The callback
|
|
261
|
-
*/
|
|
262
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WebTestListResult>): void;
|
|
263
|
-
/**
|
|
264
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
265
|
-
* @param options The optional parameters
|
|
266
|
-
* @param callback The callback
|
|
334
|
+
* ListByResourceGroupNext
|
|
335
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
336
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
337
|
+
* @param options The options parameters.
|
|
267
338
|
*/
|
|
268
|
-
|
|
269
|
-
|
|
339
|
+
private _listByResourceGroupNext(
|
|
340
|
+
resourceGroupName: string,
|
|
341
|
+
nextLink: string,
|
|
342
|
+
options?: WebTestsListByResourceGroupNextOptionalParams
|
|
343
|
+
): Promise<WebTestsListByResourceGroupNextResponse> {
|
|
270
344
|
return this.client.sendOperationRequest(
|
|
271
|
-
{
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
},
|
|
275
|
-
listByResourceGroupNextOperationSpec,
|
|
276
|
-
callback) as Promise<Models.WebTestsListByResourceGroupNextResponse>;
|
|
345
|
+
{ resourceGroupName, nextLink, options },
|
|
346
|
+
listByResourceGroupNextOperationSpec
|
|
347
|
+
);
|
|
277
348
|
}
|
|
278
349
|
|
|
279
350
|
/**
|
|
280
|
-
*
|
|
281
|
-
* @param
|
|
282
|
-
* @param
|
|
283
|
-
* @returns Promise<Models.WebTestsListNextResponse>
|
|
351
|
+
* ListNext
|
|
352
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
353
|
+
* @param options The options parameters.
|
|
284
354
|
*/
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
*/
|
|
290
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WebTestListResult>): void;
|
|
291
|
-
/**
|
|
292
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
293
|
-
* @param options The optional parameters
|
|
294
|
-
* @param callback The callback
|
|
295
|
-
*/
|
|
296
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WebTestListResult>): void;
|
|
297
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WebTestListResult>, callback?: msRest.ServiceCallback<Models.WebTestListResult>): Promise<Models.WebTestsListNextResponse> {
|
|
355
|
+
private _listNext(
|
|
356
|
+
nextLink: string,
|
|
357
|
+
options?: WebTestsListNextOptionalParams
|
|
358
|
+
): Promise<WebTestsListNextResponse> {
|
|
298
359
|
return this.client.sendOperationRequest(
|
|
299
|
-
{
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
},
|
|
303
|
-
listNextOperationSpec,
|
|
304
|
-
callback) as Promise<Models.WebTestsListNextResponse>;
|
|
360
|
+
{ nextLink, options },
|
|
361
|
+
listNextOperationSpec
|
|
362
|
+
);
|
|
305
363
|
}
|
|
306
364
|
|
|
307
365
|
/**
|
|
308
|
-
*
|
|
309
|
-
* @param
|
|
310
|
-
* @param
|
|
311
|
-
* @
|
|
312
|
-
|
|
313
|
-
listByComponentNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsListByComponentNextResponse>;
|
|
314
|
-
/**
|
|
315
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
316
|
-
* @param callback The callback
|
|
317
|
-
*/
|
|
318
|
-
listByComponentNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WebTestListResult>): void;
|
|
319
|
-
/**
|
|
320
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
321
|
-
* @param options The optional parameters
|
|
322
|
-
* @param callback The callback
|
|
366
|
+
* ListByComponentNext
|
|
367
|
+
* @param componentName The name of the Application Insights component resource.
|
|
368
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
369
|
+
* @param nextLink The nextLink from the previous successful call to the ListByComponent method.
|
|
370
|
+
* @param options The options parameters.
|
|
323
371
|
*/
|
|
324
|
-
|
|
325
|
-
|
|
372
|
+
private _listByComponentNext(
|
|
373
|
+
componentName: string,
|
|
374
|
+
resourceGroupName: string,
|
|
375
|
+
nextLink: string,
|
|
376
|
+
options?: WebTestsListByComponentNextOptionalParams
|
|
377
|
+
): Promise<WebTestsListByComponentNextResponse> {
|
|
326
378
|
return this.client.sendOperationRequest(
|
|
327
|
-
{
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
},
|
|
331
|
-
listByComponentNextOperationSpec,
|
|
332
|
-
callback) as Promise<Models.WebTestsListByComponentNextResponse>;
|
|
379
|
+
{ componentName, resourceGroupName, nextLink, options },
|
|
380
|
+
listByComponentNextOperationSpec
|
|
381
|
+
);
|
|
333
382
|
}
|
|
334
383
|
}
|
|
335
|
-
|
|
336
384
|
// Operation Specifications
|
|
337
|
-
const serializer =
|
|
338
|
-
|
|
385
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
386
|
+
|
|
387
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
388
|
+
path:
|
|
389
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests",
|
|
339
390
|
httpMethod: "GET",
|
|
340
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests",
|
|
341
|
-
urlParameters: [
|
|
342
|
-
Parameters.resourceGroupName,
|
|
343
|
-
Parameters.subscriptionId
|
|
344
|
-
],
|
|
345
|
-
queryParameters: [
|
|
346
|
-
Parameters.apiVersion0
|
|
347
|
-
],
|
|
348
|
-
headerParameters: [
|
|
349
|
-
Parameters.acceptLanguage
|
|
350
|
-
],
|
|
351
391
|
responses: {
|
|
352
392
|
200: {
|
|
353
393
|
bodyMapper: Mappers.WebTestListResult
|
|
354
|
-
},
|
|
355
|
-
default: {
|
|
356
|
-
bodyMapper: Mappers.CloudError
|
|
357
394
|
}
|
|
358
395
|
},
|
|
359
|
-
|
|
360
|
-
};
|
|
361
|
-
|
|
362
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
363
|
-
httpMethod: "GET",
|
|
364
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
|
|
396
|
+
queryParameters: [Parameters.apiVersion],
|
|
365
397
|
urlParameters: [
|
|
398
|
+
Parameters.$host,
|
|
366
399
|
Parameters.resourceGroupName,
|
|
367
|
-
Parameters.subscriptionId
|
|
368
|
-
Parameters.webTestName
|
|
369
|
-
],
|
|
370
|
-
queryParameters: [
|
|
371
|
-
Parameters.apiVersion0
|
|
372
|
-
],
|
|
373
|
-
headerParameters: [
|
|
374
|
-
Parameters.acceptLanguage
|
|
400
|
+
Parameters.subscriptionId
|
|
375
401
|
],
|
|
402
|
+
headerParameters: [Parameters.accept],
|
|
403
|
+
serializer
|
|
404
|
+
};
|
|
405
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
406
|
+
path:
|
|
407
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
|
|
408
|
+
httpMethod: "GET",
|
|
376
409
|
responses: {
|
|
377
410
|
200: {
|
|
378
411
|
bodyMapper: Mappers.WebTest
|
|
379
|
-
},
|
|
380
|
-
default: {
|
|
381
|
-
bodyMapper: Mappers.CloudError
|
|
382
412
|
}
|
|
383
413
|
},
|
|
384
|
-
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
388
|
-
httpMethod: "PUT",
|
|
389
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
|
|
414
|
+
queryParameters: [Parameters.apiVersion],
|
|
390
415
|
urlParameters: [
|
|
416
|
+
Parameters.$host,
|
|
391
417
|
Parameters.resourceGroupName,
|
|
392
418
|
Parameters.subscriptionId,
|
|
393
419
|
Parameters.webTestName
|
|
394
420
|
],
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
parameterPath: "webTestDefinition",
|
|
403
|
-
mapper: {
|
|
404
|
-
...Mappers.WebTest,
|
|
405
|
-
required: true
|
|
406
|
-
}
|
|
407
|
-
},
|
|
421
|
+
headerParameters: [Parameters.accept],
|
|
422
|
+
serializer
|
|
423
|
+
};
|
|
424
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
425
|
+
path:
|
|
426
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
|
|
427
|
+
httpMethod: "PUT",
|
|
408
428
|
responses: {
|
|
409
429
|
200: {
|
|
410
430
|
bodyMapper: Mappers.WebTest
|
|
411
|
-
},
|
|
412
|
-
default: {
|
|
413
|
-
bodyMapper: Mappers.CloudError
|
|
414
431
|
}
|
|
415
432
|
},
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
const updateTagsOperationSpec: msRest.OperationSpec = {
|
|
420
|
-
httpMethod: "PATCH",
|
|
421
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
|
|
433
|
+
requestBody: Parameters.webTestDefinition,
|
|
434
|
+
queryParameters: [Parameters.apiVersion],
|
|
422
435
|
urlParameters: [
|
|
436
|
+
Parameters.$host,
|
|
423
437
|
Parameters.resourceGroupName,
|
|
424
438
|
Parameters.subscriptionId,
|
|
425
439
|
Parameters.webTestName
|
|
426
440
|
],
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
mapper: {
|
|
436
|
-
...Mappers.TagsResource,
|
|
437
|
-
required: true
|
|
438
|
-
}
|
|
439
|
-
},
|
|
441
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
442
|
+
mediaType: "json",
|
|
443
|
+
serializer
|
|
444
|
+
};
|
|
445
|
+
const updateTagsOperationSpec: coreClient.OperationSpec = {
|
|
446
|
+
path:
|
|
447
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
|
|
448
|
+
httpMethod: "PATCH",
|
|
440
449
|
responses: {
|
|
441
450
|
200: {
|
|
442
451
|
bodyMapper: Mappers.WebTest
|
|
443
|
-
},
|
|
444
|
-
default: {
|
|
445
|
-
bodyMapper: Mappers.CloudError
|
|
446
452
|
}
|
|
447
453
|
},
|
|
454
|
+
requestBody: Parameters.webTestTags,
|
|
455
|
+
queryParameters: [Parameters.apiVersion],
|
|
456
|
+
urlParameters: [
|
|
457
|
+
Parameters.$host,
|
|
458
|
+
Parameters.resourceGroupName,
|
|
459
|
+
Parameters.subscriptionId,
|
|
460
|
+
Parameters.webTestName
|
|
461
|
+
],
|
|
462
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
463
|
+
mediaType: "json",
|
|
448
464
|
serializer
|
|
449
465
|
};
|
|
450
|
-
|
|
451
|
-
|
|
466
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
467
|
+
path:
|
|
468
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}",
|
|
452
469
|
httpMethod: "DELETE",
|
|
453
|
-
|
|
470
|
+
responses: { 200: {}, 204: {} },
|
|
471
|
+
queryParameters: [Parameters.apiVersion],
|
|
454
472
|
urlParameters: [
|
|
455
|
-
Parameters
|
|
473
|
+
Parameters.$host,
|
|
456
474
|
Parameters.resourceGroupName,
|
|
475
|
+
Parameters.subscriptionId,
|
|
457
476
|
Parameters.webTestName
|
|
458
477
|
],
|
|
459
|
-
queryParameters: [
|
|
460
|
-
Parameters.apiVersion0
|
|
461
|
-
],
|
|
462
|
-
headerParameters: [
|
|
463
|
-
Parameters.acceptLanguage
|
|
464
|
-
],
|
|
465
|
-
responses: {
|
|
466
|
-
200: {},
|
|
467
|
-
204: {},
|
|
468
|
-
default: {
|
|
469
|
-
bodyMapper: Mappers.CloudError
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
478
|
serializer
|
|
473
479
|
};
|
|
474
|
-
|
|
475
|
-
|
|
480
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
481
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests",
|
|
476
482
|
httpMethod: "GET",
|
|
477
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Insights/webtests",
|
|
478
|
-
urlParameters: [
|
|
479
|
-
Parameters.subscriptionId
|
|
480
|
-
],
|
|
481
|
-
queryParameters: [
|
|
482
|
-
Parameters.apiVersion0
|
|
483
|
-
],
|
|
484
|
-
headerParameters: [
|
|
485
|
-
Parameters.acceptLanguage
|
|
486
|
-
],
|
|
487
483
|
responses: {
|
|
488
484
|
200: {
|
|
489
485
|
bodyMapper: Mappers.WebTestListResult
|
|
490
|
-
},
|
|
491
|
-
default: {
|
|
492
|
-
bodyMapper: Mappers.CloudError
|
|
493
486
|
}
|
|
494
487
|
},
|
|
488
|
+
queryParameters: [Parameters.apiVersion],
|
|
489
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
490
|
+
headerParameters: [Parameters.accept],
|
|
495
491
|
serializer
|
|
496
492
|
};
|
|
497
|
-
|
|
498
|
-
|
|
493
|
+
const listByComponentOperationSpec: coreClient.OperationSpec = {
|
|
494
|
+
path:
|
|
495
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{componentName}/webtests",
|
|
499
496
|
httpMethod: "GET",
|
|
500
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{componentName}/webtests",
|
|
501
|
-
urlParameters: [
|
|
502
|
-
Parameters.componentName,
|
|
503
|
-
Parameters.resourceGroupName,
|
|
504
|
-
Parameters.subscriptionId
|
|
505
|
-
],
|
|
506
|
-
queryParameters: [
|
|
507
|
-
Parameters.apiVersion0
|
|
508
|
-
],
|
|
509
|
-
headerParameters: [
|
|
510
|
-
Parameters.acceptLanguage
|
|
511
|
-
],
|
|
512
497
|
responses: {
|
|
513
498
|
200: {
|
|
514
499
|
bodyMapper: Mappers.WebTestListResult
|
|
515
|
-
},
|
|
516
|
-
default: {
|
|
517
|
-
bodyMapper: Mappers.CloudError
|
|
518
500
|
}
|
|
519
501
|
},
|
|
502
|
+
queryParameters: [Parameters.apiVersion],
|
|
503
|
+
urlParameters: [
|
|
504
|
+
Parameters.$host,
|
|
505
|
+
Parameters.resourceGroupName,
|
|
506
|
+
Parameters.subscriptionId,
|
|
507
|
+
Parameters.componentName
|
|
508
|
+
],
|
|
509
|
+
headerParameters: [Parameters.accept],
|
|
520
510
|
serializer
|
|
521
511
|
};
|
|
522
|
-
|
|
523
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
524
|
-
httpMethod: "GET",
|
|
525
|
-
baseUrl: "https://management.azure.com",
|
|
512
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
526
513
|
path: "{nextLink}",
|
|
527
|
-
|
|
528
|
-
Parameters.nextPageLink
|
|
529
|
-
],
|
|
530
|
-
queryParameters: [
|
|
531
|
-
Parameters.apiVersion0
|
|
532
|
-
],
|
|
533
|
-
headerParameters: [
|
|
534
|
-
Parameters.acceptLanguage
|
|
535
|
-
],
|
|
514
|
+
httpMethod: "GET",
|
|
536
515
|
responses: {
|
|
537
516
|
200: {
|
|
538
517
|
bodyMapper: Mappers.WebTestListResult
|
|
539
|
-
},
|
|
540
|
-
default: {
|
|
541
|
-
bodyMapper: Mappers.CloudError
|
|
542
518
|
}
|
|
543
519
|
},
|
|
520
|
+
queryParameters: [Parameters.apiVersion],
|
|
521
|
+
urlParameters: [
|
|
522
|
+
Parameters.$host,
|
|
523
|
+
Parameters.resourceGroupName,
|
|
524
|
+
Parameters.subscriptionId,
|
|
525
|
+
Parameters.nextLink
|
|
526
|
+
],
|
|
527
|
+
headerParameters: [Parameters.accept],
|
|
544
528
|
serializer
|
|
545
529
|
};
|
|
546
|
-
|
|
547
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
548
|
-
httpMethod: "GET",
|
|
549
|
-
baseUrl: "https://management.azure.com",
|
|
530
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
550
531
|
path: "{nextLink}",
|
|
551
|
-
|
|
552
|
-
Parameters.nextPageLink
|
|
553
|
-
],
|
|
554
|
-
queryParameters: [
|
|
555
|
-
Parameters.apiVersion0
|
|
556
|
-
],
|
|
557
|
-
headerParameters: [
|
|
558
|
-
Parameters.acceptLanguage
|
|
559
|
-
],
|
|
532
|
+
httpMethod: "GET",
|
|
560
533
|
responses: {
|
|
561
534
|
200: {
|
|
562
535
|
bodyMapper: Mappers.WebTestListResult
|
|
563
|
-
},
|
|
564
|
-
default: {
|
|
565
|
-
bodyMapper: Mappers.CloudError
|
|
566
536
|
}
|
|
567
537
|
},
|
|
538
|
+
queryParameters: [Parameters.apiVersion],
|
|
539
|
+
urlParameters: [
|
|
540
|
+
Parameters.$host,
|
|
541
|
+
Parameters.subscriptionId,
|
|
542
|
+
Parameters.nextLink
|
|
543
|
+
],
|
|
544
|
+
headerParameters: [Parameters.accept],
|
|
568
545
|
serializer
|
|
569
546
|
};
|
|
570
|
-
|
|
571
|
-
const listByComponentNextOperationSpec: msRest.OperationSpec = {
|
|
572
|
-
httpMethod: "GET",
|
|
573
|
-
baseUrl: "https://management.azure.com",
|
|
547
|
+
const listByComponentNextOperationSpec: coreClient.OperationSpec = {
|
|
574
548
|
path: "{nextLink}",
|
|
575
|
-
|
|
576
|
-
Parameters.nextPageLink
|
|
577
|
-
],
|
|
578
|
-
queryParameters: [
|
|
579
|
-
Parameters.apiVersion0
|
|
580
|
-
],
|
|
581
|
-
headerParameters: [
|
|
582
|
-
Parameters.acceptLanguage
|
|
583
|
-
],
|
|
549
|
+
httpMethod: "GET",
|
|
584
550
|
responses: {
|
|
585
551
|
200: {
|
|
586
552
|
bodyMapper: Mappers.WebTestListResult
|
|
587
|
-
},
|
|
588
|
-
default: {
|
|
589
|
-
bodyMapper: Mappers.CloudError
|
|
590
553
|
}
|
|
591
554
|
},
|
|
555
|
+
queryParameters: [Parameters.apiVersion],
|
|
556
|
+
urlParameters: [
|
|
557
|
+
Parameters.$host,
|
|
558
|
+
Parameters.resourceGroupName,
|
|
559
|
+
Parameters.subscriptionId,
|
|
560
|
+
Parameters.componentName,
|
|
561
|
+
Parameters.nextLink
|
|
562
|
+
],
|
|
563
|
+
headerParameters: [Parameters.accept],
|
|
592
564
|
serializer
|
|
593
565
|
};
|