@azure/arm-timeseriesinsights 2.1.0-alpha.20250212.1 → 2.1.0-alpha.20250213.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 +21 -12
- 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/lroImpl.js +25 -0
- package/dist/browser/lroImpl.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}/operations/accessPolicies.d.ts +3 -3
- package/dist/browser/operations/accessPolicies.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accessPolicies.js +2 -2
- package/dist/browser/operations/accessPolicies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/environments.d.ts +3 -3
- package/dist/browser/operations/environments.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/environments.js +72 -81
- package/dist/browser/operations/environments.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/eventSources.d.ts +3 -3
- package/dist/browser/operations/eventSources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/eventSources.js +2 -2
- package/dist/browser/operations/eventSources.js.map +1 -0
- package/dist/browser/operations/index.d.ts +8 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +15 -0
- package/dist/browser/operations/index.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 +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +2 -2
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/referenceDataSets.d.ts +3 -3
- package/dist/browser/operations/referenceDataSets.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/referenceDataSets.js +2 -2
- package/dist/browser/operations/referenceDataSets.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicies.d.ts +1 -1
- package/dist/browser/operationsInterfaces/accessPolicies.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/accessPolicies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/environments.d.ts +1 -1
- package/dist/browser/operationsInterfaces/environments.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/environments.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/eventSources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/eventSources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/eventSources.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +8 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +15 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/referenceDataSets.d.ts +1 -1
- package/dist/browser/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/referenceDataSets.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/timeSeriesInsightsClient.d.ts +2 -2
- package/dist/browser/timeSeriesInsightsClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/timeSeriesInsightsClient.js +15 -18
- package/dist/browser/timeSeriesInsightsClient.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/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-timeseriesinsights.d.ts → dist/commonjs/models/index.d.ts} +1320 -1830
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +183 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +100 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2170 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +28 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +242 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/accessPolicies.d.ts +65 -0
- package/dist/commonjs/operations/accessPolicies.d.ts.map +1 -0
- package/dist/commonjs/operations/accessPolicies.js +217 -0
- package/dist/commonjs/operations/accessPolicies.js.map +1 -0
- package/dist/commonjs/operations/environments.d.ts +78 -0
- package/dist/commonjs/operations/environments.d.ts.map +1 -0
- package/dist/commonjs/operations/environments.js +314 -0
- package/dist/commonjs/operations/environments.js.map +1 -0
- package/dist/commonjs/operations/eventSources.d.ts +66 -0
- package/dist/commonjs/operations/eventSources.d.ts.map +1 -0
- package/dist/commonjs/operations/eventSources.js +218 -0
- package/dist/commonjs/operations/eventSources.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +8 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +18 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +52 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +182 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +32 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +111 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/referenceDataSets.d.ts +66 -0
- package/dist/commonjs/operations/referenceDataSets.d.ts.map +1 -0
- package/dist/commonjs/operations/referenceDataSets.js +218 -0
- package/dist/commonjs/operations/referenceDataSets.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/accessPolicies.d.ts +57 -0
- package/dist/commonjs/operationsInterfaces/accessPolicies.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/accessPolicies.js +10 -0
- package/dist/commonjs/operationsInterfaces/accessPolicies.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/environments.d.ts +70 -0
- package/dist/commonjs/operationsInterfaces/environments.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/environments.js +10 -0
- package/dist/commonjs/operationsInterfaces/environments.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventSources.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/eventSources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventSources.js +10 -0
- package/dist/commonjs/operationsInterfaces/eventSources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +18 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -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/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/referenceDataSets.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/referenceDataSets.js +10 -0
- package/dist/commonjs/operationsInterfaces/referenceDataSets.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/commonjs/timeSeriesInsightsClient.d.ts +26 -0
- package/dist/commonjs/timeSeriesInsightsClient.d.ts.map +1 -0
- package/dist/commonjs/timeSeriesInsightsClient.js +108 -0
- package/dist/commonjs/timeSeriesInsightsClient.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/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1320 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +180 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +100 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2166 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +28 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +239 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/accessPolicies.d.ts +65 -0
- package/dist/esm/operations/accessPolicies.d.ts.map +1 -0
- package/dist/esm/operations/accessPolicies.js +212 -0
- package/dist/esm/operations/accessPolicies.js.map +1 -0
- package/dist/esm/operations/environments.d.ts +78 -0
- package/dist/esm/operations/environments.d.ts.map +1 -0
- package/dist/esm/operations/environments.js +309 -0
- package/dist/esm/operations/environments.js.map +1 -0
- package/dist/esm/operations/eventSources.d.ts +66 -0
- package/dist/esm/operations/eventSources.d.ts.map +1 -0
- package/dist/esm/operations/eventSources.js +213 -0
- package/dist/esm/operations/eventSources.js.map +1 -0
- package/dist/esm/operations/index.d.ts +8 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +15 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +52 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +177 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +32 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResources.js +107 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operations/referenceDataSets.d.ts +66 -0
- package/dist/esm/operations/referenceDataSets.d.ts.map +1 -0
- package/dist/esm/operations/referenceDataSets.js +213 -0
- package/dist/esm/operations/referenceDataSets.js.map +1 -0
- package/dist/esm/operationsInterfaces/accessPolicies.d.ts +57 -0
- package/dist/esm/operationsInterfaces/accessPolicies.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/accessPolicies.js +9 -0
- package/dist/esm/operationsInterfaces/accessPolicies.js.map +1 -0
- package/dist/esm/operationsInterfaces/environments.d.ts +70 -0
- package/dist/esm/operationsInterfaces/environments.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/environments.js +9 -0
- package/dist/esm/operationsInterfaces/environments.js.map +1 -0
- package/dist/esm/operationsInterfaces/eventSources.d.ts +58 -0
- package/dist/esm/operationsInterfaces/eventSources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/eventSources.js +9 -0
- package/dist/esm/operationsInterfaces/eventSources.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +8 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +15 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -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/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +14 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/referenceDataSets.d.ts +58 -0
- package/dist/esm/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/referenceDataSets.js +9 -0
- package/dist/esm/operationsInterfaces/referenceDataSets.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/esm/timeSeriesInsightsClient.d.ts +26 -0
- package/dist/esm/timeSeriesInsightsClient.d.ts.map +1 -0
- package/dist/esm/timeSeriesInsightsClient.js +103 -0
- package/dist/esm/timeSeriesInsightsClient.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/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1320 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +180 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +100 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2166 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +28 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +239 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/accessPolicies.d.ts +65 -0
- package/dist/react-native/operations/accessPolicies.d.ts.map +1 -0
- package/dist/react-native/operations/accessPolicies.js +212 -0
- package/dist/react-native/operations/accessPolicies.js.map +1 -0
- package/dist/react-native/operations/environments.d.ts +78 -0
- package/dist/react-native/operations/environments.d.ts.map +1 -0
- package/dist/react-native/operations/environments.js +309 -0
- package/dist/react-native/operations/environments.js.map +1 -0
- package/dist/react-native/operations/eventSources.d.ts +66 -0
- package/dist/react-native/operations/eventSources.d.ts.map +1 -0
- package/dist/react-native/operations/eventSources.js +213 -0
- package/dist/react-native/operations/eventSources.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +8 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +15 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +52 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +177 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +32 -0
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResources.js +107 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operations/referenceDataSets.d.ts +66 -0
- package/dist/react-native/operations/referenceDataSets.d.ts.map +1 -0
- package/dist/react-native/operations/referenceDataSets.js +213 -0
- package/dist/react-native/operations/referenceDataSets.js.map +1 -0
- package/dist/react-native/operationsInterfaces/accessPolicies.d.ts +57 -0
- package/dist/react-native/operationsInterfaces/accessPolicies.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/accessPolicies.js +9 -0
- package/dist/react-native/operationsInterfaces/accessPolicies.js.map +1 -0
- package/dist/react-native/operationsInterfaces/environments.d.ts +70 -0
- package/dist/react-native/operationsInterfaces/environments.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/environments.js +9 -0
- package/dist/react-native/operationsInterfaces/environments.js.map +1 -0
- package/dist/react-native/operationsInterfaces/eventSources.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/eventSources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/eventSources.js +9 -0
- package/dist/react-native/operationsInterfaces/eventSources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +15 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/referenceDataSets.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/referenceDataSets.js +9 -0
- package/dist/react-native/operationsInterfaces/referenceDataSets.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/dist/react-native/timeSeriesInsightsClient.d.ts +26 -0
- package/dist/react-native/timeSeriesInsightsClient.d.ts.map +1 -0
- package/dist/react-native/timeSeriesInsightsClient.js +103 -0
- package/dist/react-native/timeSeriesInsightsClient.js.map +1 -0
- package/package.json +67 -36
- package/dist/index.js +0 -4207
- 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/accessPoliciesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js +0 -35
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesGetSample.js +0 -37
- package/dist-esm/samples-dev/accessPoliciesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js +0 -36
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.js +0 -33
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js +0 -36
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsDeleteSample.js +0 -36
- package/dist-esm/samples-dev/environmentsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsGetSample.js +0 -36
- package/dist-esm/samples-dev/environmentsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js +0 -35
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js +0 -34
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsUpdateSample.js +0 -33
- package/dist-esm/samples-dev/environmentsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js +0 -78
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventSourcesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/eventSourcesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/eventSourcesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventSourcesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventSourcesGetSample.js +0 -37
- package/dist-esm/samples-dev/eventSourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js +0 -36
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js.map +0 -1
- package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventSourcesUpdateSample.js +0 -34
- package/dist-esm/samples-dev/eventSourcesUpdateSample.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 -50
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +0 -36
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js +0 -36
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +0 -52
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js +0 -37
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsGetSample.js +0 -37
- package/dist-esm/samples-dev/referenceDataSetsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js +0 -36
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js +0 -33
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.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/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.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/operations/accessPolicies.d.ts.map +0 -1
- package/dist-esm/src/operations/accessPolicies.js.map +0 -1
- package/dist-esm/src/operations/environments.d.ts.map +0 -1
- package/dist-esm/src/operations/environments.js.map +0 -1
- package/dist-esm/src/operations/eventSources.d.ts.map +0 -1
- package/dist-esm/src/operations/eventSources.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -8
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -15
- package/dist-esm/src/operations/index.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/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/referenceDataSets.d.ts.map +0 -1
- package/dist-esm/src/operations/referenceDataSets.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/accessPolicies.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/accessPolicies.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/environments.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/environments.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventSources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventSources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -15
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/referenceDataSets.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/referenceDataSets.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/timeSeriesInsightsClient.d.ts.map +0 -1
- package/dist-esm/src/timeSeriesInsightsClient.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/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -1527
- package/src/models/mappers.ts +0 -2456
- package/src/models/parameters.ts +0 -280
- package/src/operations/accessPolicies.ts +0 -282
- package/src/operations/environments.ts +0 -451
- package/src/operations/eventSources.ts +0 -283
- package/src/operations/index.ts +0 -15
- package/src/operations/operations.ts +0 -149
- package/src/operations/privateEndpointConnections.ts +0 -234
- package/src/operations/privateLinkResources.ts +0 -143
- package/src/operations/referenceDataSets.ts +0 -283
- package/src/operationsInterfaces/accessPolicies.ts +0 -103
- package/src/operationsInterfaces/environments.ts +0 -135
- package/src/operationsInterfaces/eventSources.ts +0 -104
- package/src/operationsInterfaces/index.ts +0 -15
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -81
- package/src/operationsInterfaces/privateLinkResources.ts +0 -30
- package/src/operationsInterfaces/referenceDataSets.ts +0 -104
- package/src/pagingHelper.ts +0 -39
- package/src/timeSeriesInsightsClient.ts +0 -168
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /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/accessPolicies.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/environments.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventSources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/referenceDataSets.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 @@
|
|
1
|
+
{"version":3,"file":"environments.js","sourceRoot":"","sources":["../../../src/operations/environments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAiBxC,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,mBAAmB,CACvB,iBAAyB,EACzB,eAAuB,EACvB,UAAoD,EACpD,OAAkD;QAOlD,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EACe,EAAE;YAC/C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EA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E,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EACF,wHAAwH;IAC1H,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EACF,qFAAqF;IACvF,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,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 { Environments } 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 { TimeSeriesInsightsClient } from \"../timeSeriesInsightsClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n EnvironmentCreateOrUpdateParametersUnion,\n EnvironmentsCreateOrUpdateOptionalParams,\n EnvironmentsCreateOrUpdateResponse,\n EnvironmentsGetOptionalParams,\n EnvironmentsGetResponse,\n EnvironmentUpdateParametersUnion,\n EnvironmentsUpdateOptionalParams,\n EnvironmentsUpdateResponse,\n EnvironmentsDeleteOptionalParams,\n EnvironmentsListByResourceGroupOptionalParams,\n EnvironmentsListByResourceGroupResponse,\n EnvironmentsListBySubscriptionOptionalParams,\n EnvironmentsListBySubscriptionResponse\n} from \"../models/index.js\";\n\n/** Class containing Environments operations. */\nexport class EnvironmentsImpl implements Environments {\n private readonly client: TimeSeriesInsightsClient;\n\n /**\n * Initialize a new instance of the class Environments class.\n * @param client Reference to the service client\n */\n constructor(client: TimeSeriesInsightsClient) {\n this.client = client;\n }\n\n /**\n * Create or update an environment in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName Name of the environment\n * @param parameters Parameters for creating an environment resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n parameters: EnvironmentCreateOrUpdateParametersUnion,\n options?: EnvironmentsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<EnvironmentsCreateOrUpdateResponse>,\n EnvironmentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<EnvironmentsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, environmentName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update an environment in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName Name of the environment\n * @param parameters Parameters for creating an environment resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n environmentName: string,\n parameters: EnvironmentCreateOrUpdateParametersUnion,\n options?: EnvironmentsCreateOrUpdateOptionalParams\n ): Promise<EnvironmentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n environmentName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n options?: EnvironmentsGetOptionalParams\n ): Promise<EnvironmentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n getOperationSpec\n );\n }\n\n /**\n * Updates the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param environmentUpdateParameters Request object that contains the updated information for the\n * environment.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n environmentName: string,\n environmentUpdateParameters: EnvironmentUpdateParametersUnion,\n options?: EnvironmentsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<EnvironmentsUpdateResponse>,\n EnvironmentsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<EnvironmentsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n environmentName,\n environmentUpdateParameters,\n options\n },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param environmentUpdateParameters Request object that contains the updated information for the\n * environment.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n environmentName: string,\n environmentUpdateParameters: EnvironmentUpdateParametersUnion,\n options?: EnvironmentsUpdateOptionalParams\n ): Promise<EnvironmentsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n environmentName,\n environmentUpdateParameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the environment with the specified name in the specified subscription and resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n options?: EnvironmentsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists all the available environments associated with the subscription and within the specified\n * resource group.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: EnvironmentsListByResourceGroupOptionalParams\n ): Promise<EnvironmentsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all the available environments within a subscription, irrespective of the resource groups.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: EnvironmentsListBySubscriptionOptionalParams\n ): Promise<EnvironmentsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 201: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 202: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 204: {\n bodyMapper: Mappers.EnvironmentResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnvironmentResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 201: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 202: {\n bodyMapper: Mappers.EnvironmentResource\n },\n 204: {\n bodyMapper: Mappers.EnvironmentResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.environmentUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnvironmentListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.TimeSeriesInsights/environments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnvironmentListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import { EventSources } from "../operationsInterfaces/index.js";
|
2
|
+
import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient.js";
|
3
|
+
import { EventSourceCreateOrUpdateParametersUnion, EventSourcesCreateOrUpdateOptionalParams, EventSourcesCreateOrUpdateResponse, EventSourcesGetOptionalParams, EventSourcesGetResponse, EventSourceUpdateParametersUnion, EventSourcesUpdateOptionalParams, EventSourcesUpdateResponse, EventSourcesDeleteOptionalParams, EventSourcesListByEnvironmentOptionalParams, EventSourcesListByEnvironmentResponse } from "../models/index.js";
|
4
|
+
/** Class containing EventSources operations. */
|
5
|
+
export declare class EventSourcesImpl implements EventSources {
|
6
|
+
private readonly client;
|
7
|
+
/**
|
8
|
+
* Initialize a new instance of the class EventSources class.
|
9
|
+
* @param client Reference to the service client
|
10
|
+
*/
|
11
|
+
constructor(client: TimeSeriesInsightsClient);
|
12
|
+
/**
|
13
|
+
* Create or update an event source under the specified environment.
|
14
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
15
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
16
|
+
* specified resource group.
|
17
|
+
* @param eventSourceName Name of the event source.
|
18
|
+
* @param parameters Parameters for creating an event source resource.
|
19
|
+
* @param options The options parameters.
|
20
|
+
*/
|
21
|
+
createOrUpdate(resourceGroupName: string, environmentName: string, eventSourceName: string, parameters: EventSourceCreateOrUpdateParametersUnion, options?: EventSourcesCreateOrUpdateOptionalParams): Promise<EventSourcesCreateOrUpdateResponse>;
|
22
|
+
/**
|
23
|
+
* Gets the event source with the specified name in the specified environment.
|
24
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
25
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
26
|
+
* specified resource group.
|
27
|
+
* @param eventSourceName The name of the Time Series Insights event source associated with the
|
28
|
+
* specified environment.
|
29
|
+
* @param options The options parameters.
|
30
|
+
*/
|
31
|
+
get(resourceGroupName: string, environmentName: string, eventSourceName: string, options?: EventSourcesGetOptionalParams): Promise<EventSourcesGetResponse>;
|
32
|
+
/**
|
33
|
+
* Updates the event source with the specified name in the specified subscription, resource group, and
|
34
|
+
* environment.
|
35
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
36
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
37
|
+
* specified resource group.
|
38
|
+
* @param eventSourceName The name of the Time Series Insights event source associated with the
|
39
|
+
* specified environment.
|
40
|
+
* @param eventSourceUpdateParameters Request object that contains the updated information for the
|
41
|
+
* event source.
|
42
|
+
* @param options The options parameters.
|
43
|
+
*/
|
44
|
+
update(resourceGroupName: string, environmentName: string, eventSourceName: string, eventSourceUpdateParameters: EventSourceUpdateParametersUnion, options?: EventSourcesUpdateOptionalParams): Promise<EventSourcesUpdateResponse>;
|
45
|
+
/**
|
46
|
+
* Deletes the event source with the specified name in the specified subscription, resource group, and
|
47
|
+
* environment
|
48
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
49
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
50
|
+
* specified resource group.
|
51
|
+
* @param eventSourceName The name of the Time Series Insights event source associated with the
|
52
|
+
* specified environment.
|
53
|
+
* @param options The options parameters.
|
54
|
+
*/
|
55
|
+
delete(resourceGroupName: string, environmentName: string, eventSourceName: string, options?: EventSourcesDeleteOptionalParams): Promise<void>;
|
56
|
+
/**
|
57
|
+
* Lists all the available event sources associated with the subscription and within the specified
|
58
|
+
* resource group and environment.
|
59
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
60
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
61
|
+
* specified resource group.
|
62
|
+
* @param options The options parameters.
|
63
|
+
*/
|
64
|
+
listByEnvironment(resourceGroupName: string, environmentName: string, options?: EventSourcesListByEnvironmentOptionalParams): Promise<EventSourcesListByEnvironmentResponse>;
|
65
|
+
}
|
66
|
+
//# sourceMappingURL=eventSources.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eventSources.d.ts","sourceRoot":"","sources":["../../../src/operations/eventSources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,wCAAwC,EACxC,wCAAwC,EACxC,kCAAkC,EAClC,6BAA6B,EAC7B,uBAAuB,EACvB,gCAAgC,EAChC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,2CAA2C,EAC3C,qCAAqC,EACtC,MAAM,oBAAoB,CAAC;AAE5B,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,wCAAwC,EACpD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAa9C;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAOnC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,2BAA2B,EAAE,gCAAgC,EAC7D,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAatC;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;OAOG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;CAMlD"}
|
@@ -0,0 +1,218 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
exports.EventSourcesImpl = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
15
|
+
/** Class containing EventSources operations. */
|
16
|
+
class EventSourcesImpl {
|
17
|
+
/**
|
18
|
+
* Initialize a new instance of the class EventSources class.
|
19
|
+
* @param client Reference to the service client
|
20
|
+
*/
|
21
|
+
constructor(client) {
|
22
|
+
this.client = client;
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* Create or update an event source under the specified environment.
|
26
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
27
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
28
|
+
* specified resource group.
|
29
|
+
* @param eventSourceName Name of the event source.
|
30
|
+
* @param parameters Parameters for creating an event source resource.
|
31
|
+
* @param options The options parameters.
|
32
|
+
*/
|
33
|
+
createOrUpdate(resourceGroupName, environmentName, eventSourceName, parameters, options) {
|
34
|
+
return this.client.sendOperationRequest({
|
35
|
+
resourceGroupName,
|
36
|
+
environmentName,
|
37
|
+
eventSourceName,
|
38
|
+
parameters,
|
39
|
+
options
|
40
|
+
}, createOrUpdateOperationSpec);
|
41
|
+
}
|
42
|
+
/**
|
43
|
+
* Gets the event source with the specified name in the specified environment.
|
44
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
45
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
46
|
+
* specified resource group.
|
47
|
+
* @param eventSourceName The name of the Time Series Insights event source associated with the
|
48
|
+
* specified environment.
|
49
|
+
* @param options The options parameters.
|
50
|
+
*/
|
51
|
+
get(resourceGroupName, environmentName, eventSourceName, options) {
|
52
|
+
return this.client.sendOperationRequest({ resourceGroupName, environmentName, eventSourceName, options }, getOperationSpec);
|
53
|
+
}
|
54
|
+
/**
|
55
|
+
* Updates the event source with the specified name in the specified subscription, resource group, and
|
56
|
+
* environment.
|
57
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
58
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
59
|
+
* specified resource group.
|
60
|
+
* @param eventSourceName The name of the Time Series Insights event source associated with the
|
61
|
+
* specified environment.
|
62
|
+
* @param eventSourceUpdateParameters Request object that contains the updated information for the
|
63
|
+
* event source.
|
64
|
+
* @param options The options parameters.
|
65
|
+
*/
|
66
|
+
update(resourceGroupName, environmentName, eventSourceName, eventSourceUpdateParameters, options) {
|
67
|
+
return this.client.sendOperationRequest({
|
68
|
+
resourceGroupName,
|
69
|
+
environmentName,
|
70
|
+
eventSourceName,
|
71
|
+
eventSourceUpdateParameters,
|
72
|
+
options
|
73
|
+
}, updateOperationSpec);
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* Deletes the event source with the specified name in the specified subscription, resource group, and
|
77
|
+
* environment
|
78
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
79
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
80
|
+
* specified resource group.
|
81
|
+
* @param eventSourceName The name of the Time Series Insights event source associated with the
|
82
|
+
* specified environment.
|
83
|
+
* @param options The options parameters.
|
84
|
+
*/
|
85
|
+
delete(resourceGroupName, environmentName, eventSourceName, options) {
|
86
|
+
return this.client.sendOperationRequest({ resourceGroupName, environmentName, eventSourceName, options }, deleteOperationSpec);
|
87
|
+
}
|
88
|
+
/**
|
89
|
+
* Lists all the available event sources associated with the subscription and within the specified
|
90
|
+
* resource group and environment.
|
91
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
92
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
93
|
+
* specified resource group.
|
94
|
+
* @param options The options parameters.
|
95
|
+
*/
|
96
|
+
listByEnvironment(resourceGroupName, environmentName, options) {
|
97
|
+
return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, listByEnvironmentOperationSpec);
|
98
|
+
}
|
99
|
+
}
|
100
|
+
exports.EventSourcesImpl = EventSourcesImpl;
|
101
|
+
// Operation Specifications
|
102
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
103
|
+
const createOrUpdateOperationSpec = {
|
104
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}",
|
105
|
+
httpMethod: "PUT",
|
106
|
+
responses: {
|
107
|
+
200: {
|
108
|
+
bodyMapper: Mappers.EventSourceResource
|
109
|
+
},
|
110
|
+
201: {
|
111
|
+
bodyMapper: Mappers.EventSourceResource
|
112
|
+
},
|
113
|
+
default: {
|
114
|
+
bodyMapper: Mappers.CloudError
|
115
|
+
}
|
116
|
+
},
|
117
|
+
requestBody: Parameters.parameters1,
|
118
|
+
queryParameters: [Parameters.apiVersion],
|
119
|
+
urlParameters: [
|
120
|
+
Parameters.$host,
|
121
|
+
Parameters.subscriptionId,
|
122
|
+
Parameters.resourceGroupName,
|
123
|
+
Parameters.environmentName1,
|
124
|
+
Parameters.eventSourceName
|
125
|
+
],
|
126
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
127
|
+
mediaType: "json",
|
128
|
+
serializer
|
129
|
+
};
|
130
|
+
const getOperationSpec = {
|
131
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}",
|
132
|
+
httpMethod: "GET",
|
133
|
+
responses: {
|
134
|
+
200: {
|
135
|
+
bodyMapper: Mappers.EventSourceResource
|
136
|
+
},
|
137
|
+
default: {
|
138
|
+
bodyMapper: Mappers.CloudError
|
139
|
+
}
|
140
|
+
},
|
141
|
+
queryParameters: [Parameters.apiVersion],
|
142
|
+
urlParameters: [
|
143
|
+
Parameters.$host,
|
144
|
+
Parameters.subscriptionId,
|
145
|
+
Parameters.resourceGroupName,
|
146
|
+
Parameters.environmentName1,
|
147
|
+
Parameters.eventSourceName1
|
148
|
+
],
|
149
|
+
headerParameters: [Parameters.accept],
|
150
|
+
serializer
|
151
|
+
};
|
152
|
+
const updateOperationSpec = {
|
153
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}",
|
154
|
+
httpMethod: "PATCH",
|
155
|
+
responses: {
|
156
|
+
200: {
|
157
|
+
bodyMapper: Mappers.EventSourceResource
|
158
|
+
},
|
159
|
+
default: {
|
160
|
+
bodyMapper: Mappers.CloudError
|
161
|
+
}
|
162
|
+
},
|
163
|
+
requestBody: Parameters.eventSourceUpdateParameters,
|
164
|
+
queryParameters: [Parameters.apiVersion],
|
165
|
+
urlParameters: [
|
166
|
+
Parameters.$host,
|
167
|
+
Parameters.subscriptionId,
|
168
|
+
Parameters.resourceGroupName,
|
169
|
+
Parameters.environmentName1,
|
170
|
+
Parameters.eventSourceName1
|
171
|
+
],
|
172
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
173
|
+
mediaType: "json",
|
174
|
+
serializer
|
175
|
+
};
|
176
|
+
const deleteOperationSpec = {
|
177
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}",
|
178
|
+
httpMethod: "DELETE",
|
179
|
+
responses: {
|
180
|
+
200: {},
|
181
|
+
204: {},
|
182
|
+
default: {
|
183
|
+
bodyMapper: Mappers.CloudError
|
184
|
+
}
|
185
|
+
},
|
186
|
+
queryParameters: [Parameters.apiVersion],
|
187
|
+
urlParameters: [
|
188
|
+
Parameters.$host,
|
189
|
+
Parameters.subscriptionId,
|
190
|
+
Parameters.resourceGroupName,
|
191
|
+
Parameters.environmentName1,
|
192
|
+
Parameters.eventSourceName1
|
193
|
+
],
|
194
|
+
headerParameters: [Parameters.accept],
|
195
|
+
serializer
|
196
|
+
};
|
197
|
+
const listByEnvironmentOperationSpec = {
|
198
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources",
|
199
|
+
httpMethod: "GET",
|
200
|
+
responses: {
|
201
|
+
200: {
|
202
|
+
bodyMapper: Mappers.EventSourceListResponse
|
203
|
+
},
|
204
|
+
default: {
|
205
|
+
bodyMapper: Mappers.CloudError
|
206
|
+
}
|
207
|
+
},
|
208
|
+
queryParameters: [Parameters.apiVersion],
|
209
|
+
urlParameters: [
|
210
|
+
Parameters.$host,
|
211
|
+
Parameters.subscriptionId,
|
212
|
+
Parameters.resourceGroupName,
|
213
|
+
Parameters.environmentName1
|
214
|
+
],
|
215
|
+
headerParameters: [Parameters.accept],
|
216
|
+
serializer
|
217
|
+
};
|
218
|
+
//# sourceMappingURL=eventSources.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eventSources.js","sourceRoot":"","sources":["../../../src/operations/eventSources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAgBtD,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAyB,EACzB,eAAuB,EACvB,eAAuB,EACvB,UAAoD,EACpD,OAAkD;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,eAAe;YACf,eAAe;YACf,UAAU;YACV,OAAO;SACR,EACD,2BAA2B,CAC5B,CAAC;IACJ,CAAC;IAED;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAyB,EACzB,eAAuB,EACvB,eAAuB,EACvB,OAAuC;QAEvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAi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C3B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,yKAAyK;IAC3K,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EACF,uJAAuJ;IACzJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;KAC5B;IACD,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 { EventSources } 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 { TimeSeriesInsightsClient } from \"../timeSeriesInsightsClient.js\";\nimport {\n EventSourceCreateOrUpdateParametersUnion,\n EventSourcesCreateOrUpdateOptionalParams,\n EventSourcesCreateOrUpdateResponse,\n EventSourcesGetOptionalParams,\n EventSourcesGetResponse,\n EventSourceUpdateParametersUnion,\n EventSourcesUpdateOptionalParams,\n EventSourcesUpdateResponse,\n EventSourcesDeleteOptionalParams,\n EventSourcesListByEnvironmentOptionalParams,\n EventSourcesListByEnvironmentResponse\n} from \"../models/index.js\";\n\n/** Class containing EventSources operations. */\nexport class EventSourcesImpl implements EventSources {\n private readonly client: TimeSeriesInsightsClient;\n\n /**\n * Initialize a new instance of the class EventSources class.\n * @param client Reference to the service client\n */\n constructor(client: TimeSeriesInsightsClient) {\n this.client = client;\n }\n\n /**\n * Create or update an event source under the specified environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param eventSourceName Name of the event source.\n * @param parameters Parameters for creating an event source resource.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n eventSourceName: string,\n parameters: EventSourceCreateOrUpdateParametersUnion,\n options?: EventSourcesCreateOrUpdateOptionalParams\n ): Promise<EventSourcesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n eventSourceName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Gets the event source with the specified name in the specified environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param eventSourceName The name of the Time Series Insights event source associated with the\n * specified environment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n eventSourceName: string,\n options?: EventSourcesGetOptionalParams\n ): Promise<EventSourcesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, eventSourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Updates the event source with the specified name in the specified subscription, resource group, and\n * environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param eventSourceName The name of the Time Series Insights event source associated with the\n * specified environment.\n * @param eventSourceUpdateParameters Request object that contains the updated information for the\n * event source.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n environmentName: string,\n eventSourceName: string,\n eventSourceUpdateParameters: EventSourceUpdateParametersUnion,\n options?: EventSourcesUpdateOptionalParams\n ): Promise<EventSourcesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n eventSourceName,\n eventSourceUpdateParameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Deletes the event source with the specified name in the specified subscription, resource group, and\n * environment\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param eventSourceName The name of the Time Series Insights event source associated with the\n * specified environment.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n eventSourceName: string,\n options?: EventSourcesDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, eventSourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists all the available event sources associated with the subscription and within the specified\n * resource group and environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param options The options parameters.\n */\n listByEnvironment(\n resourceGroupName: string,\n environmentName: string,\n options?: EventSourcesListByEnvironmentOptionalParams\n ): Promise<EventSourcesListByEnvironmentResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listByEnvironmentOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSourceResource\n },\n 201: {\n bodyMapper: Mappers.EventSourceResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.eventSourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSourceResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.eventSourceName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSourceResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.eventSourceUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.eventSourceName1\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.eventSourceName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByEnvironmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EventSourceListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export * from "./operations.js";
|
2
|
+
export * from "./environments.js";
|
3
|
+
export * from "./eventSources.js";
|
4
|
+
export * from "./referenceDataSets.js";
|
5
|
+
export * from "./accessPolicies.js";
|
6
|
+
export * from "./privateEndpointConnections.js";
|
7
|
+
export * from "./privateLinkResources.js";
|
8
|
+
//# 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,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
const tslib_1 = require("tslib");
|
11
|
+
tslib_1.__exportStar(require("./operations.js"), exports);
|
12
|
+
tslib_1.__exportStar(require("./environments.js"), exports);
|
13
|
+
tslib_1.__exportStar(require("./eventSources.js"), exports);
|
14
|
+
tslib_1.__exportStar(require("./referenceDataSets.js"), exports);
|
15
|
+
tslib_1.__exportStar(require("./accessPolicies.js"), exports);
|
16
|
+
tslib_1.__exportStar(require("./privateEndpointConnections.js"), exports);
|
17
|
+
tslib_1.__exportStar(require("./privateLinkResources.js"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,4DAAkC;AAClC,4DAAkC;AAClC,iEAAuC;AACvC,8DAAoC;AACpC,0EAAgD;AAChD,oEAA0C","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 \"./operations.js\";\nexport * from \"./environments.js\";\nexport * from \"./eventSources.js\";\nexport * from \"./referenceDataSets.js\";\nexport * from \"./accessPolicies.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\n"]}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
3
|
+
import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient.js";
|
4
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
5
|
+
/** Class containing Operations operations. */
|
6
|
+
export declare class OperationsImpl implements Operations {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class Operations class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: TimeSeriesInsightsClient);
|
13
|
+
/**
|
14
|
+
* Lists all of the available Time Series Insights related operations.
|
15
|
+
* @param options The options parameters.
|
16
|
+
*/
|
17
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
18
|
+
private listPagingPage;
|
19
|
+
private listPagingAll;
|
20
|
+
/**
|
21
|
+
* Lists all of the available Time Series Insights related operations.
|
22
|
+
* @param options The options parameters.
|
23
|
+
*/
|
24
|
+
private _list;
|
25
|
+
/**
|
26
|
+
* ListNext
|
27
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
private _listNext;
|
31
|
+
}
|
32
|
+
//# 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,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
@@ -0,0 +1,137 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
exports.OperationsImpl = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
17
|
+
/** Class containing Operations operations. */
|
18
|
+
class OperationsImpl {
|
19
|
+
/**
|
20
|
+
* Initialize a new instance of the class Operations class.
|
21
|
+
* @param client Reference to the service client
|
22
|
+
*/
|
23
|
+
constructor(client) {
|
24
|
+
this.client = client;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Lists all of the available Time Series Insights related operations.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
list(options) {
|
31
|
+
const iter = this.listPagingAll(options);
|
32
|
+
return {
|
33
|
+
next() {
|
34
|
+
return iter.next();
|
35
|
+
},
|
36
|
+
[Symbol.asyncIterator]() {
|
37
|
+
return this;
|
38
|
+
},
|
39
|
+
byPage: (settings) => {
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
41
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
42
|
+
}
|
43
|
+
return this.listPagingPage(options, settings);
|
44
|
+
}
|
45
|
+
};
|
46
|
+
}
|
47
|
+
listPagingPage(options, settings) {
|
48
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
49
|
+
let result;
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
51
|
+
if (!continuationToken) {
|
52
|
+
result = yield tslib_1.__await(this._list(options));
|
53
|
+
let page = result.value || [];
|
54
|
+
continuationToken = result.nextLink;
|
55
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
56
|
+
yield yield tslib_1.__await(page);
|
57
|
+
}
|
58
|
+
while (continuationToken) {
|
59
|
+
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
60
|
+
continuationToken = result.nextLink;
|
61
|
+
let page = result.value || [];
|
62
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
63
|
+
yield yield tslib_1.__await(page);
|
64
|
+
}
|
65
|
+
});
|
66
|
+
}
|
67
|
+
listPagingAll(options) {
|
68
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
69
|
+
var _a, e_1, _b, _c;
|
70
|
+
try {
|
71
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
72
|
+
_c = _f.value;
|
73
|
+
_d = false;
|
74
|
+
const page = _c;
|
75
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
76
|
+
}
|
77
|
+
}
|
78
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
79
|
+
finally {
|
80
|
+
try {
|
81
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
82
|
+
}
|
83
|
+
finally { if (e_1) throw e_1.error; }
|
84
|
+
}
|
85
|
+
});
|
86
|
+
}
|
87
|
+
/**
|
88
|
+
* Lists all of the available Time Series Insights related operations.
|
89
|
+
* @param options The options parameters.
|
90
|
+
*/
|
91
|
+
_list(options) {
|
92
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
93
|
+
}
|
94
|
+
/**
|
95
|
+
* ListNext
|
96
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
97
|
+
* @param options The options parameters.
|
98
|
+
*/
|
99
|
+
_listNext(nextLink, options) {
|
100
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
101
|
+
}
|
102
|
+
}
|
103
|
+
exports.OperationsImpl = OperationsImpl;
|
104
|
+
// Operation Specifications
|
105
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
106
|
+
const listOperationSpec = {
|
107
|
+
path: "/providers/Microsoft.TimeSeriesInsights/operations",
|
108
|
+
httpMethod: "GET",
|
109
|
+
responses: {
|
110
|
+
200: {
|
111
|
+
bodyMapper: Mappers.OperationListResult
|
112
|
+
},
|
113
|
+
default: {
|
114
|
+
bodyMapper: Mappers.CloudError
|
115
|
+
}
|
116
|
+
},
|
117
|
+
queryParameters: [Parameters.apiVersion],
|
118
|
+
urlParameters: [Parameters.$host],
|
119
|
+
headerParameters: [Parameters.accept],
|
120
|
+
serializer
|
121
|
+
};
|
122
|
+
const listNextOperationSpec = {
|
123
|
+
path: "{nextLink}",
|
124
|
+
httpMethod: "GET",
|
125
|
+
responses: {
|
126
|
+
200: {
|
127
|
+
bodyMapper: Mappers.OperationListResult
|
128
|
+
},
|
129
|
+
default: {
|
130
|
+
bodyMapper: Mappers.CloudError
|
131
|
+
}
|
132
|
+
},
|
133
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
134
|
+
headerParameters: [Parameters.accept],
|
135
|
+
serializer
|
136
|
+
};
|
137
|
+
//# sourceMappingURL=operations.js.map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D,IAAI,EAAE,oDAAoD;IAC1D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,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 { setContinuationToken } from \"../pagingHelper.js\";\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 { TimeSeriesInsightsClient } from \"../timeSeriesInsightsClient.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: TimeSeriesInsightsClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: TimeSeriesInsightsClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Time Series Insights related operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\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?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Time Series Insights related operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.TimeSeriesInsights/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|