@azure/arm-appinsights 3.1.1 → 5.0.0-beta.2
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 +69 -80
- package/dist/index.js +7666 -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 +35 -0
- package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/applicationInsightsManagementClient.js +68 -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 +2107 -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 +88 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1580 -1028
- 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 +430 -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 +2 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +5 -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/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 +20 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +27 -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/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 +72 -23
- package/review/arm-appinsights.api.md +1776 -0
- package/rollup.config.js +181 -30
- package/src/applicationInsightsManagementClient.ts +144 -71
- package/src/index.ts +12 -0
- package/src/models/index.ts +1634 -2500
- package/src/models/mappers.ts +1679 -1084
- 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 +340 -425
- package/src/operations/exportConfigurations.ts +139 -264
- package/src/operations/favorites.ts +134 -242
- package/src/operations/index.ts +5 -7
- package/src/operations/liveToken.ts +30 -50
- package/src/operations/myWorkbooks.ts +360 -252
- 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 +27 -0
- package/src/operationsInterfaces/liveToken.ts +22 -0
- package/src/operationsInterfaces/myWorkbooks.ts +95 -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 +14 -6
- package/types/arm-appinsights.d.ts +3117 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-appinsights.js +0 -6626
- 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 -42
- 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 -60
- 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 -66
- 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
- package/src/operations/operations.ts +0 -218
|
@@ -1,28 +1,36 @@
|
|
|
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 * as
|
|
13
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { ProactiveDetectionConfigurations } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
14
12
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
13
|
+
import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
|
|
14
|
+
import {
|
|
15
|
+
ProactiveDetectionConfigurationsListOptionalParams,
|
|
16
|
+
ProactiveDetectionConfigurationsListResponse,
|
|
17
|
+
ProactiveDetectionConfigurationsGetOptionalParams,
|
|
18
|
+
ProactiveDetectionConfigurationsGetResponse,
|
|
19
|
+
ApplicationInsightsComponentProactiveDetectionConfiguration,
|
|
20
|
+
ProactiveDetectionConfigurationsUpdateOptionalParams,
|
|
21
|
+
ProactiveDetectionConfigurationsUpdateResponse
|
|
22
|
+
} from "../models";
|
|
16
23
|
|
|
17
|
-
/** Class
|
|
18
|
-
export class
|
|
19
|
-
|
|
24
|
+
/** Class containing ProactiveDetectionConfigurations operations. */
|
|
25
|
+
export class ProactiveDetectionConfigurationsImpl
|
|
26
|
+
implements ProactiveDetectionConfigurations {
|
|
27
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
20
28
|
|
|
21
29
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
30
|
+
* Initialize a new instance of the class ProactiveDetectionConfigurations class.
|
|
31
|
+
* @param client Reference to the service client
|
|
24
32
|
*/
|
|
25
|
-
constructor(client:
|
|
33
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
26
34
|
this.client = client;
|
|
27
35
|
}
|
|
28
36
|
|
|
@@ -30,107 +38,56 @@ export class ProactiveDetectionConfigurations {
|
|
|
30
38
|
* Gets a list of ProactiveDetection configurations of an Application Insights component.
|
|
31
39
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
40
|
* @param resourceName The name of the Application Insights component resource.
|
|
33
|
-
* @param
|
|
34
|
-
* @returns Promise<Models.ProactiveDetectionConfigurationsListResponse>
|
|
41
|
+
* @param options The options parameters.
|
|
35
42
|
*/
|
|
36
|
-
list(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
*/
|
|
42
|
-
list(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration[]>): void;
|
|
43
|
-
/**
|
|
44
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
46
|
-
* @param options The optional parameters
|
|
47
|
-
* @param callback The callback
|
|
48
|
-
*/
|
|
49
|
-
list(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration[]>): void;
|
|
50
|
-
list(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration[]>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration[]>): Promise<Models.ProactiveDetectionConfigurationsListResponse> {
|
|
43
|
+
list(
|
|
44
|
+
resourceGroupName: string,
|
|
45
|
+
resourceName: string,
|
|
46
|
+
options?: ProactiveDetectionConfigurationsListOptionalParams
|
|
47
|
+
): Promise<ProactiveDetectionConfigurationsListResponse> {
|
|
51
48
|
return this.client.sendOperationRequest(
|
|
52
|
-
{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
options
|
|
56
|
-
},
|
|
57
|
-
listOperationSpec,
|
|
58
|
-
callback) as Promise<Models.ProactiveDetectionConfigurationsListResponse>;
|
|
49
|
+
{ resourceGroupName, resourceName, options },
|
|
50
|
+
listOperationSpec
|
|
51
|
+
);
|
|
59
52
|
}
|
|
60
53
|
|
|
61
54
|
/**
|
|
62
55
|
* Get the ProactiveDetection configuration for this configuration id.
|
|
63
56
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
64
57
|
* @param resourceName The name of the Application Insights component resource.
|
|
65
|
-
* @param configurationId The ProactiveDetection configuration ID. This is unique within a
|
|
66
|
-
*
|
|
67
|
-
* @param
|
|
68
|
-
* @returns Promise<Models.ProactiveDetectionConfigurationsGetResponse>
|
|
58
|
+
* @param configurationId The ProactiveDetection configuration ID. This is unique within a Application
|
|
59
|
+
* Insights component.
|
|
60
|
+
* @param options The options parameters.
|
|
69
61
|
*/
|
|
70
|
-
get(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
* @param callback The callback
|
|
77
|
-
*/
|
|
78
|
-
get(resourceGroupName: string, resourceName: string, configurationId: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration>): void;
|
|
79
|
-
/**
|
|
80
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
81
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
82
|
-
* @param configurationId The ProactiveDetection configuration ID. This is unique within a
|
|
83
|
-
* Application Insights component.
|
|
84
|
-
* @param options The optional parameters
|
|
85
|
-
* @param callback The callback
|
|
86
|
-
*/
|
|
87
|
-
get(resourceGroupName: string, resourceName: string, configurationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration>): void;
|
|
88
|
-
get(resourceGroupName: string, resourceName: string, configurationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration>): Promise<Models.ProactiveDetectionConfigurationsGetResponse> {
|
|
62
|
+
get(
|
|
63
|
+
resourceGroupName: string,
|
|
64
|
+
resourceName: string,
|
|
65
|
+
configurationId: string,
|
|
66
|
+
options?: ProactiveDetectionConfigurationsGetOptionalParams
|
|
67
|
+
): Promise<ProactiveDetectionConfigurationsGetResponse> {
|
|
89
68
|
return this.client.sendOperationRequest(
|
|
90
|
-
{
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
configurationId,
|
|
94
|
-
options
|
|
95
|
-
},
|
|
96
|
-
getOperationSpec,
|
|
97
|
-
callback) as Promise<Models.ProactiveDetectionConfigurationsGetResponse>;
|
|
69
|
+
{ resourceGroupName, resourceName, configurationId, options },
|
|
70
|
+
getOperationSpec
|
|
71
|
+
);
|
|
98
72
|
}
|
|
99
73
|
|
|
100
74
|
/**
|
|
101
75
|
* Update the ProactiveDetection configuration for this configuration id.
|
|
102
76
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
103
77
|
* @param resourceName The name of the Application Insights component resource.
|
|
104
|
-
* @param configurationId The ProactiveDetection configuration ID. This is unique within a
|
|
105
|
-
*
|
|
106
|
-
* @param proactiveDetectionProperties Properties that need to be specified to update the
|
|
107
|
-
* ProactiveDetection configuration.
|
|
108
|
-
* @param [options] The optional parameters
|
|
109
|
-
* @returns Promise<Models.ProactiveDetectionConfigurationsUpdateResponse>
|
|
110
|
-
*/
|
|
111
|
-
update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, options?: msRest.RequestOptionsBase): Promise<Models.ProactiveDetectionConfigurationsUpdateResponse>;
|
|
112
|
-
/**
|
|
113
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
115
|
-
* @param configurationId The ProactiveDetection configuration ID. This is unique within a
|
|
116
|
-
* Application Insights component.
|
|
117
|
-
* @param proactiveDetectionProperties Properties that need to be specified to update the
|
|
118
|
-
* ProactiveDetection configuration.
|
|
119
|
-
* @param callback The callback
|
|
120
|
-
*/
|
|
121
|
-
update(resourceGroupName: string, resourceName: string, configurationId: string, proactiveDetectionProperties: Models.ApplicationInsightsComponentProactiveDetectionConfiguration, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentProactiveDetectionConfiguration>): void;
|
|
122
|
-
/**
|
|
123
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
124
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
125
|
-
* @param configurationId The ProactiveDetection configuration ID. This is unique within a
|
|
126
|
-
* Application Insights component.
|
|
78
|
+
* @param configurationId The ProactiveDetection configuration ID. This is unique within a Application
|
|
79
|
+
* Insights component.
|
|
127
80
|
* @param proactiveDetectionProperties Properties that need to be specified to update the
|
|
128
|
-
*
|
|
129
|
-
* @param options The
|
|
130
|
-
* @param callback The callback
|
|
81
|
+
* ProactiveDetection configuration.
|
|
82
|
+
* @param options The options parameters.
|
|
131
83
|
*/
|
|
132
|
-
update(
|
|
133
|
-
|
|
84
|
+
update(
|
|
85
|
+
resourceGroupName: string,
|
|
86
|
+
resourceName: string,
|
|
87
|
+
configurationId: string,
|
|
88
|
+
proactiveDetectionProperties: ApplicationInsightsComponentProactiveDetectionConfiguration,
|
|
89
|
+
options?: ProactiveDetectionConfigurationsUpdateOptionalParams
|
|
90
|
+
): Promise<ProactiveDetectionConfigurationsUpdateResponse> {
|
|
134
91
|
return this.client.sendOperationRequest(
|
|
135
92
|
{
|
|
136
93
|
resourceGroupName,
|
|
@@ -139,104 +96,84 @@ export class ProactiveDetectionConfigurations {
|
|
|
139
96
|
proactiveDetectionProperties,
|
|
140
97
|
options
|
|
141
98
|
},
|
|
142
|
-
updateOperationSpec
|
|
143
|
-
|
|
99
|
+
updateOperationSpec
|
|
100
|
+
);
|
|
144
101
|
}
|
|
145
102
|
}
|
|
146
|
-
|
|
147
103
|
// Operation Specifications
|
|
148
|
-
const serializer =
|
|
149
|
-
|
|
104
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
105
|
+
|
|
106
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
107
|
+
path:
|
|
108
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs",
|
|
150
109
|
httpMethod: "GET",
|
|
151
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs",
|
|
152
|
-
urlParameters: [
|
|
153
|
-
Parameters.resourceGroupName,
|
|
154
|
-
Parameters.subscriptionId,
|
|
155
|
-
Parameters.resourceName
|
|
156
|
-
],
|
|
157
|
-
queryParameters: [
|
|
158
|
-
Parameters.apiVersion0
|
|
159
|
-
],
|
|
160
|
-
headerParameters: [
|
|
161
|
-
Parameters.acceptLanguage
|
|
162
|
-
],
|
|
163
110
|
responses: {
|
|
164
111
|
200: {
|
|
165
112
|
bodyMapper: {
|
|
166
|
-
serializedName: "parsedResponse",
|
|
167
113
|
type: {
|
|
168
114
|
name: "Sequence",
|
|
169
115
|
element: {
|
|
170
116
|
type: {
|
|
171
117
|
name: "Composite",
|
|
172
|
-
className:
|
|
118
|
+
className:
|
|
119
|
+
"ApplicationInsightsComponentProactiveDetectionConfiguration"
|
|
173
120
|
}
|
|
174
121
|
}
|
|
175
122
|
}
|
|
176
123
|
}
|
|
177
|
-
},
|
|
178
|
-
default: {
|
|
179
|
-
bodyMapper: Mappers.CloudError
|
|
180
124
|
}
|
|
181
125
|
},
|
|
126
|
+
queryParameters: [Parameters.apiVersion],
|
|
127
|
+
urlParameters: [
|
|
128
|
+
Parameters.$host,
|
|
129
|
+
Parameters.resourceGroupName,
|
|
130
|
+
Parameters.subscriptionId,
|
|
131
|
+
Parameters.resourceName
|
|
132
|
+
],
|
|
133
|
+
headerParameters: [Parameters.accept],
|
|
182
134
|
serializer
|
|
183
135
|
};
|
|
184
|
-
|
|
185
|
-
|
|
136
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
137
|
+
path:
|
|
138
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
|
|
186
139
|
httpMethod: "GET",
|
|
187
|
-
|
|
140
|
+
responses: {
|
|
141
|
+
200: {
|
|
142
|
+
bodyMapper:
|
|
143
|
+
Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
queryParameters: [Parameters.apiVersion],
|
|
188
147
|
urlParameters: [
|
|
148
|
+
Parameters.$host,
|
|
189
149
|
Parameters.resourceGroupName,
|
|
190
150
|
Parameters.subscriptionId,
|
|
191
151
|
Parameters.resourceName,
|
|
192
152
|
Parameters.configurationId
|
|
193
153
|
],
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
154
|
+
headerParameters: [Parameters.accept],
|
|
155
|
+
serializer
|
|
156
|
+
};
|
|
157
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
158
|
+
path:
|
|
159
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
|
|
160
|
+
httpMethod: "PUT",
|
|
200
161
|
responses: {
|
|
201
162
|
200: {
|
|
202
|
-
bodyMapper:
|
|
203
|
-
|
|
204
|
-
default: {
|
|
205
|
-
bodyMapper: Mappers.CloudError
|
|
163
|
+
bodyMapper:
|
|
164
|
+
Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration
|
|
206
165
|
}
|
|
207
166
|
},
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
212
|
-
httpMethod: "PUT",
|
|
213
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/ProactiveDetectionConfigs/{ConfigurationId}",
|
|
167
|
+
requestBody: Parameters.proactiveDetectionProperties,
|
|
168
|
+
queryParameters: [Parameters.apiVersion],
|
|
214
169
|
urlParameters: [
|
|
170
|
+
Parameters.$host,
|
|
215
171
|
Parameters.resourceGroupName,
|
|
216
172
|
Parameters.subscriptionId,
|
|
217
173
|
Parameters.resourceName,
|
|
218
174
|
Parameters.configurationId
|
|
219
175
|
],
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
],
|
|
223
|
-
headerParameters: [
|
|
224
|
-
Parameters.acceptLanguage
|
|
225
|
-
],
|
|
226
|
-
requestBody: {
|
|
227
|
-
parameterPath: "proactiveDetectionProperties",
|
|
228
|
-
mapper: {
|
|
229
|
-
...Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration,
|
|
230
|
-
required: true
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
responses: {
|
|
234
|
-
200: {
|
|
235
|
-
bodyMapper: Mappers.ApplicationInsightsComponentProactiveDetectionConfiguration
|
|
236
|
-
},
|
|
237
|
-
default: {
|
|
238
|
-
bodyMapper: Mappers.CloudError
|
|
239
|
-
}
|
|
240
|
-
},
|
|
176
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
177
|
+
mediaType: "json",
|
|
241
178
|
serializer
|
|
242
179
|
};
|
|
@@ -1,28 +1,33 @@
|
|
|
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 { WebTestLocations } 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
|
+
ApplicationInsightsComponentWebTestLocation,
|
|
17
|
+
WebTestLocationsListOptionalParams,
|
|
18
|
+
WebTestLocationsListResponse
|
|
19
|
+
} from "../models";
|
|
16
20
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Class containing WebTestLocations operations. */
|
|
23
|
+
export class WebTestLocationsImpl implements WebTestLocations {
|
|
24
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
20
25
|
|
|
21
26
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
27
|
+
* Initialize a new instance of the class WebTestLocations class.
|
|
28
|
+
* @param client Reference to the service client
|
|
24
29
|
*/
|
|
25
|
-
constructor(client:
|
|
30
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
26
31
|
this.client = client;
|
|
27
32
|
}
|
|
28
33
|
|
|
@@ -30,58 +35,86 @@ export class WebTestLocations {
|
|
|
30
35
|
* Gets a list of web test locations available to this Application Insights component.
|
|
31
36
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
37
|
* @param resourceName The name of the Application Insights component resource.
|
|
33
|
-
* @param
|
|
34
|
-
* @returns Promise<Models.WebTestLocationsListResponse>
|
|
38
|
+
* @param options The options parameters.
|
|
35
39
|
*/
|
|
36
|
-
list(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
public list(
|
|
41
|
+
resourceGroupName: string,
|
|
42
|
+
resourceName: string,
|
|
43
|
+
options?: WebTestLocationsListOptionalParams
|
|
44
|
+
): PagedAsyncIterableIterator<ApplicationInsightsComponentWebTestLocation> {
|
|
45
|
+
const iter = this.listPagingAll(resourceGroupName, resourceName, options);
|
|
46
|
+
return {
|
|
47
|
+
next() {
|
|
48
|
+
return iter.next();
|
|
49
|
+
},
|
|
50
|
+
[Symbol.asyncIterator]() {
|
|
51
|
+
return this;
|
|
52
|
+
},
|
|
53
|
+
byPage: () => {
|
|
54
|
+
return this.listPagingPage(resourceGroupName, resourceName, options);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
private async *listPagingPage(
|
|
60
|
+
resourceGroupName: string,
|
|
61
|
+
resourceName: string,
|
|
62
|
+
options?: WebTestLocationsListOptionalParams
|
|
63
|
+
): AsyncIterableIterator<ApplicationInsightsComponentWebTestLocation[]> {
|
|
64
|
+
let result = await this._list(resourceGroupName, resourceName, options);
|
|
65
|
+
yield result.value || [];
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
private async *listPagingAll(
|
|
69
|
+
resourceGroupName: string,
|
|
70
|
+
resourceName: string,
|
|
71
|
+
options?: WebTestLocationsListOptionalParams
|
|
72
|
+
): AsyncIterableIterator<ApplicationInsightsComponentWebTestLocation> {
|
|
73
|
+
for await (const page of this.listPagingPage(
|
|
74
|
+
resourceGroupName,
|
|
75
|
+
resourceName,
|
|
76
|
+
options
|
|
77
|
+
)) {
|
|
78
|
+
yield* page;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
43
82
|
/**
|
|
83
|
+
* Gets a list of web test locations available to this Application Insights component.
|
|
44
84
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
85
|
* @param resourceName The name of the Application Insights component resource.
|
|
46
|
-
* @param options The
|
|
47
|
-
* @param callback The callback
|
|
86
|
+
* @param options The options parameters.
|
|
48
87
|
*/
|
|
49
|
-
|
|
50
|
-
|
|
88
|
+
private _list(
|
|
89
|
+
resourceGroupName: string,
|
|
90
|
+
resourceName: string,
|
|
91
|
+
options?: WebTestLocationsListOptionalParams
|
|
92
|
+
): Promise<WebTestLocationsListResponse> {
|
|
51
93
|
return this.client.sendOperationRequest(
|
|
52
|
-
{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
options
|
|
56
|
-
},
|
|
57
|
-
listOperationSpec,
|
|
58
|
-
callback) as Promise<Models.WebTestLocationsListResponse>;
|
|
94
|
+
{ resourceGroupName, resourceName, options },
|
|
95
|
+
listOperationSpec
|
|
96
|
+
);
|
|
59
97
|
}
|
|
60
98
|
}
|
|
61
|
-
|
|
62
99
|
// Operation Specifications
|
|
63
|
-
const serializer =
|
|
64
|
-
|
|
100
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
101
|
+
|
|
102
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
103
|
+
path:
|
|
104
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/syntheticmonitorlocations",
|
|
65
105
|
httpMethod: "GET",
|
|
66
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/syntheticmonitorlocations",
|
|
67
|
-
urlParameters: [
|
|
68
|
-
Parameters.resourceGroupName,
|
|
69
|
-
Parameters.subscriptionId,
|
|
70
|
-
Parameters.resourceName
|
|
71
|
-
],
|
|
72
|
-
queryParameters: [
|
|
73
|
-
Parameters.apiVersion0
|
|
74
|
-
],
|
|
75
|
-
headerParameters: [
|
|
76
|
-
Parameters.acceptLanguage
|
|
77
|
-
],
|
|
78
106
|
responses: {
|
|
79
107
|
200: {
|
|
80
108
|
bodyMapper: Mappers.ApplicationInsightsWebTestLocationsListResult
|
|
81
|
-
},
|
|
82
|
-
default: {
|
|
83
|
-
bodyMapper: Mappers.CloudError
|
|
84
109
|
}
|
|
85
110
|
},
|
|
111
|
+
queryParameters: [Parameters.apiVersion],
|
|
112
|
+
urlParameters: [
|
|
113
|
+
Parameters.$host,
|
|
114
|
+
Parameters.resourceGroupName,
|
|
115
|
+
Parameters.subscriptionId,
|
|
116
|
+
Parameters.resourceName
|
|
117
|
+
],
|
|
118
|
+
headerParameters: [Parameters.accept],
|
|
86
119
|
serializer
|
|
87
120
|
};
|