@azure/arm-appinsights 5.0.0-beta.5 → 5.0.0-beta.7
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 +3 -9
- package/dist/index.js +322 -105
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/analyticsItemsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/analyticsItemsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/analyticsItemsDeleteSample.js +34 -0
- package/dist-esm/samples-dev/analyticsItemsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/analyticsItemsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/analyticsItemsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/analyticsItemsGetSample.js +34 -0
- package/dist-esm/samples-dev/analyticsItemsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/analyticsItemsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/analyticsItemsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/analyticsItemsListSample.js +32 -0
- package/dist-esm/samples-dev/analyticsItemsListSample.js.map +1 -0
- package/dist-esm/samples-dev/analyticsItemsPutSample.d.ts +2 -0
- package/dist-esm/samples-dev/analyticsItemsPutSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/analyticsItemsPutSample.js +38 -0
- package/dist-esm/samples-dev/analyticsItemsPutSample.js.map +1 -0
- package/dist-esm/samples-dev/annotationsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/annotationsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/annotationsCreateSample.js +38 -0
- package/dist-esm/samples-dev/annotationsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/annotationsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/annotationsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/annotationsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/annotationsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/annotationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/annotationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/annotationsGetSample.js +32 -0
- package/dist-esm/samples-dev/annotationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/annotationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/annotationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/annotationsListSample.js +47 -0
- package/dist-esm/samples-dev/annotationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/apiKeysCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiKeysCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/apiKeysCreateSample.js +41 -0
- package/dist-esm/samples-dev/apiKeysCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/apiKeysDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiKeysDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/apiKeysDeleteSample.js +32 -0
- package/dist-esm/samples-dev/apiKeysDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/apiKeysGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiKeysGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/apiKeysGetSample.js +32 -0
- package/dist-esm/samples-dev/apiKeysGetSample.js.map +1 -0
- package/dist-esm/samples-dev/apiKeysListSample.d.ts +2 -0
- package/dist-esm/samples-dev/apiKeysListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/apiKeysListSample.js +45 -0
- package/dist-esm/samples-dev/apiKeysListSample.js.map +1 -0
- package/dist-esm/samples-dev/componentAvailableFeaturesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentAvailableFeaturesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentAvailableFeaturesGetSample.js +31 -0
- package/dist-esm/samples-dev/componentAvailableFeaturesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/componentCurrentBillingFeaturesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentCurrentBillingFeaturesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentCurrentBillingFeaturesGetSample.js +31 -0
- package/dist-esm/samples-dev/componentCurrentBillingFeaturesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/componentCurrentBillingFeaturesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentCurrentBillingFeaturesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentCurrentBillingFeaturesUpdateSample.js +35 -0
- package/dist-esm/samples-dev/componentCurrentBillingFeaturesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/componentFeatureCapabilitiesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentFeatureCapabilitiesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentFeatureCapabilitiesGetSample.js +31 -0
- package/dist-esm/samples-dev/componentFeatureCapabilitiesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsCreateAndUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsCreateAndUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsCreateAndUpdateSample.js +35 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsCreateAndUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsGetSample.js +32 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsUpdateSample.js +35 -0
- package/dist-esm/samples-dev/componentLinkedStorageAccountsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/componentQuotaStatusGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentQuotaStatusGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentQuotaStatusGetSample.js +31 -0
- package/dist-esm/samples-dev/componentQuotaStatusGetSample.js.map +1 -0
- package/dist-esm/samples-dev/componentsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentsCreateOrUpdateSample.js +62 -0
- package/dist-esm/samples-dev/componentsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/componentsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/componentsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/componentsGetPurgeStatusSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentsGetPurgeStatusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentsGetPurgeStatusSample.js +32 -0
- package/dist-esm/samples-dev/componentsGetPurgeStatusSample.js.map +1 -0
- package/dist-esm/samples-dev/componentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentsGetSample.js +31 -0
- package/dist-esm/samples-dev/componentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/componentsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/componentsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/componentsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentsListSample.js +43 -0
- package/dist-esm/samples-dev/componentsListSample.js.map +1 -0
- package/dist-esm/samples-dev/componentsPurgeSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentsPurgeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentsPurgeSample.js +41 -0
- package/dist-esm/samples-dev/componentsPurgeSample.js.map +1 -0
- package/dist-esm/samples-dev/componentsUpdateTagsSample.d.ts +2 -0
- package/dist-esm/samples-dev/componentsUpdateTagsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/componentsUpdateTagsSample.js +40 -0
- package/dist-esm/samples-dev/componentsUpdateTagsSample.js.map +1 -0
- package/dist-esm/samples-dev/exportConfigurationsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportConfigurationsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportConfigurationsCreateSample.js +42 -0
- package/dist-esm/samples-dev/exportConfigurationsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/exportConfigurationsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportConfigurationsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportConfigurationsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/exportConfigurationsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/exportConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportConfigurationsGetSample.js +32 -0
- package/dist-esm/samples-dev/exportConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/exportConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportConfigurationsListSample.js +31 -0
- package/dist-esm/samples-dev/exportConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/exportConfigurationsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportConfigurationsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportConfigurationsUpdateSample.js +43 -0
- package/dist-esm/samples-dev/exportConfigurationsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/favoritesAddSample.d.ts +2 -0
- package/dist-esm/samples-dev/favoritesAddSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/favoritesAddSample.js +44 -0
- package/dist-esm/samples-dev/favoritesAddSample.js.map +1 -0
- package/dist-esm/samples-dev/favoritesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/favoritesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/favoritesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/favoritesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/favoritesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/favoritesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/favoritesGetSample.js +32 -0
- package/dist-esm/samples-dev/favoritesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/favoritesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/favoritesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/favoritesListSample.js +31 -0
- package/dist-esm/samples-dev/favoritesListSample.js.map +1 -0
- package/dist-esm/samples-dev/favoritesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/favoritesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/favoritesUpdateSample.js +44 -0
- package/dist-esm/samples-dev/favoritesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/liveTokenGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/liveTokenGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/liveTokenGetSample.js +30 -0
- package/dist-esm/samples-dev/liveTokenGetSample.js.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/myWorkbooksCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksCreateOrUpdateSample.js +42 -0
- package/dist-esm/samples-dev/myWorkbooksCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/myWorkbooksDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksDeleteSample.js +31 -0
- package/dist-esm/samples-dev/myWorkbooksDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/myWorkbooksGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksGetSample.js +31 -0
- package/dist-esm/samples-dev/myWorkbooksGetSample.js.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/myWorkbooksListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksListByResourceGroupSample.js +77 -0
- package/dist-esm/samples-dev/myWorkbooksListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/myWorkbooksListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksListBySubscriptionSample.js +75 -0
- package/dist-esm/samples-dev/myWorkbooksListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/myWorkbooksUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/myWorkbooksUpdateSample.js +43 -0
- package/dist-esm/samples-dev/myWorkbooksUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsGetSample.js +32 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsListSample.js +31 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsUpdateSample.js +49 -0
- package/dist-esm/samples-dev/proactiveDetectionConfigurationsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/webTestLocationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/webTestLocationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webTestLocationsListSample.js +45 -0
- package/dist-esm/samples-dev/webTestLocationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/webTestsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/webTestsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webTestsCreateOrUpdateSample.js +81 -0
- package/dist-esm/samples-dev/webTestsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/webTestsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/webTestsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webTestsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/webTestsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/webTestsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/webTestsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webTestsGetSample.js +31 -0
- package/dist-esm/samples-dev/webTestsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/webTestsListByComponentSample.d.ts +2 -0
- package/dist-esm/samples-dev/webTestsListByComponentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webTestsListByComponentSample.js +45 -0
- package/dist-esm/samples-dev/webTestsListByComponentSample.js.map +1 -0
- package/dist-esm/samples-dev/webTestsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/webTestsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webTestsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/webTestsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/webTestsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/webTestsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webTestsListSample.js +43 -0
- package/dist-esm/samples-dev/webTestsListSample.js.map +1 -0
- package/dist-esm/samples-dev/webTestsUpdateTagsSample.d.ts +2 -0
- package/dist-esm/samples-dev/webTestsUpdateTagsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webTestsUpdateTagsSample.js +40 -0
- package/dist-esm/samples-dev/webTestsUpdateTagsSample.js.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workItemConfigurationsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsCreateSample.js +37 -0
- package/dist-esm/samples-dev/workItemConfigurationsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/workItemConfigurationsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/workItemConfigurationsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsGetDefaultSample.d.ts +2 -0
- package/dist-esm/samples-dev/workItemConfigurationsGetDefaultSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsGetDefaultSample.js +31 -0
- package/dist-esm/samples-dev/workItemConfigurationsGetDefaultSample.js.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsGetItemSample.d.ts +2 -0
- package/dist-esm/samples-dev/workItemConfigurationsGetItemSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsGetItemSample.js +32 -0
- package/dist-esm/samples-dev/workItemConfigurationsGetItemSample.js.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/workItemConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsListSample.js +45 -0
- package/dist-esm/samples-dev/workItemConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsUpdateItemSample.d.ts +2 -0
- package/dist-esm/samples-dev/workItemConfigurationsUpdateItemSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workItemConfigurationsUpdateItemSample.js +38 -0
- package/dist-esm/samples-dev/workItemConfigurationsUpdateItemSample.js.map +1 -0
- package/dist-esm/samples-dev/workbookTemplatesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbookTemplatesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbookTemplatesCreateOrUpdateSample.js +72 -0
- package/dist-esm/samples-dev/workbookTemplatesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/workbookTemplatesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbookTemplatesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbookTemplatesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/workbookTemplatesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/workbookTemplatesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbookTemplatesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbookTemplatesGetSample.js +31 -0
- package/dist-esm/samples-dev/workbookTemplatesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/workbookTemplatesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbookTemplatesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbookTemplatesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/workbookTemplatesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/workbookTemplatesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbookTemplatesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbookTemplatesUpdateSample.js +31 -0
- package/dist-esm/samples-dev/workbookTemplatesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/workbooksCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbooksCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbooksCreateOrUpdateSample.js +78 -0
- package/dist-esm/samples-dev/workbooksCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/workbooksDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbooksDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbooksDeleteSample.js +31 -0
- package/dist-esm/samples-dev/workbooksDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/workbooksGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbooksGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbooksGetSample.js +67 -0
- package/dist-esm/samples-dev/workbooksGetSample.js.map +1 -0
- package/dist-esm/samples-dev/workbooksListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbooksListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbooksListByResourceGroupSample.js +81 -0
- package/dist-esm/samples-dev/workbooksListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/workbooksListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbooksListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbooksListBySubscriptionSample.js +75 -0
- package/dist-esm/samples-dev/workbooksListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/workbooksRevisionGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbooksRevisionGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbooksRevisionGetSample.js +32 -0
- package/dist-esm/samples-dev/workbooksRevisionGetSample.js.map +1 -0
- package/dist-esm/samples-dev/workbooksRevisionsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbooksRevisionsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbooksRevisionsListSample.js +45 -0
- package/dist-esm/samples-dev/workbooksRevisionsListSample.js.map +1 -0
- package/dist-esm/samples-dev/workbooksUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workbooksUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workbooksUpdateSample.js +53 -0
- package/dist-esm/samples-dev/workbooksUpdateSample.js.map +1 -0
- package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -1
- package/dist-esm/src/applicationInsightsManagementClient.js +20 -15
- package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +69 -18
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +49 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/operations/aPIKeys.d.ts.map +1 -1
- package/dist-esm/src/operations/aPIKeys.js +8 -4
- package/dist-esm/src/operations/aPIKeys.js.map +1 -1
- package/dist-esm/src/operations/annotations.d.ts.map +1 -1
- package/dist-esm/src/operations/annotations.js +8 -4
- package/dist-esm/src/operations/annotations.js.map +1 -1
- package/dist-esm/src/operations/components.d.ts.map +1 -1
- package/dist-esm/src/operations/components.js +37 -14
- package/dist-esm/src/operations/components.js.map +1 -1
- package/dist-esm/src/operations/myWorkbooks.d.ts.map +1 -1
- package/dist-esm/src/operations/myWorkbooks.js +37 -14
- package/dist-esm/src/operations/myWorkbooks.js.map +1 -1
- package/dist-esm/src/operations/webTestLocations.d.ts.map +1 -1
- package/dist-esm/src/operations/webTestLocations.js +8 -4
- package/dist-esm/src/operations/webTestLocations.js.map +1 -1
- package/dist-esm/src/operations/webTests.d.ts.map +1 -1
- package/dist-esm/src/operations/webTests.js +55 -21
- package/dist-esm/src/operations/webTests.js.map +1 -1
- package/dist-esm/src/operations/workItemConfigurations.d.ts.map +1 -1
- package/dist-esm/src/operations/workItemConfigurations.js +8 -4
- package/dist-esm/src/operations/workItemConfigurations.js.map +1 -1
- package/dist-esm/src/operations/workbookTemplates.d.ts.map +1 -1
- package/dist-esm/src/operations/workbookTemplates.js +8 -4
- package/dist-esm/src/operations/workbookTemplates.js.map +1 -1
- package/dist-esm/src/operations/workbooks.d.ts.map +1 -1
- package/dist-esm/src/operations/workbooks.js +55 -21
- package/dist-esm/src/operations/workbooks.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/package.json +16 -8
- package/review/arm-appinsights.api.md +66 -110
- package/src/applicationInsightsManagementClient.ts +26 -17
- package/src/index.ts +1 -0
- package/src/models/index.ts +67 -18
- package/src/operations/aPIKeys.ts +15 -5
- package/src/operations/annotations.ts +11 -5
- package/src/operations/components.ts +45 -16
- package/src/operations/myWorkbooks.ts +46 -20
- package/src/operations/webTestLocations.ts +15 -5
- package/src/operations/webTests.ts +71 -29
- package/src/operations/workItemConfigurations.ts +15 -5
- package/src/operations/workbookTemplates.ts +14 -5
- package/src/operations/workbooks.ts +72 -33
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +8 -2
- package/types/arm-appinsights.d.ts +78 -18
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Gets a list of all Application Insights components within a subscription.
|
|
15
|
+
*
|
|
16
|
+
* @summary Gets a list of all Application Insights components within a subscription.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json
|
|
18
|
+
*/
|
|
19
|
+
function componentsListJson() {
|
|
20
|
+
var e_1, _a;
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
const subscriptionId = "subid";
|
|
23
|
+
const credential = new DefaultAzureCredential();
|
|
24
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
25
|
+
const resArray = new Array();
|
|
26
|
+
try {
|
|
27
|
+
for (var _b = __asyncValues(client.components.list()), _c; _c = yield _b.next(), !_c.done;) {
|
|
28
|
+
let item = _c.value;
|
|
29
|
+
resArray.push(item);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
33
|
+
finally {
|
|
34
|
+
try {
|
|
35
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
36
|
+
}
|
|
37
|
+
finally { if (e_1) throw e_1.error; }
|
|
38
|
+
}
|
|
39
|
+
console.log(resArray);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
componentsListJson().catch(console.error);
|
|
43
|
+
//# sourceMappingURL=componentsListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentsListSample.js","sourceRoot":"","sources":["../../samples-dev/componentsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kBAAkB;;;QAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA;gBAApC,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,kBAAkB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentsPurgeSample.d.ts","sourceRoot":"","sources":["../../samples-dev/componentsPurgeSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Purges data in an Application Insights component by a set of user-defined filters.
|
|
15
|
+
|
|
16
|
+
In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected.
|
|
17
|
+
*
|
|
18
|
+
* @summary Purges data in an Application Insights component by a set of user-defined filters.
|
|
19
|
+
|
|
20
|
+
In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected.
|
|
21
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsPurge.json
|
|
22
|
+
*/
|
|
23
|
+
function componentPurge() {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
const subscriptionId = "00000000-0000-0000-0000-00000000000";
|
|
26
|
+
const resourceGroupName = "OIAutoRest5123";
|
|
27
|
+
const resourceName = "aztest5048";
|
|
28
|
+
const body = {
|
|
29
|
+
filters: [
|
|
30
|
+
{ column: "TimeGenerated", operator: ">", value: "2017-09-01T00:00:00" }
|
|
31
|
+
],
|
|
32
|
+
table: "Heartbeat"
|
|
33
|
+
};
|
|
34
|
+
const credential = new DefaultAzureCredential();
|
|
35
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
36
|
+
const result = yield client.components.purge(resourceGroupName, resourceName, body);
|
|
37
|
+
console.log(result);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
componentPurge().catch(console.error);
|
|
41
|
+
//# sourceMappingURL=componentsPurgeSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentsPurgeSample.js","sourceRoot":"","sources":["../../samples-dev/componentsPurgeSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,mCAAmC,EACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;;;;;GASG;AACH,SAAe,cAAc;;QAC3B,MAAM,cAAc,GAAG,qCAAqC,CAAC;QAC7D,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;QAC3C,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,IAAI,GAAuB;YAC/B,OAAO,EAAE;gBACP,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,qBAAqB,EAAE;aACzE;YACD,KAAK,EAAE,WAAW;SACnB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,KAAK,CAC1C,iBAAiB,EACjB,YAAY,EACZ,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentsUpdateTagsSample.d.ts","sourceRoot":"","sources":["../../samples-dev/componentsUpdateTagsSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Updates an existing component's tags. To update other fields use the CreateOrUpdate method.
|
|
15
|
+
*
|
|
16
|
+
* @summary Updates an existing component's tags. To update other fields use the CreateOrUpdate method.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdateTagsOnly.json
|
|
18
|
+
*/
|
|
19
|
+
function componentUpdateTagsOnly() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "my-resource-group";
|
|
23
|
+
const resourceName = "my-component";
|
|
24
|
+
const componentTags = {
|
|
25
|
+
tags: {
|
|
26
|
+
applicationGatewayType: "Internal-Only",
|
|
27
|
+
billingEntity: "Self",
|
|
28
|
+
color: "AzureBlue",
|
|
29
|
+
customField01: "Custom text in some random field named randomly",
|
|
30
|
+
nodeType: "Edge"
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
const credential = new DefaultAzureCredential();
|
|
34
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
35
|
+
const result = yield client.components.updateTags(resourceGroupName, resourceName, componentTags);
|
|
36
|
+
console.log(result);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
componentUpdateTagsOnly().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=componentsUpdateTagsSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentsUpdateTagsSample.js","sourceRoot":"","sources":["../../samples-dev/componentsUpdateTagsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,mCAAmC,EACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,aAAa,GAAiB;YAClC,IAAI,EAAE;gBACJ,sBAAsB,EAAE,eAAe;gBACvC,aAAa,EAAE,MAAM;gBACrB,KAAK,EAAE,WAAW;gBAClB,aAAa,EAAE,iDAAiD;gBAChE,QAAQ,EAAE,MAAM;aACjB;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,UAAU,CAC/C,iBAAiB,EACjB,YAAY,EACZ,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurationsCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/exportConfigurationsCreateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Create a Continuous Export configuration of an Application Insights component.
|
|
15
|
+
*
|
|
16
|
+
* @summary Create a Continuous Export configuration of an Application Insights component.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsPost.json
|
|
18
|
+
*/
|
|
19
|
+
function exportConfigurationPost() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "my-resource-group";
|
|
23
|
+
const resourceName = "my-component";
|
|
24
|
+
const exportProperties = {
|
|
25
|
+
destinationAccountId: "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob",
|
|
26
|
+
destinationAddress: "https://mystorageblob.blob.core.windows.net/testexport?sv=2015-04-05&sr=c&sig=token",
|
|
27
|
+
destinationStorageLocationId: "eastus",
|
|
28
|
+
destinationStorageSubscriptionId: "subid",
|
|
29
|
+
destinationType: "Blob",
|
|
30
|
+
isEnabled: "true",
|
|
31
|
+
notificationQueueEnabled: "false",
|
|
32
|
+
notificationQueueUri: "",
|
|
33
|
+
recordTypes: "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability"
|
|
34
|
+
};
|
|
35
|
+
const credential = new DefaultAzureCredential();
|
|
36
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
37
|
+
const result = yield client.exportConfigurations.create(resourceGroupName, resourceName, exportProperties);
|
|
38
|
+
console.log(result);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
exportConfigurationPost().catch(console.error);
|
|
42
|
+
//# sourceMappingURL=exportConfigurationsCreateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurationsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/exportConfigurationsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,mCAAmC,EACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,gBAAgB,GAA8C;YAClE,oBAAoB,EAClB,wHAAwH;YAC1H,kBAAkB,EAChB,qFAAqF;YACvF,4BAA4B,EAAE,QAAQ;YACtC,gCAAgC,EAAE,OAAO;YACzC,eAAe,EAAE,MAAM;YACvB,SAAS,EAAE,MAAM;YACjB,wBAAwB,EAAE,OAAO;YACjC,oBAAoB,EAAE,EAAE;YACxB,WAAW,EACT,8GAA8G;SACjH,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,MAAM,CACrD,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurationsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/exportConfigurationsDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Delete a Continuous Export configuration of an Application Insights component.
|
|
15
|
+
*
|
|
16
|
+
* @summary Delete a Continuous Export configuration of an Application Insights component.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationDelete.json
|
|
18
|
+
*/
|
|
19
|
+
function exportConfigurationDelete() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "my-resource-group";
|
|
23
|
+
const resourceName = "my-component";
|
|
24
|
+
const exportId = "uGOoki0jQsyEs3IdQ83Q4QsNr4=";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
27
|
+
const result = yield client.exportConfigurations.delete(resourceGroupName, resourceName, exportId);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
exportConfigurationDelete().catch(console.error);
|
|
32
|
+
//# sourceMappingURL=exportConfigurationsDeleteSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurationsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/exportConfigurationsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,QAAQ,GAAG,6BAA6B,CAAC;QAC/C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,MAAM,CACrD,iBAAiB,EACjB,YAAY,EACZ,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurationsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/exportConfigurationsGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Get the Continuous Export configuration for this export id.
|
|
15
|
+
*
|
|
16
|
+
* @summary Get the Continuous Export configuration for this export id.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationGet.json
|
|
18
|
+
*/
|
|
19
|
+
function exportConfigurationGet() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "my-resource-group";
|
|
23
|
+
const resourceName = "my-component";
|
|
24
|
+
const exportId = "uGOoki0jQsyEs3IdQ83Q4QsNr4=";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
27
|
+
const result = yield client.exportConfigurations.get(resourceGroupName, resourceName, exportId);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
exportConfigurationGet().catch(console.error);
|
|
32
|
+
//# sourceMappingURL=exportConfigurationsGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurationsGetSample.js","sourceRoot":"","sources":["../../samples-dev/exportConfigurationsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,QAAQ,GAAG,6BAA6B,CAAC;QAC/C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,GAAG,CAClD,iBAAiB,EACjB,YAAY,EACZ,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurationsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/exportConfigurationsListSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Gets a list of Continuous Export configuration of an Application Insights component.
|
|
15
|
+
*
|
|
16
|
+
* @summary Gets a list of Continuous Export configuration of an Application Insights component.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsList.json
|
|
18
|
+
*/
|
|
19
|
+
function exportConfigurationsList() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "my-resource-group";
|
|
23
|
+
const resourceName = "my-component";
|
|
24
|
+
const credential = new DefaultAzureCredential();
|
|
25
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
26
|
+
const result = yield client.exportConfigurations.list(resourceGroupName, resourceName);
|
|
27
|
+
console.log(result);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
exportConfigurationsList().catch(console.error);
|
|
31
|
+
//# sourceMappingURL=exportConfigurationsListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurationsListSample.js","sourceRoot":"","sources":["../../samples-dev/exportConfigurationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,IAAI,CACnD,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wBAAwB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurationsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/exportConfigurationsUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Update the Continuous Export configuration for this export id.
|
|
15
|
+
*
|
|
16
|
+
* @summary Update the Continuous Export configuration for this export id.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationUpdate.json
|
|
18
|
+
*/
|
|
19
|
+
function exportConfigurationUpdate() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "my-resource-group";
|
|
23
|
+
const resourceName = "my-component";
|
|
24
|
+
const exportId = "uGOoki0jQsyEs3IdQ83Q4QsNr4=";
|
|
25
|
+
const exportProperties = {
|
|
26
|
+
destinationAccountId: "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob",
|
|
27
|
+
destinationAddress: "https://mystorageblob.blob.core.windows.net/fchentest?sv=2015-04-05&sr=c&sig=token",
|
|
28
|
+
destinationStorageLocationId: "eastus",
|
|
29
|
+
destinationStorageSubscriptionId: "subid",
|
|
30
|
+
destinationType: "Blob",
|
|
31
|
+
isEnabled: "true",
|
|
32
|
+
notificationQueueEnabled: "false",
|
|
33
|
+
notificationQueueUri: "",
|
|
34
|
+
recordTypes: "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability"
|
|
35
|
+
};
|
|
36
|
+
const credential = new DefaultAzureCredential();
|
|
37
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
38
|
+
const result = yield client.exportConfigurations.update(resourceGroupName, resourceName, exportId, exportProperties);
|
|
39
|
+
console.log(result);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
exportConfigurationUpdate().catch(console.error);
|
|
43
|
+
//# sourceMappingURL=exportConfigurationsUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportConfigurationsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/exportConfigurationsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,mCAAmC,EACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,QAAQ,GAAG,6BAA6B,CAAC;QAC/C,MAAM,gBAAgB,GAA8C;YAClE,oBAAoB,EAClB,wHAAwH;YAC1H,kBAAkB,EAChB,oFAAoF;YACtF,4BAA4B,EAAE,QAAQ;YACtC,gCAAgC,EAAE,OAAO;YACzC,eAAe,EAAE,MAAM;YACvB,SAAS,EAAE,MAAM;YACjB,wBAAwB,EAAE,OAAO;YACjC,oBAAoB,EAAE,EAAE;YACxB,WAAW,EACT,8GAA8G;SACjH,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,MAAM,CACrD,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"favoritesAddSample.d.ts","sourceRoot":"","sources":["../../samples-dev/favoritesAddSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Adds a new favorites to an Application Insights component.
|
|
15
|
+
*
|
|
16
|
+
* @summary Adds a new favorites to an Application Insights component.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteAdd.json
|
|
18
|
+
*/
|
|
19
|
+
function favoriteAdd() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "my-resource-group";
|
|
23
|
+
const resourceName = "my-ai-component";
|
|
24
|
+
const favoriteId = "deadb33f-8bee-4d3b-a059-9be8dac93960";
|
|
25
|
+
const favoriteProperties = {
|
|
26
|
+
category: undefined,
|
|
27
|
+
config: '{"MEDataModelRawJSON":"{\\n \\"version\\": \\"1.4.1\\",\\n \\"isCustomDataModel\\": true,\\n \\"items\\": [\\n {\\n \\"id\\": \\"90a7134d-9a38-4c25-88d3-a495209873eb\\",\\n \\"chartType\\": \\"Area\\",\\n \\"chartHeight\\": 4,\\n \\"metrics\\": [\\n {\\n \\"id\\": \\"preview/requests/count\\",\\n \\"metricAggregation\\": \\"Sum\\",\\n \\"color\\": \\"msportalfx-bgcolor-d0\\"\\n }\\n ],\\n \\"priorPeriod\\": false,\\n \\"clickAction\\": {\\n \\"defaultBlade\\": \\"SearchBlade\\"\\n },\\n \\"horizontalBars\\": true,\\n \\"showOther\\": true,\\n \\"aggregation\\": \\"Sum\\",\\n \\"percentage\\": false,\\n \\"palette\\": \\"fail\\",\\n \\"yAxisOption\\": 0,\\n \\"title\\": \\"\\"\\n },\\n {\\n \\"id\\": \\"0c289098-88e8-4010-b212-546815cddf70\\",\\n \\"chartType\\": \\"Area\\",\\n \\"chartHeight\\": 2,\\n \\"metrics\\": [\\n {\\n \\"id\\": \\"preview/requests/duration\\",\\n \\"metricAggregation\\": \\"Avg\\",\\n \\"color\\": \\"msportalfx-bgcolor-j1\\"\\n }\\n ],\\n \\"priorPeriod\\": false,\\n \\"clickAction\\": {\\n \\"defaultBlade\\": \\"SearchBlade\\"\\n },\\n \\"horizontalBars\\": true,\\n \\"showOther\\": true,\\n \\"aggregation\\": \\"Avg\\",\\n \\"percentage\\": false,\\n \\"palette\\": \\"greenHues\\",\\n \\"yAxisOption\\": 0,\\n \\"title\\": \\"\\"\\n },\\n {\\n \\"id\\": \\"cbdaab6f-a808-4f71-aca5-b3976cbb7345\\",\\n \\"chartType\\": \\"Bar\\",\\n \\"chartHeight\\": 4,\\n \\"metrics\\": [\\n {\\n \\"id\\": \\"preview/requests/duration\\",\\n \\"metricAggregation\\": \\"Avg\\",\\n \\"color\\": \\"msportalfx-bgcolor-d0\\"\\n }\\n ],\\n \\"priorPeriod\\": false,\\n \\"clickAction\\": {\\n \\"defaultBlade\\": \\"SearchBlade\\"\\n },\\n \\"horizontalBars\\": true,\\n \\"showOther\\": true,\\n \\"aggregation\\": \\"Avg\\",\\n \\"percentage\\": false,\\n \\"palette\\": \\"magentaHues\\",\\n \\"yAxisOption\\": 0,\\n \\"title\\": \\"\\"\\n },\\n {\\n \\"id\\": \\"1d5a6a3a-9fa1-4099-9cf9-05eff72d1b02\\",\\n \\"grouping\\": {\\n \\"kind\\": \\"ByDimension\\",\\n \\"dimension\\": \\"context.application.version\\"\\n },\\n \\"chartType\\": \\"Grid\\",\\n \\"chartHeight\\": 1,\\n \\"metrics\\": [\\n {\\n \\"id\\": \\"basicException.count\\",\\n \\"metricAggregation\\": \\"Sum\\",\\n \\"color\\": \\"msportalfx-bgcolor-g0\\"\\n },\\n {\\n \\"id\\": \\"requestFailed.count\\",\\n \\"metricAggregation\\": \\"Sum\\",\\n \\"color\\": \\"msportalfx-bgcolor-f0s2\\"\\n }\\n ],\\n \\"priorPeriod\\": true,\\n \\"clickAction\\": {\\n \\"defaultBlade\\": \\"SearchBlade\\"\\n },\\n \\"horizontalBars\\": true,\\n \\"showOther\\": true,\\n \\"percentage\\": false,\\n \\"palette\\": \\"blueHues\\",\\n \\"yAxisOption\\": 0,\\n \\"title\\": \\"\\"\\n }\\n ],\\n \\"currentFilter\\": {\\n \\"eventTypes\\": [\\n 1,\\n 2\\n ],\\n \\"typeFacets\\": {},\\n \\"isPermissive\\": false\\n },\\n \\"timeContext\\": {\\n \\"durationMs\\": 75600000,\\n \\"endTime\\": \\"2018-01-31T20:30:00.000Z\\",\\n \\"createdTime\\": \\"2018-01-31T23:54:26.280Z\\",\\n \\"isInitialTime\\": false,\\n \\"grain\\": 1,\\n \\"useDashboardTimeRange\\": false\\n },\\n \\"jsonUri\\": \\"Favorite_BlankChart\\",\\n \\"timeSource\\": 0\\n}"}',
|
|
28
|
+
favoriteId: "deadb33f-8bee-4d3b-a059-9be8dac93960",
|
|
29
|
+
favoriteType: "shared",
|
|
30
|
+
isGeneratedFromTemplate: false,
|
|
31
|
+
name: "Blah Blah Blah",
|
|
32
|
+
sourceType: undefined,
|
|
33
|
+
tags: ["TagSample01", "TagSample02"],
|
|
34
|
+
timeModified: undefined,
|
|
35
|
+
version: "ME"
|
|
36
|
+
};
|
|
37
|
+
const credential = new DefaultAzureCredential();
|
|
38
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
39
|
+
const result = yield client.favorites.add(resourceGroupName, resourceName, favoriteId, favoriteProperties);
|
|
40
|
+
console.log(result);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
favoriteAdd().catch(console.error);
|
|
44
|
+
//# sourceMappingURL=favoritesAddSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"favoritesAddSample.js","sourceRoot":"","sources":["../../samples-dev/favoritesAddSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,mCAAmC,EACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,WAAW;;QACxB,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,iBAAiB,CAAC;QACvC,MAAM,UAAU,GAAG,sCAAsC,CAAC;QAC1D,MAAM,kBAAkB,GAAyC;YAC/D,QAAQ,EAAE,SAAS;YACnB,MAAM,EACJ,irHAAirH;YACnrH,UAAU,EAAE,sCAAsC;YAClD,YAAY,EAAE,QAAQ;YACtB,uBAAuB,EAAE,KAAK;YAC9B,IAAI,EAAE,gBAAgB;YACtB,UAAU,EAAE,SAAS;YACrB,IAAI,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC;YACpC,YAAY,EAAE,SAAS;YACvB,OAAO,EAAE,IAAI;SACd,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,GAAG,CACvC,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,WAAW,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"favoritesDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/favoritesDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Remove a favorite that is associated to an Application Insights component.
|
|
15
|
+
*
|
|
16
|
+
* @summary Remove a favorite that is associated to an Application Insights component.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteDelete.json
|
|
18
|
+
*/
|
|
19
|
+
function favoriteList() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "my-resource-group";
|
|
23
|
+
const resourceName = "my-ai-component";
|
|
24
|
+
const favoriteId = "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
27
|
+
const result = yield client.favorites.delete(resourceGroupName, resourceName, favoriteId);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
favoriteList().catch(console.error);
|
|
32
|
+
//# sourceMappingURL=favoritesDeleteSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"favoritesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/favoritesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,YAAY;;QACzB,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,iBAAiB,CAAC;QACvC,MAAM,UAAU,GAAG,sCAAsC,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,MAAM,CAC1C,iBAAiB,EACjB,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,YAAY,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"favoritesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/favoritesGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Get a single favorite by its FavoriteId, defined within an Application Insights component.
|
|
15
|
+
*
|
|
16
|
+
* @summary Get a single favorite by its FavoriteId, defined within an Application Insights component.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteGet.json
|
|
18
|
+
*/
|
|
19
|
+
function favoriteGet() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "my-resource-group";
|
|
23
|
+
const resourceName = "my-ai-component";
|
|
24
|
+
const favoriteId = "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
27
|
+
const result = yield client.favorites.get(resourceGroupName, resourceName, favoriteId);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
favoriteGet().catch(console.error);
|
|
32
|
+
//# sourceMappingURL=favoritesGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"favoritesGetSample.js","sourceRoot":"","sources":["../../samples-dev/favoritesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,WAAW;;QACxB,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,iBAAiB,CAAC;QACvC,MAAM,UAAU,GAAG,sCAAsC,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,GAAG,CACvC,iBAAiB,EACjB,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,WAAW,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"favoritesListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/favoritesListSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ApplicationInsightsManagementClient } from "@azure/arm-appinsights";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Gets a list of favorites defined within an Application Insights component.
|
|
15
|
+
*
|
|
16
|
+
* @summary Gets a list of favorites defined within an Application Insights component.
|
|
17
|
+
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoritesList.json
|
|
18
|
+
*/
|
|
19
|
+
function favoritesList() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "subid";
|
|
22
|
+
const resourceGroupName = "my-resource-group";
|
|
23
|
+
const resourceName = "my-ai-component";
|
|
24
|
+
const credential = new DefaultAzureCredential();
|
|
25
|
+
const client = new ApplicationInsightsManagementClient(credential, subscriptionId);
|
|
26
|
+
const result = yield client.favorites.list(resourceGroupName, resourceName);
|
|
27
|
+
console.log(result);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
favoritesList().catch(console.error);
|
|
31
|
+
//# sourceMappingURL=favoritesListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"favoritesListSample.js","sourceRoot":"","sources":["../../samples-dev/favoritesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,aAAa;;QAC1B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,iBAAiB,CAAC;QACvC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,mCAAmC,CACpD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;QAC5E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,aAAa,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"favoritesUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/favoritesUpdateSample.ts"],"names":[],"mappings":""}
|