@azure/arm-monitor-profile-2020-09-01-hybrid 2.1.1-alpha.20250213.1 → 2.1.1-alpha.20250214.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
package/dist/index.js
DELETED
|
@@ -1,1604 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var coreClient = require('@azure/core-client');
|
|
6
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
7
|
-
var tslib = require('tslib');
|
|
8
|
-
|
|
9
|
-
function _interopNamespaceDefault(e) {
|
|
10
|
-
var n = Object.create(null);
|
|
11
|
-
if (e) {
|
|
12
|
-
Object.keys(e).forEach(function (k) {
|
|
13
|
-
if (k !== 'default') {
|
|
14
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return e[k]; }
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
n.default = e;
|
|
23
|
-
return Object.freeze(n);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
27
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
28
|
-
|
|
29
|
-
/*
|
|
30
|
-
* Copyright (c) Microsoft Corporation.
|
|
31
|
-
* Licensed under the MIT License.
|
|
32
|
-
*
|
|
33
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
34
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
35
|
-
*/
|
|
36
|
-
const pageMap = new WeakMap();
|
|
37
|
-
/**
|
|
38
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
39
|
-
* returns a continuation token that can be used to begin paging from
|
|
40
|
-
* that point later.
|
|
41
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
42
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
43
|
-
*/
|
|
44
|
-
function getContinuationToken(page) {
|
|
45
|
-
var _a;
|
|
46
|
-
if (typeof page !== "object" || page === null) {
|
|
47
|
-
return undefined;
|
|
48
|
-
}
|
|
49
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/*
|
|
53
|
-
* Copyright (c) Microsoft Corporation.
|
|
54
|
-
* Licensed under the MIT License.
|
|
55
|
-
*
|
|
56
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
57
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
58
|
-
*/
|
|
59
|
-
/** Known values of {@link MetricClass} that the service accepts. */
|
|
60
|
-
exports.KnownMetricClass = void 0;
|
|
61
|
-
(function (KnownMetricClass) {
|
|
62
|
-
/** Availability */
|
|
63
|
-
KnownMetricClass["Availability"] = "Availability";
|
|
64
|
-
/** Transactions */
|
|
65
|
-
KnownMetricClass["Transactions"] = "Transactions";
|
|
66
|
-
/** Errors */
|
|
67
|
-
KnownMetricClass["Errors"] = "Errors";
|
|
68
|
-
/** Latency */
|
|
69
|
-
KnownMetricClass["Latency"] = "Latency";
|
|
70
|
-
/** Saturation */
|
|
71
|
-
KnownMetricClass["Saturation"] = "Saturation";
|
|
72
|
-
})(exports.KnownMetricClass || (exports.KnownMetricClass = {}));
|
|
73
|
-
/** Known values of {@link MetricUnit} that the service accepts. */
|
|
74
|
-
exports.KnownMetricUnit = void 0;
|
|
75
|
-
(function (KnownMetricUnit) {
|
|
76
|
-
/** Count */
|
|
77
|
-
KnownMetricUnit["Count"] = "Count";
|
|
78
|
-
/** Bytes */
|
|
79
|
-
KnownMetricUnit["Bytes"] = "Bytes";
|
|
80
|
-
/** Seconds */
|
|
81
|
-
KnownMetricUnit["Seconds"] = "Seconds";
|
|
82
|
-
/** CountPerSecond */
|
|
83
|
-
KnownMetricUnit["CountPerSecond"] = "CountPerSecond";
|
|
84
|
-
/** BytesPerSecond */
|
|
85
|
-
KnownMetricUnit["BytesPerSecond"] = "BytesPerSecond";
|
|
86
|
-
/** Percent */
|
|
87
|
-
KnownMetricUnit["Percent"] = "Percent";
|
|
88
|
-
/** MilliSeconds */
|
|
89
|
-
KnownMetricUnit["MilliSeconds"] = "MilliSeconds";
|
|
90
|
-
/** ByteSeconds */
|
|
91
|
-
KnownMetricUnit["ByteSeconds"] = "ByteSeconds";
|
|
92
|
-
/** Unspecified */
|
|
93
|
-
KnownMetricUnit["Unspecified"] = "Unspecified";
|
|
94
|
-
/** Cores */
|
|
95
|
-
KnownMetricUnit["Cores"] = "Cores";
|
|
96
|
-
/** MilliCores */
|
|
97
|
-
KnownMetricUnit["MilliCores"] = "MilliCores";
|
|
98
|
-
/** NanoCores */
|
|
99
|
-
KnownMetricUnit["NanoCores"] = "NanoCores";
|
|
100
|
-
/** BitsPerSecond */
|
|
101
|
-
KnownMetricUnit["BitsPerSecond"] = "BitsPerSecond";
|
|
102
|
-
})(exports.KnownMetricUnit || (exports.KnownMetricUnit = {}));
|
|
103
|
-
|
|
104
|
-
/*
|
|
105
|
-
* Copyright (c) Microsoft Corporation.
|
|
106
|
-
* Licensed under the MIT License.
|
|
107
|
-
*
|
|
108
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
109
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
110
|
-
*/
|
|
111
|
-
const MetricDefinitionCollection = {
|
|
112
|
-
type: {
|
|
113
|
-
name: "Composite",
|
|
114
|
-
className: "MetricDefinitionCollection",
|
|
115
|
-
modelProperties: {
|
|
116
|
-
value: {
|
|
117
|
-
serializedName: "value",
|
|
118
|
-
required: true,
|
|
119
|
-
type: {
|
|
120
|
-
name: "Sequence",
|
|
121
|
-
element: {
|
|
122
|
-
type: {
|
|
123
|
-
name: "Composite",
|
|
124
|
-
className: "MetricDefinition"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
const MetricDefinition = {
|
|
133
|
-
type: {
|
|
134
|
-
name: "Composite",
|
|
135
|
-
className: "MetricDefinition",
|
|
136
|
-
modelProperties: {
|
|
137
|
-
isDimensionRequired: {
|
|
138
|
-
serializedName: "isDimensionRequired",
|
|
139
|
-
type: {
|
|
140
|
-
name: "Boolean"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
resourceId: {
|
|
144
|
-
serializedName: "resourceId",
|
|
145
|
-
type: {
|
|
146
|
-
name: "String"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
namespace: {
|
|
150
|
-
serializedName: "namespace",
|
|
151
|
-
type: {
|
|
152
|
-
name: "String"
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
name: {
|
|
156
|
-
serializedName: "name",
|
|
157
|
-
type: {
|
|
158
|
-
name: "Composite",
|
|
159
|
-
className: "LocalizableString"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
displayDescription: {
|
|
163
|
-
serializedName: "displayDescription",
|
|
164
|
-
type: {
|
|
165
|
-
name: "String"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
category: {
|
|
169
|
-
serializedName: "category",
|
|
170
|
-
type: {
|
|
171
|
-
name: "String"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
metricClass: {
|
|
175
|
-
serializedName: "metricClass",
|
|
176
|
-
type: {
|
|
177
|
-
name: "String"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
unit: {
|
|
181
|
-
serializedName: "unit",
|
|
182
|
-
type: {
|
|
183
|
-
name: "String"
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
primaryAggregationType: {
|
|
187
|
-
serializedName: "primaryAggregationType",
|
|
188
|
-
type: {
|
|
189
|
-
name: "Enum",
|
|
190
|
-
allowedValues: [
|
|
191
|
-
"None",
|
|
192
|
-
"Average",
|
|
193
|
-
"Count",
|
|
194
|
-
"Minimum",
|
|
195
|
-
"Maximum",
|
|
196
|
-
"Total"
|
|
197
|
-
]
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
supportedAggregationTypes: {
|
|
201
|
-
serializedName: "supportedAggregationTypes",
|
|
202
|
-
type: {
|
|
203
|
-
name: "Sequence",
|
|
204
|
-
element: {
|
|
205
|
-
type: {
|
|
206
|
-
name: "Enum",
|
|
207
|
-
allowedValues: [
|
|
208
|
-
"None",
|
|
209
|
-
"Average",
|
|
210
|
-
"Count",
|
|
211
|
-
"Minimum",
|
|
212
|
-
"Maximum",
|
|
213
|
-
"Total"
|
|
214
|
-
]
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
metricAvailabilities: {
|
|
220
|
-
serializedName: "metricAvailabilities",
|
|
221
|
-
type: {
|
|
222
|
-
name: "Sequence",
|
|
223
|
-
element: {
|
|
224
|
-
type: {
|
|
225
|
-
name: "Composite",
|
|
226
|
-
className: "MetricAvailability"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
id: {
|
|
232
|
-
serializedName: "id",
|
|
233
|
-
type: {
|
|
234
|
-
name: "String"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
dimensions: {
|
|
238
|
-
serializedName: "dimensions",
|
|
239
|
-
type: {
|
|
240
|
-
name: "Sequence",
|
|
241
|
-
element: {
|
|
242
|
-
type: {
|
|
243
|
-
name: "Composite",
|
|
244
|
-
className: "LocalizableString"
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
};
|
|
252
|
-
const LocalizableString = {
|
|
253
|
-
type: {
|
|
254
|
-
name: "Composite",
|
|
255
|
-
className: "LocalizableString",
|
|
256
|
-
modelProperties: {
|
|
257
|
-
value: {
|
|
258
|
-
serializedName: "value",
|
|
259
|
-
required: true,
|
|
260
|
-
type: {
|
|
261
|
-
name: "String"
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
localizedValue: {
|
|
265
|
-
serializedName: "localizedValue",
|
|
266
|
-
type: {
|
|
267
|
-
name: "String"
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
|
-
const MetricAvailability = {
|
|
274
|
-
type: {
|
|
275
|
-
name: "Composite",
|
|
276
|
-
className: "MetricAvailability",
|
|
277
|
-
modelProperties: {
|
|
278
|
-
timeGrain: {
|
|
279
|
-
serializedName: "timeGrain",
|
|
280
|
-
type: {
|
|
281
|
-
name: "TimeSpan"
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
retention: {
|
|
285
|
-
serializedName: "retention",
|
|
286
|
-
type: {
|
|
287
|
-
name: "TimeSpan"
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
const ErrorResponse = {
|
|
294
|
-
type: {
|
|
295
|
-
name: "Composite",
|
|
296
|
-
className: "ErrorResponse",
|
|
297
|
-
modelProperties: {
|
|
298
|
-
code: {
|
|
299
|
-
serializedName: "code",
|
|
300
|
-
type: {
|
|
301
|
-
name: "String"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
message: {
|
|
305
|
-
serializedName: "message",
|
|
306
|
-
type: {
|
|
307
|
-
name: "String"
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
const Response = {
|
|
314
|
-
type: {
|
|
315
|
-
name: "Composite",
|
|
316
|
-
className: "Response",
|
|
317
|
-
modelProperties: {
|
|
318
|
-
cost: {
|
|
319
|
-
constraints: {
|
|
320
|
-
InclusiveMinimum: 0
|
|
321
|
-
},
|
|
322
|
-
serializedName: "cost",
|
|
323
|
-
type: {
|
|
324
|
-
name: "Number"
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
timespan: {
|
|
328
|
-
serializedName: "timespan",
|
|
329
|
-
required: true,
|
|
330
|
-
type: {
|
|
331
|
-
name: "String"
|
|
332
|
-
}
|
|
333
|
-
},
|
|
334
|
-
interval: {
|
|
335
|
-
serializedName: "interval",
|
|
336
|
-
type: {
|
|
337
|
-
name: "TimeSpan"
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
namespace: {
|
|
341
|
-
serializedName: "namespace",
|
|
342
|
-
type: {
|
|
343
|
-
name: "String"
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
|
-
resourceregion: {
|
|
347
|
-
serializedName: "resourceregion",
|
|
348
|
-
type: {
|
|
349
|
-
name: "String"
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
value: {
|
|
353
|
-
serializedName: "value",
|
|
354
|
-
required: true,
|
|
355
|
-
type: {
|
|
356
|
-
name: "Sequence",
|
|
357
|
-
element: {
|
|
358
|
-
type: {
|
|
359
|
-
name: "Composite",
|
|
360
|
-
className: "Metric"
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
};
|
|
368
|
-
const Metric = {
|
|
369
|
-
type: {
|
|
370
|
-
name: "Composite",
|
|
371
|
-
className: "Metric",
|
|
372
|
-
modelProperties: {
|
|
373
|
-
id: {
|
|
374
|
-
serializedName: "id",
|
|
375
|
-
required: true,
|
|
376
|
-
type: {
|
|
377
|
-
name: "String"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
type: {
|
|
381
|
-
serializedName: "type",
|
|
382
|
-
required: true,
|
|
383
|
-
type: {
|
|
384
|
-
name: "String"
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
name: {
|
|
388
|
-
serializedName: "name",
|
|
389
|
-
type: {
|
|
390
|
-
name: "Composite",
|
|
391
|
-
className: "LocalizableString"
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
displayDescription: {
|
|
395
|
-
serializedName: "displayDescription",
|
|
396
|
-
type: {
|
|
397
|
-
name: "String"
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
errorCode: {
|
|
401
|
-
serializedName: "errorCode",
|
|
402
|
-
type: {
|
|
403
|
-
name: "String"
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
errorMessage: {
|
|
407
|
-
serializedName: "errorMessage",
|
|
408
|
-
type: {
|
|
409
|
-
name: "String"
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
unit: {
|
|
413
|
-
serializedName: "unit",
|
|
414
|
-
required: true,
|
|
415
|
-
type: {
|
|
416
|
-
name: "String"
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
timeseries: {
|
|
420
|
-
serializedName: "timeseries",
|
|
421
|
-
required: true,
|
|
422
|
-
type: {
|
|
423
|
-
name: "Sequence",
|
|
424
|
-
element: {
|
|
425
|
-
type: {
|
|
426
|
-
name: "Composite",
|
|
427
|
-
className: "TimeSeriesElement"
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
};
|
|
435
|
-
const TimeSeriesElement = {
|
|
436
|
-
type: {
|
|
437
|
-
name: "Composite",
|
|
438
|
-
className: "TimeSeriesElement",
|
|
439
|
-
modelProperties: {
|
|
440
|
-
metadatavalues: {
|
|
441
|
-
serializedName: "metadatavalues",
|
|
442
|
-
type: {
|
|
443
|
-
name: "Sequence",
|
|
444
|
-
element: {
|
|
445
|
-
type: {
|
|
446
|
-
name: "Composite",
|
|
447
|
-
className: "MetadataValue"
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
data: {
|
|
453
|
-
serializedName: "data",
|
|
454
|
-
type: {
|
|
455
|
-
name: "Sequence",
|
|
456
|
-
element: {
|
|
457
|
-
type: {
|
|
458
|
-
name: "Composite",
|
|
459
|
-
className: "MetricValue"
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
};
|
|
467
|
-
const MetadataValue = {
|
|
468
|
-
type: {
|
|
469
|
-
name: "Composite",
|
|
470
|
-
className: "MetadataValue",
|
|
471
|
-
modelProperties: {
|
|
472
|
-
name: {
|
|
473
|
-
serializedName: "name",
|
|
474
|
-
type: {
|
|
475
|
-
name: "Composite",
|
|
476
|
-
className: "LocalizableString"
|
|
477
|
-
}
|
|
478
|
-
},
|
|
479
|
-
value: {
|
|
480
|
-
serializedName: "value",
|
|
481
|
-
type: {
|
|
482
|
-
name: "String"
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
};
|
|
488
|
-
const MetricValue = {
|
|
489
|
-
type: {
|
|
490
|
-
name: "Composite",
|
|
491
|
-
className: "MetricValue",
|
|
492
|
-
modelProperties: {
|
|
493
|
-
timeStamp: {
|
|
494
|
-
serializedName: "timeStamp",
|
|
495
|
-
required: true,
|
|
496
|
-
type: {
|
|
497
|
-
name: "DateTime"
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
average: {
|
|
501
|
-
serializedName: "average",
|
|
502
|
-
type: {
|
|
503
|
-
name: "Number"
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
minimum: {
|
|
507
|
-
serializedName: "minimum",
|
|
508
|
-
type: {
|
|
509
|
-
name: "Number"
|
|
510
|
-
}
|
|
511
|
-
},
|
|
512
|
-
maximum: {
|
|
513
|
-
serializedName: "maximum",
|
|
514
|
-
type: {
|
|
515
|
-
name: "Number"
|
|
516
|
-
}
|
|
517
|
-
},
|
|
518
|
-
total: {
|
|
519
|
-
serializedName: "total",
|
|
520
|
-
type: {
|
|
521
|
-
name: "Number"
|
|
522
|
-
}
|
|
523
|
-
},
|
|
524
|
-
count: {
|
|
525
|
-
serializedName: "count",
|
|
526
|
-
type: {
|
|
527
|
-
name: "Number"
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
};
|
|
533
|
-
const MetricSettings = {
|
|
534
|
-
type: {
|
|
535
|
-
name: "Composite",
|
|
536
|
-
className: "MetricSettings",
|
|
537
|
-
modelProperties: {
|
|
538
|
-
timeGrain: {
|
|
539
|
-
serializedName: "timeGrain",
|
|
540
|
-
type: {
|
|
541
|
-
name: "TimeSpan"
|
|
542
|
-
}
|
|
543
|
-
},
|
|
544
|
-
category: {
|
|
545
|
-
serializedName: "category",
|
|
546
|
-
type: {
|
|
547
|
-
name: "String"
|
|
548
|
-
}
|
|
549
|
-
},
|
|
550
|
-
enabled: {
|
|
551
|
-
serializedName: "enabled",
|
|
552
|
-
required: true,
|
|
553
|
-
type: {
|
|
554
|
-
name: "Boolean"
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
retentionPolicy: {
|
|
558
|
-
serializedName: "retentionPolicy",
|
|
559
|
-
type: {
|
|
560
|
-
name: "Composite",
|
|
561
|
-
className: "RetentionPolicy"
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
};
|
|
567
|
-
const RetentionPolicy = {
|
|
568
|
-
type: {
|
|
569
|
-
name: "Composite",
|
|
570
|
-
className: "RetentionPolicy",
|
|
571
|
-
modelProperties: {
|
|
572
|
-
enabled: {
|
|
573
|
-
serializedName: "enabled",
|
|
574
|
-
required: true,
|
|
575
|
-
type: {
|
|
576
|
-
name: "Boolean"
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
days: {
|
|
580
|
-
constraints: {
|
|
581
|
-
InclusiveMinimum: 0
|
|
582
|
-
},
|
|
583
|
-
serializedName: "days",
|
|
584
|
-
required: true,
|
|
585
|
-
type: {
|
|
586
|
-
name: "Number"
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
};
|
|
592
|
-
const LogSettings = {
|
|
593
|
-
type: {
|
|
594
|
-
name: "Composite",
|
|
595
|
-
className: "LogSettings",
|
|
596
|
-
modelProperties: {
|
|
597
|
-
category: {
|
|
598
|
-
serializedName: "category",
|
|
599
|
-
type: {
|
|
600
|
-
name: "String"
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
enabled: {
|
|
604
|
-
serializedName: "enabled",
|
|
605
|
-
required: true,
|
|
606
|
-
type: {
|
|
607
|
-
name: "Boolean"
|
|
608
|
-
}
|
|
609
|
-
},
|
|
610
|
-
retentionPolicy: {
|
|
611
|
-
serializedName: "retentionPolicy",
|
|
612
|
-
type: {
|
|
613
|
-
name: "Composite",
|
|
614
|
-
className: "RetentionPolicy"
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
};
|
|
620
|
-
const ProxyOnlyResource = {
|
|
621
|
-
type: {
|
|
622
|
-
name: "Composite",
|
|
623
|
-
className: "ProxyOnlyResource",
|
|
624
|
-
modelProperties: {
|
|
625
|
-
id: {
|
|
626
|
-
serializedName: "id",
|
|
627
|
-
readOnly: true,
|
|
628
|
-
type: {
|
|
629
|
-
name: "String"
|
|
630
|
-
}
|
|
631
|
-
},
|
|
632
|
-
name: {
|
|
633
|
-
serializedName: "name",
|
|
634
|
-
readOnly: true,
|
|
635
|
-
type: {
|
|
636
|
-
name: "String"
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
type: {
|
|
640
|
-
serializedName: "type",
|
|
641
|
-
readOnly: true,
|
|
642
|
-
type: {
|
|
643
|
-
name: "String"
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
};
|
|
649
|
-
const DiagnosticSettingsResourceCollection = {
|
|
650
|
-
type: {
|
|
651
|
-
name: "Composite",
|
|
652
|
-
className: "DiagnosticSettingsResourceCollection",
|
|
653
|
-
modelProperties: {
|
|
654
|
-
value: {
|
|
655
|
-
serializedName: "value",
|
|
656
|
-
type: {
|
|
657
|
-
name: "Sequence",
|
|
658
|
-
element: {
|
|
659
|
-
type: {
|
|
660
|
-
name: "Composite",
|
|
661
|
-
className: "DiagnosticSettingsResource"
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
};
|
|
669
|
-
const DiagnosticSettingsCategoryResourceCollection = {
|
|
670
|
-
type: {
|
|
671
|
-
name: "Composite",
|
|
672
|
-
className: "DiagnosticSettingsCategoryResourceCollection",
|
|
673
|
-
modelProperties: {
|
|
674
|
-
value: {
|
|
675
|
-
serializedName: "value",
|
|
676
|
-
type: {
|
|
677
|
-
name: "Sequence",
|
|
678
|
-
element: {
|
|
679
|
-
type: {
|
|
680
|
-
name: "Composite",
|
|
681
|
-
className: "DiagnosticSettingsCategoryResource"
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
const EventCategoryCollection = {
|
|
690
|
-
type: {
|
|
691
|
-
name: "Composite",
|
|
692
|
-
className: "EventCategoryCollection",
|
|
693
|
-
modelProperties: {
|
|
694
|
-
value: {
|
|
695
|
-
serializedName: "value",
|
|
696
|
-
required: true,
|
|
697
|
-
type: {
|
|
698
|
-
name: "Sequence",
|
|
699
|
-
element: {
|
|
700
|
-
type: {
|
|
701
|
-
name: "Composite",
|
|
702
|
-
className: "LocalizableString"
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
};
|
|
710
|
-
const OperationListResult = {
|
|
711
|
-
type: {
|
|
712
|
-
name: "Composite",
|
|
713
|
-
className: "OperationListResult",
|
|
714
|
-
modelProperties: {
|
|
715
|
-
value: {
|
|
716
|
-
serializedName: "value",
|
|
717
|
-
type: {
|
|
718
|
-
name: "Sequence",
|
|
719
|
-
element: {
|
|
720
|
-
type: {
|
|
721
|
-
name: "Composite",
|
|
722
|
-
className: "Operation"
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
},
|
|
727
|
-
nextLink: {
|
|
728
|
-
serializedName: "nextLink",
|
|
729
|
-
type: {
|
|
730
|
-
name: "String"
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
};
|
|
736
|
-
const Operation = {
|
|
737
|
-
type: {
|
|
738
|
-
name: "Composite",
|
|
739
|
-
className: "Operation",
|
|
740
|
-
modelProperties: {
|
|
741
|
-
name: {
|
|
742
|
-
serializedName: "name",
|
|
743
|
-
type: {
|
|
744
|
-
name: "String"
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
display: {
|
|
748
|
-
serializedName: "display",
|
|
749
|
-
type: {
|
|
750
|
-
name: "Composite",
|
|
751
|
-
className: "OperationDisplay"
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
};
|
|
757
|
-
const OperationDisplay = {
|
|
758
|
-
type: {
|
|
759
|
-
name: "Composite",
|
|
760
|
-
className: "OperationDisplay",
|
|
761
|
-
modelProperties: {
|
|
762
|
-
provider: {
|
|
763
|
-
serializedName: "provider",
|
|
764
|
-
type: {
|
|
765
|
-
name: "String"
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
|
-
resource: {
|
|
769
|
-
serializedName: "resource",
|
|
770
|
-
type: {
|
|
771
|
-
name: "String"
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
operation: {
|
|
775
|
-
serializedName: "operation",
|
|
776
|
-
type: {
|
|
777
|
-
name: "String"
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
};
|
|
783
|
-
const DiagnosticSettingsResource = {
|
|
784
|
-
type: {
|
|
785
|
-
name: "Composite",
|
|
786
|
-
className: "DiagnosticSettingsResource",
|
|
787
|
-
modelProperties: Object.assign(Object.assign({}, ProxyOnlyResource.type.modelProperties), { storageAccountId: {
|
|
788
|
-
serializedName: "properties.storageAccountId",
|
|
789
|
-
type: {
|
|
790
|
-
name: "String"
|
|
791
|
-
}
|
|
792
|
-
}, serviceBusRuleId: {
|
|
793
|
-
serializedName: "properties.serviceBusRuleId",
|
|
794
|
-
type: {
|
|
795
|
-
name: "String"
|
|
796
|
-
}
|
|
797
|
-
}, eventHubAuthorizationRuleId: {
|
|
798
|
-
serializedName: "properties.eventHubAuthorizationRuleId",
|
|
799
|
-
type: {
|
|
800
|
-
name: "String"
|
|
801
|
-
}
|
|
802
|
-
}, eventHubName: {
|
|
803
|
-
serializedName: "properties.eventHubName",
|
|
804
|
-
type: {
|
|
805
|
-
name: "String"
|
|
806
|
-
}
|
|
807
|
-
}, metrics: {
|
|
808
|
-
serializedName: "properties.metrics",
|
|
809
|
-
type: {
|
|
810
|
-
name: "Sequence",
|
|
811
|
-
element: {
|
|
812
|
-
type: {
|
|
813
|
-
name: "Composite",
|
|
814
|
-
className: "MetricSettings"
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
}, logs: {
|
|
819
|
-
serializedName: "properties.logs",
|
|
820
|
-
type: {
|
|
821
|
-
name: "Sequence",
|
|
822
|
-
element: {
|
|
823
|
-
type: {
|
|
824
|
-
name: "Composite",
|
|
825
|
-
className: "LogSettings"
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
}, workspaceId: {
|
|
830
|
-
serializedName: "properties.workspaceId",
|
|
831
|
-
type: {
|
|
832
|
-
name: "String"
|
|
833
|
-
}
|
|
834
|
-
}, logAnalyticsDestinationType: {
|
|
835
|
-
serializedName: "properties.logAnalyticsDestinationType",
|
|
836
|
-
type: {
|
|
837
|
-
name: "String"
|
|
838
|
-
}
|
|
839
|
-
} })
|
|
840
|
-
}
|
|
841
|
-
};
|
|
842
|
-
const DiagnosticSettingsCategoryResource = {
|
|
843
|
-
type: {
|
|
844
|
-
name: "Composite",
|
|
845
|
-
className: "DiagnosticSettingsCategoryResource",
|
|
846
|
-
modelProperties: Object.assign(Object.assign({}, ProxyOnlyResource.type.modelProperties), { categoryType: {
|
|
847
|
-
serializedName: "properties.categoryType",
|
|
848
|
-
type: {
|
|
849
|
-
name: "Enum",
|
|
850
|
-
allowedValues: ["Metrics", "Logs"]
|
|
851
|
-
}
|
|
852
|
-
} })
|
|
853
|
-
}
|
|
854
|
-
};
|
|
855
|
-
|
|
856
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
857
|
-
__proto__: null,
|
|
858
|
-
DiagnosticSettingsCategoryResource: DiagnosticSettingsCategoryResource,
|
|
859
|
-
DiagnosticSettingsCategoryResourceCollection: DiagnosticSettingsCategoryResourceCollection,
|
|
860
|
-
DiagnosticSettingsResource: DiagnosticSettingsResource,
|
|
861
|
-
DiagnosticSettingsResourceCollection: DiagnosticSettingsResourceCollection,
|
|
862
|
-
ErrorResponse: ErrorResponse,
|
|
863
|
-
EventCategoryCollection: EventCategoryCollection,
|
|
864
|
-
LocalizableString: LocalizableString,
|
|
865
|
-
LogSettings: LogSettings,
|
|
866
|
-
MetadataValue: MetadataValue,
|
|
867
|
-
Metric: Metric,
|
|
868
|
-
MetricAvailability: MetricAvailability,
|
|
869
|
-
MetricDefinition: MetricDefinition,
|
|
870
|
-
MetricDefinitionCollection: MetricDefinitionCollection,
|
|
871
|
-
MetricSettings: MetricSettings,
|
|
872
|
-
MetricValue: MetricValue,
|
|
873
|
-
Operation: Operation,
|
|
874
|
-
OperationDisplay: OperationDisplay,
|
|
875
|
-
OperationListResult: OperationListResult,
|
|
876
|
-
ProxyOnlyResource: ProxyOnlyResource,
|
|
877
|
-
Response: Response,
|
|
878
|
-
RetentionPolicy: RetentionPolicy,
|
|
879
|
-
TimeSeriesElement: TimeSeriesElement
|
|
880
|
-
});
|
|
881
|
-
|
|
882
|
-
/*
|
|
883
|
-
* Copyright (c) Microsoft Corporation.
|
|
884
|
-
* Licensed under the MIT License.
|
|
885
|
-
*
|
|
886
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
887
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
888
|
-
*/
|
|
889
|
-
const accept = {
|
|
890
|
-
parameterPath: "accept",
|
|
891
|
-
mapper: {
|
|
892
|
-
defaultValue: "application/json",
|
|
893
|
-
isConstant: true,
|
|
894
|
-
serializedName: "Accept",
|
|
895
|
-
type: {
|
|
896
|
-
name: "String"
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
};
|
|
900
|
-
const $host = {
|
|
901
|
-
parameterPath: "$host",
|
|
902
|
-
mapper: {
|
|
903
|
-
serializedName: "$host",
|
|
904
|
-
required: true,
|
|
905
|
-
type: {
|
|
906
|
-
name: "String"
|
|
907
|
-
}
|
|
908
|
-
},
|
|
909
|
-
skipEncoding: true
|
|
910
|
-
};
|
|
911
|
-
const resourceUri = {
|
|
912
|
-
parameterPath: "resourceUri",
|
|
913
|
-
mapper: {
|
|
914
|
-
serializedName: "resourceUri",
|
|
915
|
-
required: true,
|
|
916
|
-
type: {
|
|
917
|
-
name: "String"
|
|
918
|
-
}
|
|
919
|
-
},
|
|
920
|
-
skipEncoding: true
|
|
921
|
-
};
|
|
922
|
-
const apiVersion = {
|
|
923
|
-
parameterPath: "apiVersion",
|
|
924
|
-
mapper: {
|
|
925
|
-
defaultValue: "2018-01-01",
|
|
926
|
-
isConstant: true,
|
|
927
|
-
serializedName: "api-version",
|
|
928
|
-
type: {
|
|
929
|
-
name: "String"
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
};
|
|
933
|
-
const metricnamespace = {
|
|
934
|
-
parameterPath: ["options", "metricnamespace"],
|
|
935
|
-
mapper: {
|
|
936
|
-
serializedName: "metricnamespace",
|
|
937
|
-
type: {
|
|
938
|
-
name: "String"
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
};
|
|
942
|
-
const timespan = {
|
|
943
|
-
parameterPath: ["options", "timespan"],
|
|
944
|
-
mapper: {
|
|
945
|
-
serializedName: "timespan",
|
|
946
|
-
type: {
|
|
947
|
-
name: "String"
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
};
|
|
951
|
-
const interval = {
|
|
952
|
-
parameterPath: ["options", "interval"],
|
|
953
|
-
mapper: {
|
|
954
|
-
serializedName: "interval",
|
|
955
|
-
type: {
|
|
956
|
-
name: "TimeSpan"
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
};
|
|
960
|
-
const metricnames = {
|
|
961
|
-
parameterPath: ["options", "metricnames"],
|
|
962
|
-
mapper: {
|
|
963
|
-
serializedName: "metricnames",
|
|
964
|
-
type: {
|
|
965
|
-
name: "String"
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
};
|
|
969
|
-
const aggregation = {
|
|
970
|
-
parameterPath: ["options", "aggregation"],
|
|
971
|
-
mapper: {
|
|
972
|
-
serializedName: "aggregation",
|
|
973
|
-
type: {
|
|
974
|
-
name: "String"
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
};
|
|
978
|
-
const top = {
|
|
979
|
-
parameterPath: ["options", "top"],
|
|
980
|
-
mapper: {
|
|
981
|
-
serializedName: "top",
|
|
982
|
-
type: {
|
|
983
|
-
name: "Number"
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
};
|
|
987
|
-
const orderby = {
|
|
988
|
-
parameterPath: ["options", "orderby"],
|
|
989
|
-
mapper: {
|
|
990
|
-
serializedName: "orderby",
|
|
991
|
-
type: {
|
|
992
|
-
name: "String"
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
};
|
|
996
|
-
const filter = {
|
|
997
|
-
parameterPath: ["options", "filter"],
|
|
998
|
-
mapper: {
|
|
999
|
-
serializedName: "$filter",
|
|
1000
|
-
type: {
|
|
1001
|
-
name: "String"
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
};
|
|
1005
|
-
const resultType = {
|
|
1006
|
-
parameterPath: ["options", "resultType"],
|
|
1007
|
-
mapper: {
|
|
1008
|
-
serializedName: "resultType",
|
|
1009
|
-
type: {
|
|
1010
|
-
name: "Enum",
|
|
1011
|
-
allowedValues: ["Data", "Metadata"]
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
};
|
|
1015
|
-
const apiVersion1 = {
|
|
1016
|
-
parameterPath: "apiVersion",
|
|
1017
|
-
mapper: {
|
|
1018
|
-
defaultValue: "2017-05-01-preview",
|
|
1019
|
-
isConstant: true,
|
|
1020
|
-
serializedName: "api-version",
|
|
1021
|
-
type: {
|
|
1022
|
-
name: "String"
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
};
|
|
1026
|
-
const name = {
|
|
1027
|
-
parameterPath: "name",
|
|
1028
|
-
mapper: {
|
|
1029
|
-
serializedName: "name",
|
|
1030
|
-
required: true,
|
|
1031
|
-
type: {
|
|
1032
|
-
name: "String"
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
};
|
|
1036
|
-
const contentType = {
|
|
1037
|
-
parameterPath: ["options", "contentType"],
|
|
1038
|
-
mapper: {
|
|
1039
|
-
defaultValue: "application/json",
|
|
1040
|
-
isConstant: true,
|
|
1041
|
-
serializedName: "Content-Type",
|
|
1042
|
-
type: {
|
|
1043
|
-
name: "String"
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
};
|
|
1047
|
-
const parameters = {
|
|
1048
|
-
parameterPath: "parameters",
|
|
1049
|
-
mapper: DiagnosticSettingsResource
|
|
1050
|
-
};
|
|
1051
|
-
const apiVersion2 = {
|
|
1052
|
-
parameterPath: "apiVersion",
|
|
1053
|
-
mapper: {
|
|
1054
|
-
defaultValue: "2015-04-01",
|
|
1055
|
-
isConstant: true,
|
|
1056
|
-
serializedName: "api-version",
|
|
1057
|
-
type: {
|
|
1058
|
-
name: "String"
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
};
|
|
1062
|
-
|
|
1063
|
-
/*
|
|
1064
|
-
* Copyright (c) Microsoft Corporation.
|
|
1065
|
-
* Licensed under the MIT License.
|
|
1066
|
-
*
|
|
1067
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1068
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1069
|
-
*/
|
|
1070
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1071
|
-
/** Class containing MetricDefinitions operations. */
|
|
1072
|
-
class MetricDefinitionsImpl {
|
|
1073
|
-
/**
|
|
1074
|
-
* Initialize a new instance of the class MetricDefinitions class.
|
|
1075
|
-
* @param client Reference to the service client
|
|
1076
|
-
*/
|
|
1077
|
-
constructor(client) {
|
|
1078
|
-
this.client = client;
|
|
1079
|
-
}
|
|
1080
|
-
/**
|
|
1081
|
-
* Lists the metric definitions for the resource.
|
|
1082
|
-
* @param resourceUri The identifier of the resource.
|
|
1083
|
-
* @param options The options parameters.
|
|
1084
|
-
*/
|
|
1085
|
-
list(resourceUri, options) {
|
|
1086
|
-
const iter = this.listPagingAll(resourceUri, options);
|
|
1087
|
-
return {
|
|
1088
|
-
next() {
|
|
1089
|
-
return iter.next();
|
|
1090
|
-
},
|
|
1091
|
-
[Symbol.asyncIterator]() {
|
|
1092
|
-
return this;
|
|
1093
|
-
},
|
|
1094
|
-
byPage: (settings) => {
|
|
1095
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1096
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1097
|
-
}
|
|
1098
|
-
return this.listPagingPage(resourceUri, options, settings);
|
|
1099
|
-
}
|
|
1100
|
-
};
|
|
1101
|
-
}
|
|
1102
|
-
listPagingPage(resourceUri, options, _settings) {
|
|
1103
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
1104
|
-
let result;
|
|
1105
|
-
result = yield tslib.__await(this._list(resourceUri, options));
|
|
1106
|
-
yield yield tslib.__await(result.value || []);
|
|
1107
|
-
});
|
|
1108
|
-
}
|
|
1109
|
-
listPagingAll(resourceUri, options) {
|
|
1110
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1111
|
-
var _a, e_1, _b, _c;
|
|
1112
|
-
try {
|
|
1113
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceUri, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1114
|
-
_c = _f.value;
|
|
1115
|
-
_d = false;
|
|
1116
|
-
const page = _c;
|
|
1117
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1121
|
-
finally {
|
|
1122
|
-
try {
|
|
1123
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1124
|
-
}
|
|
1125
|
-
finally { if (e_1) throw e_1.error; }
|
|
1126
|
-
}
|
|
1127
|
-
});
|
|
1128
|
-
}
|
|
1129
|
-
/**
|
|
1130
|
-
* Lists the metric definitions for the resource.
|
|
1131
|
-
* @param resourceUri The identifier of the resource.
|
|
1132
|
-
* @param options The options parameters.
|
|
1133
|
-
*/
|
|
1134
|
-
_list(resourceUri, options) {
|
|
1135
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$5);
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
// Operation Specifications
|
|
1139
|
-
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1140
|
-
const listOperationSpec$5 = {
|
|
1141
|
-
path: "/{resourceUri}/providers/Microsoft.Insights/metricDefinitions",
|
|
1142
|
-
httpMethod: "GET",
|
|
1143
|
-
responses: {
|
|
1144
|
-
200: {
|
|
1145
|
-
bodyMapper: MetricDefinitionCollection
|
|
1146
|
-
},
|
|
1147
|
-
default: {
|
|
1148
|
-
bodyMapper: ErrorResponse
|
|
1149
|
-
}
|
|
1150
|
-
},
|
|
1151
|
-
queryParameters: [apiVersion, metricnamespace],
|
|
1152
|
-
urlParameters: [$host, resourceUri],
|
|
1153
|
-
headerParameters: [accept],
|
|
1154
|
-
serializer: serializer$5
|
|
1155
|
-
};
|
|
1156
|
-
|
|
1157
|
-
/*
|
|
1158
|
-
* Copyright (c) Microsoft Corporation.
|
|
1159
|
-
* Licensed under the MIT License.
|
|
1160
|
-
*
|
|
1161
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1162
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1163
|
-
*/
|
|
1164
|
-
/** Class containing Metrics operations. */
|
|
1165
|
-
class MetricsImpl {
|
|
1166
|
-
/**
|
|
1167
|
-
* Initialize a new instance of the class Metrics class.
|
|
1168
|
-
* @param client Reference to the service client
|
|
1169
|
-
*/
|
|
1170
|
-
constructor(client) {
|
|
1171
|
-
this.client = client;
|
|
1172
|
-
}
|
|
1173
|
-
/**
|
|
1174
|
-
* **Lists the metric values for a resource**.
|
|
1175
|
-
* @param resourceUri The identifier of the resource.
|
|
1176
|
-
* @param options The options parameters.
|
|
1177
|
-
*/
|
|
1178
|
-
list(resourceUri, options) {
|
|
1179
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$4);
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
// Operation Specifications
|
|
1183
|
-
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1184
|
-
const listOperationSpec$4 = {
|
|
1185
|
-
path: "/{resourceUri}/providers/Microsoft.Insights/metrics",
|
|
1186
|
-
httpMethod: "GET",
|
|
1187
|
-
responses: {
|
|
1188
|
-
200: {
|
|
1189
|
-
bodyMapper: Response
|
|
1190
|
-
},
|
|
1191
|
-
default: {
|
|
1192
|
-
bodyMapper: ErrorResponse
|
|
1193
|
-
}
|
|
1194
|
-
},
|
|
1195
|
-
queryParameters: [
|
|
1196
|
-
apiVersion,
|
|
1197
|
-
metricnamespace,
|
|
1198
|
-
timespan,
|
|
1199
|
-
interval,
|
|
1200
|
-
metricnames,
|
|
1201
|
-
aggregation,
|
|
1202
|
-
top,
|
|
1203
|
-
orderby,
|
|
1204
|
-
filter,
|
|
1205
|
-
resultType
|
|
1206
|
-
],
|
|
1207
|
-
urlParameters: [$host, resourceUri],
|
|
1208
|
-
headerParameters: [accept],
|
|
1209
|
-
serializer: serializer$4
|
|
1210
|
-
};
|
|
1211
|
-
|
|
1212
|
-
/*
|
|
1213
|
-
* Copyright (c) Microsoft Corporation.
|
|
1214
|
-
* Licensed under the MIT License.
|
|
1215
|
-
*
|
|
1216
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1217
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1218
|
-
*/
|
|
1219
|
-
/** Class containing DiagnosticSettings operations. */
|
|
1220
|
-
class DiagnosticSettingsImpl {
|
|
1221
|
-
/**
|
|
1222
|
-
* Initialize a new instance of the class DiagnosticSettings class.
|
|
1223
|
-
* @param client Reference to the service client
|
|
1224
|
-
*/
|
|
1225
|
-
constructor(client) {
|
|
1226
|
-
this.client = client;
|
|
1227
|
-
}
|
|
1228
|
-
/**
|
|
1229
|
-
* Gets the active diagnostic settings for the specified resource.
|
|
1230
|
-
* @param resourceUri The identifier of the resource.
|
|
1231
|
-
* @param name The name of the diagnostic setting.
|
|
1232
|
-
* @param options The options parameters.
|
|
1233
|
-
*/
|
|
1234
|
-
get(resourceUri, name, options) {
|
|
1235
|
-
return this.client.sendOperationRequest({ resourceUri, name, options }, getOperationSpec$1);
|
|
1236
|
-
}
|
|
1237
|
-
/**
|
|
1238
|
-
* Creates or updates diagnostic settings for the specified resource.
|
|
1239
|
-
* @param resourceUri The identifier of the resource.
|
|
1240
|
-
* @param name The name of the diagnostic setting.
|
|
1241
|
-
* @param parameters Parameters supplied to the operation.
|
|
1242
|
-
* @param options The options parameters.
|
|
1243
|
-
*/
|
|
1244
|
-
createOrUpdate(resourceUri, name, parameters, options) {
|
|
1245
|
-
return this.client.sendOperationRequest({ resourceUri, name, parameters, options }, createOrUpdateOperationSpec);
|
|
1246
|
-
}
|
|
1247
|
-
/**
|
|
1248
|
-
* Deletes existing diagnostic settings for the specified resource.
|
|
1249
|
-
* @param resourceUri The identifier of the resource.
|
|
1250
|
-
* @param name The name of the diagnostic setting.
|
|
1251
|
-
* @param options The options parameters.
|
|
1252
|
-
*/
|
|
1253
|
-
delete(resourceUri, name, options) {
|
|
1254
|
-
return this.client.sendOperationRequest({ resourceUri, name, options }, deleteOperationSpec);
|
|
1255
|
-
}
|
|
1256
|
-
/**
|
|
1257
|
-
* Gets the active diagnostic settings list for the specified resource.
|
|
1258
|
-
* @param resourceUri The identifier of the resource.
|
|
1259
|
-
* @param options The options parameters.
|
|
1260
|
-
*/
|
|
1261
|
-
list(resourceUri, options) {
|
|
1262
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$3);
|
|
1263
|
-
}
|
|
1264
|
-
}
|
|
1265
|
-
// Operation Specifications
|
|
1266
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1267
|
-
const getOperationSpec$1 = {
|
|
1268
|
-
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}",
|
|
1269
|
-
httpMethod: "GET",
|
|
1270
|
-
responses: {
|
|
1271
|
-
200: {
|
|
1272
|
-
bodyMapper: DiagnosticSettingsResource
|
|
1273
|
-
},
|
|
1274
|
-
default: {
|
|
1275
|
-
bodyMapper: ErrorResponse
|
|
1276
|
-
}
|
|
1277
|
-
},
|
|
1278
|
-
queryParameters: [apiVersion1],
|
|
1279
|
-
urlParameters: [$host, resourceUri, name],
|
|
1280
|
-
headerParameters: [accept],
|
|
1281
|
-
serializer: serializer$3
|
|
1282
|
-
};
|
|
1283
|
-
const createOrUpdateOperationSpec = {
|
|
1284
|
-
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}",
|
|
1285
|
-
httpMethod: "PUT",
|
|
1286
|
-
responses: {
|
|
1287
|
-
200: {
|
|
1288
|
-
bodyMapper: DiagnosticSettingsResource
|
|
1289
|
-
},
|
|
1290
|
-
default: {
|
|
1291
|
-
bodyMapper: ErrorResponse
|
|
1292
|
-
}
|
|
1293
|
-
},
|
|
1294
|
-
requestBody: parameters,
|
|
1295
|
-
queryParameters: [apiVersion1],
|
|
1296
|
-
urlParameters: [$host, resourceUri, name],
|
|
1297
|
-
headerParameters: [accept, contentType],
|
|
1298
|
-
mediaType: "json",
|
|
1299
|
-
serializer: serializer$3
|
|
1300
|
-
};
|
|
1301
|
-
const deleteOperationSpec = {
|
|
1302
|
-
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}",
|
|
1303
|
-
httpMethod: "DELETE",
|
|
1304
|
-
responses: {
|
|
1305
|
-
200: {},
|
|
1306
|
-
204: {},
|
|
1307
|
-
default: {
|
|
1308
|
-
bodyMapper: ErrorResponse
|
|
1309
|
-
}
|
|
1310
|
-
},
|
|
1311
|
-
queryParameters: [apiVersion1],
|
|
1312
|
-
urlParameters: [$host, resourceUri, name],
|
|
1313
|
-
headerParameters: [accept],
|
|
1314
|
-
serializer: serializer$3
|
|
1315
|
-
};
|
|
1316
|
-
const listOperationSpec$3 = {
|
|
1317
|
-
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings",
|
|
1318
|
-
httpMethod: "GET",
|
|
1319
|
-
responses: {
|
|
1320
|
-
200: {
|
|
1321
|
-
bodyMapper: DiagnosticSettingsResourceCollection
|
|
1322
|
-
},
|
|
1323
|
-
default: {
|
|
1324
|
-
bodyMapper: ErrorResponse
|
|
1325
|
-
}
|
|
1326
|
-
},
|
|
1327
|
-
queryParameters: [apiVersion1],
|
|
1328
|
-
urlParameters: [$host, resourceUri],
|
|
1329
|
-
headerParameters: [accept],
|
|
1330
|
-
serializer: serializer$3
|
|
1331
|
-
};
|
|
1332
|
-
|
|
1333
|
-
/*
|
|
1334
|
-
* Copyright (c) Microsoft Corporation.
|
|
1335
|
-
* Licensed under the MIT License.
|
|
1336
|
-
*
|
|
1337
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1338
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1339
|
-
*/
|
|
1340
|
-
/** Class containing DiagnosticSettingsCategory operations. */
|
|
1341
|
-
class DiagnosticSettingsCategoryImpl {
|
|
1342
|
-
/**
|
|
1343
|
-
* Initialize a new instance of the class DiagnosticSettingsCategory class.
|
|
1344
|
-
* @param client Reference to the service client
|
|
1345
|
-
*/
|
|
1346
|
-
constructor(client) {
|
|
1347
|
-
this.client = client;
|
|
1348
|
-
}
|
|
1349
|
-
/**
|
|
1350
|
-
* Gets the diagnostic settings category for the specified resource.
|
|
1351
|
-
* @param resourceUri The identifier of the resource.
|
|
1352
|
-
* @param name The name of the diagnostic setting.
|
|
1353
|
-
* @param options The options parameters.
|
|
1354
|
-
*/
|
|
1355
|
-
get(resourceUri, name, options) {
|
|
1356
|
-
return this.client.sendOperationRequest({ resourceUri, name, options }, getOperationSpec);
|
|
1357
|
-
}
|
|
1358
|
-
/**
|
|
1359
|
-
* Lists the diagnostic settings categories for the specified resource.
|
|
1360
|
-
* @param resourceUri The identifier of the resource.
|
|
1361
|
-
* @param options The options parameters.
|
|
1362
|
-
*/
|
|
1363
|
-
list(resourceUri, options) {
|
|
1364
|
-
return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec$2);
|
|
1365
|
-
}
|
|
1366
|
-
}
|
|
1367
|
-
// Operation Specifications
|
|
1368
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1369
|
-
const getOperationSpec = {
|
|
1370
|
-
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettingsCategories/{name}",
|
|
1371
|
-
httpMethod: "GET",
|
|
1372
|
-
responses: {
|
|
1373
|
-
200: {
|
|
1374
|
-
bodyMapper: DiagnosticSettingsCategoryResource
|
|
1375
|
-
},
|
|
1376
|
-
default: {
|
|
1377
|
-
bodyMapper: ErrorResponse
|
|
1378
|
-
}
|
|
1379
|
-
},
|
|
1380
|
-
queryParameters: [apiVersion1],
|
|
1381
|
-
urlParameters: [$host, resourceUri, name],
|
|
1382
|
-
headerParameters: [accept],
|
|
1383
|
-
serializer: serializer$2
|
|
1384
|
-
};
|
|
1385
|
-
const listOperationSpec$2 = {
|
|
1386
|
-
path: "/{resourceUri}/providers/Microsoft.Insights/diagnosticSettingsCategories",
|
|
1387
|
-
httpMethod: "GET",
|
|
1388
|
-
responses: {
|
|
1389
|
-
200: {
|
|
1390
|
-
bodyMapper: DiagnosticSettingsCategoryResourceCollection
|
|
1391
|
-
},
|
|
1392
|
-
default: {
|
|
1393
|
-
bodyMapper: ErrorResponse
|
|
1394
|
-
}
|
|
1395
|
-
},
|
|
1396
|
-
queryParameters: [apiVersion1],
|
|
1397
|
-
urlParameters: [$host, resourceUri],
|
|
1398
|
-
headerParameters: [accept],
|
|
1399
|
-
serializer: serializer$2
|
|
1400
|
-
};
|
|
1401
|
-
|
|
1402
|
-
/*
|
|
1403
|
-
* Copyright (c) Microsoft Corporation.
|
|
1404
|
-
* Licensed under the MIT License.
|
|
1405
|
-
*
|
|
1406
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1407
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1408
|
-
*/
|
|
1409
|
-
/// <reference lib="esnext.asynciterable" />
|
|
1410
|
-
/** Class containing EventCategories operations. */
|
|
1411
|
-
class EventCategoriesImpl {
|
|
1412
|
-
/**
|
|
1413
|
-
* Initialize a new instance of the class EventCategories class.
|
|
1414
|
-
* @param client Reference to the service client
|
|
1415
|
-
*/
|
|
1416
|
-
constructor(client) {
|
|
1417
|
-
this.client = client;
|
|
1418
|
-
}
|
|
1419
|
-
/**
|
|
1420
|
-
* Get the list of available event categories supported in the Activity Logs Service.<br>The current
|
|
1421
|
-
* list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
|
|
1422
|
-
* @param options The options parameters.
|
|
1423
|
-
*/
|
|
1424
|
-
list(options) {
|
|
1425
|
-
const iter = this.listPagingAll(options);
|
|
1426
|
-
return {
|
|
1427
|
-
next() {
|
|
1428
|
-
return iter.next();
|
|
1429
|
-
},
|
|
1430
|
-
[Symbol.asyncIterator]() {
|
|
1431
|
-
return this;
|
|
1432
|
-
},
|
|
1433
|
-
byPage: (settings) => {
|
|
1434
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
1435
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
1436
|
-
}
|
|
1437
|
-
return this.listPagingPage(options, settings);
|
|
1438
|
-
}
|
|
1439
|
-
};
|
|
1440
|
-
}
|
|
1441
|
-
listPagingPage(options, _settings) {
|
|
1442
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
1443
|
-
let result;
|
|
1444
|
-
result = yield tslib.__await(this._list(options));
|
|
1445
|
-
yield yield tslib.__await(result.value || []);
|
|
1446
|
-
});
|
|
1447
|
-
}
|
|
1448
|
-
listPagingAll(options) {
|
|
1449
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1450
|
-
var _a, e_1, _b, _c;
|
|
1451
|
-
try {
|
|
1452
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1453
|
-
_c = _f.value;
|
|
1454
|
-
_d = false;
|
|
1455
|
-
const page = _c;
|
|
1456
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1460
|
-
finally {
|
|
1461
|
-
try {
|
|
1462
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1463
|
-
}
|
|
1464
|
-
finally { if (e_1) throw e_1.error; }
|
|
1465
|
-
}
|
|
1466
|
-
});
|
|
1467
|
-
}
|
|
1468
|
-
/**
|
|
1469
|
-
* Get the list of available event categories supported in the Activity Logs Service.<br>The current
|
|
1470
|
-
* list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.
|
|
1471
|
-
* @param options The options parameters.
|
|
1472
|
-
*/
|
|
1473
|
-
_list(options) {
|
|
1474
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
1475
|
-
}
|
|
1476
|
-
}
|
|
1477
|
-
// Operation Specifications
|
|
1478
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1479
|
-
const listOperationSpec$1 = {
|
|
1480
|
-
path: "/providers/Microsoft.Insights/eventcategories",
|
|
1481
|
-
httpMethod: "GET",
|
|
1482
|
-
responses: {
|
|
1483
|
-
200: {
|
|
1484
|
-
bodyMapper: EventCategoryCollection
|
|
1485
|
-
},
|
|
1486
|
-
default: {
|
|
1487
|
-
bodyMapper: ErrorResponse
|
|
1488
|
-
}
|
|
1489
|
-
},
|
|
1490
|
-
queryParameters: [apiVersion2],
|
|
1491
|
-
urlParameters: [$host],
|
|
1492
|
-
headerParameters: [accept],
|
|
1493
|
-
serializer: serializer$1
|
|
1494
|
-
};
|
|
1495
|
-
|
|
1496
|
-
/*
|
|
1497
|
-
* Copyright (c) Microsoft Corporation.
|
|
1498
|
-
* Licensed under the MIT License.
|
|
1499
|
-
*
|
|
1500
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1501
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1502
|
-
*/
|
|
1503
|
-
/** Class containing Operations operations. */
|
|
1504
|
-
class OperationsImpl {
|
|
1505
|
-
/**
|
|
1506
|
-
* Initialize a new instance of the class Operations class.
|
|
1507
|
-
* @param client Reference to the service client
|
|
1508
|
-
*/
|
|
1509
|
-
constructor(client) {
|
|
1510
|
-
this.client = client;
|
|
1511
|
-
}
|
|
1512
|
-
/**
|
|
1513
|
-
* Lists all of the available operations from Microsoft.Insights provider.
|
|
1514
|
-
* @param options The options parameters.
|
|
1515
|
-
*/
|
|
1516
|
-
list(options) {
|
|
1517
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
// Operation Specifications
|
|
1521
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1522
|
-
const listOperationSpec = {
|
|
1523
|
-
path: "/providers/Microsoft.Insights/operations",
|
|
1524
|
-
httpMethod: "GET",
|
|
1525
|
-
responses: {
|
|
1526
|
-
200: {
|
|
1527
|
-
bodyMapper: OperationListResult
|
|
1528
|
-
}
|
|
1529
|
-
},
|
|
1530
|
-
queryParameters: [apiVersion2],
|
|
1531
|
-
urlParameters: [$host],
|
|
1532
|
-
headerParameters: [accept],
|
|
1533
|
-
serializer
|
|
1534
|
-
};
|
|
1535
|
-
|
|
1536
|
-
/*
|
|
1537
|
-
* Copyright (c) Microsoft Corporation.
|
|
1538
|
-
* Licensed under the MIT License.
|
|
1539
|
-
*
|
|
1540
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1541
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1542
|
-
*/
|
|
1543
|
-
class MonitorClient extends coreClient__namespace.ServiceClient {
|
|
1544
|
-
/**
|
|
1545
|
-
* Initializes a new instance of the MonitorClient class.
|
|
1546
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1547
|
-
* @param options The parameter options
|
|
1548
|
-
*/
|
|
1549
|
-
constructor(credentials, options) {
|
|
1550
|
-
var _a, _b, _c;
|
|
1551
|
-
if (credentials === undefined) {
|
|
1552
|
-
throw new Error("'credentials' cannot be null");
|
|
1553
|
-
}
|
|
1554
|
-
// Initializing default values for options
|
|
1555
|
-
if (!options) {
|
|
1556
|
-
options = {};
|
|
1557
|
-
}
|
|
1558
|
-
const defaults = {
|
|
1559
|
-
requestContentType: "application/json; charset=utf-8",
|
|
1560
|
-
credential: credentials
|
|
1561
|
-
};
|
|
1562
|
-
const packageDetails = `azsdk-js-arm-monitor-profile-2020-09-01-hybrid/2.1.1`;
|
|
1563
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
1564
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
1565
|
-
: `${packageDetails}`;
|
|
1566
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
1567
|
-
userAgentPrefix
|
|
1568
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
1569
|
-
super(optionsWithDefaults);
|
|
1570
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
1571
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
1572
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
1573
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
1574
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
1575
|
-
}
|
|
1576
|
-
if (!options ||
|
|
1577
|
-
!options.pipeline ||
|
|
1578
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
1579
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
1580
|
-
this.pipeline.removePolicy({
|
|
1581
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
1582
|
-
});
|
|
1583
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
1584
|
-
credential: credentials,
|
|
1585
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
1586
|
-
challengeCallbacks: {
|
|
1587
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
1588
|
-
}
|
|
1589
|
-
}));
|
|
1590
|
-
}
|
|
1591
|
-
// Assigning values to Constant parameters
|
|
1592
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
1593
|
-
this.metricDefinitions = new MetricDefinitionsImpl(this);
|
|
1594
|
-
this.metrics = new MetricsImpl(this);
|
|
1595
|
-
this.diagnosticSettings = new DiagnosticSettingsImpl(this);
|
|
1596
|
-
this.diagnosticSettingsCategory = new DiagnosticSettingsCategoryImpl(this);
|
|
1597
|
-
this.eventCategories = new EventCategoriesImpl(this);
|
|
1598
|
-
this.operations = new OperationsImpl(this);
|
|
1599
|
-
}
|
|
1600
|
-
}
|
|
1601
|
-
|
|
1602
|
-
exports.MonitorClient = MonitorClient;
|
|
1603
|
-
exports.getContinuationToken = getContinuationToken;
|
|
1604
|
-
//# sourceMappingURL=index.js.map
|