@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,38 @@
|
|
|
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 { Annotations } 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
|
+
Annotation,
|
|
17
|
+
AnnotationsListOptionalParams,
|
|
18
|
+
AnnotationsListResponse,
|
|
19
|
+
AnnotationsCreateOptionalParams,
|
|
20
|
+
AnnotationsCreateResponse,
|
|
21
|
+
AnnotationsDeleteOptionalParams,
|
|
22
|
+
AnnotationsGetOptionalParams,
|
|
23
|
+
AnnotationsGetResponse
|
|
24
|
+
} from "../models";
|
|
16
25
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
26
|
+
/// <reference lib="esnext.asynciterable" />
|
|
27
|
+
/** Class containing Annotations operations. */
|
|
28
|
+
export class AnnotationsImpl implements Annotations {
|
|
29
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
20
30
|
|
|
21
31
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
32
|
+
* Initialize a new instance of the class Annotations class.
|
|
33
|
+
* @param client Reference to the service client
|
|
24
34
|
*/
|
|
25
|
-
constructor(client:
|
|
35
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
26
36
|
this.client = client;
|
|
27
37
|
}
|
|
28
38
|
|
|
@@ -30,43 +40,99 @@ export class Annotations {
|
|
|
30
40
|
* Gets the list of annotations for a component for given time range
|
|
31
41
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
42
|
* @param resourceName The name of the Application Insights component resource.
|
|
33
|
-
* @param start The start time to query from for annotations, cannot be older than 90 days from
|
|
34
|
-
*
|
|
43
|
+
* @param start The start time to query from for annotations, cannot be older than 90 days from current
|
|
44
|
+
* date.
|
|
35
45
|
* @param end The end time to query for annotations.
|
|
36
|
-
* @param
|
|
37
|
-
* @returns Promise<Models.AnnotationsListResponse>
|
|
46
|
+
* @param options The options parameters.
|
|
38
47
|
*/
|
|
39
|
-
list(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
public list(
|
|
49
|
+
resourceGroupName: string,
|
|
50
|
+
resourceName: string,
|
|
51
|
+
start: string,
|
|
52
|
+
end: string,
|
|
53
|
+
options?: AnnotationsListOptionalParams
|
|
54
|
+
): PagedAsyncIterableIterator<Annotation> {
|
|
55
|
+
const iter = this.listPagingAll(
|
|
56
|
+
resourceGroupName,
|
|
57
|
+
resourceName,
|
|
58
|
+
start,
|
|
59
|
+
end,
|
|
60
|
+
options
|
|
61
|
+
);
|
|
62
|
+
return {
|
|
63
|
+
next() {
|
|
64
|
+
return iter.next();
|
|
65
|
+
},
|
|
66
|
+
[Symbol.asyncIterator]() {
|
|
67
|
+
return this;
|
|
68
|
+
},
|
|
69
|
+
byPage: () => {
|
|
70
|
+
return this.listPagingPage(
|
|
71
|
+
resourceGroupName,
|
|
72
|
+
resourceName,
|
|
73
|
+
start,
|
|
74
|
+
end,
|
|
75
|
+
options
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
private async *listPagingPage(
|
|
82
|
+
resourceGroupName: string,
|
|
83
|
+
resourceName: string,
|
|
84
|
+
start: string,
|
|
85
|
+
end: string,
|
|
86
|
+
options?: AnnotationsListOptionalParams
|
|
87
|
+
): AsyncIterableIterator<Annotation[]> {
|
|
88
|
+
let result = await this._list(
|
|
89
|
+
resourceGroupName,
|
|
90
|
+
resourceName,
|
|
91
|
+
start,
|
|
92
|
+
end,
|
|
93
|
+
options
|
|
94
|
+
);
|
|
95
|
+
yield result.value || [];
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
private async *listPagingAll(
|
|
99
|
+
resourceGroupName: string,
|
|
100
|
+
resourceName: string,
|
|
101
|
+
start: string,
|
|
102
|
+
end: string,
|
|
103
|
+
options?: AnnotationsListOptionalParams
|
|
104
|
+
): AsyncIterableIterator<Annotation> {
|
|
105
|
+
for await (const page of this.listPagingPage(
|
|
106
|
+
resourceGroupName,
|
|
107
|
+
resourceName,
|
|
108
|
+
start,
|
|
109
|
+
end,
|
|
110
|
+
options
|
|
111
|
+
)) {
|
|
112
|
+
yield* page;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
49
116
|
/**
|
|
117
|
+
* Gets the list of annotations for a component for given time range
|
|
50
118
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
119
|
* @param resourceName The name of the Application Insights component resource.
|
|
52
|
-
* @param start The start time to query from for annotations, cannot be older than 90 days from
|
|
53
|
-
*
|
|
120
|
+
* @param start The start time to query from for annotations, cannot be older than 90 days from current
|
|
121
|
+
* date.
|
|
54
122
|
* @param end The end time to query for annotations.
|
|
55
|
-
* @param options The
|
|
56
|
-
* @param callback The callback
|
|
123
|
+
* @param options The options parameters.
|
|
57
124
|
*/
|
|
58
|
-
|
|
59
|
-
|
|
125
|
+
private _list(
|
|
126
|
+
resourceGroupName: string,
|
|
127
|
+
resourceName: string,
|
|
128
|
+
start: string,
|
|
129
|
+
end: string,
|
|
130
|
+
options?: AnnotationsListOptionalParams
|
|
131
|
+
): Promise<AnnotationsListResponse> {
|
|
60
132
|
return this.client.sendOperationRequest(
|
|
61
|
-
{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
start,
|
|
65
|
-
end,
|
|
66
|
-
options
|
|
67
|
-
},
|
|
68
|
-
listOperationSpec,
|
|
69
|
-
callback) as Promise<Models.AnnotationsListResponse>;
|
|
133
|
+
{ resourceGroupName, resourceName, start, end, options },
|
|
134
|
+
listOperationSpec
|
|
135
|
+
);
|
|
70
136
|
}
|
|
71
137
|
|
|
72
138
|
/**
|
|
@@ -74,38 +140,19 @@ export class Annotations {
|
|
|
74
140
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
141
|
* @param resourceName The name of the Application Insights component resource.
|
|
76
142
|
* @param annotationProperties Properties that need to be specified to create an annotation of a
|
|
77
|
-
*
|
|
78
|
-
* @param
|
|
79
|
-
* @returns Promise<Models.AnnotationsCreateResponse>
|
|
80
|
-
*/
|
|
81
|
-
create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options?: msRest.RequestOptionsBase): Promise<Models.AnnotationsCreateResponse>;
|
|
82
|
-
/**
|
|
83
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
84
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
85
|
-
* @param annotationProperties Properties that need to be specified to create an annotation of a
|
|
86
|
-
* Application Insights component.
|
|
87
|
-
* @param callback The callback
|
|
143
|
+
* Application Insights component.
|
|
144
|
+
* @param options The options parameters.
|
|
88
145
|
*/
|
|
89
|
-
create(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
* @param options The optional parameters
|
|
96
|
-
* @param callback The callback
|
|
97
|
-
*/
|
|
98
|
-
create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Annotation[]>): void;
|
|
99
|
-
create(resourceGroupName: string, resourceName: string, annotationProperties: Models.Annotation, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Annotation[]>, callback?: msRest.ServiceCallback<Models.Annotation[]>): Promise<Models.AnnotationsCreateResponse> {
|
|
146
|
+
create(
|
|
147
|
+
resourceGroupName: string,
|
|
148
|
+
resourceName: string,
|
|
149
|
+
annotationProperties: Annotation,
|
|
150
|
+
options?: AnnotationsCreateOptionalParams
|
|
151
|
+
): Promise<AnnotationsCreateResponse> {
|
|
100
152
|
return this.client.sendOperationRequest(
|
|
101
|
-
{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
annotationProperties,
|
|
105
|
-
options
|
|
106
|
-
},
|
|
107
|
-
createOperationSpec,
|
|
108
|
-
callback) as Promise<Models.AnnotationsCreateResponse>;
|
|
153
|
+
{ resourceGroupName, resourceName, annotationProperties, options },
|
|
154
|
+
createOperationSpec
|
|
155
|
+
);
|
|
109
156
|
}
|
|
110
157
|
|
|
111
158
|
/**
|
|
@@ -113,38 +160,19 @@ export class Annotations {
|
|
|
113
160
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
161
|
* @param resourceName The name of the Application Insights component resource.
|
|
115
162
|
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
116
|
-
*
|
|
117
|
-
* @param
|
|
118
|
-
* @returns Promise<msRest.RestResponse>
|
|
119
|
-
*/
|
|
120
|
-
deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
121
|
-
/**
|
|
122
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
123
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
124
|
-
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
125
|
-
* component.
|
|
126
|
-
* @param callback The callback
|
|
127
|
-
*/
|
|
128
|
-
deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, callback: msRest.ServiceCallback<void>): void;
|
|
129
|
-
/**
|
|
130
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
131
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
132
|
-
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
133
|
-
* component.
|
|
134
|
-
* @param options The optional parameters
|
|
135
|
-
* @param callback The callback
|
|
163
|
+
* component.
|
|
164
|
+
* @param options The options parameters.
|
|
136
165
|
*/
|
|
137
|
-
|
|
138
|
-
|
|
166
|
+
delete(
|
|
167
|
+
resourceGroupName: string,
|
|
168
|
+
resourceName: string,
|
|
169
|
+
annotationId: string,
|
|
170
|
+
options?: AnnotationsDeleteOptionalParams
|
|
171
|
+
): Promise<void> {
|
|
139
172
|
return this.client.sendOperationRequest(
|
|
140
|
-
{
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
annotationId,
|
|
144
|
-
options
|
|
145
|
-
},
|
|
146
|
-
deleteMethodOperationSpec,
|
|
147
|
-
callback);
|
|
173
|
+
{ resourceGroupName, resourceName, annotationId, options },
|
|
174
|
+
deleteOperationSpec
|
|
175
|
+
);
|
|
148
176
|
}
|
|
149
177
|
|
|
150
178
|
/**
|
|
@@ -152,59 +180,28 @@ export class Annotations {
|
|
|
152
180
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
153
181
|
* @param resourceName The name of the Application Insights component resource.
|
|
154
182
|
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
155
|
-
*
|
|
156
|
-
* @param
|
|
157
|
-
* @returns Promise<Models.AnnotationsGetResponse>
|
|
158
|
-
*/
|
|
159
|
-
get(resourceGroupName: string, resourceName: string, annotationId: string, options?: msRest.RequestOptionsBase): Promise<Models.AnnotationsGetResponse>;
|
|
160
|
-
/**
|
|
161
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
162
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
163
|
-
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
164
|
-
* component.
|
|
165
|
-
* @param callback The callback
|
|
166
|
-
*/
|
|
167
|
-
get(resourceGroupName: string, resourceName: string, annotationId: string, callback: msRest.ServiceCallback<Models.Annotation[]>): void;
|
|
168
|
-
/**
|
|
169
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
170
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
171
|
-
* @param annotationId The unique annotation ID. This is unique within a Application Insights
|
|
172
|
-
* component.
|
|
173
|
-
* @param options The optional parameters
|
|
174
|
-
* @param callback The callback
|
|
183
|
+
* component.
|
|
184
|
+
* @param options The options parameters.
|
|
175
185
|
*/
|
|
176
|
-
get(
|
|
177
|
-
|
|
186
|
+
get(
|
|
187
|
+
resourceGroupName: string,
|
|
188
|
+
resourceName: string,
|
|
189
|
+
annotationId: string,
|
|
190
|
+
options?: AnnotationsGetOptionalParams
|
|
191
|
+
): Promise<AnnotationsGetResponse> {
|
|
178
192
|
return this.client.sendOperationRequest(
|
|
179
|
-
{
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
annotationId,
|
|
183
|
-
options
|
|
184
|
-
},
|
|
185
|
-
getOperationSpec,
|
|
186
|
-
callback) as Promise<Models.AnnotationsGetResponse>;
|
|
193
|
+
{ resourceGroupName, resourceName, annotationId, options },
|
|
194
|
+
getOperationSpec
|
|
195
|
+
);
|
|
187
196
|
}
|
|
188
197
|
}
|
|
189
|
-
|
|
190
198
|
// Operation Specifications
|
|
191
|
-
const serializer =
|
|
192
|
-
|
|
199
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
200
|
+
|
|
201
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
202
|
+
path:
|
|
203
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
|
|
193
204
|
httpMethod: "GET",
|
|
194
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
|
|
195
|
-
urlParameters: [
|
|
196
|
-
Parameters.resourceGroupName,
|
|
197
|
-
Parameters.subscriptionId,
|
|
198
|
-
Parameters.resourceName
|
|
199
|
-
],
|
|
200
|
-
queryParameters: [
|
|
201
|
-
Parameters.apiVersion0,
|
|
202
|
-
Parameters.start,
|
|
203
|
-
Parameters.end
|
|
204
|
-
],
|
|
205
|
-
headerParameters: [
|
|
206
|
-
Parameters.acceptLanguage
|
|
207
|
-
],
|
|
208
205
|
responses: {
|
|
209
206
|
200: {
|
|
210
207
|
bodyMapper: Mappers.AnnotationsListResult
|
|
@@ -213,42 +210,26 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
213
210
|
bodyMapper: Mappers.AnnotationError
|
|
214
211
|
}
|
|
215
212
|
},
|
|
216
|
-
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
const createOperationSpec: msRest.OperationSpec = {
|
|
220
|
-
httpMethod: "PUT",
|
|
221
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
|
|
213
|
+
queryParameters: [Parameters.apiVersion, Parameters.start, Parameters.end],
|
|
222
214
|
urlParameters: [
|
|
215
|
+
Parameters.$host,
|
|
223
216
|
Parameters.resourceGroupName,
|
|
224
217
|
Parameters.subscriptionId,
|
|
225
218
|
Parameters.resourceName
|
|
226
219
|
],
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
parameterPath: "annotationProperties",
|
|
235
|
-
mapper: {
|
|
236
|
-
...Mappers.Annotation,
|
|
237
|
-
required: true
|
|
238
|
-
}
|
|
239
|
-
},
|
|
220
|
+
headerParameters: [Parameters.accept],
|
|
221
|
+
serializer
|
|
222
|
+
};
|
|
223
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
|
224
|
+
path:
|
|
225
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations",
|
|
226
|
+
httpMethod: "PUT",
|
|
240
227
|
responses: {
|
|
241
228
|
200: {
|
|
242
229
|
bodyMapper: {
|
|
243
|
-
serializedName: "parsedResponse",
|
|
244
230
|
type: {
|
|
245
231
|
name: "Sequence",
|
|
246
|
-
element: {
|
|
247
|
-
type: {
|
|
248
|
-
name: "Composite",
|
|
249
|
-
className: "Annotation"
|
|
250
|
-
}
|
|
251
|
-
}
|
|
232
|
+
element: { type: { name: "Composite", className: "Annotation" } }
|
|
252
233
|
}
|
|
253
234
|
}
|
|
254
235
|
},
|
|
@@ -256,60 +237,43 @@ const createOperationSpec: msRest.OperationSpec = {
|
|
|
256
237
|
bodyMapper: Mappers.AnnotationError
|
|
257
238
|
}
|
|
258
239
|
},
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
263
|
-
httpMethod: "DELETE",
|
|
264
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}",
|
|
240
|
+
requestBody: Parameters.annotationProperties,
|
|
241
|
+
queryParameters: [Parameters.apiVersion],
|
|
265
242
|
urlParameters: [
|
|
243
|
+
Parameters.$host,
|
|
266
244
|
Parameters.resourceGroupName,
|
|
267
245
|
Parameters.subscriptionId,
|
|
268
|
-
Parameters.resourceName
|
|
269
|
-
Parameters.annotationId
|
|
270
|
-
],
|
|
271
|
-
queryParameters: [
|
|
272
|
-
Parameters.apiVersion0
|
|
273
|
-
],
|
|
274
|
-
headerParameters: [
|
|
275
|
-
Parameters.acceptLanguage
|
|
246
|
+
Parameters.resourceName
|
|
276
247
|
],
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
default: {
|
|
280
|
-
bodyMapper: Mappers.CloudError
|
|
281
|
-
}
|
|
282
|
-
},
|
|
248
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
249
|
+
mediaType: "json",
|
|
283
250
|
serializer
|
|
284
251
|
};
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
252
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
253
|
+
path:
|
|
254
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}",
|
|
255
|
+
httpMethod: "DELETE",
|
|
256
|
+
responses: { 200: {} },
|
|
257
|
+
queryParameters: [Parameters.apiVersion],
|
|
289
258
|
urlParameters: [
|
|
259
|
+
Parameters.$host,
|
|
290
260
|
Parameters.resourceGroupName,
|
|
291
261
|
Parameters.subscriptionId,
|
|
292
262
|
Parameters.resourceName,
|
|
293
263
|
Parameters.annotationId
|
|
294
264
|
],
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
265
|
+
serializer
|
|
266
|
+
};
|
|
267
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
268
|
+
path:
|
|
269
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations/{annotationId}",
|
|
270
|
+
httpMethod: "GET",
|
|
301
271
|
responses: {
|
|
302
272
|
200: {
|
|
303
273
|
bodyMapper: {
|
|
304
|
-
serializedName: "parsedResponse",
|
|
305
274
|
type: {
|
|
306
275
|
name: "Sequence",
|
|
307
|
-
element: {
|
|
308
|
-
type: {
|
|
309
|
-
name: "Composite",
|
|
310
|
-
className: "Annotation"
|
|
311
|
-
}
|
|
312
|
-
}
|
|
276
|
+
element: { type: { name: "Composite", className: "Annotation" } }
|
|
313
277
|
}
|
|
314
278
|
}
|
|
315
279
|
},
|
|
@@ -317,5 +281,14 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
317
281
|
bodyMapper: Mappers.AnnotationError
|
|
318
282
|
}
|
|
319
283
|
},
|
|
284
|
+
queryParameters: [Parameters.apiVersion],
|
|
285
|
+
urlParameters: [
|
|
286
|
+
Parameters.$host,
|
|
287
|
+
Parameters.resourceGroupName,
|
|
288
|
+
Parameters.subscriptionId,
|
|
289
|
+
Parameters.resourceName,
|
|
290
|
+
Parameters.annotationId
|
|
291
|
+
],
|
|
292
|
+
headerParameters: [Parameters.accept],
|
|
320
293
|
serializer
|
|
321
294
|
};
|
|
@@ -1,28 +1,31 @@
|
|
|
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 { ComponentAvailableFeatures } 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
|
+
ComponentAvailableFeaturesGetOptionalParams,
|
|
16
|
+
ComponentAvailableFeaturesGetResponse
|
|
17
|
+
} from "../models";
|
|
16
18
|
|
|
17
|
-
/** Class
|
|
18
|
-
export class
|
|
19
|
-
|
|
19
|
+
/** Class containing ComponentAvailableFeatures operations. */
|
|
20
|
+
export class ComponentAvailableFeaturesImpl
|
|
21
|
+
implements ComponentAvailableFeatures {
|
|
22
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
20
23
|
|
|
21
24
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
25
|
+
* Initialize a new instance of the class ComponentAvailableFeatures class.
|
|
26
|
+
* @param client Reference to the service client
|
|
24
27
|
*/
|
|
25
|
-
constructor(client:
|
|
28
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
26
29
|
this.client = client;
|
|
27
30
|
}
|
|
28
31
|
|
|
@@ -30,58 +33,38 @@ export class ComponentAvailableFeatures {
|
|
|
30
33
|
* Returns all available features of the application insights component.
|
|
31
34
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
35
|
* @param resourceName The name of the Application Insights component resource.
|
|
33
|
-
* @param
|
|
34
|
-
* @returns Promise<Models.ComponentAvailableFeaturesGetResponse>
|
|
36
|
+
* @param options The options parameters.
|
|
35
37
|
*/
|
|
36
|
-
get(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
*/
|
|
42
|
-
get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentAvailableFeatures>): 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
|
-
get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentAvailableFeatures>): void;
|
|
50
|
-
get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentAvailableFeatures>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentAvailableFeatures>): Promise<Models.ComponentAvailableFeaturesGetResponse> {
|
|
38
|
+
get(
|
|
39
|
+
resourceGroupName: string,
|
|
40
|
+
resourceName: string,
|
|
41
|
+
options?: ComponentAvailableFeaturesGetOptionalParams
|
|
42
|
+
): Promise<ComponentAvailableFeaturesGetResponse> {
|
|
51
43
|
return this.client.sendOperationRequest(
|
|
52
|
-
{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
options
|
|
56
|
-
},
|
|
57
|
-
getOperationSpec,
|
|
58
|
-
callback) as Promise<Models.ComponentAvailableFeaturesGetResponse>;
|
|
44
|
+
{ resourceGroupName, resourceName, options },
|
|
45
|
+
getOperationSpec
|
|
46
|
+
);
|
|
59
47
|
}
|
|
60
48
|
}
|
|
61
|
-
|
|
62
49
|
// Operation Specifications
|
|
63
|
-
const serializer =
|
|
64
|
-
|
|
50
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
51
|
+
|
|
52
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
53
|
+
path:
|
|
54
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/getavailablebillingfeatures",
|
|
65
55
|
httpMethod: "GET",
|
|
66
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/getavailablebillingfeatures",
|
|
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
56
|
responses: {
|
|
79
57
|
200: {
|
|
80
58
|
bodyMapper: Mappers.ApplicationInsightsComponentAvailableFeatures
|
|
81
|
-
},
|
|
82
|
-
default: {
|
|
83
|
-
bodyMapper: Mappers.CloudError
|
|
84
59
|
}
|
|
85
60
|
},
|
|
61
|
+
queryParameters: [Parameters.apiVersion],
|
|
62
|
+
urlParameters: [
|
|
63
|
+
Parameters.$host,
|
|
64
|
+
Parameters.resourceGroupName,
|
|
65
|
+
Parameters.subscriptionId,
|
|
66
|
+
Parameters.resourceName
|
|
67
|
+
],
|
|
68
|
+
headerParameters: [Parameters.accept],
|
|
86
69
|
serializer
|
|
87
70
|
};
|