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