@azure/arm-appinsights 5.0.0-alpha.20250327.1 → 5.0.0-alpha.20250331.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 +4 -12
- package/README.md +0 -1
- package/dist/browser/applicationInsightsManagementClient.d.ts +7 -5
- package/dist/browser/applicationInsightsManagementClient.d.ts.map +1 -1
- package/dist/browser/applicationInsightsManagementClient.js +22 -20
- package/dist/browser/applicationInsightsManagementClient.js.map +1 -1
- package/dist/browser/models/index.d.ts +573 -596
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +46 -62
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +31 -26
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +1750 -1587
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +17 -15
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +244 -217
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/aPIKeys.js +25 -25
- package/dist/browser/operations/aPIKeys.js.map +1 -1
- package/dist/browser/operations/analyticsItems.js +27 -27
- package/dist/browser/operations/analyticsItems.js.map +1 -1
- package/dist/browser/operations/annotations.js +30 -30
- package/dist/browser/operations/annotations.js.map +1 -1
- package/dist/browser/operations/componentAvailableFeatures.d.ts.map +1 -1
- package/dist/browser/operations/componentAvailableFeatures.js +6 -6
- package/dist/browser/operations/componentAvailableFeatures.js.map +1 -1
- package/dist/browser/operations/componentCurrentBillingFeatures.d.ts.map +1 -1
- package/dist/browser/operations/componentCurrentBillingFeatures.js +12 -12
- package/dist/browser/operations/componentCurrentBillingFeatures.js.map +1 -1
- package/dist/browser/operations/componentFeatureCapabilities.d.ts.map +1 -1
- package/dist/browser/operations/componentFeatureCapabilities.js +6 -6
- package/dist/browser/operations/componentFeatureCapabilities.js.map +1 -1
- package/dist/browser/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -1
- package/dist/browser/operations/componentLinkedStorageAccountsOperations.js +29 -29
- package/dist/browser/operations/componentLinkedStorageAccountsOperations.js.map +1 -1
- package/dist/browser/operations/componentQuotaStatus.js +6 -6
- package/dist/browser/operations/componentQuotaStatus.js.map +1 -1
- package/dist/browser/operations/components.d.ts +4 -0
- package/dist/browser/operations/components.d.ts.map +1 -1
- package/dist/browser/operations/components.js +69 -67
- package/dist/browser/operations/components.js.map +1 -1
- package/dist/browser/operations/deletedWorkbooks.d.ts +32 -0
- package/dist/browser/operations/deletedWorkbooks.d.ts.map +1 -0
- package/dist/browser/operations/deletedWorkbooks.js +141 -0
- package/dist/browser/operations/deletedWorkbooks.js.map +1 -0
- package/dist/browser/operations/exportConfigurations.js +38 -38
- package/dist/browser/operations/exportConfigurations.js.map +1 -1
- package/dist/browser/operations/favorites.js +35 -35
- package/dist/browser/operations/favorites.js.map +1 -1
- package/dist/browser/operations/index.d.ts +4 -3
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +4 -3
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/liveToken.js +4 -4
- package/dist/browser/operations/liveToken.js.map +1 -1
- package/dist/browser/operations/operations.d.ts +32 -0
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/dist/browser/operations/operations.js +133 -0
- package/dist/browser/operations/operations.js.map +1 -0
- package/dist/browser/operations/proactiveDetectionConfigurations.d.ts.map +1 -1
- package/dist/browser/operations/proactiveDetectionConfigurations.js +23 -23
- package/dist/browser/operations/proactiveDetectionConfigurations.js.map +1 -1
- package/dist/browser/operations/webTestLocations.js +7 -7
- package/dist/browser/operations/webTestLocations.js.map +1 -1
- package/dist/browser/operations/webTests.d.ts +10 -10
- package/dist/browser/operations/webTests.js +64 -67
- package/dist/browser/operations/webTests.js.map +1 -1
- package/dist/browser/operations/workItemConfigurations.js +38 -38
- package/dist/browser/operations/workItemConfigurations.js.map +1 -1
- package/dist/browser/operations/workbookTemplates.js +35 -35
- package/dist/browser/operations/workbookTemplates.js.map +1 -1
- package/dist/browser/operations/workbooks.d.ts +8 -10
- package/dist/browser/operations/workbooks.d.ts.map +1 -1
- package/dist/browser/operations/workbooks.js +91 -104
- package/dist/browser/operations/workbooks.js.map +1 -1
- package/dist/browser/operationsInterfaces/aPIKeys.js.map +1 -1
- package/dist/browser/operationsInterfaces/analyticsItems.js.map +1 -1
- package/dist/browser/operationsInterfaces/annotations.js.map +1 -1
- package/dist/browser/operationsInterfaces/componentAvailableFeatures.js.map +1 -1
- package/dist/browser/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -1
- package/dist/browser/operationsInterfaces/componentFeatureCapabilities.js.map +1 -1
- package/dist/browser/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/componentQuotaStatus.js.map +1 -1
- package/dist/browser/operationsInterfaces/components.d.ts +4 -0
- package/dist/browser/operationsInterfaces/components.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/components.js.map +1 -1
- package/dist/browser/operationsInterfaces/deletedWorkbooks.d.ts +11 -0
- package/dist/browser/operationsInterfaces/deletedWorkbooks.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/deletedWorkbooks.js +9 -0
- package/dist/browser/operationsInterfaces/deletedWorkbooks.js.map +1 -0
- package/dist/browser/operationsInterfaces/exportConfigurations.js.map +1 -1
- package/dist/browser/operationsInterfaces/favorites.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +4 -3
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +4 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/liveToken.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +11 -0
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/{myWorkbooks.js → operations.js} +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -1
- package/dist/browser/operationsInterfaces/webTestLocations.js.map +1 -1
- package/dist/browser/operationsInterfaces/webTests.d.ts +8 -8
- package/dist/browser/operationsInterfaces/webTests.js.map +1 -1
- package/dist/browser/operationsInterfaces/workItemConfigurations.js.map +1 -1
- package/dist/browser/operationsInterfaces/workbookTemplates.js.map +1 -1
- package/dist/browser/operationsInterfaces/workbooks.d.ts +6 -6
- package/dist/browser/operationsInterfaces/workbooks.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts +4 -4
- package/dist/browser/pagingHelper.js +4 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/applicationInsightsManagementClient.d.ts +7 -5
- package/dist/commonjs/applicationInsightsManagementClient.d.ts.map +1 -1
- package/dist/commonjs/applicationInsightsManagementClient.js +21 -19
- package/dist/commonjs/applicationInsightsManagementClient.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +573 -596
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +47 -63
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +31 -26
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +1752 -1589
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +17 -15
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +245 -218
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/aPIKeys.js +25 -25
- package/dist/commonjs/operations/aPIKeys.js.map +1 -1
- package/dist/commonjs/operations/analyticsItems.js +27 -27
- package/dist/commonjs/operations/analyticsItems.js.map +1 -1
- package/dist/commonjs/operations/annotations.js +30 -30
- package/dist/commonjs/operations/annotations.js.map +1 -1
- package/dist/commonjs/operations/componentAvailableFeatures.d.ts.map +1 -1
- package/dist/commonjs/operations/componentAvailableFeatures.js +6 -6
- package/dist/commonjs/operations/componentAvailableFeatures.js.map +1 -1
- package/dist/commonjs/operations/componentCurrentBillingFeatures.d.ts.map +1 -1
- package/dist/commonjs/operations/componentCurrentBillingFeatures.js +12 -12
- package/dist/commonjs/operations/componentCurrentBillingFeatures.js.map +1 -1
- package/dist/commonjs/operations/componentFeatureCapabilities.d.ts.map +1 -1
- package/dist/commonjs/operations/componentFeatureCapabilities.js +6 -6
- package/dist/commonjs/operations/componentFeatureCapabilities.js.map +1 -1
- package/dist/commonjs/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -1
- package/dist/commonjs/operations/componentLinkedStorageAccountsOperations.js +29 -29
- package/dist/commonjs/operations/componentLinkedStorageAccountsOperations.js.map +1 -1
- package/dist/commonjs/operations/componentQuotaStatus.js +6 -6
- package/dist/commonjs/operations/componentQuotaStatus.js.map +1 -1
- package/dist/commonjs/operations/components.d.ts +4 -0
- package/dist/commonjs/operations/components.d.ts.map +1 -1
- package/dist/commonjs/operations/components.js +69 -67
- package/dist/commonjs/operations/components.js.map +1 -1
- package/dist/commonjs/operations/deletedWorkbooks.d.ts +32 -0
- package/dist/commonjs/operations/deletedWorkbooks.d.ts.map +1 -0
- package/dist/commonjs/operations/deletedWorkbooks.js +145 -0
- package/dist/commonjs/operations/deletedWorkbooks.js.map +1 -0
- package/dist/commonjs/operations/exportConfigurations.js +38 -38
- package/dist/commonjs/operations/exportConfigurations.js.map +1 -1
- package/dist/commonjs/operations/favorites.js +35 -35
- package/dist/commonjs/operations/favorites.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +4 -3
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +4 -3
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/liveToken.js +4 -4
- package/dist/commonjs/operations/liveToken.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/proactiveDetectionConfigurations.d.ts.map +1 -1
- package/dist/commonjs/operations/proactiveDetectionConfigurations.js +23 -23
- package/dist/commonjs/operations/proactiveDetectionConfigurations.js.map +1 -1
- package/dist/commonjs/operations/webTestLocations.js +7 -7
- package/dist/commonjs/operations/webTestLocations.js.map +1 -1
- package/dist/commonjs/operations/webTests.d.ts +10 -10
- package/dist/commonjs/operations/webTests.js +64 -67
- package/dist/commonjs/operations/webTests.js.map +1 -1
- package/dist/commonjs/operations/workItemConfigurations.js +38 -38
- package/dist/commonjs/operations/workItemConfigurations.js.map +1 -1
- package/dist/commonjs/operations/workbookTemplates.js +35 -35
- package/dist/commonjs/operations/workbookTemplates.js.map +1 -1
- package/dist/commonjs/operations/workbooks.d.ts +8 -10
- package/dist/commonjs/operations/workbooks.d.ts.map +1 -1
- package/dist/commonjs/operations/workbooks.js +91 -104
- package/dist/commonjs/operations/workbooks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/aPIKeys.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/analyticsItems.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/annotations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/componentAvailableFeatures.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/componentFeatureCapabilities.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/componentQuotaStatus.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/components.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/components.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/components.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/deletedWorkbooks.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/deletedWorkbooks.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/deletedWorkbooks.js +10 -0
- package/dist/commonjs/operationsInterfaces/deletedWorkbooks.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/exportConfigurations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/favorites.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -3
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +4 -3
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/liveToken.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/{myWorkbooks.js → operations.js} +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/webTestLocations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/webTests.d.ts +8 -8
- package/dist/commonjs/operationsInterfaces/webTests.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/workItemConfigurations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/workbookTemplates.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/workbooks.d.ts +6 -6
- package/dist/commonjs/operationsInterfaces/workbooks.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts +4 -4
- package/dist/commonjs/pagingHelper.js +4 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/esm/applicationInsightsManagementClient.d.ts +7 -5
- package/dist/esm/applicationInsightsManagementClient.d.ts.map +1 -1
- package/dist/esm/applicationInsightsManagementClient.js +22 -20
- package/dist/esm/applicationInsightsManagementClient.js.map +1 -1
- package/dist/esm/models/index.d.ts +573 -596
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +46 -62
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +31 -26
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +1750 -1587
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +17 -15
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +244 -217
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/aPIKeys.js +25 -25
- package/dist/esm/operations/aPIKeys.js.map +1 -1
- package/dist/esm/operations/analyticsItems.js +27 -27
- package/dist/esm/operations/analyticsItems.js.map +1 -1
- package/dist/esm/operations/annotations.js +30 -30
- package/dist/esm/operations/annotations.js.map +1 -1
- package/dist/esm/operations/componentAvailableFeatures.d.ts.map +1 -1
- package/dist/esm/operations/componentAvailableFeatures.js +6 -6
- package/dist/esm/operations/componentAvailableFeatures.js.map +1 -1
- package/dist/esm/operations/componentCurrentBillingFeatures.d.ts.map +1 -1
- package/dist/esm/operations/componentCurrentBillingFeatures.js +12 -12
- package/dist/esm/operations/componentCurrentBillingFeatures.js.map +1 -1
- package/dist/esm/operations/componentFeatureCapabilities.d.ts.map +1 -1
- package/dist/esm/operations/componentFeatureCapabilities.js +6 -6
- package/dist/esm/operations/componentFeatureCapabilities.js.map +1 -1
- package/dist/esm/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -1
- package/dist/esm/operations/componentLinkedStorageAccountsOperations.js +29 -29
- package/dist/esm/operations/componentLinkedStorageAccountsOperations.js.map +1 -1
- package/dist/esm/operations/componentQuotaStatus.js +6 -6
- package/dist/esm/operations/componentQuotaStatus.js.map +1 -1
- package/dist/esm/operations/components.d.ts +4 -0
- package/dist/esm/operations/components.d.ts.map +1 -1
- package/dist/esm/operations/components.js +69 -67
- package/dist/esm/operations/components.js.map +1 -1
- package/dist/esm/operations/deletedWorkbooks.d.ts +32 -0
- package/dist/esm/operations/deletedWorkbooks.d.ts.map +1 -0
- package/dist/esm/operations/deletedWorkbooks.js +141 -0
- package/dist/esm/operations/deletedWorkbooks.js.map +1 -0
- package/dist/esm/operations/exportConfigurations.js +38 -38
- package/dist/esm/operations/exportConfigurations.js.map +1 -1
- package/dist/esm/operations/favorites.js +35 -35
- package/dist/esm/operations/favorites.js.map +1 -1
- package/dist/esm/operations/index.d.ts +4 -3
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +4 -3
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/liveToken.js +4 -4
- package/dist/esm/operations/liveToken.js.map +1 -1
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/proactiveDetectionConfigurations.d.ts.map +1 -1
- package/dist/esm/operations/proactiveDetectionConfigurations.js +23 -23
- package/dist/esm/operations/proactiveDetectionConfigurations.js.map +1 -1
- package/dist/esm/operations/webTestLocations.js +7 -7
- package/dist/esm/operations/webTestLocations.js.map +1 -1
- package/dist/esm/operations/webTests.d.ts +10 -10
- package/dist/esm/operations/webTests.js +64 -67
- package/dist/esm/operations/webTests.js.map +1 -1
- package/dist/esm/operations/workItemConfigurations.js +38 -38
- package/dist/esm/operations/workItemConfigurations.js.map +1 -1
- package/dist/esm/operations/workbookTemplates.js +35 -35
- package/dist/esm/operations/workbookTemplates.js.map +1 -1
- package/dist/esm/operations/workbooks.d.ts +8 -10
- package/dist/esm/operations/workbooks.d.ts.map +1 -1
- package/dist/esm/operations/workbooks.js +91 -104
- package/dist/esm/operations/workbooks.js.map +1 -1
- package/dist/esm/operationsInterfaces/aPIKeys.js.map +1 -1
- package/dist/esm/operationsInterfaces/analyticsItems.js.map +1 -1
- package/dist/esm/operationsInterfaces/annotations.js.map +1 -1
- package/dist/esm/operationsInterfaces/componentAvailableFeatures.js.map +1 -1
- package/dist/esm/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -1
- package/dist/esm/operationsInterfaces/componentFeatureCapabilities.js.map +1 -1
- package/dist/esm/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/componentQuotaStatus.js.map +1 -1
- package/dist/esm/operationsInterfaces/components.d.ts +4 -0
- package/dist/esm/operationsInterfaces/components.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/components.js.map +1 -1
- package/dist/esm/operationsInterfaces/deletedWorkbooks.d.ts +11 -0
- package/dist/esm/operationsInterfaces/deletedWorkbooks.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/deletedWorkbooks.js +9 -0
- package/dist/esm/operationsInterfaces/deletedWorkbooks.js.map +1 -0
- package/dist/esm/operationsInterfaces/exportConfigurations.js.map +1 -1
- package/dist/esm/operationsInterfaces/favorites.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +4 -3
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +4 -3
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/liveToken.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/{myWorkbooks.js → operations.js} +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -1
- package/dist/esm/operationsInterfaces/webTestLocations.js.map +1 -1
- package/dist/esm/operationsInterfaces/webTests.d.ts +8 -8
- package/dist/esm/operationsInterfaces/webTests.js.map +1 -1
- package/dist/esm/operationsInterfaces/workItemConfigurations.js.map +1 -1
- package/dist/esm/operationsInterfaces/workbookTemplates.js.map +1 -1
- package/dist/esm/operationsInterfaces/workbooks.d.ts +6 -6
- package/dist/esm/operationsInterfaces/workbooks.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts +4 -4
- package/dist/esm/pagingHelper.js +4 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/applicationInsightsManagementClient.d.ts +7 -5
- package/dist/react-native/applicationInsightsManagementClient.d.ts.map +1 -1
- package/dist/react-native/applicationInsightsManagementClient.js +22 -20
- package/dist/react-native/applicationInsightsManagementClient.js.map +1 -1
- package/dist/react-native/models/index.d.ts +573 -596
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +46 -62
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +31 -26
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +1750 -1587
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +17 -15
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +244 -217
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/aPIKeys.js +25 -25
- package/dist/react-native/operations/aPIKeys.js.map +1 -1
- package/dist/react-native/operations/analyticsItems.js +27 -27
- package/dist/react-native/operations/analyticsItems.js.map +1 -1
- package/dist/react-native/operations/annotations.js +30 -30
- package/dist/react-native/operations/annotations.js.map +1 -1
- package/dist/react-native/operations/componentAvailableFeatures.d.ts.map +1 -1
- package/dist/react-native/operations/componentAvailableFeatures.js +6 -6
- package/dist/react-native/operations/componentAvailableFeatures.js.map +1 -1
- package/dist/react-native/operations/componentCurrentBillingFeatures.d.ts.map +1 -1
- package/dist/react-native/operations/componentCurrentBillingFeatures.js +12 -12
- package/dist/react-native/operations/componentCurrentBillingFeatures.js.map +1 -1
- package/dist/react-native/operations/componentFeatureCapabilities.d.ts.map +1 -1
- package/dist/react-native/operations/componentFeatureCapabilities.js +6 -6
- package/dist/react-native/operations/componentFeatureCapabilities.js.map +1 -1
- package/dist/react-native/operations/componentLinkedStorageAccountsOperations.d.ts.map +1 -1
- package/dist/react-native/operations/componentLinkedStorageAccountsOperations.js +29 -29
- package/dist/react-native/operations/componentLinkedStorageAccountsOperations.js.map +1 -1
- package/dist/react-native/operations/componentQuotaStatus.js +6 -6
- package/dist/react-native/operations/componentQuotaStatus.js.map +1 -1
- package/dist/react-native/operations/components.d.ts +4 -0
- package/dist/react-native/operations/components.d.ts.map +1 -1
- package/dist/react-native/operations/components.js +69 -67
- package/dist/react-native/operations/components.js.map +1 -1
- package/dist/react-native/operations/deletedWorkbooks.d.ts +32 -0
- package/dist/react-native/operations/deletedWorkbooks.d.ts.map +1 -0
- package/dist/react-native/operations/deletedWorkbooks.js +141 -0
- package/dist/react-native/operations/deletedWorkbooks.js.map +1 -0
- package/dist/react-native/operations/exportConfigurations.js +38 -38
- package/dist/react-native/operations/exportConfigurations.js.map +1 -1
- package/dist/react-native/operations/favorites.js +35 -35
- package/dist/react-native/operations/favorites.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +4 -3
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +4 -3
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/liveToken.js +4 -4
- package/dist/react-native/operations/liveToken.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/proactiveDetectionConfigurations.d.ts.map +1 -1
- package/dist/react-native/operations/proactiveDetectionConfigurations.js +23 -23
- package/dist/react-native/operations/proactiveDetectionConfigurations.js.map +1 -1
- package/dist/react-native/operations/webTestLocations.js +7 -7
- package/dist/react-native/operations/webTestLocations.js.map +1 -1
- package/dist/react-native/operations/webTests.d.ts +10 -10
- package/dist/react-native/operations/webTests.js +64 -67
- package/dist/react-native/operations/webTests.js.map +1 -1
- package/dist/react-native/operations/workItemConfigurations.js +38 -38
- package/dist/react-native/operations/workItemConfigurations.js.map +1 -1
- package/dist/react-native/operations/workbookTemplates.js +35 -35
- package/dist/react-native/operations/workbookTemplates.js.map +1 -1
- package/dist/react-native/operations/workbooks.d.ts +8 -10
- package/dist/react-native/operations/workbooks.d.ts.map +1 -1
- package/dist/react-native/operations/workbooks.js +91 -104
- package/dist/react-native/operations/workbooks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/aPIKeys.js.map +1 -1
- package/dist/react-native/operationsInterfaces/analyticsItems.js.map +1 -1
- package/dist/react-native/operationsInterfaces/annotations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/componentAvailableFeatures.js.map +1 -1
- package/dist/react-native/operationsInterfaces/componentCurrentBillingFeatures.js.map +1 -1
- package/dist/react-native/operationsInterfaces/componentFeatureCapabilities.js.map +1 -1
- package/dist/react-native/operationsInterfaces/componentLinkedStorageAccountsOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/componentQuotaStatus.js.map +1 -1
- package/dist/react-native/operationsInterfaces/components.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/components.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/components.js.map +1 -1
- package/dist/react-native/operationsInterfaces/deletedWorkbooks.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/deletedWorkbooks.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/deletedWorkbooks.js +9 -0
- package/dist/react-native/operationsInterfaces/deletedWorkbooks.js.map +1 -0
- package/dist/react-native/operationsInterfaces/exportConfigurations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/favorites.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -3
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +4 -3
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/liveToken.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/{myWorkbooks.js → operations.js} +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/proactiveDetectionConfigurations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/webTestLocations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/webTests.d.ts +8 -8
- package/dist/react-native/operationsInterfaces/webTests.js.map +1 -1
- package/dist/react-native/operationsInterfaces/workItemConfigurations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/workbookTemplates.js.map +1 -1
- package/dist/react-native/operationsInterfaces/workbooks.d.ts +6 -6
- package/dist/react-native/operationsInterfaces/workbooks.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts +4 -4
- package/dist/react-native/pagingHelper.js +4 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +10 -8
- package/review/arm-appinsights.api.md +146 -164
- package/dist/browser/operations/myWorkbooks.d.ts +0 -89
- package/dist/browser/operations/myWorkbooks.d.ts.map +0 -1
- package/dist/browser/operations/myWorkbooks.js +0 -414
- package/dist/browser/operations/myWorkbooks.js.map +0 -1
- package/dist/browser/operationsInterfaces/myWorkbooks.d.ts +0 -49
- package/dist/browser/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/myWorkbooks.js.map +0 -1
- package/dist/commonjs/operations/myWorkbooks.d.ts +0 -89
- package/dist/commonjs/operations/myWorkbooks.d.ts.map +0 -1
- package/dist/commonjs/operations/myWorkbooks.js +0 -418
- package/dist/commonjs/operations/myWorkbooks.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/myWorkbooks.d.ts +0 -49
- package/dist/commonjs/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/myWorkbooks.js.map +0 -1
- package/dist/esm/operations/myWorkbooks.d.ts +0 -89
- package/dist/esm/operations/myWorkbooks.d.ts.map +0 -1
- package/dist/esm/operations/myWorkbooks.js +0 -414
- package/dist/esm/operations/myWorkbooks.js.map +0 -1
- package/dist/esm/operationsInterfaces/myWorkbooks.d.ts +0 -49
- package/dist/esm/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/myWorkbooks.js.map +0 -1
- package/dist/react-native/operations/myWorkbooks.d.ts +0 -89
- package/dist/react-native/operations/myWorkbooks.d.ts.map +0 -1
- package/dist/react-native/operations/myWorkbooks.js +0 -414
- package/dist/react-native/operations/myWorkbooks.js.map +0 -1
- package/dist/react-native/operationsInterfaces/myWorkbooks.d.ts +0 -49
- package/dist/react-native/operationsInterfaces/myWorkbooks.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/myWorkbooks.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
3
|
-
## 5.0.0-beta.8 (
|
|
2
|
+
|
|
3
|
+
## 5.0.0-beta.8 (2025-02-06)
|
|
4
4
|
|
|
5
5
|
### Features Added
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Bugs Fixed
|
|
10
|
-
|
|
11
|
-
### Other Changes
|
|
12
|
-
|
|
13
|
-
## 5.0.0-beta.7 (2022-11-15)
|
|
14
|
-
|
|
15
|
-
The package of @azure/arm-appinsights is using our next generation design principles since version 5.0.0-beta.7, which contains breaking changes.
|
|
7
|
+
The package of @azure/arm-appinsights is using our next generation design principles since version 5.0.0-beta.8, which contains breaking changes.
|
|
16
8
|
|
|
17
9
|
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
|
|
18
10
|
|
|
19
11
|
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
|
|
20
12
|
|
|
21
|
-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart
|
|
13
|
+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
|
package/README.md
CHANGED
|
@@ -44,7 +44,6 @@ npm install @azure/identity
|
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
You will also need to **register a new AAD application and grant access to Azure ApplicationInsightsManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
47
|
-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
48
47
|
|
|
49
48
|
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
50
49
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Annotations, APIKeys, ExportConfigurations, ComponentCurrentBillingFeatures, ComponentQuotaStatus, ComponentFeatureCapabilities, ComponentAvailableFeatures, ProactiveDetectionConfigurations, WorkItemConfigurations, Favorites, WebTestLocations, WebTests, AnalyticsItems,
|
|
3
|
+
import { Components, Annotations, APIKeys, ExportConfigurations, ComponentCurrentBillingFeatures, ComponentQuotaStatus, ComponentFeatureCapabilities, ComponentAvailableFeatures, ProactiveDetectionConfigurations, WorkItemConfigurations, Favorites, WebTestLocations, WebTests, AnalyticsItems, Operations, WorkbookTemplates, Workbooks, LiveToken, ComponentLinkedStorageAccountsOperations, DeletedWorkbooks } from "./operationsInterfaces/index.js";
|
|
4
4
|
import { ApplicationInsightsManagementClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
|
-
subscriptionId
|
|
7
|
+
subscriptionId?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Initializes a new instance of the ApplicationInsightsManagementClient class.
|
|
10
10
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -12,6 +12,8 @@ export declare class ApplicationInsightsManagementClient extends coreClient.Serv
|
|
|
12
12
|
* @param options The parameter options
|
|
13
13
|
*/
|
|
14
14
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ApplicationInsightsManagementClientOptionalParams);
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, options?: ApplicationInsightsManagementClientOptionalParams);
|
|
16
|
+
components: Components;
|
|
15
17
|
annotations: Annotations;
|
|
16
18
|
aPIKeys: APIKeys;
|
|
17
19
|
exportConfigurations: ExportConfigurations;
|
|
@@ -25,11 +27,11 @@ export declare class ApplicationInsightsManagementClient extends coreClient.Serv
|
|
|
25
27
|
webTestLocations: WebTestLocations;
|
|
26
28
|
webTests: WebTests;
|
|
27
29
|
analyticsItems: AnalyticsItems;
|
|
30
|
+
operations: Operations;
|
|
28
31
|
workbookTemplates: WorkbookTemplates;
|
|
29
|
-
myWorkbooks: MyWorkbooks;
|
|
30
32
|
workbooks: Workbooks;
|
|
31
|
-
components: Components;
|
|
32
|
-
componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;
|
|
33
33
|
liveToken: LiveToken;
|
|
34
|
+
componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;
|
|
35
|
+
deletedWorkbooks: DeletedWorkbooks;
|
|
34
36
|
}
|
|
35
37
|
//# sourceMappingURL=applicationInsightsManagementClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationInsightsManagementClient.d.ts","sourceRoot":"","sources":["../../src/applicationInsightsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"applicationInsightsManagementClient.d.ts","sourceRoot":"","sources":["../../src/applicationInsightsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAuB7C,OAAO,EACL,UAAU,EACV,WAAW,EACX,OAAO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AC;IACnF,gBAAgB,EAAE,gBAAgB,CAAC;CACpC"}
|
|
@@ -7,21 +7,19 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import { AnnotationsImpl, APIKeysImpl, ExportConfigurationsImpl, ComponentCurrentBillingFeaturesImpl, ComponentQuotaStatusImpl, ComponentFeatureCapabilitiesImpl, ComponentAvailableFeaturesImpl, ProactiveDetectionConfigurationsImpl, WorkItemConfigurationsImpl, FavoritesImpl, WebTestLocationsImpl, WebTestsImpl, AnalyticsItemsImpl,
|
|
10
|
+
import { ComponentsImpl, AnnotationsImpl, APIKeysImpl, ExportConfigurationsImpl, ComponentCurrentBillingFeaturesImpl, ComponentQuotaStatusImpl, ComponentFeatureCapabilitiesImpl, ComponentAvailableFeaturesImpl, ProactiveDetectionConfigurationsImpl, WorkItemConfigurationsImpl, FavoritesImpl, WebTestLocationsImpl, WebTestsImpl, AnalyticsItemsImpl, OperationsImpl, WorkbookTemplatesImpl, WorkbooksImpl, LiveTokenImpl, ComponentLinkedStorageAccountsOperationsImpl, DeletedWorkbooksImpl, } from "./operations/index.js";
|
|
11
11
|
export class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
|
|
12
|
-
|
|
13
|
-
* Initializes a new instance of the ApplicationInsightsManagementClient class.
|
|
14
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
15
|
-
* @param subscriptionId The ID of the target subscription.
|
|
16
|
-
* @param options The parameter options
|
|
17
|
-
*/
|
|
18
|
-
constructor(credentials, subscriptionId, options) {
|
|
12
|
+
constructor(credentials, subscriptionIdOrOptions, options) {
|
|
19
13
|
var _a, _b, _c;
|
|
20
14
|
if (credentials === undefined) {
|
|
21
15
|
throw new Error("'credentials' cannot be null");
|
|
22
16
|
}
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
let subscriptionId;
|
|
18
|
+
if (typeof subscriptionIdOrOptions === "string") {
|
|
19
|
+
subscriptionId = subscriptionIdOrOptions;
|
|
20
|
+
}
|
|
21
|
+
else if (typeof subscriptionIdOrOptions === "object") {
|
|
22
|
+
options = subscriptionIdOrOptions;
|
|
25
23
|
}
|
|
26
24
|
// Initializing default values for options
|
|
27
25
|
if (!options) {
|
|
@@ -29,14 +27,14 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
|
|
|
29
27
|
}
|
|
30
28
|
const defaults = {
|
|
31
29
|
requestContentType: "application/json; charset=utf-8",
|
|
32
|
-
credential: credentials
|
|
30
|
+
credential: credentials,
|
|
33
31
|
};
|
|
34
32
|
const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.8`;
|
|
35
33
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
34
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
35
|
: `${packageDetails}`;
|
|
38
36
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
39
|
-
userAgentPrefix
|
|
37
|
+
userAgentPrefix,
|
|
40
38
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
41
39
|
super(optionsWithDefaults);
|
|
42
40
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -50,39 +48,43 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
|
|
|
50
48
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
51
49
|
!bearerTokenAuthenticationPolicyFound) {
|
|
52
50
|
this.pipeline.removePolicy({
|
|
53
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
51
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
54
52
|
});
|
|
55
53
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
56
54
|
credential: credentials,
|
|
57
55
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
58
56
|
challengeCallbacks: {
|
|
59
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
60
|
-
}
|
|
57
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
58
|
+
},
|
|
61
59
|
}));
|
|
62
60
|
}
|
|
63
61
|
// Parameter assignments
|
|
64
62
|
this.subscriptionId = subscriptionId;
|
|
65
63
|
// Assigning values to Constant parameters
|
|
66
64
|
this.$host = options.$host || "https://management.azure.com";
|
|
65
|
+
this.components = new ComponentsImpl(this);
|
|
67
66
|
this.annotations = new AnnotationsImpl(this);
|
|
68
67
|
this.aPIKeys = new APIKeysImpl(this);
|
|
69
68
|
this.exportConfigurations = new ExportConfigurationsImpl(this);
|
|
70
|
-
this.componentCurrentBillingFeatures =
|
|
69
|
+
this.componentCurrentBillingFeatures =
|
|
70
|
+
new ComponentCurrentBillingFeaturesImpl(this);
|
|
71
71
|
this.componentQuotaStatus = new ComponentQuotaStatusImpl(this);
|
|
72
72
|
this.componentFeatureCapabilities = new ComponentFeatureCapabilitiesImpl(this);
|
|
73
73
|
this.componentAvailableFeatures = new ComponentAvailableFeaturesImpl(this);
|
|
74
|
-
this.proactiveDetectionConfigurations =
|
|
74
|
+
this.proactiveDetectionConfigurations =
|
|
75
|
+
new ProactiveDetectionConfigurationsImpl(this);
|
|
75
76
|
this.workItemConfigurations = new WorkItemConfigurationsImpl(this);
|
|
76
77
|
this.favorites = new FavoritesImpl(this);
|
|
77
78
|
this.webTestLocations = new WebTestLocationsImpl(this);
|
|
78
79
|
this.webTests = new WebTestsImpl(this);
|
|
79
80
|
this.analyticsItems = new AnalyticsItemsImpl(this);
|
|
81
|
+
this.operations = new OperationsImpl(this);
|
|
80
82
|
this.workbookTemplates = new WorkbookTemplatesImpl(this);
|
|
81
|
-
this.myWorkbooks = new MyWorkbooksImpl(this);
|
|
82
83
|
this.workbooks = new WorkbooksImpl(this);
|
|
83
|
-
this.components = new ComponentsImpl(this);
|
|
84
|
-
this.componentLinkedStorageAccountsOperations = new ComponentLinkedStorageAccountsOperationsImpl(this);
|
|
85
84
|
this.liveToken = new LiveTokenImpl(this);
|
|
85
|
+
this.componentLinkedStorageAccountsOperations =
|
|
86
|
+
new ComponentLinkedStorageAccountsOperationsImpl(this);
|
|
87
|
+
this.deletedWorkbooks = new DeletedWorkbooksImpl(this);
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
90
|
//# sourceMappingURL=applicationInsightsManagementClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationInsightsManagementClient.js","sourceRoot":"","sources":["../../src/applicationInsightsManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,eAAe,EACf,WAAW,EACX,wBAAwB,EACxB,mCAAmC,EACnC,wBAAwB,EACxB,gCAAgC,EAChC,8BAA8B,EAC9B,oCAAoC,EACpC,0BAA0B,EAC1B,aAAa,EACb,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,aAAa,EACb,cAAc,EACd,4CAA4C,EAC5C,aAAa,EACd,MAAM,uBAAuB,CAAC;AAwB/B,MAAM,OAAO,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAI/E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA2D;;QAE3D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAA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AAgB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,cAAc,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,WAAW,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,wCAAwC,GAAG,IAAI,4CAA4C,CAC9F,IAAI,CACL,CAAC;QACF,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;CAqBF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AnnotationsImpl,\n APIKeysImpl,\n ExportConfigurationsImpl,\n ComponentCurrentBillingFeaturesImpl,\n ComponentQuotaStatusImpl,\n ComponentFeatureCapabilitiesImpl,\n ComponentAvailableFeaturesImpl,\n ProactiveDetectionConfigurationsImpl,\n WorkItemConfigurationsImpl,\n FavoritesImpl,\n WebTestLocationsImpl,\n WebTestsImpl,\n AnalyticsItemsImpl,\n WorkbookTemplatesImpl,\n MyWorkbooksImpl,\n WorkbooksImpl,\n ComponentsImpl,\n ComponentLinkedStorageAccountsOperationsImpl,\n LiveTokenImpl\n} from \"./operations/index.js\";\nimport {\n Annotations,\n APIKeys,\n ExportConfigurations,\n ComponentCurrentBillingFeatures,\n ComponentQuotaStatus,\n ComponentFeatureCapabilities,\n ComponentAvailableFeatures,\n ProactiveDetectionConfigurations,\n WorkItemConfigurations,\n Favorites,\n WebTestLocations,\n WebTests,\n AnalyticsItems,\n WorkbookTemplates,\n MyWorkbooks,\n Workbooks,\n Components,\n ComponentLinkedStorageAccountsOperations,\n LiveToken\n} from \"./operationsInterfaces/index.js\";\nimport { ApplicationInsightsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ApplicationInsightsManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ApplicationInsightsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ApplicationInsightsManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ApplicationInsightsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.8`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.annotations = new AnnotationsImpl(this);\n this.aPIKeys = new APIKeysImpl(this);\n this.exportConfigurations = new ExportConfigurationsImpl(this);\n this.componentCurrentBillingFeatures = new ComponentCurrentBillingFeaturesImpl(\n this\n );\n this.componentQuotaStatus = new ComponentQuotaStatusImpl(this);\n this.componentFeatureCapabilities = new ComponentFeatureCapabilitiesImpl(\n this\n );\n this.componentAvailableFeatures = new ComponentAvailableFeaturesImpl(this);\n this.proactiveDetectionConfigurations = new ProactiveDetectionConfigurationsImpl(\n this\n );\n this.workItemConfigurations = new WorkItemConfigurationsImpl(this);\n this.favorites = new FavoritesImpl(this);\n this.webTestLocations = new WebTestLocationsImpl(this);\n this.webTests = new WebTestsImpl(this);\n this.analyticsItems = new AnalyticsItemsImpl(this);\n this.workbookTemplates = new WorkbookTemplatesImpl(this);\n this.myWorkbooks = new MyWorkbooksImpl(this);\n this.workbooks = new WorkbooksImpl(this);\n this.components = new ComponentsImpl(this);\n this.componentLinkedStorageAccountsOperations = new ComponentLinkedStorageAccountsOperationsImpl(\n this\n );\n this.liveToken = new LiveTokenImpl(this);\n }\n\n annotations: Annotations;\n aPIKeys: APIKeys;\n exportConfigurations: ExportConfigurations;\n componentCurrentBillingFeatures: ComponentCurrentBillingFeatures;\n componentQuotaStatus: ComponentQuotaStatus;\n componentFeatureCapabilities: ComponentFeatureCapabilities;\n componentAvailableFeatures: ComponentAvailableFeatures;\n proactiveDetectionConfigurations: ProactiveDetectionConfigurations;\n workItemConfigurations: WorkItemConfigurations;\n favorites: Favorites;\n webTestLocations: WebTestLocations;\n webTests: WebTests;\n analyticsItems: AnalyticsItems;\n workbookTemplates: WorkbookTemplates;\n myWorkbooks: MyWorkbooks;\n workbooks: Workbooks;\n components: Components;\n componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;\n liveToken: LiveToken;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"applicationInsightsManagementClient.js","sourceRoot":"","sources":["../../src/applicationInsightsManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,cAAc,EACd,eAAe,EACf,WAAW,EACX,wBAAwB,EACxB,mCAAmC,EACnC,wBAAwB,EACxB,gCAAgC,EAChC,8BAA8B,EAC9B,oCAAoC,EACpC,0BAA0B,EAC1B,aAAa,EACb,oBAAoB,EACpB,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,4CAA4C,EAC5C,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAyB/B,MAAM,OAAO,mCAAoC,SAAQ,UAAU,CAAC,aAAa;IAmB/E,YACE,WAAqC,EACrC,uBAEU,EACV,OAA2D;;QAE3D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,cAAkC,CAAC;QAEvC,IAAI,OAAO,uBAAuB,KAAK,QAAQ,EAAE,CAA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gCAAgC;YACnC,IAAI,oCAAoC,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,sBAAsB,GAAG,IAAI,0BAA0B,CAAC,IAAI,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,gBAAgB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC;QACvC,IAAI,CAAC,cAAc,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,wCAAwC;YAC3C,IAAI,4CAA4C,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,gBAAgB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;CAsBF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ComponentsImpl,\n AnnotationsImpl,\n APIKeysImpl,\n ExportConfigurationsImpl,\n ComponentCurrentBillingFeaturesImpl,\n ComponentQuotaStatusImpl,\n ComponentFeatureCapabilitiesImpl,\n ComponentAvailableFeaturesImpl,\n ProactiveDetectionConfigurationsImpl,\n WorkItemConfigurationsImpl,\n FavoritesImpl,\n WebTestLocationsImpl,\n WebTestsImpl,\n AnalyticsItemsImpl,\n OperationsImpl,\n WorkbookTemplatesImpl,\n WorkbooksImpl,\n LiveTokenImpl,\n ComponentLinkedStorageAccountsOperationsImpl,\n DeletedWorkbooksImpl,\n} from \"./operations/index.js\";\nimport {\n Components,\n Annotations,\n APIKeys,\n ExportConfigurations,\n ComponentCurrentBillingFeatures,\n ComponentQuotaStatus,\n ComponentFeatureCapabilities,\n ComponentAvailableFeatures,\n ProactiveDetectionConfigurations,\n WorkItemConfigurations,\n Favorites,\n WebTestLocations,\n WebTests,\n AnalyticsItems,\n Operations,\n WorkbookTemplates,\n Workbooks,\n LiveToken,\n ComponentLinkedStorageAccountsOperations,\n DeletedWorkbooks,\n} from \"./operationsInterfaces/index.js\";\nimport { ApplicationInsightsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ApplicationInsightsManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the ApplicationInsightsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ApplicationInsightsManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: ApplicationInsightsManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?:\n | ApplicationInsightsManagementClientOptionalParams\n | string,\n options?: ApplicationInsightsManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ApplicationInsightsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.8`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.components = new ComponentsImpl(this);\n this.annotations = new AnnotationsImpl(this);\n this.aPIKeys = new APIKeysImpl(this);\n this.exportConfigurations = new ExportConfigurationsImpl(this);\n this.componentCurrentBillingFeatures =\n new ComponentCurrentBillingFeaturesImpl(this);\n this.componentQuotaStatus = new ComponentQuotaStatusImpl(this);\n this.componentFeatureCapabilities = new ComponentFeatureCapabilitiesImpl(\n this,\n );\n this.componentAvailableFeatures = new ComponentAvailableFeaturesImpl(this);\n this.proactiveDetectionConfigurations =\n new ProactiveDetectionConfigurationsImpl(this);\n this.workItemConfigurations = new WorkItemConfigurationsImpl(this);\n this.favorites = new FavoritesImpl(this);\n this.webTestLocations = new WebTestLocationsImpl(this);\n this.webTests = new WebTestsImpl(this);\n this.analyticsItems = new AnalyticsItemsImpl(this);\n this.operations = new OperationsImpl(this);\n this.workbookTemplates = new WorkbookTemplatesImpl(this);\n this.workbooks = new WorkbooksImpl(this);\n this.liveToken = new LiveTokenImpl(this);\n this.componentLinkedStorageAccountsOperations =\n new ComponentLinkedStorageAccountsOperationsImpl(this);\n this.deletedWorkbooks = new DeletedWorkbooksImpl(this);\n }\n\n components: Components;\n annotations: Annotations;\n aPIKeys: APIKeys;\n exportConfigurations: ExportConfigurations;\n componentCurrentBillingFeatures: ComponentCurrentBillingFeatures;\n componentQuotaStatus: ComponentQuotaStatus;\n componentFeatureCapabilities: ComponentFeatureCapabilities;\n componentAvailableFeatures: ComponentAvailableFeatures;\n proactiveDetectionConfigurations: ProactiveDetectionConfigurations;\n workItemConfigurations: WorkItemConfigurations;\n favorites: Favorites;\n webTestLocations: WebTestLocations;\n webTests: WebTests;\n analyticsItems: AnalyticsItems;\n operations: Operations;\n workbookTemplates: WorkbookTemplates;\n workbooks: Workbooks;\n liveToken: LiveToken;\n componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;\n deletedWorkbooks: DeletedWorkbooks;\n}\n"]}
|