@azure/arm-timeseriesinsights 2.1.0-beta.2 → 2.1.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -3
- package/LICENSE +4 -4
- package/README.md +26 -17
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +47 -47
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +366 -164
- 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 +3 -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 +83 -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 +3 -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 +26 -41
- 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 +3 -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 +12 -27
- 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 +3 -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-esm/src → dist/browser}/pagingHelper.js +2 -4
- 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 +36 -24
- 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 +37 -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 +2372 -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 +218 -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 +325 -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 +219 -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 +121 -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 +183 -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 +95 -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 +219 -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 +34 -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 +123 -0
- package/dist/commonjs/timeSeriesInsightsClient.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- 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 +33 -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 +2368 -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 +213 -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 +320 -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 +214 -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 +116 -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 +178 -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 +90 -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 +214 -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 +30 -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 +118 -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 +33 -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 +2368 -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 +213 -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 +320 -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 +214 -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 +116 -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 +178 -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 +90 -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 +214 -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 +30 -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 +118 -0
- package/dist/react-native/timeSeriesInsightsClient.js.map +1 -0
- package/package.json +84 -73
- package/dist/index.js +0 -4204
- 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 -44
- 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 -39
- 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 -39
- 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 -38
- 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 -42
- 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 -45
- 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 -38
- 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 -38
- 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 -37
- 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 -36
- 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 -42
- 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 -87
- 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 -39
- 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 -39
- 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 -38
- 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 -43
- 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 -51
- 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 -45
- 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 -39
- 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 -39
- 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 -38
- 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 -46
- 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 -39
- 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 -39
- 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 -38
- 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 -42
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.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 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- 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.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/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/review/{arm-timeseriesinsights.api.md → arm-timeseriesinsights-node.api.md} +0 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
export interface PageInfo {
|
2
|
+
continuationToken?: string;
|
3
|
+
}
|
4
|
+
/**
|
5
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
6
|
+
* returns a continuation token that can be used to begin paging from
|
7
|
+
* that point later.
|
8
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
9
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
10
|
+
*/
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
@@ -0,0 +1,34 @@
|
|
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.getContinuationToken = getContinuationToken;
|
11
|
+
exports.setContinuationToken = setContinuationToken;
|
12
|
+
const pageMap = new WeakMap();
|
13
|
+
/**
|
14
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
15
|
+
* returns a continuation token that can be used to begin paging from
|
16
|
+
* that point later.
|
17
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
18
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
19
|
+
*/
|
20
|
+
function getContinuationToken(page) {
|
21
|
+
if (typeof page !== "object" || page === null) {
|
22
|
+
return undefined;
|
23
|
+
}
|
24
|
+
return pageMap.get(page)?.continuationToken;
|
25
|
+
}
|
26
|
+
function setContinuationToken(page, continuationToken) {
|
27
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
28
|
+
return;
|
29
|
+
}
|
30
|
+
const pageInfo = pageMap.get(page) ?? {};
|
31
|
+
pageInfo.continuationToken = continuationToken;
|
32
|
+
pageMap.set(page, pageInfo);
|
33
|
+
}
|
34
|
+
//# sourceMappingURL=pagingHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
3
|
+
import { Operations, Environments, EventSources, ReferenceDataSets, AccessPolicies, PrivateEndpointConnections, PrivateLinkResources } from "./operationsInterfaces/index.js";
|
4
|
+
import { TimeSeriesInsightsClientOptionalParams } from "./models/index.js";
|
5
|
+
export declare class TimeSeriesInsightsClient extends coreClient.ServiceClient {
|
6
|
+
$host: string;
|
7
|
+
apiVersion: string;
|
8
|
+
subscriptionId: string;
|
9
|
+
/**
|
10
|
+
* Initializes a new instance of the TimeSeriesInsightsClient class.
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
12
|
+
* @param subscriptionId Azure Subscription ID.
|
13
|
+
* @param options The parameter options
|
14
|
+
*/
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: TimeSeriesInsightsClientOptionalParams);
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
17
|
+
private addCustomApiVersionPolicy;
|
18
|
+
operations: Operations;
|
19
|
+
environments: Environments;
|
20
|
+
eventSources: EventSources;
|
21
|
+
referenceDataSets: ReferenceDataSets;
|
22
|
+
accessPolicies: AccessPolicies;
|
23
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
24
|
+
privateLinkResources: PrivateLinkResources;
|
25
|
+
}
|
26
|
+
//# sourceMappingURL=timeSeriesInsightsClient.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timeSeriesInsightsClient.d.ts","sourceRoot":"","sources":["../../src/timeSeriesInsightsClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAU7C,OAAO,EACL,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,0BAA0B,EAC1B,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAE3E,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sCAAsC;IAkFlD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC;IAC3B,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,cAAc,EAAE,cAAc,CAAC;IAC/B,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
|
@@ -0,0 +1,123 @@
|
|
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.TimeSeriesInsightsClient = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
13
|
+
const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
|
14
|
+
const index_js_1 = require("./operations/index.js");
|
15
|
+
class TimeSeriesInsightsClient extends coreClient.ServiceClient {
|
16
|
+
$host;
|
17
|
+
apiVersion;
|
18
|
+
subscriptionId;
|
19
|
+
/**
|
20
|
+
* Initializes a new instance of the TimeSeriesInsightsClient class.
|
21
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
22
|
+
* @param subscriptionId Azure Subscription ID.
|
23
|
+
* @param options The parameter options
|
24
|
+
*/
|
25
|
+
constructor(credentials, subscriptionId, options) {
|
26
|
+
if (credentials === undefined) {
|
27
|
+
throw new Error("'credentials' cannot be null");
|
28
|
+
}
|
29
|
+
if (subscriptionId === undefined) {
|
30
|
+
throw new Error("'subscriptionId' cannot be null");
|
31
|
+
}
|
32
|
+
// Initializing default values for options
|
33
|
+
if (!options) {
|
34
|
+
options = {};
|
35
|
+
}
|
36
|
+
const defaults = {
|
37
|
+
requestContentType: "application/json; charset=utf-8",
|
38
|
+
credential: credentials
|
39
|
+
};
|
40
|
+
const packageDetails = `azsdk-js-arm-timeseriesinsights/2.1.0-beta.3`;
|
41
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
42
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
43
|
+
: `${packageDetails}`;
|
44
|
+
const optionsWithDefaults = {
|
45
|
+
...defaults,
|
46
|
+
...options,
|
47
|
+
userAgentOptions: {
|
48
|
+
userAgentPrefix
|
49
|
+
},
|
50
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
51
|
+
};
|
52
|
+
super(optionsWithDefaults);
|
53
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
54
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
55
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
56
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
57
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
58
|
+
}
|
59
|
+
if (!options ||
|
60
|
+
!options.pipeline ||
|
61
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
62
|
+
!bearerTokenAuthenticationPolicyFound) {
|
63
|
+
this.pipeline.removePolicy({
|
64
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
65
|
+
});
|
66
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
67
|
+
credential: credentials,
|
68
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
69
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
70
|
+
challengeCallbacks: {
|
71
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
72
|
+
}
|
73
|
+
}));
|
74
|
+
}
|
75
|
+
// Parameter assignments
|
76
|
+
this.subscriptionId = subscriptionId;
|
77
|
+
// Assigning values to Constant parameters
|
78
|
+
this.$host = options.$host || "https://management.azure.com";
|
79
|
+
this.apiVersion = options.apiVersion || "2021-03-31-preview";
|
80
|
+
this.operations = new index_js_1.OperationsImpl(this);
|
81
|
+
this.environments = new index_js_1.EnvironmentsImpl(this);
|
82
|
+
this.eventSources = new index_js_1.EventSourcesImpl(this);
|
83
|
+
this.referenceDataSets = new index_js_1.ReferenceDataSetsImpl(this);
|
84
|
+
this.accessPolicies = new index_js_1.AccessPoliciesImpl(this);
|
85
|
+
this.privateEndpointConnections = new index_js_1.PrivateEndpointConnectionsImpl(this);
|
86
|
+
this.privateLinkResources = new index_js_1.PrivateLinkResourcesImpl(this);
|
87
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
88
|
+
}
|
89
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
90
|
+
addCustomApiVersionPolicy(apiVersion) {
|
91
|
+
if (!apiVersion) {
|
92
|
+
return;
|
93
|
+
}
|
94
|
+
const apiVersionPolicy = {
|
95
|
+
name: "CustomApiVersionPolicy",
|
96
|
+
async sendRequest(request, next) {
|
97
|
+
const param = request.url.split("?");
|
98
|
+
if (param.length > 1) {
|
99
|
+
const newParams = param[1].split("&").map((item) => {
|
100
|
+
if (item.indexOf("api-version") > -1) {
|
101
|
+
return "api-version=" + apiVersion;
|
102
|
+
}
|
103
|
+
else {
|
104
|
+
return item;
|
105
|
+
}
|
106
|
+
});
|
107
|
+
request.url = param[0] + "?" + newParams.join("&");
|
108
|
+
}
|
109
|
+
return next(request);
|
110
|
+
}
|
111
|
+
};
|
112
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
113
|
+
}
|
114
|
+
operations;
|
115
|
+
environments;
|
116
|
+
eventSources;
|
117
|
+
referenceDataSets;
|
118
|
+
accessPolicies;
|
119
|
+
privateEndpointConnections;
|
120
|
+
privateLinkResources;
|
121
|
+
}
|
122
|
+
exports.TimeSeriesInsightsClient = TimeSeriesInsightsClient;
|
123
|
+
//# sourceMappingURL=timeSeriesInsightsClient.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timeSeriesInsightsClient.js","sourceRoot":"","sources":["../../src/timeSeriesInsightsClient.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n EnvironmentsImpl,\n EventSourcesImpl,\n ReferenceDataSetsImpl,\n AccessPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n Environments,\n EventSources,\n ReferenceDataSets,\n AccessPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources\n} from \"./operationsInterfaces/index.js\";\nimport { TimeSeriesInsightsClientOptionalParams } from \"./models/index.js\";\n\nexport class TimeSeriesInsightsClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the TimeSeriesInsightsClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure Subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: TimeSeriesInsightsClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: TimeSeriesInsightsClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-timeseriesinsights/2.1.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-03-31-preview\";\n this.operations = new OperationsImpl(this);\n this.environments = new EnvironmentsImpl(this);\n this.eventSources = new EventSourcesImpl(this);\n this.referenceDataSets = new ReferenceDataSetsImpl(this);\n this.accessPolicies = new AccessPoliciesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n environments: Environments;\n eventSources: EventSources;\n referenceDataSets: ReferenceDataSets;\n accessPolicies: AccessPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n}\n"]}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
3
|
-
{
|
4
|
-
"tsdocVersion": "0.12",
|
5
|
-
"toolPackages": [
|
6
|
-
{
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
8
|
-
"packageVersion": "7.
|
9
|
-
}
|
10
|
-
]
|
11
|
-
}
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
3
|
+
{
|
4
|
+
"tsdocVersion": "0.12",
|
5
|
+
"toolPackages": [
|
6
|
+
{
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
8
|
+
"packageVersion": "7.52.10"
|
9
|
+
}
|
10
|
+
]
|
11
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,cAAc,iCAAiC,CAAC"}
|
@@ -5,9 +5,9 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
-
|
9
8
|
/// <reference lib="esnext.asynciterable" />
|
10
|
-
export { getContinuationToken } from "./pagingHelper";
|
11
|
-
export * from "./models";
|
12
|
-
export { TimeSeriesInsightsClient } from "./timeSeriesInsightsClient";
|
13
|
-
export * from "./operationsInterfaces";
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
10
|
+
export * from "./models/index.js";
|
11
|
+
export { TimeSeriesInsightsClient } from "./timeSeriesInsightsClient.js";
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
13
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { TimeSeriesInsightsClient } from \"./timeSeriesInsightsClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
2
|
+
export declare class LroImpl<T> implements LongRunningOperation<T> {
|
3
|
+
private sendOperationFn;
|
4
|
+
private args;
|
5
|
+
private spec;
|
6
|
+
requestPath: string;
|
7
|
+
requestMethod: string;
|
8
|
+
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
9
|
+
readonly requestBody?: unknown;
|
10
|
+
readonly path?: string;
|
11
|
+
readonly httpMethod: string;
|
12
|
+
} & Record<string, any>, requestPath?: string, requestMethod?: string);
|
13
|
+
sendInitialRequest(): Promise<LroResponse<T>>;
|
14
|
+
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
export class LroImpl {
|
9
|
+
sendOperationFn;
|
10
|
+
args;
|
11
|
+
spec;
|
12
|
+
requestPath;
|
13
|
+
requestMethod;
|
14
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
15
|
+
this.sendOperationFn = sendOperationFn;
|
16
|
+
this.args = args;
|
17
|
+
this.spec = spec;
|
18
|
+
this.requestPath = requestPath;
|
19
|
+
this.requestMethod = requestMethod;
|
20
|
+
}
|
21
|
+
async sendInitialRequest() {
|
22
|
+
return this.sendOperationFn(this.args, this.spec);
|
23
|
+
}
|
24
|
+
async sendPollRequest(path) {
|
25
|
+
const { requestBody, ...restSpec } = this.spec;
|
26
|
+
return this.sendOperationFn(this.args, {
|
27
|
+
...restSpec,
|
28
|
+
path,
|
29
|
+
httpMethod: "GET"
|
30
|
+
});
|
31
|
+
}
|
32
|
+
}
|
33
|
+
//# sourceMappingURL=lroImpl.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,OAAO,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
|