@azure/arm-monitor-profile-2020-09-01-hybrid 2.1.1-alpha.20250213.1 → 2.1.1-alpha.20250217.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/README.md +23 -18
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/monitorClient.d.ts +2 -2
- package/dist/browser/monitorClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/monitorClient.js +1 -1
- package/dist/browser/monitorClient.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/diagnosticSettings.d.ts +3 -3
- package/dist/browser/operations/diagnosticSettings.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/diagnosticSettings.js +2 -2
- package/dist/browser/operations/diagnosticSettings.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/diagnosticSettingsCategory.d.ts +3 -3
- package/dist/browser/operations/diagnosticSettingsCategory.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/diagnosticSettingsCategory.js +2 -2
- package/dist/browser/operations/diagnosticSettingsCategory.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/eventCategories.d.ts +3 -3
- package/dist/browser/operations/eventCategories.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/eventCategories.js +2 -2
- package/dist/browser/operations/eventCategories.js.map +1 -0
- package/dist/browser/operations/index.d.ts +7 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +14 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/metricDefinitions.d.ts +3 -3
- package/dist/browser/operations/metricDefinitions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/metricDefinitions.js +2 -2
- package/dist/browser/operations/metricDefinitions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/metrics.d.ts +3 -3
- package/dist/browser/operations/metrics.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/metrics.js +2 -2
- package/dist/browser/operations/metrics.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/diagnosticSettings.d.ts +1 -1
- package/dist/browser/operationsInterfaces/diagnosticSettings.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/diagnosticSettings.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/diagnosticSettingsCategory.d.ts +1 -1
- package/dist/browser/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/diagnosticSettingsCategory.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/eventCategories.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/eventCategories.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/eventCategories.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +7 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +14 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/metricDefinitions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/metricDefinitions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/metricDefinitions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/metrics.d.ts +1 -1
- package/dist/browser/operationsInterfaces/metrics.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/metrics.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/{types/arm-monitor-profile-2020-09-01-hybrid.d.ts → dist/commonjs/models/index.d.ts} +390 -556
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +55 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +24 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +755 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +20 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +185 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/monitorClient.d.ts +20 -0
- package/dist/commonjs/monitorClient.d.ts.map +1 -0
- package/dist/commonjs/monitorClient.js +74 -0
- package/dist/commonjs/monitorClient.js.map +1 -0
- package/dist/commonjs/operations/diagnosticSettings.d.ts +41 -0
- package/dist/commonjs/operations/diagnosticSettings.d.ts.map +1 -0
- package/dist/commonjs/operations/diagnosticSettings.js +129 -0
- package/dist/commonjs/operations/diagnosticSettings.js.map +1 -0
- package/dist/commonjs/operations/diagnosticSettingsCategory.d.ts +26 -0
- package/dist/commonjs/operations/diagnosticSettingsCategory.d.ts.map +1 -0
- package/dist/commonjs/operations/diagnosticSettingsCategory.js +77 -0
- package/dist/commonjs/operations/diagnosticSettingsCategory.js.map +1 -0
- package/dist/commonjs/operations/eventCategories.d.ts +28 -0
- package/dist/commonjs/operations/eventCategories.d.ts.map +1 -0
- package/dist/commonjs/operations/eventCategories.js +102 -0
- package/dist/commonjs/operations/eventCategories.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +7 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +17 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/metricDefinitions.d.ts +28 -0
- package/dist/commonjs/operations/metricDefinitions.d.ts.map +1 -0
- package/dist/commonjs/operations/metricDefinitions.js +102 -0
- package/dist/commonjs/operations/metricDefinitions.js.map +1 -0
- package/dist/commonjs/operations/metrics.d.ts +19 -0
- package/dist/commonjs/operations/metrics.d.ts.map +1 -0
- package/dist/commonjs/operations/metrics.js +63 -0
- package/dist/commonjs/operations/metrics.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +18 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +48 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/diagnosticSettings.d.ts +33 -0
- package/dist/commonjs/operationsInterfaces/diagnosticSettings.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/diagnosticSettings.js +10 -0
- package/dist/commonjs/operationsInterfaces/diagnosticSettings.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/diagnosticSettingsCategory.d.ts +18 -0
- package/dist/commonjs/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/diagnosticSettingsCategory.js +10 -0
- package/dist/commonjs/operationsInterfaces/diagnosticSettingsCategory.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventCategories.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/eventCategories.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventCategories.js +10 -0
- package/dist/commonjs/operationsInterfaces/eventCategories.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +17 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/metricDefinitions.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/metricDefinitions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/metricDefinitions.js +10 -0
- package/dist/commonjs/operationsInterfaces/metricDefinitions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/metrics.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/metrics.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/metrics.js +10 -0
- package/dist/commonjs/operationsInterfaces/metrics.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +390 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +52 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +24 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +752 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +20 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +182 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/monitorClient.d.ts +20 -0
- package/dist/esm/monitorClient.d.ts.map +1 -0
- package/dist/esm/monitorClient.js +69 -0
- package/dist/esm/monitorClient.js.map +1 -0
- package/dist/esm/operations/diagnosticSettings.d.ts +41 -0
- package/dist/esm/operations/diagnosticSettings.d.ts.map +1 -0
- package/dist/esm/operations/diagnosticSettings.js +124 -0
- package/dist/esm/operations/diagnosticSettings.js.map +1 -0
- package/dist/esm/operations/diagnosticSettingsCategory.d.ts +26 -0
- package/dist/esm/operations/diagnosticSettingsCategory.d.ts.map +1 -0
- package/dist/esm/operations/diagnosticSettingsCategory.js +72 -0
- package/dist/esm/operations/diagnosticSettingsCategory.js.map +1 -0
- package/dist/esm/operations/eventCategories.d.ts +28 -0
- package/dist/esm/operations/eventCategories.d.ts.map +1 -0
- package/dist/esm/operations/eventCategories.js +98 -0
- package/dist/esm/operations/eventCategories.js.map +1 -0
- package/dist/esm/operations/index.d.ts +7 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +14 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/metricDefinitions.d.ts +28 -0
- package/dist/esm/operations/metricDefinitions.d.ts.map +1 -0
- package/dist/esm/operations/metricDefinitions.js +98 -0
- package/dist/esm/operations/metricDefinitions.js.map +1 -0
- package/dist/esm/operations/metrics.d.ts +19 -0
- package/dist/esm/operations/metrics.d.ts.map +1 -0
- package/dist/esm/operations/metrics.js +58 -0
- package/dist/esm/operations/metrics.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +18 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +43 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/diagnosticSettings.d.ts +33 -0
- package/dist/esm/operationsInterfaces/diagnosticSettings.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/diagnosticSettings.js +9 -0
- package/dist/esm/operationsInterfaces/diagnosticSettings.js.map +1 -0
- package/dist/esm/operationsInterfaces/diagnosticSettingsCategory.d.ts +18 -0
- package/dist/esm/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/diagnosticSettingsCategory.js +9 -0
- package/dist/esm/operationsInterfaces/diagnosticSettingsCategory.js.map +1 -0
- package/dist/esm/operationsInterfaces/eventCategories.d.ts +12 -0
- package/dist/esm/operationsInterfaces/eventCategories.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/eventCategories.js +9 -0
- package/dist/esm/operationsInterfaces/eventCategories.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +7 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +14 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/metricDefinitions.d.ts +12 -0
- package/dist/esm/operationsInterfaces/metricDefinitions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/metricDefinitions.js +9 -0
- package/dist/esm/operationsInterfaces/metricDefinitions.js.map +1 -0
- package/dist/esm/operationsInterfaces/metrics.d.ts +11 -0
- package/dist/esm/operationsInterfaces/metrics.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/metrics.js +9 -0
- package/dist/esm/operationsInterfaces/metrics.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +390 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +52 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +24 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +752 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +20 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +182 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/monitorClient.d.ts +20 -0
- package/dist/react-native/monitorClient.d.ts.map +1 -0
- package/dist/react-native/monitorClient.js +69 -0
- package/dist/react-native/monitorClient.js.map +1 -0
- package/dist/react-native/operations/diagnosticSettings.d.ts +41 -0
- package/dist/react-native/operations/diagnosticSettings.d.ts.map +1 -0
- package/dist/react-native/operations/diagnosticSettings.js +124 -0
- package/dist/react-native/operations/diagnosticSettings.js.map +1 -0
- package/dist/react-native/operations/diagnosticSettingsCategory.d.ts +26 -0
- package/dist/react-native/operations/diagnosticSettingsCategory.d.ts.map +1 -0
- package/dist/react-native/operations/diagnosticSettingsCategory.js +72 -0
- package/dist/react-native/operations/diagnosticSettingsCategory.js.map +1 -0
- package/dist/react-native/operations/eventCategories.d.ts +28 -0
- package/dist/react-native/operations/eventCategories.d.ts.map +1 -0
- package/dist/react-native/operations/eventCategories.js +98 -0
- package/dist/react-native/operations/eventCategories.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +7 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +14 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/metricDefinitions.d.ts +28 -0
- package/dist/react-native/operations/metricDefinitions.d.ts.map +1 -0
- package/dist/react-native/operations/metricDefinitions.js +98 -0
- package/dist/react-native/operations/metricDefinitions.js.map +1 -0
- package/dist/react-native/operations/metrics.d.ts +19 -0
- package/dist/react-native/operations/metrics.d.ts.map +1 -0
- package/dist/react-native/operations/metrics.js +58 -0
- package/dist/react-native/operations/metrics.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +18 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +43 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/diagnosticSettings.d.ts +33 -0
- package/dist/react-native/operationsInterfaces/diagnosticSettings.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/diagnosticSettings.js +9 -0
- package/dist/react-native/operationsInterfaces/diagnosticSettings.js.map +1 -0
- package/dist/react-native/operationsInterfaces/diagnosticSettingsCategory.d.ts +18 -0
- package/dist/react-native/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/diagnosticSettingsCategory.js +9 -0
- package/dist/react-native/operationsInterfaces/diagnosticSettingsCategory.js.map +1 -0
- package/dist/react-native/operationsInterfaces/eventCategories.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/eventCategories.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/eventCategories.js +9 -0
- package/dist/react-native/operationsInterfaces/eventCategories.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +14 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/metricDefinitions.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/metricDefinitions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/metricDefinitions.js +9 -0
- package/dist/react-native/operationsInterfaces/metricDefinitions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/metrics.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/metrics.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/metrics.js +9 -0
- package/dist/react-native/operationsInterfaces/metrics.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +69 -40
- package/dist/index.js +0 -1604
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +0 -35
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.d.ts +0 -2
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +0 -34
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +0 -49
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +0 -35
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +0 -35
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/diagnosticSettingsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js +0 -34
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +0 -1
- package/dist-esm/samples-dev/eventCategoriesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventCategoriesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventCategoriesListSample.js +0 -49
- package/dist-esm/samples-dev/eventCategoriesListSample.js.map +0 -1
- package/dist-esm/samples-dev/metricDefinitionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/metricDefinitionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/metricDefinitionsListSample.js +0 -113
- package/dist-esm/samples-dev/metricDefinitionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/metricsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/metricsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/metricsListSample.js +0 -103
- package/dist-esm/samples-dev/metricsListSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -33
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/monitorClient.d.ts.map +0 -1
- package/dist-esm/src/monitorClient.js.map +0 -1
- package/dist-esm/src/operations/diagnosticSettings.d.ts.map +0 -1
- package/dist-esm/src/operations/diagnosticSettings.js.map +0 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +0 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +0 -1
- package/dist-esm/src/operations/eventCategories.d.ts.map +0 -1
- package/dist-esm/src/operations/eventCategories.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -7
- package/dist-esm/src/operations/index.js +0 -14
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/metricDefinitions.d.ts.map +0 -1
- package/dist-esm/src/operations/metricDefinitions.js.map +0 -1
- package/dist-esm/src/operations/metrics.d.ts.map +0 -1
- package/dist-esm/src/operations/metrics.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/diagnosticSettings.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventCategories.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -14
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/metricDefinitions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/metricDefinitions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/metrics.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/metrics.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/models/index.ts +0 -451
- package/src/models/mappers.ts +0 -788
- package/src/models/parameters.ts +0 -205
- package/src/monitorClient.ts +0 -120
- package/src/operations/diagnosticSettings.ts +0 -172
- package/src/operations/diagnosticSettingsCategory.ts +0 -102
- package/src/operations/eventCategories.ts +0 -105
- package/src/operations/index.ts +0 -14
- package/src/operations/metricDefinitions.ts +0 -112
- package/src/operations/metrics.ts +0 -72
- package/src/operations/operations.ts +0 -56
- package/src/operationsInterfaces/diagnosticSettings.ts +0 -66
- package/src/operationsInterfaces/diagnosticSettingsCategory.ts +0 -38
- package/src/operationsInterfaces/eventCategories.ts +0 -26
- package/src/operationsInterfaces/index.ts +0 -14
- package/src/operationsInterfaces/metricDefinitions.ts +0 -27
- package/src/operationsInterfaces/metrics.ts +0 -22
- package/src/operationsInterfaces/operations.ts +0 -21
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/diagnosticSettings.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/diagnosticSettingsCategory.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventCategories.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/metricDefinitions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/metrics.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
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 * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/** Class containing DiagnosticSettingsCategory operations. */
|
|
12
|
+
export class DiagnosticSettingsCategoryImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class DiagnosticSettingsCategory class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Gets the diagnostic settings category for the specified resource.
|
|
22
|
+
* @param resourceUri The identifier of the resource.
|
|
23
|
+
* @param name The name of the diagnostic setting.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
get(resourceUri, name, options) {
|
|
27
|
+
return this.client.sendOperationRequest({ resourceUri, name, options }, getOperationSpec);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Lists the diagnostic settings categories for the specified resource.
|
|
31
|
+
* @param resourceUri The identifier of the resource.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
list(resourceUri, options) {
|
|
35
|
+
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
// Operation Specifications
|
|
39
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
40
|
+
const getOperationSpec = {
|
|
41
|
+
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettingsCategories/{name}",
|
|
42
|
+
httpMethod: "GET",
|
|
43
|
+
responses: {
|
|
44
|
+
200: {
|
|
45
|
+
bodyMapper: Mappers.DiagnosticSettingsCategoryResource
|
|
46
|
+
},
|
|
47
|
+
default: {
|
|
48
|
+
bodyMapper: Mappers.ErrorResponse
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
queryParameters: [Parameters.apiVersion1],
|
|
52
|
+
urlParameters: [Parameters.$host, Parameters.resourceUri, Parameters.name],
|
|
53
|
+
headerParameters: [Parameters.accept],
|
|
54
|
+
serializer
|
|
55
|
+
};
|
|
56
|
+
const listOperationSpec = {
|
|
57
|
+
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettingsCategories",
|
|
58
|
+
httpMethod: "GET",
|
|
59
|
+
responses: {
|
|
60
|
+
200: {
|
|
61
|
+
bodyMapper: Mappers.DiagnosticSettingsCategoryResourceCollection
|
|
62
|
+
},
|
|
63
|
+
default: {
|
|
64
|
+
bodyMapper: Mappers.ErrorResponse
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
queryParameters: [Parameters.apiVersion1],
|
|
68
|
+
urlParameters: [Parameters.$host, Parameters.resourceUri],
|
|
69
|
+
headerParameters: [Parameters.accept],
|
|
70
|
+
serializer
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=diagnosticSettingsCategory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diagnosticSettingsCategory.js","sourceRoot":"","sources":["../../../src/operations/diagnosticSettingsCategory.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAStD,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,WAAmB,EACnB,IAAY,EACZ,OAAqD;QAErD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,EAC9B,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,WAAmB,EACnB,OAAsD;QAEtD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,WAAW,EAAE,OAAO,EAAE,EACxB,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,iFAAiF;IACnF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kCAAkC;SACvD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,IAAI,CAAC;IAC1E,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EACF,0EAA0E;IAC5E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4CAA4C;SACjE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC;IACzD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { DiagnosticSettingsCategory } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MonitorClient } from \"../monitorClient.js\";\nimport {\n DiagnosticSettingsCategoryGetOptionalParams,\n DiagnosticSettingsCategoryGetResponse,\n DiagnosticSettingsCategoryListOptionalParams,\n DiagnosticSettingsCategoryListResponse\n} from \"../models/index.js\";\n\n/** Class containing DiagnosticSettingsCategory operations. */\nexport class DiagnosticSettingsCategoryImpl\n implements DiagnosticSettingsCategory {\n private readonly client: MonitorClient;\n\n /**\n * Initialize a new instance of the class DiagnosticSettingsCategory class.\n * @param client Reference to the service client\n */\n constructor(client: MonitorClient) {\n this.client = client;\n }\n\n /**\n * Gets the diagnostic settings category for the specified resource.\n * @param resourceUri The identifier of the resource.\n * @param name The name of the diagnostic setting.\n * @param options The options parameters.\n */\n get(\n resourceUri: string,\n name: string,\n options?: DiagnosticSettingsCategoryGetOptionalParams\n ): Promise<DiagnosticSettingsCategoryGetResponse> {\n return this.client.sendOperationRequest(\n { resourceUri, name, options },\n getOperationSpec\n );\n }\n\n /**\n * Lists the diagnostic settings categories for the specified resource.\n * @param resourceUri The identifier of the resource.\n * @param options The options parameters.\n */\n list(\n resourceUri: string,\n options?: DiagnosticSettingsCategoryListOptionalParams\n ): Promise<DiagnosticSettingsCategoryListResponse> {\n return this.client.sendOperationRequest(\n { resourceUri, options },\n listOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/{resourceUri}/providers/Microsoft.Insights/diagnosticSettingsCategories/{name}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DiagnosticSettingsCategoryResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceUri, Parameters.name],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/{resourceUri}/providers/Microsoft.Insights/diagnosticSettingsCategories\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DiagnosticSettingsCategoryResourceCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceUri],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { EventCategories } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { MonitorClient } from "../monitorClient.js";
|
|
4
|
+
import { LocalizableString, EventCategoriesListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing EventCategories operations. */
|
|
6
|
+
export declare class EventCategoriesImpl implements EventCategories {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class EventCategories class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: MonitorClient);
|
|
13
|
+
/**
|
|
14
|
+
* Get the list of available event categories supported in the Activity Logs Service.<br>The current
|
|
15
|
+
* list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
list(options?: EventCategoriesListOptionalParams): PagedAsyncIterableIterator<LocalizableString>;
|
|
19
|
+
private listPagingPage;
|
|
20
|
+
private listPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* Get the list of available event categories supported in the Activity Logs Service.<br>The current
|
|
23
|
+
* list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
private _list;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=eventCategories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventCategories.d.ts","sourceRoot":"","sources":["../../../src/operations/eventCategories.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACL,iBAAiB,EACjB,iCAAiC,EAElC,MAAM,oBAAoB,CAAC;AAG5B,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IAEvC;;;OAGG;gBACS,MAAM,EAAE,aAAa;IAIjC;;;;OAIG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,iBAAiB,CAAC;YAkBjC,cAAc;YASd,aAAa;IAQ5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;CAKd"}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing EventCategories operations. */
|
|
14
|
+
export class EventCategoriesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class EventCategories class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get the list of available event categories supported in the Activity Logs Service.<br>The current
|
|
24
|
+
* list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
list(options) {
|
|
28
|
+
const iter = this.listPagingAll(options);
|
|
29
|
+
return {
|
|
30
|
+
next() {
|
|
31
|
+
return iter.next();
|
|
32
|
+
},
|
|
33
|
+
[Symbol.asyncIterator]() {
|
|
34
|
+
return this;
|
|
35
|
+
},
|
|
36
|
+
byPage: (settings) => {
|
|
37
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
38
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
+
}
|
|
40
|
+
return this.listPagingPage(options, settings);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listPagingPage(options, _settings) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
46
|
+
let result;
|
|
47
|
+
result = yield __await(this._list(options));
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
listPagingAll(options) {
|
|
52
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
53
|
+
var _a, e_1, _b, _c;
|
|
54
|
+
try {
|
|
55
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
56
|
+
_c = _f.value;
|
|
57
|
+
_d = false;
|
|
58
|
+
const page = _c;
|
|
59
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
63
|
+
finally {
|
|
64
|
+
try {
|
|
65
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
66
|
+
}
|
|
67
|
+
finally { if (e_1) throw e_1.error; }
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Get the list of available event categories supported in the Activity Logs Service.<br>The current
|
|
73
|
+
* list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
_list(options) {
|
|
77
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
// Operation Specifications
|
|
81
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
82
|
+
const listOperationSpec = {
|
|
83
|
+
path: "/providers/Microsoft.Insights/eventcategories",
|
|
84
|
+
httpMethod: "GET",
|
|
85
|
+
responses: {
|
|
86
|
+
200: {
|
|
87
|
+
bodyMapper: Mappers.EventCategoryCollection
|
|
88
|
+
},
|
|
89
|
+
default: {
|
|
90
|
+
bodyMapper: Mappers.ErrorResponse
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
queryParameters: [Parameters.apiVersion2],
|
|
94
|
+
urlParameters: [Parameters.$host],
|
|
95
|
+
headerParameters: [Parameters.accept],
|
|
96
|
+
serializer
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=eventCategories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventCategories.js","sourceRoot":"","sources":["../../../src/operations/eventCategories.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAA2C,EAC3C,SAAwB;;YAExB,IAAI,MAAmC,CAAC;YACxC,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACnC,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;QAC3B,CAAC;KAAA;IAEc,aAAa,CAC1B,OAA2C;;;;gBAE3C,KAAyB,eAAA,KAAA,cAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,IAAA,+DAAE,CAAC;oBAA/B,cAA4B;oBAA5B,WAA4B;oBAA1C,MAAM,IAAI,KAAA,CAAA;oBACnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;OAIG;IACK,KAAK,CACX,OAA2C;QAE3C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,+CAA+C;IACrD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { EventCategories } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MonitorClient } from \"../monitorClient.js\";\nimport {\n LocalizableString,\n EventCategoriesListOptionalParams,\n EventCategoriesListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing EventCategories operations. */\nexport class EventCategoriesImpl implements EventCategories {\n private readonly client: MonitorClient;\n\n /**\n * Initialize a new instance of the class EventCategories class.\n * @param client Reference to the service client\n */\n constructor(client: MonitorClient) {\n this.client = client;\n }\n\n /**\n * Get the list of available event categories supported in the Activity Logs Service.<br>The current\n * list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.\n * @param options The options parameters.\n */\n public list(\n options?: EventCategoriesListOptionalParams\n ): PagedAsyncIterableIterator<LocalizableString> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: EventCategoriesListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<LocalizableString[]> {\n let result: EventCategoriesListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: EventCategoriesListOptionalParams\n ): AsyncIterableIterator<LocalizableString> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get the list of available event categories supported in the Activity Logs Service.<br>The current\n * list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.\n * @param options The options parameters.\n */\n private _list(\n options?: EventCategoriesListOptionalParams\n ): Promise<EventCategoriesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Insights/eventcategories\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventCategoryCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion2],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./metricDefinitions.js";
|
|
2
|
+
export * from "./metrics.js";
|
|
3
|
+
export * from "./diagnosticSettings.js";
|
|
4
|
+
export * from "./diagnosticSettingsCategory.js";
|
|
5
|
+
export * from "./eventCategories.js";
|
|
6
|
+
export * from "./operations.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export * from "./metricDefinitions.js";
|
|
9
|
+
export * from "./metrics.js";
|
|
10
|
+
export * from "./diagnosticSettings.js";
|
|
11
|
+
export * from "./diagnosticSettingsCategory.js";
|
|
12
|
+
export * from "./eventCategories.js";
|
|
13
|
+
export * from "./operations.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC","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\nexport * from \"./metricDefinitions.js\";\nexport * from \"./metrics.js\";\nexport * from \"./diagnosticSettings.js\";\nexport * from \"./diagnosticSettingsCategory.js\";\nexport * from \"./eventCategories.js\";\nexport * from \"./operations.js\";\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { MetricDefinitions } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { MonitorClient } from "../monitorClient.js";
|
|
4
|
+
import { MetricDefinition, MetricDefinitionsListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing MetricDefinitions operations. */
|
|
6
|
+
export declare class MetricDefinitionsImpl implements MetricDefinitions {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class MetricDefinitions class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: MonitorClient);
|
|
13
|
+
/**
|
|
14
|
+
* Lists the metric definitions for the resource.
|
|
15
|
+
* @param resourceUri The identifier of the resource.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
list(resourceUri: string, options?: MetricDefinitionsListOptionalParams): PagedAsyncIterableIterator<MetricDefinition>;
|
|
19
|
+
private listPagingPage;
|
|
20
|
+
private listPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* Lists the metric definitions for the resource.
|
|
23
|
+
* @param resourceUri The identifier of the resource.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
private _list;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=metricDefinitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metricDefinitions.d.ts","sourceRoot":"","sources":["../../../src/operations/metricDefinitions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAIrE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACL,gBAAgB,EAChB,mCAAmC,EAEpC,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IAEvC;;;OAGG;gBACS,MAAM,EAAE,aAAa;IAIjC;;;;OAIG;IACI,IAAI,CACT,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,gBAAgB,CAAC;YAkBhC,cAAc;YAUd,aAAa;IAS5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;CASd"}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing MetricDefinitions operations. */
|
|
14
|
+
export class MetricDefinitionsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class MetricDefinitions class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Lists the metric definitions for the resource.
|
|
24
|
+
* @param resourceUri The identifier of the resource.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
list(resourceUri, options) {
|
|
28
|
+
const iter = this.listPagingAll(resourceUri, options);
|
|
29
|
+
return {
|
|
30
|
+
next() {
|
|
31
|
+
return iter.next();
|
|
32
|
+
},
|
|
33
|
+
[Symbol.asyncIterator]() {
|
|
34
|
+
return this;
|
|
35
|
+
},
|
|
36
|
+
byPage: (settings) => {
|
|
37
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
38
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
+
}
|
|
40
|
+
return this.listPagingPage(resourceUri, options, settings);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listPagingPage(resourceUri, options, _settings) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
46
|
+
let result;
|
|
47
|
+
result = yield __await(this._list(resourceUri, options));
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
listPagingAll(resourceUri, options) {
|
|
52
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
53
|
+
var _a, e_1, _b, _c;
|
|
54
|
+
try {
|
|
55
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
56
|
+
_c = _f.value;
|
|
57
|
+
_d = false;
|
|
58
|
+
const page = _c;
|
|
59
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
63
|
+
finally {
|
|
64
|
+
try {
|
|
65
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
66
|
+
}
|
|
67
|
+
finally { if (e_1) throw e_1.error; }
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Lists the metric definitions for the resource.
|
|
73
|
+
* @param resourceUri The identifier of the resource.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
_list(resourceUri, options) {
|
|
77
|
+
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
// Operation Specifications
|
|
81
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
82
|
+
const listOperationSpec = {
|
|
83
|
+
path: "/{resourceUri}/providers/Microsoft.Insights/metricDefinitions",
|
|
84
|
+
httpMethod: "GET",
|
|
85
|
+
responses: {
|
|
86
|
+
200: {
|
|
87
|
+
bodyMapper: Mappers.MetricDefinitionCollection
|
|
88
|
+
},
|
|
89
|
+
default: {
|
|
90
|
+
bodyMapper: Mappers.ErrorResponse
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
queryParameters: [Parameters.apiVersion, Parameters.metricnamespace],
|
|
94
|
+
urlParameters: [Parameters.$host, Parameters.resourceUri],
|
|
95
|
+
headerParameters: [Parameters.accept],
|
|
96
|
+
serializer
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=metricDefinitions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metricDefinitions.js","sourceRoot":"","sources":["../../../src/operations/metricDefinitions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,qDAAqD;AACrD,MAAM,OAAO,qBAAqB;IAGhC;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,WAAmB,EACnB,OAA6C;QAE7C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QACtD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC7D,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,WAAmB,EACnB,OAA6C,EAC7C,SAAwB;;YAExB,IAAI,MAAqC,CAAC;YAC1C,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAA,CAAC;YAChD,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;QAC3B,CAAC;KAAA;IAEc,aAAa,CAC1B,WAAmB,EACnB,OAA6C;;;;gBAE7C,KAAyB,eAAA,KAAA,cAAA,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,OAAO,CAAC,CAAA,IAAA,+DAAE,CAAC;oBAA5C,cAAyC;oBAAzC,WAAyC;oBAAvD,MAAM,IAAI,KAAA,CAAA;oBACnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;;OAIG;IACK,KAAK,CACX,WAAmB,EACnB,OAA6C;QAE7C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,WAAW,EAAE,OAAO,EAAE,EACxB,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,+DAA+D;IACrE,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,eAAe,CAAC;IACpE,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC;IACzD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { MetricDefinitions } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MonitorClient } from \"../monitorClient.js\";\nimport {\n MetricDefinition,\n MetricDefinitionsListOptionalParams,\n MetricDefinitionsListResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing MetricDefinitions operations. */\nexport class MetricDefinitionsImpl implements MetricDefinitions {\n private readonly client: MonitorClient;\n\n /**\n * Initialize a new instance of the class MetricDefinitions class.\n * @param client Reference to the service client\n */\n constructor(client: MonitorClient) {\n this.client = client;\n }\n\n /**\n * Lists the metric definitions for the resource.\n * @param resourceUri The identifier of the resource.\n * @param options The options parameters.\n */\n public list(\n resourceUri: string,\n options?: MetricDefinitionsListOptionalParams\n ): PagedAsyncIterableIterator<MetricDefinition> {\n const iter = this.listPagingAll(resourceUri, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceUri, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n resourceUri: string,\n options?: MetricDefinitionsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<MetricDefinition[]> {\n let result: MetricDefinitionsListResponse;\n result = await this._list(resourceUri, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceUri: string,\n options?: MetricDefinitionsListOptionalParams\n ): AsyncIterableIterator<MetricDefinition> {\n for await (const page of this.listPagingPage(resourceUri, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists the metric definitions for the resource.\n * @param resourceUri The identifier of the resource.\n * @param options The options parameters.\n */\n private _list(\n resourceUri: string,\n options?: MetricDefinitionsListOptionalParams\n ): Promise<MetricDefinitionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceUri, options },\n listOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceUri}/providers/Microsoft.Insights/metricDefinitions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MetricDefinitionCollection\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.metricnamespace],\n urlParameters: [Parameters.$host, Parameters.resourceUri],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Metrics } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { MonitorClient } from "../monitorClient.js";
|
|
3
|
+
import { MetricsListOptionalParams, MetricsListResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing Metrics operations. */
|
|
5
|
+
export declare class MetricsImpl implements Metrics {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class Metrics class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: MonitorClient);
|
|
12
|
+
/**
|
|
13
|
+
* **Lists the metric values for a resource**.
|
|
14
|
+
* @param resourceUri The identifier of the resource.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(resourceUri: string, options?: MetricsListOptionalParams): Promise<MetricsListResponse>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=metrics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../../src/operations/metrics.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAI3D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEpF,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IAEvC;;;OAGG;gBACS,MAAM,EAAE,aAAa;IAIjC;;;;OAIG;IACH,IAAI,CACF,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;CAMhC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/** Class containing Metrics operations. */
|
|
12
|
+
export class MetricsImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class Metrics class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* **Lists the metric values for a resource**.
|
|
22
|
+
* @param resourceUri The identifier of the resource.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
list(resourceUri, options) {
|
|
26
|
+
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
// Operation Specifications
|
|
30
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
31
|
+
const listOperationSpec = {
|
|
32
|
+
path: "/{resourceUri}/providers/Microsoft.Insights/metrics",
|
|
33
|
+
httpMethod: "GET",
|
|
34
|
+
responses: {
|
|
35
|
+
200: {
|
|
36
|
+
bodyMapper: Mappers.Response
|
|
37
|
+
},
|
|
38
|
+
default: {
|
|
39
|
+
bodyMapper: Mappers.ErrorResponse
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
queryParameters: [
|
|
43
|
+
Parameters.apiVersion,
|
|
44
|
+
Parameters.metricnamespace,
|
|
45
|
+
Parameters.timespan,
|
|
46
|
+
Parameters.interval,
|
|
47
|
+
Parameters.metricnames,
|
|
48
|
+
Parameters.aggregation,
|
|
49
|
+
Parameters.top,
|
|
50
|
+
Parameters.orderby,
|
|
51
|
+
Parameters.filter,
|
|
52
|
+
Parameters.resultType
|
|
53
|
+
],
|
|
54
|
+
urlParameters: [Parameters.$host, Parameters.resourceUri],
|
|
55
|
+
headerParameters: [Parameters.accept],
|
|
56
|
+
serializer
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=metrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metrics.js","sourceRoot":"","sources":["../../../src/operations/metrics.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAItD,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,WAAmB,EACnB,OAAmC;QAEnC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,WAAW,EAAE,OAAO,EAAE,EACxB,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,qDAAqD;IAC3D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,GAAG;QACd,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,UAAU;KACtB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC;IACzD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { Metrics } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MonitorClient } from \"../monitorClient.js\";\nimport { MetricsListOptionalParams, MetricsListResponse } from \"../models/index.js\";\n\n/** Class containing Metrics operations. */\nexport class MetricsImpl implements Metrics {\n private readonly client: MonitorClient;\n\n /**\n * Initialize a new instance of the class Metrics class.\n * @param client Reference to the service client\n */\n constructor(client: MonitorClient) {\n this.client = client;\n }\n\n /**\n * **Lists the metric values for a resource**.\n * @param resourceUri The identifier of the resource.\n * @param options The options parameters.\n */\n list(\n resourceUri: string,\n options?: MetricsListOptionalParams\n ): Promise<MetricsListResponse> {\n return this.client.sendOperationRequest(\n { resourceUri, options },\n listOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceUri}/providers/Microsoft.Insights/metrics\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Response\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.metricnamespace,\n Parameters.timespan,\n Parameters.interval,\n Parameters.metricnames,\n Parameters.aggregation,\n Parameters.top,\n Parameters.orderby,\n Parameters.filter,\n Parameters.resultType\n ],\n urlParameters: [Parameters.$host, Parameters.resourceUri],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { MonitorClient } from "../monitorClient.js";
|
|
3
|
+
import { OperationsListOptionalParams, OperationsListResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing Operations operations. */
|
|
5
|
+
export declare class OperationsImpl implements Operations {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class Operations class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: MonitorClient);
|
|
12
|
+
/**
|
|
13
|
+
* Lists all of the available operations from Microsoft.Insights provider.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgB;IAEvC;;;OAGG;gBACS,MAAM,EAAE,aAAa;IAIjC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAGnC"}
|
|
@@ -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 * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/** Class containing Operations operations. */
|
|
12
|
+
export class OperationsImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class Operations class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Lists all of the available operations from Microsoft.Insights provider.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
list(options) {
|
|
25
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
// Operation Specifications
|
|
29
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
30
|
+
const listOperationSpec = {
|
|
31
|
+
path: "/providers/Microsoft.Insights/operations",
|
|
32
|
+
httpMethod: "GET",
|
|
33
|
+
responses: {
|
|
34
|
+
200: {
|
|
35
|
+
bodyMapper: Mappers.OperationListResult
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
queryParameters: [Parameters.apiVersion2],
|
|
39
|
+
urlParameters: [Parameters.$host],
|
|
40
|
+
headerParameters: [Parameters.accept],
|
|
41
|
+
serializer
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAqB;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,0CAA0C;IAChD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","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 { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MonitorClient } from \"../monitorClient.js\";\nimport {\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: MonitorClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: MonitorClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available operations from Microsoft.Insights provider.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Insights/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion2],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DiagnosticSettingsGetOptionalParams, DiagnosticSettingsGetResponse, DiagnosticSettingsResource, DiagnosticSettingsCreateOrUpdateOptionalParams, DiagnosticSettingsCreateOrUpdateResponse, DiagnosticSettingsDeleteOptionalParams, DiagnosticSettingsListOptionalParams, DiagnosticSettingsListResponse } from "../models/index.js";
|
|
2
|
+
/** Interface representing a DiagnosticSettings. */
|
|
3
|
+
export interface DiagnosticSettings {
|
|
4
|
+
/**
|
|
5
|
+
* Gets the active diagnostic settings for the specified resource.
|
|
6
|
+
* @param resourceUri The identifier of the resource.
|
|
7
|
+
* @param name The name of the diagnostic setting.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
get(resourceUri: string, name: string, options?: DiagnosticSettingsGetOptionalParams): Promise<DiagnosticSettingsGetResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Creates or updates diagnostic settings for the specified resource.
|
|
13
|
+
* @param resourceUri The identifier of the resource.
|
|
14
|
+
* @param name The name of the diagnostic setting.
|
|
15
|
+
* @param parameters Parameters supplied to the operation.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
createOrUpdate(resourceUri: string, name: string, parameters: DiagnosticSettingsResource, options?: DiagnosticSettingsCreateOrUpdateOptionalParams): Promise<DiagnosticSettingsCreateOrUpdateResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Deletes existing diagnostic settings for the specified resource.
|
|
21
|
+
* @param resourceUri The identifier of the resource.
|
|
22
|
+
* @param name The name of the diagnostic setting.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
delete(resourceUri: string, name: string, options?: DiagnosticSettingsDeleteOptionalParams): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the active diagnostic settings list for the specified resource.
|
|
28
|
+
* @param resourceUri The identifier of the resource.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(resourceUri: string, options?: DiagnosticSettingsListOptionalParams): Promise<DiagnosticSettingsListResponse>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=diagnosticSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diagnosticSettings.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/diagnosticSettings.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,mCAAmC,EACnC,6BAA6B,EAC7B,0BAA0B,EAC1B,8CAA8C,EAC9C,wCAAwC,EACxC,sCAAsC,EACtC,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAE5B,mDAAmD;AACnD,MAAM,WAAW,kBAAkB;IACjC;;;;;OAKG;IACH,GAAG,CACD,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC1C;;;;;;OAMG;IACH,cAAc,CACZ,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,0BAA0B,EACtC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;IACrD;;;;;OAKG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,IAAI,CACF,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=diagnosticSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diagnosticSettings.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/diagnosticSettings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 {\n DiagnosticSettingsGetOptionalParams,\n DiagnosticSettingsGetResponse,\n DiagnosticSettingsResource,\n DiagnosticSettingsCreateOrUpdateOptionalParams,\n DiagnosticSettingsCreateOrUpdateResponse,\n DiagnosticSettingsDeleteOptionalParams,\n DiagnosticSettingsListOptionalParams,\n DiagnosticSettingsListResponse\n} from \"../models/index.js\";\n\n/** Interface representing a DiagnosticSettings. */\nexport interface DiagnosticSettings {\n /**\n * Gets the active diagnostic settings for the specified resource.\n * @param resourceUri The identifier of the resource.\n * @param name The name of the diagnostic setting.\n * @param options The options parameters.\n */\n get(\n resourceUri: string,\n name: string,\n options?: DiagnosticSettingsGetOptionalParams\n ): Promise<DiagnosticSettingsGetResponse>;\n /**\n * Creates or updates diagnostic settings for the specified resource.\n * @param resourceUri The identifier of the resource.\n * @param name The name of the diagnostic setting.\n * @param parameters Parameters supplied to the operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceUri: string,\n name: string,\n parameters: DiagnosticSettingsResource,\n options?: DiagnosticSettingsCreateOrUpdateOptionalParams\n ): Promise<DiagnosticSettingsCreateOrUpdateResponse>;\n /**\n * Deletes existing diagnostic settings for the specified resource.\n * @param resourceUri The identifier of the resource.\n * @param name The name of the diagnostic setting.\n * @param options The options parameters.\n */\n delete(\n resourceUri: string,\n name: string,\n options?: DiagnosticSettingsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Gets the active diagnostic settings list for the specified resource.\n * @param resourceUri The identifier of the resource.\n * @param options The options parameters.\n */\n list(\n resourceUri: string,\n options?: DiagnosticSettingsListOptionalParams\n ): Promise<DiagnosticSettingsListResponse>;\n}\n"]}
|