@azure/arm-appinsights 3.0.0 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +72 -73
- package/dist/index.js +7675 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/applicationInsightsManagementClient.d.ts +36 -0
- package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/applicationInsightsManagementClient.js +69 -0
- package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2080 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +133 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +86 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1481 -1003
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +63 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +515 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/aPIKeys.d.ts +55 -0
- package/dist-esm/src/operations/aPIKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/aPIKeys.js +185 -0
- package/dist-esm/src/operations/aPIKeys.js.map +1 -0
- package/dist-esm/src/operations/analyticsItems.d.ts +51 -0
- package/dist-esm/src/operations/analyticsItems.d.ts.map +1 -0
- package/dist-esm/src/operations/analyticsItems.js +157 -0
- package/dist-esm/src/operations/analyticsItems.js.map +1 -0
- package/dist-esm/src/operations/annotations.d.ts +63 -0
- package/dist-esm/src/operations/annotations.d.ts.map +1 -0
- package/dist-esm/src/operations/annotations.js +207 -0
- package/dist-esm/src/operations/annotations.js.map +1 -0
- package/dist-esm/src/operations/componentAvailableFeatures.d.ts +20 -0
- package/dist-esm/src/operations/componentAvailableFeatures.d.ts.map +1 -0
- package/dist-esm/src/operations/componentAvailableFeatures.js +50 -0
- package/dist-esm/src/operations/componentAvailableFeatures.js.map +1 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts +29 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.d.ts.map +1 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.js +81 -0
- package/dist-esm/src/operations/componentCurrentBillingFeatures.js.map +1 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.d.ts +20 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.js +50 -0
- package/dist-esm/src/operations/componentFeatureCapabilities.js.map +1 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts +53 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js +174 -0
- package/dist-esm/src/operations/componentLinkedStorageAccountsOperations.js.map +1 -0
- package/dist-esm/src/operations/componentQuotaStatus.d.ts +20 -0
- package/dist-esm/src/operations/componentQuotaStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/componentQuotaStatus.js +50 -0
- package/dist-esm/src/operations/componentQuotaStatus.js.map +1 -0
- package/dist-esm/src/operations/components.d.ts +108 -0
- package/dist-esm/src/operations/components.d.ts.map +1 -0
- package/dist-esm/src/operations/components.js +402 -0
- package/dist-esm/src/operations/components.js.map +1 -0
- package/dist-esm/src/operations/exportConfigurations.d.ts +58 -0
- package/dist-esm/src/operations/exportConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/exportConfigurations.js +195 -0
- package/dist-esm/src/operations/exportConfigurations.js.map +1 -0
- package/dist-esm/src/operations/favorites.d.ts +55 -0
- package/dist-esm/src/operations/favorites.d.ts.map +1 -0
- package/dist-esm/src/operations/favorites.js +196 -0
- package/dist-esm/src/operations/favorites.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +3 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +6 -7
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/liveToken.d.ts +19 -0
- package/dist-esm/src/operations/liveToken.d.ts.map +1 -0
- package/dist-esm/src/operations/liveToken.js +47 -0
- package/dist-esm/src/operations/liveToken.js.map +1 -0
- package/dist-esm/src/operations/myWorkbooks.d.ts +89 -0
- package/dist-esm/src/operations/myWorkbooks.d.ts.map +1 -0
- package/dist-esm/src/operations/myWorkbooks.js +387 -0
- package/dist-esm/src/operations/myWorkbooks.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts +40 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.js +130 -0
- package/dist-esm/src/operations/proactiveDetectionConfigurations.js.map +1 -0
- package/dist-esm/src/operations/webTestLocations.d.ts +30 -0
- package/dist-esm/src/operations/webTestLocations.d.ts.map +1 -0
- package/dist-esm/src/operations/webTestLocations.js +96 -0
- package/dist-esm/src/operations/webTestLocations.js.map +1 -0
- package/dist-esm/src/operations/webTests.d.ts +108 -0
- package/dist-esm/src/operations/webTests.d.ts.map +1 -0
- package/dist-esm/src/operations/webTests.js +435 -0
- package/dist-esm/src/operations/webTests.js.map +1 -0
- package/dist-esm/src/operations/workItemConfigurations.d.ts +75 -0
- package/dist-esm/src/operations/workItemConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/workItemConfigurations.js +257 -0
- package/dist-esm/src/operations/workItemConfigurations.js.map +1 -0
- package/dist-esm/src/operations/workbookTemplates.d.ts +57 -0
- package/dist-esm/src/operations/workbookTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/workbookTemplates.js +223 -0
- package/dist-esm/src/operations/workbookTemplates.js.map +1 -0
- package/dist-esm/src/operations/workbooks.d.ts +120 -0
- package/dist-esm/src/operations/workbooks.d.ts.map +1 -0
- package/dist-esm/src/operations/workbooks.js +530 -0
- package/dist-esm/src/operations/workbooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.js +9 -0
- package/dist-esm/src/operationsInterfaces/aPIKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.js +9 -0
- package/dist-esm/src/operationsInterfaces/analyticsItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/annotations.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/annotations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/annotations.js +9 -0
- package/dist-esm/src/operationsInterfaces/annotations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentAvailableFeatures.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentFeatureCapabilities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/componentQuotaStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/components.d.ts +72 -0
- package/dist-esm/src/operationsInterfaces/components.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/components.js +9 -0
- package/dist-esm/src/operationsInterfaces/components.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/exportConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/favorites.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/favorites.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/favorites.js +9 -0
- package/dist-esm/src/operationsInterfaces/favorites.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +28 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/liveToken.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/liveToken.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/liveToken.js +9 -0
- package/dist-esm/src/operationsInterfaces/liveToken.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts +49 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/myWorkbooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.js +9 -0
- package/dist-esm/src/operationsInterfaces/webTestLocations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTests.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/webTests.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webTests.js +9 -0
- package/dist-esm/src/operationsInterfaces/webTests.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/workItemConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/workbookTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbooks.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/workbooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workbooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/workbooks.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +71 -31
- package/review/arm-appinsights.api.md +1779 -0
- package/rollup.config.js +181 -30
- package/src/applicationInsightsManagementClient.ts +148 -65
- package/src/index.ts +12 -0
- package/src/models/index.ts +1616 -2507
- package/src/models/mappers.ts +1596 -1083
- package/src/models/parameters.ts +370 -186
- package/src/operations/aPIKeys.ts +155 -191
- package/src/operations/analyticsItems.ts +122 -240
- package/src/operations/annotations.ts +187 -214
- package/src/operations/componentAvailableFeatures.ts +40 -57
- package/src/operations/componentCurrentBillingFeatures.ts +66 -110
- package/src/operations/componentFeatureCapabilities.ts +40 -57
- package/src/operations/componentLinkedStorageAccountsOperations.ts +128 -182
- package/src/operations/componentQuotaStatus.ts +39 -57
- package/src/operations/components.ts +327 -440
- package/src/operations/exportConfigurations.ts +139 -264
- package/src/operations/favorites.ts +134 -242
- package/src/operations/index.ts +6 -7
- package/src/operations/liveToken.ts +30 -50
- package/src/operations/myWorkbooks.ts +360 -252
- package/src/operations/operations.ts +84 -169
- package/src/operations/proactiveDetectionConfigurations.ts +97 -160
- package/src/operations/webTestLocations.ts +86 -53
- package/src/operations/webTests.ts +391 -411
- package/src/operations/workItemConfigurations.ts +202 -283
- package/src/operations/workbookTemplates.ts +286 -0
- package/src/operations/workbooks.ts +558 -196
- package/src/operationsInterfaces/aPIKeys.ts +76 -0
- package/src/operationsInterfaces/analyticsItems.ts +82 -0
- package/src/operationsInterfaces/annotations.ts +81 -0
- package/src/operationsInterfaces/componentAvailableFeatures.ts +27 -0
- package/src/operationsInterfaces/componentCurrentBillingFeatures.ts +44 -0
- package/src/operationsInterfaces/componentFeatureCapabilities.ts +27 -0
- package/src/operationsInterfaces/componentLinkedStorageAccountsOperations.ts +86 -0
- package/src/operationsInterfaces/componentQuotaStatus.ts +27 -0
- package/src/operationsInterfaces/components.ts +131 -0
- package/src/operationsInterfaces/exportConfigurations.ts +95 -0
- package/src/operationsInterfaces/favorites.ts +92 -0
- package/src/operationsInterfaces/index.ts +28 -0
- package/src/operationsInterfaces/liveToken.ts +22 -0
- package/src/operationsInterfaces/myWorkbooks.ts +95 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/proactiveDetectionConfigurations.ts +63 -0
- package/src/operationsInterfaces/webTestLocations.ts +29 -0
- package/src/operationsInterfaces/webTests.ts +104 -0
- package/src/operationsInterfaces/workItemConfigurations.ts +109 -0
- package/src/operationsInterfaces/workbookTemplates.ts +80 -0
- package/src/operationsInterfaces/workbooks.ts +120 -0
- package/tsconfig.json +3 -3
- package/types/arm-appinsights.d.ts +3102 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-appinsights.js +0 -6616
- package/dist/arm-appinsights.js.map +0 -1
- package/dist/arm-appinsights.min.js +0 -1
- package/dist/arm-appinsights.min.js.map +0 -1
- package/esm/applicationInsightsManagementClient.d.ts +0 -36
- package/esm/applicationInsightsManagementClient.d.ts.map +0 -1
- package/esm/applicationInsightsManagementClient.js +0 -51
- package/esm/applicationInsightsManagementClient.js.map +0 -1
- package/esm/applicationInsightsManagementClientContext.d.ts +0 -15
- package/esm/applicationInsightsManagementClientContext.d.ts.map +0 -1
- package/esm/applicationInsightsManagementClientContext.js +0 -55
- package/esm/applicationInsightsManagementClientContext.js.map +0 -1
- package/esm/models/aPIKeysMappers.d.ts +0 -2
- package/esm/models/aPIKeysMappers.d.ts.map +0 -1
- package/esm/models/aPIKeysMappers.js +0 -9
- package/esm/models/aPIKeysMappers.js.map +0 -1
- package/esm/models/analyticsItemsMappers.d.ts +0 -2
- package/esm/models/analyticsItemsMappers.d.ts.map +0 -1
- package/esm/models/analyticsItemsMappers.js +0 -9
- package/esm/models/analyticsItemsMappers.js.map +0 -1
- package/esm/models/annotationsMappers.d.ts +0 -2
- package/esm/models/annotationsMappers.d.ts.map +0 -1
- package/esm/models/annotationsMappers.js +0 -9
- package/esm/models/annotationsMappers.js.map +0 -1
- package/esm/models/componentAvailableFeaturesMappers.d.ts +0 -2
- package/esm/models/componentAvailableFeaturesMappers.d.ts.map +0 -1
- package/esm/models/componentAvailableFeaturesMappers.js +0 -9
- package/esm/models/componentAvailableFeaturesMappers.js.map +0 -1
- package/esm/models/componentCurrentBillingFeaturesMappers.d.ts +0 -2
- package/esm/models/componentCurrentBillingFeaturesMappers.d.ts.map +0 -1
- package/esm/models/componentCurrentBillingFeaturesMappers.js +0 -9
- package/esm/models/componentCurrentBillingFeaturesMappers.js.map +0 -1
- package/esm/models/componentFeatureCapabilitiesMappers.d.ts +0 -2
- package/esm/models/componentFeatureCapabilitiesMappers.d.ts.map +0 -1
- package/esm/models/componentFeatureCapabilitiesMappers.js +0 -9
- package/esm/models/componentFeatureCapabilitiesMappers.js.map +0 -1
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts +0 -2
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.d.ts.map +0 -1
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.js +0 -9
- package/esm/models/componentLinkedStorageAccountsOperationsMappers.js.map +0 -1
- package/esm/models/componentQuotaStatusMappers.d.ts +0 -2
- package/esm/models/componentQuotaStatusMappers.d.ts.map +0 -1
- package/esm/models/componentQuotaStatusMappers.js +0 -9
- package/esm/models/componentQuotaStatusMappers.js.map +0 -1
- package/esm/models/componentsMappers.d.ts +0 -2
- package/esm/models/componentsMappers.d.ts.map +0 -1
- package/esm/models/componentsMappers.js +0 -9
- package/esm/models/componentsMappers.js.map +0 -1
- package/esm/models/exportConfigurationsMappers.d.ts +0 -2
- package/esm/models/exportConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/exportConfigurationsMappers.js +0 -9
- package/esm/models/exportConfigurationsMappers.js.map +0 -1
- package/esm/models/favoritesMappers.d.ts +0 -2
- package/esm/models/favoritesMappers.d.ts.map +0 -1
- package/esm/models/favoritesMappers.js +0 -9
- package/esm/models/favoritesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -3038
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/liveTokenMappers.d.ts +0 -2
- package/esm/models/liveTokenMappers.d.ts.map +0 -1
- package/esm/models/liveTokenMappers.js +0 -9
- package/esm/models/liveTokenMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -69
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/myWorkbooksMappers.d.ts +0 -2
- package/esm/models/myWorkbooksMappers.d.ts.map +0 -1
- package/esm/models/myWorkbooksMappers.js +0 -9
- package/esm/models/myWorkbooksMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -36
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -416
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/proactiveDetectionConfigurationsMappers.d.ts +0 -2
- package/esm/models/proactiveDetectionConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/proactiveDetectionConfigurationsMappers.js +0 -9
- package/esm/models/proactiveDetectionConfigurationsMappers.js.map +0 -1
- package/esm/models/webTestLocationsMappers.d.ts +0 -2
- package/esm/models/webTestLocationsMappers.d.ts.map +0 -1
- package/esm/models/webTestLocationsMappers.js +0 -9
- package/esm/models/webTestLocationsMappers.js.map +0 -1
- package/esm/models/webTestsMappers.d.ts +0 -2
- package/esm/models/webTestsMappers.d.ts.map +0 -1
- package/esm/models/webTestsMappers.js +0 -9
- package/esm/models/webTestsMappers.js.map +0 -1
- package/esm/models/workItemConfigurationsMappers.d.ts +0 -2
- package/esm/models/workItemConfigurationsMappers.d.ts.map +0 -1
- package/esm/models/workItemConfigurationsMappers.js +0 -9
- package/esm/models/workItemConfigurationsMappers.js.map +0 -1
- package/esm/models/workbooksMappers.d.ts +0 -2
- package/esm/models/workbooksMappers.d.ts.map +0 -1
- package/esm/models/workbooksMappers.js +0 -9
- package/esm/models/workbooksMappers.js.map +0 -1
- package/esm/operations/aPIKeys.d.ts +0 -109
- package/esm/operations/aPIKeys.d.ts.map +0 -1
- package/esm/operations/aPIKeys.js +0 -161
- package/esm/operations/aPIKeys.js.map +0 -1
- package/esm/operations/analyticsItems.d.ts +0 -139
- package/esm/operations/analyticsItems.d.ts.map +0 -1
- package/esm/operations/analyticsItems.js +0 -182
- package/esm/operations/analyticsItems.js.map +0 -1
- package/esm/operations/annotations.d.ts +0 -124
- package/esm/operations/annotations.d.ts.map +0 -1
- package/esm/operations/annotations.js +0 -185
- package/esm/operations/annotations.js.map +0 -1
- package/esm/operations/componentAvailableFeatures.d.ts +0 -34
- package/esm/operations/componentAvailableFeatures.d.ts.map +0 -1
- package/esm/operations/componentAvailableFeatures.js +0 -58
- package/esm/operations/componentAvailableFeatures.js.map +0 -1
- package/esm/operations/componentCurrentBillingFeatures.d.ts +0 -61
- package/esm/operations/componentCurrentBillingFeatures.d.ts.map +0 -1
- package/esm/operations/componentCurrentBillingFeatures.js +0 -95
- package/esm/operations/componentCurrentBillingFeatures.js.map +0 -1
- package/esm/operations/componentFeatureCapabilities.d.ts +0 -34
- package/esm/operations/componentFeatureCapabilities.d.ts.map +0 -1
- package/esm/operations/componentFeatureCapabilities.js +0 -58
- package/esm/operations/componentFeatureCapabilities.js.map +0 -1
- package/esm/operations/componentLinkedStorageAccountsOperations.d.ts +0 -109
- package/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +0 -1
- package/esm/operations/componentLinkedStorageAccountsOperations.js +0 -165
- package/esm/operations/componentLinkedStorageAccountsOperations.js.map +0 -1
- package/esm/operations/componentQuotaStatus.d.ts +0 -34
- package/esm/operations/componentQuotaStatus.d.ts.map +0 -1
- package/esm/operations/componentQuotaStatus.js +0 -58
- package/esm/operations/componentQuotaStatus.js.map +0 -1
- package/esm/operations/components.d.ts +0 -236
- package/esm/operations/components.d.ts.map +0 -1
- package/esm/operations/components.js +0 -344
- package/esm/operations/components.js.map +0 -1
- package/esm/operations/exportConfigurations.d.ts +0 -148
- package/esm/operations/exportConfigurations.d.ts.map +0 -1
- package/esm/operations/exportConfigurations.js +0 -221
- package/esm/operations/exportConfigurations.js.map +0 -1
- package/esm/operations/favorites.d.ts +0 -139
- package/esm/operations/favorites.d.ts.map +0 -1
- package/esm/operations/favorites.js +0 -214
- package/esm/operations/favorites.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/liveToken.d.ts +0 -31
- package/esm/operations/liveToken.d.ts.map +0 -1
- package/esm/operations/liveToken.js +0 -55
- package/esm/operations/liveToken.js.map +0 -1
- package/esm/operations/myWorkbooks.d.ts +0 -148
- package/esm/operations/myWorkbooks.d.ts.map +0 -1
- package/esm/operations/myWorkbooks.js +0 -228
- package/esm/operations/myWorkbooks.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -81
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -127
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/proactiveDetectionConfigurations.d.ts +0 -94
- package/esm/operations/proactiveDetectionConfigurations.d.ts.map +0 -1
- package/esm/operations/proactiveDetectionConfigurations.js +0 -141
- package/esm/operations/proactiveDetectionConfigurations.js.map +0 -1
- package/esm/operations/webTestLocations.d.ts +0 -34
- package/esm/operations/webTestLocations.d.ts.map +0 -1
- package/esm/operations/webTestLocations.js +0 -58
- package/esm/operations/webTestLocations.js.map +0 -1
- package/esm/operations/webTests.d.ts +0 -214
- package/esm/operations/webTests.d.ts.map +0 -1
- package/esm/operations/webTests.js +0 -326
- package/esm/operations/webTests.js.map +0 -1
- package/esm/operations/workItemConfigurations.d.ts +0 -169
- package/esm/operations/workItemConfigurations.d.ts.map +0 -1
- package/esm/operations/workItemConfigurations.js +0 -228
- package/esm/operations/workItemConfigurations.js.map +0 -1
- package/esm/operations/workbooks.d.ts +0 -127
- package/esm/operations/workbooks.d.ts.map +0 -1
- package/esm/operations/workbooks.js +0 -197
- package/esm/operations/workbooks.js.map +0 -1
- package/src/applicationInsightsManagementClientContext.ts +0 -60
- package/src/models/aPIKeysMappers.ts +0 -14
- package/src/models/analyticsItemsMappers.ts +0 -13
- package/src/models/annotationsMappers.ts +0 -15
- package/src/models/componentAvailableFeaturesMappers.ts +0 -14
- package/src/models/componentCurrentBillingFeaturesMappers.ts +0 -13
- package/src/models/componentFeatureCapabilitiesMappers.ts +0 -12
- package/src/models/componentLinkedStorageAccountsOperationsMappers.ts +0 -31
- package/src/models/componentQuotaStatusMappers.ts +0 -12
- package/src/models/componentsMappers.ts +0 -36
- package/src/models/exportConfigurationsMappers.ts +0 -13
- package/src/models/favoritesMappers.ts +0 -12
- package/src/models/liveTokenMappers.ts +0 -12
- package/src/models/myWorkbooksMappers.ts +0 -32
- package/src/models/operationsMappers.ts +0 -18
- package/src/models/proactiveDetectionConfigurationsMappers.ts +0 -30
- package/src/models/webTestLocationsMappers.ts +0 -13
- package/src/models/webTestsMappers.ts +0 -32
- package/src/models/workItemConfigurationsMappers.ts +0 -16
- package/src/models/workbooksMappers.ts +0 -32
|
@@ -1,185 +1,228 @@
|
|
|
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 { Components } 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
|
+
ApplicationInsightsComponent,
|
|
17
|
+
ComponentsListNextOptionalParams,
|
|
18
|
+
ComponentsListOptionalParams,
|
|
19
|
+
ComponentsListByResourceGroupNextOptionalParams,
|
|
20
|
+
ComponentsListByResourceGroupOptionalParams,
|
|
21
|
+
ComponentsListResponse,
|
|
22
|
+
ComponentsListByResourceGroupResponse,
|
|
23
|
+
ComponentsDeleteOptionalParams,
|
|
24
|
+
ComponentsGetOptionalParams,
|
|
25
|
+
ComponentsGetResponse,
|
|
26
|
+
ComponentsCreateOrUpdateOptionalParams,
|
|
27
|
+
ComponentsCreateOrUpdateResponse,
|
|
28
|
+
TagsResource,
|
|
29
|
+
ComponentsUpdateTagsOptionalParams,
|
|
30
|
+
ComponentsUpdateTagsResponse,
|
|
31
|
+
ComponentPurgeBody,
|
|
32
|
+
ComponentsPurgeOptionalParams,
|
|
33
|
+
ComponentsPurgeResponse,
|
|
34
|
+
ComponentsGetPurgeStatusOptionalParams,
|
|
35
|
+
ComponentsGetPurgeStatusResponse,
|
|
36
|
+
ComponentsListNextResponse,
|
|
37
|
+
ComponentsListByResourceGroupNextResponse
|
|
38
|
+
} from "../models";
|
|
16
39
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
40
|
+
/// <reference lib="esnext.asynciterable" />
|
|
41
|
+
/** Class containing Components operations. */
|
|
42
|
+
export class ComponentsImpl implements Components {
|
|
43
|
+
private readonly client: ApplicationInsightsManagementClient;
|
|
20
44
|
|
|
21
45
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
46
|
+
* Initialize a new instance of the class Components class.
|
|
47
|
+
* @param client Reference to the service client
|
|
24
48
|
*/
|
|
25
|
-
constructor(client:
|
|
49
|
+
constructor(client: ApplicationInsightsManagementClient) {
|
|
26
50
|
this.client = client;
|
|
27
51
|
}
|
|
28
52
|
|
|
29
53
|
/**
|
|
30
54
|
* Gets a list of all Application Insights components within a subscription.
|
|
31
|
-
* @param
|
|
32
|
-
* @returns Promise<Models.ComponentsListResponse>
|
|
55
|
+
* @param options The options parameters.
|
|
33
56
|
*/
|
|
34
|
-
list(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
* @param callback The callback
|
|
42
|
-
*/
|
|
43
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentListResult>): void;
|
|
44
|
-
list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentListResult>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentListResult>): Promise<Models.ComponentsListResponse> {
|
|
45
|
-
return this.client.sendOperationRequest(
|
|
46
|
-
{
|
|
47
|
-
options
|
|
57
|
+
public list(
|
|
58
|
+
options?: ComponentsListOptionalParams
|
|
59
|
+
): PagedAsyncIterableIterator<ApplicationInsightsComponent> {
|
|
60
|
+
const iter = this.listPagingAll(options);
|
|
61
|
+
return {
|
|
62
|
+
next() {
|
|
63
|
+
return iter.next();
|
|
48
64
|
},
|
|
49
|
-
|
|
50
|
-
|
|
65
|
+
[Symbol.asyncIterator]() {
|
|
66
|
+
return this;
|
|
67
|
+
},
|
|
68
|
+
byPage: () => {
|
|
69
|
+
return this.listPagingPage(options);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
private async *listPagingPage(
|
|
75
|
+
options?: ComponentsListOptionalParams
|
|
76
|
+
): AsyncIterableIterator<ApplicationInsightsComponent[]> {
|
|
77
|
+
let result = await this._list(options);
|
|
78
|
+
yield result.value || [];
|
|
79
|
+
let continuationToken = result.nextLink;
|
|
80
|
+
while (continuationToken) {
|
|
81
|
+
result = await this._listNext(continuationToken, options);
|
|
82
|
+
continuationToken = result.nextLink;
|
|
83
|
+
yield result.value || [];
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
private async *listPagingAll(
|
|
88
|
+
options?: ComponentsListOptionalParams
|
|
89
|
+
): AsyncIterableIterator<ApplicationInsightsComponent> {
|
|
90
|
+
for await (const page of this.listPagingPage(options)) {
|
|
91
|
+
yield* page;
|
|
92
|
+
}
|
|
51
93
|
}
|
|
52
94
|
|
|
53
95
|
/**
|
|
54
96
|
* Gets a list of Application Insights components within a resource group.
|
|
55
97
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
56
|
-
* @param
|
|
57
|
-
* @returns Promise<Models.ComponentsListByResourceGroupResponse>
|
|
58
|
-
*/
|
|
59
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.ComponentsListByResourceGroupResponse>;
|
|
60
|
-
/**
|
|
61
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
62
|
-
* @param callback The callback
|
|
63
|
-
*/
|
|
64
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentListResult>): void;
|
|
65
|
-
/**
|
|
66
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
|
-
* @param options The optional parameters
|
|
68
|
-
* @param callback The callback
|
|
98
|
+
* @param options The options parameters.
|
|
69
99
|
*/
|
|
70
|
-
listByResourceGroup(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
100
|
+
public listByResourceGroup(
|
|
101
|
+
resourceGroupName: string,
|
|
102
|
+
options?: ComponentsListByResourceGroupOptionalParams
|
|
103
|
+
): PagedAsyncIterableIterator<ApplicationInsightsComponent> {
|
|
104
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
105
|
+
return {
|
|
106
|
+
next() {
|
|
107
|
+
return iter.next();
|
|
108
|
+
},
|
|
109
|
+
[Symbol.asyncIterator]() {
|
|
110
|
+
return this;
|
|
111
|
+
},
|
|
112
|
+
byPage: () => {
|
|
113
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
private async *listByResourceGroupPagingPage(
|
|
119
|
+
resourceGroupName: string,
|
|
120
|
+
options?: ComponentsListByResourceGroupOptionalParams
|
|
121
|
+
): AsyncIterableIterator<ApplicationInsightsComponent[]> {
|
|
122
|
+
let result = await this._listByResourceGroup(resourceGroupName, options);
|
|
123
|
+
yield result.value || [];
|
|
124
|
+
let continuationToken = result.nextLink;
|
|
125
|
+
while (continuationToken) {
|
|
126
|
+
result = await this._listByResourceGroupNext(
|
|
74
127
|
resourceGroupName,
|
|
128
|
+
continuationToken,
|
|
75
129
|
options
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
130
|
+
);
|
|
131
|
+
continuationToken = result.nextLink;
|
|
132
|
+
yield result.value || [];
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
private async *listByResourceGroupPagingAll(
|
|
137
|
+
resourceGroupName: string,
|
|
138
|
+
options?: ComponentsListByResourceGroupOptionalParams
|
|
139
|
+
): AsyncIterableIterator<ApplicationInsightsComponent> {
|
|
140
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
141
|
+
resourceGroupName,
|
|
142
|
+
options
|
|
143
|
+
)) {
|
|
144
|
+
yield* page;
|
|
145
|
+
}
|
|
79
146
|
}
|
|
80
147
|
|
|
81
148
|
/**
|
|
82
|
-
*
|
|
83
|
-
* @param
|
|
84
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
85
|
-
* @param [options] The optional parameters
|
|
86
|
-
* @returns Promise<msRest.RestResponse>
|
|
149
|
+
* Gets a list of all Application Insights components within a subscription.
|
|
150
|
+
* @param options The options parameters.
|
|
87
151
|
*/
|
|
88
|
-
|
|
152
|
+
private _list(
|
|
153
|
+
options?: ComponentsListOptionalParams
|
|
154
|
+
): Promise<ComponentsListResponse> {
|
|
155
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
156
|
+
}
|
|
157
|
+
|
|
89
158
|
/**
|
|
159
|
+
* Gets a list of Application Insights components within a resource group.
|
|
90
160
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
91
|
-
* @param
|
|
92
|
-
* @param callback The callback
|
|
161
|
+
* @param options The options parameters.
|
|
93
162
|
*/
|
|
94
|
-
|
|
163
|
+
private _listByResourceGroup(
|
|
164
|
+
resourceGroupName: string,
|
|
165
|
+
options?: ComponentsListByResourceGroupOptionalParams
|
|
166
|
+
): Promise<ComponentsListByResourceGroupResponse> {
|
|
167
|
+
return this.client.sendOperationRequest(
|
|
168
|
+
{ resourceGroupName, options },
|
|
169
|
+
listByResourceGroupOperationSpec
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
95
173
|
/**
|
|
174
|
+
* Deletes an Application Insights component.
|
|
96
175
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
97
176
|
* @param resourceName The name of the Application Insights component resource.
|
|
98
|
-
* @param options The
|
|
99
|
-
* @param callback The callback
|
|
177
|
+
* @param options The options parameters.
|
|
100
178
|
*/
|
|
101
|
-
|
|
102
|
-
|
|
179
|
+
delete(
|
|
180
|
+
resourceGroupName: string,
|
|
181
|
+
resourceName: string,
|
|
182
|
+
options?: ComponentsDeleteOptionalParams
|
|
183
|
+
): Promise<void> {
|
|
103
184
|
return this.client.sendOperationRequest(
|
|
104
|
-
{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
options
|
|
108
|
-
},
|
|
109
|
-
deleteMethodOperationSpec,
|
|
110
|
-
callback);
|
|
185
|
+
{ resourceGroupName, resourceName, options },
|
|
186
|
+
deleteOperationSpec
|
|
187
|
+
);
|
|
111
188
|
}
|
|
112
189
|
|
|
113
190
|
/**
|
|
114
191
|
* Returns an Application Insights component.
|
|
115
192
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
116
193
|
* @param resourceName The name of the Application Insights component resource.
|
|
117
|
-
* @param
|
|
118
|
-
* @returns Promise<Models.ComponentsGetResponse>
|
|
194
|
+
* @param options The options parameters.
|
|
119
195
|
*/
|
|
120
|
-
get(
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
*/
|
|
126
|
-
get(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponent>): void;
|
|
127
|
-
/**
|
|
128
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
129
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
130
|
-
* @param options The optional parameters
|
|
131
|
-
* @param callback The callback
|
|
132
|
-
*/
|
|
133
|
-
get(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponent>): void;
|
|
134
|
-
get(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponent>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponent>): Promise<Models.ComponentsGetResponse> {
|
|
196
|
+
get(
|
|
197
|
+
resourceGroupName: string,
|
|
198
|
+
resourceName: string,
|
|
199
|
+
options?: ComponentsGetOptionalParams
|
|
200
|
+
): Promise<ComponentsGetResponse> {
|
|
135
201
|
return this.client.sendOperationRequest(
|
|
136
|
-
{
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
options
|
|
140
|
-
},
|
|
141
|
-
getOperationSpec,
|
|
142
|
-
callback) as Promise<Models.ComponentsGetResponse>;
|
|
202
|
+
{ resourceGroupName, resourceName, options },
|
|
203
|
+
getOperationSpec
|
|
204
|
+
);
|
|
143
205
|
}
|
|
144
206
|
|
|
145
207
|
/**
|
|
146
|
-
* Creates (or updates) an Application Insights component. Note: You cannot specify a different
|
|
147
|
-
*
|
|
208
|
+
* Creates (or updates) an Application Insights component. Note: You cannot specify a different value
|
|
209
|
+
* for InstrumentationKey nor AppId in the Put operation.
|
|
148
210
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
149
211
|
* @param resourceName The name of the Application Insights component resource.
|
|
150
212
|
* @param insightProperties Properties that need to be specified to create an Application Insights
|
|
151
|
-
*
|
|
152
|
-
* @param
|
|
153
|
-
* @returns Promise<Models.ComponentsCreateOrUpdateResponse>
|
|
213
|
+
* component.
|
|
214
|
+
* @param options The options parameters.
|
|
154
215
|
*/
|
|
155
|
-
createOrUpdate(
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
* @param callback The callback
|
|
162
|
-
*/
|
|
163
|
-
createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: Models.ApplicationInsightsComponent, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponent>): void;
|
|
164
|
-
/**
|
|
165
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
166
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
167
|
-
* @param insightProperties Properties that need to be specified to create an Application Insights
|
|
168
|
-
* component.
|
|
169
|
-
* @param options The optional parameters
|
|
170
|
-
* @param callback The callback
|
|
171
|
-
*/
|
|
172
|
-
createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: Models.ApplicationInsightsComponent, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponent>): void;
|
|
173
|
-
createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: Models.ApplicationInsightsComponent, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponent>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponent>): Promise<Models.ComponentsCreateOrUpdateResponse> {
|
|
216
|
+
createOrUpdate(
|
|
217
|
+
resourceGroupName: string,
|
|
218
|
+
resourceName: string,
|
|
219
|
+
insightProperties: ApplicationInsightsComponent,
|
|
220
|
+
options?: ComponentsCreateOrUpdateOptionalParams
|
|
221
|
+
): Promise<ComponentsCreateOrUpdateResponse> {
|
|
174
222
|
return this.client.sendOperationRequest(
|
|
175
|
-
{
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
insightProperties,
|
|
179
|
-
options
|
|
180
|
-
},
|
|
181
|
-
createOrUpdateOperationSpec,
|
|
182
|
-
callback) as Promise<Models.ComponentsCreateOrUpdateResponse>;
|
|
223
|
+
{ resourceGroupName, resourceName, insightProperties, options },
|
|
224
|
+
createOrUpdateOperationSpec
|
|
225
|
+
);
|
|
183
226
|
}
|
|
184
227
|
|
|
185
228
|
/**
|
|
@@ -187,80 +230,43 @@ export class Components {
|
|
|
187
230
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
188
231
|
* @param resourceName The name of the Application Insights component resource.
|
|
189
232
|
* @param componentTags Updated tag information to set into the component instance.
|
|
190
|
-
* @param
|
|
191
|
-
* @returns Promise<Models.ComponentsUpdateTagsResponse>
|
|
233
|
+
* @param options The options parameters.
|
|
192
234
|
*/
|
|
193
|
-
updateTags(
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
*/
|
|
200
|
-
updateTags(resourceGroupName: string, resourceName: string, componentTags: Models.TagsResource, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponent>): void;
|
|
201
|
-
/**
|
|
202
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
203
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
204
|
-
* @param componentTags Updated tag information to set into the component instance.
|
|
205
|
-
* @param options The optional parameters
|
|
206
|
-
* @param callback The callback
|
|
207
|
-
*/
|
|
208
|
-
updateTags(resourceGroupName: string, resourceName: string, componentTags: Models.TagsResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponent>): void;
|
|
209
|
-
updateTags(resourceGroupName: string, resourceName: string, componentTags: Models.TagsResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponent>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponent>): Promise<Models.ComponentsUpdateTagsResponse> {
|
|
235
|
+
updateTags(
|
|
236
|
+
resourceGroupName: string,
|
|
237
|
+
resourceName: string,
|
|
238
|
+
componentTags: TagsResource,
|
|
239
|
+
options?: ComponentsUpdateTagsOptionalParams
|
|
240
|
+
): Promise<ComponentsUpdateTagsResponse> {
|
|
210
241
|
return this.client.sendOperationRequest(
|
|
211
|
-
{
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
componentTags,
|
|
215
|
-
options
|
|
216
|
-
},
|
|
217
|
-
updateTagsOperationSpec,
|
|
218
|
-
callback) as Promise<Models.ComponentsUpdateTagsResponse>;
|
|
242
|
+
{ resourceGroupName, resourceName, componentTags, options },
|
|
243
|
+
updateTagsOperationSpec
|
|
244
|
+
);
|
|
219
245
|
}
|
|
220
246
|
|
|
221
247
|
/**
|
|
222
248
|
* Purges data in an Application Insights component by a set of user-defined filters.
|
|
223
249
|
*
|
|
224
250
|
* In order to manage system resources, purge requests are throttled at 50 requests per hour. You
|
|
225
|
-
* should batch the execution of purge requests by sending a single command whose predicate
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
* results are expected.
|
|
229
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
230
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
231
|
-
* @param body Describes the body of a request to purge data in a single table of an Application
|
|
232
|
-
* Insights component
|
|
233
|
-
* @param [options] The optional parameters
|
|
234
|
-
* @returns Promise<Models.ComponentsPurgeResponse>
|
|
235
|
-
*/
|
|
236
|
-
purge(resourceGroupName: string, resourceName: string, body: Models.ComponentPurgeBody, options?: msRest.RequestOptionsBase): Promise<Models.ComponentsPurgeResponse>;
|
|
237
|
-
/**
|
|
238
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
239
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
240
|
-
* @param body Describes the body of a request to purge data in a single table of an Application
|
|
241
|
-
* Insights component
|
|
242
|
-
* @param callback The callback
|
|
243
|
-
*/
|
|
244
|
-
purge(resourceGroupName: string, resourceName: string, body: Models.ComponentPurgeBody, callback: msRest.ServiceCallback<Models.ComponentPurgeResponse>): void;
|
|
245
|
-
/**
|
|
251
|
+
* should batch the execution of purge requests by sending a single command whose predicate includes
|
|
252
|
+
* all user identities that require purging. Use the in operator to specify multiple identities. You
|
|
253
|
+
* should run the query prior to using for a purge request to verify that the results are expected.
|
|
246
254
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
247
255
|
* @param resourceName The name of the Application Insights component resource.
|
|
248
256
|
* @param body Describes the body of a request to purge data in a single table of an Application
|
|
249
|
-
*
|
|
250
|
-
* @param options The
|
|
251
|
-
* @param callback The callback
|
|
257
|
+
* Insights component
|
|
258
|
+
* @param options The options parameters.
|
|
252
259
|
*/
|
|
253
|
-
purge(
|
|
254
|
-
|
|
260
|
+
purge(
|
|
261
|
+
resourceGroupName: string,
|
|
262
|
+
resourceName: string,
|
|
263
|
+
body: ComponentPurgeBody,
|
|
264
|
+
options?: ComponentsPurgeOptionalParams
|
|
265
|
+
): Promise<ComponentsPurgeResponse> {
|
|
255
266
|
return this.client.sendOperationRequest(
|
|
256
|
-
{
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
body,
|
|
260
|
-
options
|
|
261
|
-
},
|
|
262
|
-
purgeOperationSpec,
|
|
263
|
-
callback) as Promise<Models.ComponentsPurgeResponse>;
|
|
267
|
+
{ resourceGroupName, resourceName, body, options },
|
|
268
|
+
purgeOperationSpec
|
|
269
|
+
);
|
|
264
270
|
}
|
|
265
271
|
|
|
266
272
|
/**
|
|
@@ -268,361 +274,242 @@ export class Components {
|
|
|
268
274
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
269
275
|
* @param resourceName The name of the Application Insights component resource.
|
|
270
276
|
* @param purgeId In a purge status request, this is the Id of the operation the status of which is
|
|
271
|
-
*
|
|
272
|
-
* @param
|
|
273
|
-
* @returns Promise<Models.ComponentsGetPurgeStatusResponse>
|
|
277
|
+
* returned.
|
|
278
|
+
* @param options The options parameters.
|
|
274
279
|
*/
|
|
275
|
-
getPurgeStatus(
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
* @param callback The callback
|
|
282
|
-
*/
|
|
283
|
-
getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, callback: msRest.ServiceCallback<Models.ComponentPurgeStatusResponse>): void;
|
|
284
|
-
/**
|
|
285
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
286
|
-
* @param resourceName The name of the Application Insights component resource.
|
|
287
|
-
* @param purgeId In a purge status request, this is the Id of the operation the status of which is
|
|
288
|
-
* returned.
|
|
289
|
-
* @param options The optional parameters
|
|
290
|
-
* @param callback The callback
|
|
291
|
-
*/
|
|
292
|
-
getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ComponentPurgeStatusResponse>): void;
|
|
293
|
-
getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ComponentPurgeStatusResponse>, callback?: msRest.ServiceCallback<Models.ComponentPurgeStatusResponse>): Promise<Models.ComponentsGetPurgeStatusResponse> {
|
|
280
|
+
getPurgeStatus(
|
|
281
|
+
resourceGroupName: string,
|
|
282
|
+
resourceName: string,
|
|
283
|
+
purgeId: string,
|
|
284
|
+
options?: ComponentsGetPurgeStatusOptionalParams
|
|
285
|
+
): Promise<ComponentsGetPurgeStatusResponse> {
|
|
294
286
|
return this.client.sendOperationRequest(
|
|
295
|
-
{
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
purgeId,
|
|
299
|
-
options
|
|
300
|
-
},
|
|
301
|
-
getPurgeStatusOperationSpec,
|
|
302
|
-
callback) as Promise<Models.ComponentsGetPurgeStatusResponse>;
|
|
287
|
+
{ resourceGroupName, resourceName, purgeId, options },
|
|
288
|
+
getPurgeStatusOperationSpec
|
|
289
|
+
);
|
|
303
290
|
}
|
|
304
291
|
|
|
305
292
|
/**
|
|
306
|
-
*
|
|
307
|
-
* @param
|
|
308
|
-
* @param
|
|
309
|
-
* @returns Promise<Models.ComponentsListNextResponse>
|
|
310
|
-
*/
|
|
311
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ComponentsListNextResponse>;
|
|
312
|
-
/**
|
|
313
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
314
|
-
* @param callback The callback
|
|
293
|
+
* ListNext
|
|
294
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
295
|
+
* @param options The options parameters.
|
|
315
296
|
*/
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
* @param callback The callback
|
|
321
|
-
*/
|
|
322
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentListResult>): void;
|
|
323
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ApplicationInsightsComponentListResult>, callback?: msRest.ServiceCallback<Models.ApplicationInsightsComponentListResult>): Promise<Models.ComponentsListNextResponse> {
|
|
297
|
+
private _listNext(
|
|
298
|
+
nextLink: string,
|
|
299
|
+
options?: ComponentsListNextOptionalParams
|
|
300
|
+
): Promise<ComponentsListNextResponse> {
|
|
324
301
|
return this.client.sendOperationRequest(
|
|
325
|
-
{
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
},
|
|
329
|
-
listNextOperationSpec,
|
|
330
|
-
callback) as Promise<Models.ComponentsListNextResponse>;
|
|
302
|
+
{ nextLink, options },
|
|
303
|
+
listNextOperationSpec
|
|
304
|
+
);
|
|
331
305
|
}
|
|
332
306
|
|
|
333
307
|
/**
|
|
334
|
-
*
|
|
335
|
-
* @param
|
|
336
|
-
* @param
|
|
337
|
-
* @
|
|
338
|
-
*/
|
|
339
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ComponentsListByResourceGroupNextResponse>;
|
|
340
|
-
/**
|
|
341
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
342
|
-
* @param callback The callback
|
|
343
|
-
*/
|
|
344
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ApplicationInsightsComponentListResult>): void;
|
|
345
|
-
/**
|
|
346
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
347
|
-
* @param options The optional parameters
|
|
348
|
-
* @param callback The callback
|
|
308
|
+
* ListByResourceGroupNext
|
|
309
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
310
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
311
|
+
* @param options The options parameters.
|
|
349
312
|
*/
|
|
350
|
-
|
|
351
|
-
|
|
313
|
+
private _listByResourceGroupNext(
|
|
314
|
+
resourceGroupName: string,
|
|
315
|
+
nextLink: string,
|
|
316
|
+
options?: ComponentsListByResourceGroupNextOptionalParams
|
|
317
|
+
): Promise<ComponentsListByResourceGroupNextResponse> {
|
|
352
318
|
return this.client.sendOperationRequest(
|
|
353
|
-
{
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
},
|
|
357
|
-
listByResourceGroupNextOperationSpec,
|
|
358
|
-
callback) as Promise<Models.ComponentsListByResourceGroupNextResponse>;
|
|
319
|
+
{ resourceGroupName, nextLink, options },
|
|
320
|
+
listByResourceGroupNextOperationSpec
|
|
321
|
+
);
|
|
359
322
|
}
|
|
360
323
|
}
|
|
361
|
-
|
|
362
324
|
// Operation Specifications
|
|
363
|
-
const serializer =
|
|
364
|
-
|
|
325
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
326
|
+
|
|
327
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
328
|
+
path:
|
|
329
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Insights/components",
|
|
365
330
|
httpMethod: "GET",
|
|
366
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Insights/components",
|
|
367
|
-
urlParameters: [
|
|
368
|
-
Parameters.subscriptionId
|
|
369
|
-
],
|
|
370
|
-
queryParameters: [
|
|
371
|
-
Parameters.apiVersion2
|
|
372
|
-
],
|
|
373
|
-
headerParameters: [
|
|
374
|
-
Parameters.acceptLanguage
|
|
375
|
-
],
|
|
376
331
|
responses: {
|
|
377
332
|
200: {
|
|
378
333
|
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
379
|
-
},
|
|
380
|
-
default: {
|
|
381
|
-
bodyMapper: Mappers.CloudError
|
|
382
334
|
}
|
|
383
335
|
},
|
|
336
|
+
queryParameters: [Parameters.apiVersion4],
|
|
337
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
338
|
+
headerParameters: [Parameters.accept],
|
|
384
339
|
serializer
|
|
385
340
|
};
|
|
386
|
-
|
|
387
|
-
|
|
341
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
342
|
+
path:
|
|
343
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components",
|
|
388
344
|
httpMethod: "GET",
|
|
389
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components",
|
|
390
|
-
urlParameters: [
|
|
391
|
-
Parameters.resourceGroupName,
|
|
392
|
-
Parameters.subscriptionId
|
|
393
|
-
],
|
|
394
|
-
queryParameters: [
|
|
395
|
-
Parameters.apiVersion2
|
|
396
|
-
],
|
|
397
|
-
headerParameters: [
|
|
398
|
-
Parameters.acceptLanguage
|
|
399
|
-
],
|
|
400
345
|
responses: {
|
|
401
346
|
200: {
|
|
402
347
|
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
403
|
-
},
|
|
404
|
-
default: {
|
|
405
|
-
bodyMapper: Mappers.CloudError
|
|
406
348
|
}
|
|
407
349
|
},
|
|
350
|
+
queryParameters: [Parameters.apiVersion4],
|
|
351
|
+
urlParameters: [
|
|
352
|
+
Parameters.$host,
|
|
353
|
+
Parameters.resourceGroupName,
|
|
354
|
+
Parameters.subscriptionId
|
|
355
|
+
],
|
|
356
|
+
headerParameters: [Parameters.accept],
|
|
408
357
|
serializer
|
|
409
358
|
};
|
|
410
|
-
|
|
411
|
-
|
|
359
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
360
|
+
path:
|
|
361
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
412
362
|
httpMethod: "DELETE",
|
|
413
|
-
|
|
363
|
+
responses: { 200: {}, 204: {} },
|
|
364
|
+
queryParameters: [Parameters.apiVersion4],
|
|
414
365
|
urlParameters: [
|
|
366
|
+
Parameters.$host,
|
|
415
367
|
Parameters.resourceGroupName,
|
|
416
368
|
Parameters.subscriptionId,
|
|
417
369
|
Parameters.resourceName
|
|
418
370
|
],
|
|
419
|
-
queryParameters: [
|
|
420
|
-
Parameters.apiVersion2
|
|
421
|
-
],
|
|
422
|
-
headerParameters: [
|
|
423
|
-
Parameters.acceptLanguage
|
|
424
|
-
],
|
|
425
|
-
responses: {
|
|
426
|
-
200: {},
|
|
427
|
-
204: {},
|
|
428
|
-
default: {
|
|
429
|
-
bodyMapper: Mappers.CloudError
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
371
|
serializer
|
|
433
372
|
};
|
|
434
|
-
|
|
435
|
-
|
|
373
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
374
|
+
path:
|
|
375
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
436
376
|
httpMethod: "GET",
|
|
437
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
438
|
-
urlParameters: [
|
|
439
|
-
Parameters.resourceGroupName,
|
|
440
|
-
Parameters.subscriptionId,
|
|
441
|
-
Parameters.resourceName
|
|
442
|
-
],
|
|
443
|
-
queryParameters: [
|
|
444
|
-
Parameters.apiVersion2
|
|
445
|
-
],
|
|
446
|
-
headerParameters: [
|
|
447
|
-
Parameters.acceptLanguage
|
|
448
|
-
],
|
|
449
377
|
responses: {
|
|
450
378
|
200: {
|
|
451
379
|
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
452
|
-
},
|
|
453
|
-
default: {
|
|
454
|
-
bodyMapper: Mappers.CloudError
|
|
455
380
|
}
|
|
456
381
|
},
|
|
457
|
-
|
|
458
|
-
};
|
|
459
|
-
|
|
460
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
461
|
-
httpMethod: "PUT",
|
|
462
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
382
|
+
queryParameters: [Parameters.apiVersion4],
|
|
463
383
|
urlParameters: [
|
|
384
|
+
Parameters.$host,
|
|
464
385
|
Parameters.resourceGroupName,
|
|
465
386
|
Parameters.subscriptionId,
|
|
466
387
|
Parameters.resourceName
|
|
467
388
|
],
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
parameterPath: "insightProperties",
|
|
476
|
-
mapper: {
|
|
477
|
-
...Mappers.ApplicationInsightsComponent,
|
|
478
|
-
required: true
|
|
479
|
-
}
|
|
480
|
-
},
|
|
389
|
+
headerParameters: [Parameters.accept],
|
|
390
|
+
serializer
|
|
391
|
+
};
|
|
392
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
393
|
+
path:
|
|
394
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
395
|
+
httpMethod: "PUT",
|
|
481
396
|
responses: {
|
|
482
397
|
200: {
|
|
483
398
|
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
484
399
|
},
|
|
485
400
|
201: {
|
|
486
401
|
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
487
|
-
},
|
|
488
|
-
default: {
|
|
489
|
-
bodyMapper: Mappers.CloudError
|
|
490
402
|
}
|
|
491
403
|
},
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
const updateTagsOperationSpec: msRest.OperationSpec = {
|
|
496
|
-
httpMethod: "PATCH",
|
|
497
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
404
|
+
requestBody: Parameters.insightProperties,
|
|
405
|
+
queryParameters: [Parameters.apiVersion4],
|
|
498
406
|
urlParameters: [
|
|
407
|
+
Parameters.$host,
|
|
499
408
|
Parameters.resourceGroupName,
|
|
500
409
|
Parameters.subscriptionId,
|
|
501
410
|
Parameters.resourceName
|
|
502
411
|
],
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
mapper: {
|
|
512
|
-
...Mappers.TagsResource,
|
|
513
|
-
required: true
|
|
514
|
-
}
|
|
515
|
-
},
|
|
412
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
413
|
+
mediaType: "json",
|
|
414
|
+
serializer
|
|
415
|
+
};
|
|
416
|
+
const updateTagsOperationSpec: coreClient.OperationSpec = {
|
|
417
|
+
path:
|
|
418
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
419
|
+
httpMethod: "PATCH",
|
|
516
420
|
responses: {
|
|
517
421
|
200: {
|
|
518
422
|
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
519
423
|
},
|
|
520
424
|
201: {
|
|
521
425
|
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
522
|
-
},
|
|
523
|
-
default: {
|
|
524
|
-
bodyMapper: Mappers.CloudError
|
|
525
426
|
}
|
|
526
427
|
},
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
const purgeOperationSpec: msRest.OperationSpec = {
|
|
531
|
-
httpMethod: "POST",
|
|
532
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge",
|
|
428
|
+
requestBody: Parameters.componentTags,
|
|
429
|
+
queryParameters: [Parameters.apiVersion4],
|
|
533
430
|
urlParameters: [
|
|
431
|
+
Parameters.$host,
|
|
534
432
|
Parameters.resourceGroupName,
|
|
535
433
|
Parameters.subscriptionId,
|
|
536
434
|
Parameters.resourceName
|
|
537
435
|
],
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
mapper: {
|
|
547
|
-
...Mappers.ComponentPurgeBody,
|
|
548
|
-
required: true
|
|
549
|
-
}
|
|
550
|
-
},
|
|
436
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
437
|
+
mediaType: "json",
|
|
438
|
+
serializer
|
|
439
|
+
};
|
|
440
|
+
const purgeOperationSpec: coreClient.OperationSpec = {
|
|
441
|
+
path:
|
|
442
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/purge",
|
|
443
|
+
httpMethod: "POST",
|
|
551
444
|
responses: {
|
|
552
445
|
202: {
|
|
553
446
|
bodyMapper: Mappers.ComponentPurgeResponse
|
|
554
|
-
},
|
|
555
|
-
default: {
|
|
556
|
-
bodyMapper: Mappers.CloudError
|
|
557
447
|
}
|
|
558
448
|
},
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
const getPurgeStatusOperationSpec: msRest.OperationSpec = {
|
|
563
|
-
httpMethod: "GET",
|
|
564
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}",
|
|
449
|
+
requestBody: Parameters.body,
|
|
450
|
+
queryParameters: [Parameters.apiVersion4],
|
|
565
451
|
urlParameters: [
|
|
452
|
+
Parameters.$host,
|
|
566
453
|
Parameters.resourceGroupName,
|
|
567
454
|
Parameters.subscriptionId,
|
|
568
|
-
Parameters.resourceName
|
|
569
|
-
Parameters.purgeId
|
|
570
|
-
],
|
|
571
|
-
queryParameters: [
|
|
572
|
-
Parameters.apiVersion2
|
|
573
|
-
],
|
|
574
|
-
headerParameters: [
|
|
575
|
-
Parameters.acceptLanguage
|
|
455
|
+
Parameters.resourceName
|
|
576
456
|
],
|
|
457
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
458
|
+
mediaType: "json",
|
|
459
|
+
serializer
|
|
460
|
+
};
|
|
461
|
+
const getPurgeStatusOperationSpec: coreClient.OperationSpec = {
|
|
462
|
+
path:
|
|
463
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/operations/{purgeId}",
|
|
464
|
+
httpMethod: "GET",
|
|
577
465
|
responses: {
|
|
578
466
|
200: {
|
|
579
467
|
bodyMapper: Mappers.ComponentPurgeStatusResponse
|
|
580
|
-
},
|
|
581
|
-
default: {
|
|
582
|
-
bodyMapper: Mappers.CloudError
|
|
583
468
|
}
|
|
584
469
|
},
|
|
470
|
+
queryParameters: [Parameters.apiVersion4],
|
|
471
|
+
urlParameters: [
|
|
472
|
+
Parameters.$host,
|
|
473
|
+
Parameters.resourceGroupName,
|
|
474
|
+
Parameters.subscriptionId,
|
|
475
|
+
Parameters.resourceName,
|
|
476
|
+
Parameters.purgeId
|
|
477
|
+
],
|
|
478
|
+
headerParameters: [Parameters.accept],
|
|
585
479
|
serializer
|
|
586
480
|
};
|
|
587
|
-
|
|
588
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
589
|
-
httpMethod: "GET",
|
|
590
|
-
baseUrl: "https://management.azure.com",
|
|
481
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
591
482
|
path: "{nextLink}",
|
|
592
|
-
|
|
593
|
-
Parameters.nextPageLink
|
|
594
|
-
],
|
|
595
|
-
headerParameters: [
|
|
596
|
-
Parameters.acceptLanguage
|
|
597
|
-
],
|
|
483
|
+
httpMethod: "GET",
|
|
598
484
|
responses: {
|
|
599
485
|
200: {
|
|
600
486
|
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
601
|
-
},
|
|
602
|
-
default: {
|
|
603
|
-
bodyMapper: Mappers.CloudError
|
|
604
487
|
}
|
|
605
488
|
},
|
|
489
|
+
queryParameters: [Parameters.apiVersion4],
|
|
490
|
+
urlParameters: [
|
|
491
|
+
Parameters.$host,
|
|
492
|
+
Parameters.subscriptionId,
|
|
493
|
+
Parameters.nextLink
|
|
494
|
+
],
|
|
495
|
+
headerParameters: [Parameters.accept],
|
|
606
496
|
serializer
|
|
607
497
|
};
|
|
608
|
-
|
|
609
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
610
|
-
httpMethod: "GET",
|
|
611
|
-
baseUrl: "https://management.azure.com",
|
|
498
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
612
499
|
path: "{nextLink}",
|
|
613
|
-
|
|
614
|
-
Parameters.nextPageLink
|
|
615
|
-
],
|
|
616
|
-
headerParameters: [
|
|
617
|
-
Parameters.acceptLanguage
|
|
618
|
-
],
|
|
500
|
+
httpMethod: "GET",
|
|
619
501
|
responses: {
|
|
620
502
|
200: {
|
|
621
503
|
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
622
|
-
},
|
|
623
|
-
default: {
|
|
624
|
-
bodyMapper: Mappers.CloudError
|
|
625
504
|
}
|
|
626
505
|
},
|
|
506
|
+
queryParameters: [Parameters.apiVersion4],
|
|
507
|
+
urlParameters: [
|
|
508
|
+
Parameters.$host,
|
|
509
|
+
Parameters.resourceGroupName,
|
|
510
|
+
Parameters.subscriptionId,
|
|
511
|
+
Parameters.nextLink
|
|
512
|
+
],
|
|
513
|
+
headerParameters: [Parameters.accept],
|
|
627
514
|
serializer
|
|
628
515
|
};
|