@azure/arm-timeseriesinsights 2.1.0-alpha.20250211.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,44 @@
|
|
1
|
+
import { PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsListByEnvironmentOptionalParams, PrivateEndpointConnectionsListByEnvironmentResponse } from "../models/index.js";
|
2
|
+
/** Interface representing a PrivateEndpointConnections. */
|
3
|
+
export interface PrivateEndpointConnections {
|
4
|
+
/**
|
5
|
+
* Updates a Private Endpoint connection of the environment in the given resource group.
|
6
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
7
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
8
|
+
* specified resource group.
|
9
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
10
|
+
* Azure resource
|
11
|
+
* @param privateEndpointConnection The definition of the private endpoint connection to update.
|
12
|
+
* @param options The options parameters.
|
13
|
+
*/
|
14
|
+
createOrUpdate(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
15
|
+
/**
|
16
|
+
* Gets the details of the private endpoint connection of the environment in the given resource group.
|
17
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
18
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
19
|
+
* specified resource group.
|
20
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
21
|
+
* Azure resource
|
22
|
+
* @param options The options parameters.
|
23
|
+
*/
|
24
|
+
get(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
25
|
+
/**
|
26
|
+
* Disconnects the private endpoint connection and deletes it from the environment.
|
27
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
28
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
29
|
+
* specified resource group.
|
30
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
31
|
+
* Azure resource
|
32
|
+
* @param options The options parameters.
|
33
|
+
*/
|
34
|
+
delete(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
35
|
+
/**
|
36
|
+
* Gets a list of all private endpoint connections in the given environment.
|
37
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
38
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
39
|
+
* specified resource group.
|
40
|
+
* @param options The options parameters.
|
41
|
+
*/
|
42
|
+
listByEnvironment(resourceGroupName: string, environmentName: string, options?: PrivateEndpointConnectionsListByEnvironmentOptionalParams): Promise<PrivateEndpointConnectionsListByEnvironmentResponse>;
|
43
|
+
}
|
44
|
+
//# sourceMappingURL=privateEndpointConnections.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,yBAAyB,EACzB,sDAAsD,EACtD,gDAAgD,EAChD,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC9C,yDAAyD,EACzD,mDAAmD,EACpD,MAAM,oBAAoB,CAAC;AAE5B,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;IAC7D;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,yDAAyD,GAClE,OAAO,CAAC,mDAAmD,CAAC,CAAC;CACjE"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
export {};
|
9
|
+
//# sourceMappingURL=privateEndpointConnections.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n PrivateEndpointConnectionsCreateOrUpdateResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsListByEnvironmentOptionalParams,\n PrivateEndpointConnectionsListByEnvironmentResponse\n} from \"../models/index.js\";\n\n/** Interface representing a PrivateEndpointConnections. */\nexport interface PrivateEndpointConnections {\n /**\n * Updates a Private Endpoint connection of the environment in the given 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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param privateEndpointConnection The definition of the private endpoint connection to update.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams\n ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;\n /**\n * Gets the details of the private endpoint connection of the environment in the given 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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams\n ): Promise<PrivateEndpointConnectionsGetResponse>;\n /**\n * Disconnects the private endpoint connection and deletes it from the 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 privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Gets a list of all private endpoint connections in the given 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?: PrivateEndpointConnectionsListByEnvironmentOptionalParams\n ): Promise<PrivateEndpointConnectionsListByEnvironmentResponse>;\n}\n"]}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { PrivateLinkResource, PrivateLinkResourcesListSupportedOptionalParams } from "../models/index.js";
|
3
|
+
/** Interface representing a PrivateLinkResources. */
|
4
|
+
export interface PrivateLinkResources {
|
5
|
+
/**
|
6
|
+
* Gets a list of all supported private link resource types for the given environment.
|
7
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
8
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
9
|
+
* specified resource group.
|
10
|
+
* @param options The options parameters.
|
11
|
+
*/
|
12
|
+
listSupported(resourceGroupName: string, environmentName: string, options?: PrivateLinkResourcesListSupportedOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=privateLinkResources.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,+CAA+C,EAChD,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;CACpD"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
export {};
|
9
|
+
//# sourceMappingURL=privateLinkResources.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n PrivateLinkResource,\n PrivateLinkResourcesListSupportedOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateLinkResources. */\nexport interface PrivateLinkResources {\n /**\n * Gets a list of all supported private link resource types for the given 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 listSupported(\n resourceGroupName: string,\n environmentName: string,\n options?: PrivateLinkResourcesListSupportedOptionalParams\n ): PagedAsyncIterableIterator<PrivateLinkResource>;\n}\n"]}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { ReferenceDataSetCreateOrUpdateParameters, ReferenceDataSetsCreateOrUpdateOptionalParams, ReferenceDataSetsCreateOrUpdateResponse, ReferenceDataSetsGetOptionalParams, ReferenceDataSetsGetResponse, ReferenceDataSetUpdateParameters, ReferenceDataSetsUpdateOptionalParams, ReferenceDataSetsUpdateResponse, ReferenceDataSetsDeleteOptionalParams, ReferenceDataSetsListByEnvironmentOptionalParams, ReferenceDataSetsListByEnvironmentResponse } from "../models/index.js";
|
2
|
+
/** Interface representing a ReferenceDataSets. */
|
3
|
+
export interface ReferenceDataSets {
|
4
|
+
/**
|
5
|
+
* Create or update a reference data set in the specified environment.
|
6
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
7
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
8
|
+
* specified resource group.
|
9
|
+
* @param referenceDataSetName Name of the reference data set.
|
10
|
+
* @param parameters Parameters for creating a reference data set.
|
11
|
+
* @param options The options parameters.
|
12
|
+
*/
|
13
|
+
createOrUpdate(resourceGroupName: string, environmentName: string, referenceDataSetName: string, parameters: ReferenceDataSetCreateOrUpdateParameters, options?: ReferenceDataSetsCreateOrUpdateOptionalParams): Promise<ReferenceDataSetsCreateOrUpdateResponse>;
|
14
|
+
/**
|
15
|
+
* Gets the reference data set with the specified name in the specified environment.
|
16
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
17
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
18
|
+
* specified resource group.
|
19
|
+
* @param referenceDataSetName The name of the Time Series Insights reference data set associated with
|
20
|
+
* the specified environment.
|
21
|
+
* @param options The options parameters.
|
22
|
+
*/
|
23
|
+
get(resourceGroupName: string, environmentName: string, referenceDataSetName: string, options?: ReferenceDataSetsGetOptionalParams): Promise<ReferenceDataSetsGetResponse>;
|
24
|
+
/**
|
25
|
+
* Updates the reference data set with the specified name in the specified subscription, resource
|
26
|
+
* group, and environment.
|
27
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
28
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
29
|
+
* specified resource group.
|
30
|
+
* @param referenceDataSetName The name of the Time Series Insights reference data set associated with
|
31
|
+
* the specified environment.
|
32
|
+
* @param referenceDataSetUpdateParameters Request object that contains the updated information for the
|
33
|
+
* reference data set.
|
34
|
+
* @param options The options parameters.
|
35
|
+
*/
|
36
|
+
update(resourceGroupName: string, environmentName: string, referenceDataSetName: string, referenceDataSetUpdateParameters: ReferenceDataSetUpdateParameters, options?: ReferenceDataSetsUpdateOptionalParams): Promise<ReferenceDataSetsUpdateResponse>;
|
37
|
+
/**
|
38
|
+
* Deletes the reference data set with the specified name in the specified subscription, resource
|
39
|
+
* group, and environment
|
40
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
41
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
42
|
+
* specified resource group.
|
43
|
+
* @param referenceDataSetName The name of the Time Series Insights reference data set associated with
|
44
|
+
* the specified environment.
|
45
|
+
* @param options The options parameters.
|
46
|
+
*/
|
47
|
+
delete(resourceGroupName: string, environmentName: string, referenceDataSetName: string, options?: ReferenceDataSetsDeleteOptionalParams): Promise<void>;
|
48
|
+
/**
|
49
|
+
* Lists all the available reference data sets associated with the subscription and within the
|
50
|
+
* specified resource group and environment.
|
51
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
52
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
53
|
+
* specified resource group.
|
54
|
+
* @param options The options parameters.
|
55
|
+
*/
|
56
|
+
listByEnvironment(resourceGroupName: string, environmentName: string, options?: ReferenceDataSetsListByEnvironmentOptionalParams): Promise<ReferenceDataSetsListByEnvironmentResponse>;
|
57
|
+
}
|
58
|
+
//# sourceMappingURL=referenceDataSets.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSets.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/referenceDataSets.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,wCAAwC,EACxC,6CAA6C,EAC7C,uCAAuC,EACvC,kCAAkC,EAClC,4BAA4B,EAC5B,gCAAgC,EAChC,qCAAqC,EACrC,+BAA+B,EAC/B,qCAAqC,EACrC,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAE5B,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,oBAAoB,EAAE,MAAM,EAC5B,UAAU,EAAE,wCAAwC,EACpD,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACpD;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,oBAAoB,EAAE,MAAM,EAC5B,gCAAgC,EAAE,gCAAgC,EAClE,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
export {};
|
9
|
+
//# sourceMappingURL=referenceDataSets.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSets.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/referenceDataSets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n ReferenceDataSetCreateOrUpdateParameters,\n ReferenceDataSetsCreateOrUpdateOptionalParams,\n ReferenceDataSetsCreateOrUpdateResponse,\n ReferenceDataSetsGetOptionalParams,\n ReferenceDataSetsGetResponse,\n ReferenceDataSetUpdateParameters,\n ReferenceDataSetsUpdateOptionalParams,\n ReferenceDataSetsUpdateResponse,\n ReferenceDataSetsDeleteOptionalParams,\n ReferenceDataSetsListByEnvironmentOptionalParams,\n ReferenceDataSetsListByEnvironmentResponse\n} from \"../models/index.js\";\n\n/** Interface representing a ReferenceDataSets. */\nexport interface ReferenceDataSets {\n /**\n * Create or update a reference data set 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 referenceDataSetName Name of the reference data set.\n * @param parameters Parameters for creating a reference data set.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n referenceDataSetName: string,\n parameters: ReferenceDataSetCreateOrUpdateParameters,\n options?: ReferenceDataSetsCreateOrUpdateOptionalParams\n ): Promise<ReferenceDataSetsCreateOrUpdateResponse>;\n /**\n * Gets the reference data set 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 referenceDataSetName The name of the Time Series Insights reference data set associated with\n * the specified environment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n referenceDataSetName: string,\n options?: ReferenceDataSetsGetOptionalParams\n ): Promise<ReferenceDataSetsGetResponse>;\n /**\n * Updates the reference data set with the specified name in the specified subscription, resource\n * 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 referenceDataSetName The name of the Time Series Insights reference data set associated with\n * the specified environment.\n * @param referenceDataSetUpdateParameters Request object that contains the updated information for the\n * reference data set.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n environmentName: string,\n referenceDataSetName: string,\n referenceDataSetUpdateParameters: ReferenceDataSetUpdateParameters,\n options?: ReferenceDataSetsUpdateOptionalParams\n ): Promise<ReferenceDataSetsUpdateResponse>;\n /**\n * Deletes the reference data set with the specified name in the specified subscription, resource\n * 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 referenceDataSetName The name of the Time Series Insights reference data set associated with\n * the specified environment.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n referenceDataSetName: string,\n options?: ReferenceDataSetsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Lists all the available reference data sets associated with the subscription and within the\n * specified 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?: ReferenceDataSetsListByEnvironmentOptionalParams\n ): Promise<ReferenceDataSetsListByEnvironmentResponse>;\n}\n"]}
|
@@ -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,32 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
const pageMap = new WeakMap();
|
9
|
+
/**
|
10
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
11
|
+
* returns a continuation token that can be used to begin paging from
|
12
|
+
* that point later.
|
13
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
14
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
15
|
+
*/
|
16
|
+
export function getContinuationToken(page) {
|
17
|
+
var _a;
|
18
|
+
if (typeof page !== "object" || page === null) {
|
19
|
+
return undefined;
|
20
|
+
}
|
21
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
22
|
+
}
|
23
|
+
export function setContinuationToken(page, continuationToken) {
|
24
|
+
var _a;
|
25
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
26
|
+
return;
|
27
|
+
}
|
28
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
29
|
+
pageInfo.continuationToken = continuationToken;
|
30
|
+
pageMap.set(page, pageInfo);
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=pagingHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,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,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,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,103 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import * as coreClient from "@azure/core-client";
|
9
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
10
|
+
import { OperationsImpl, EnvironmentsImpl, EventSourcesImpl, ReferenceDataSetsImpl, AccessPoliciesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl } from "./operations/index.js";
|
11
|
+
export class TimeSeriesInsightsClient extends coreClient.ServiceClient {
|
12
|
+
/**
|
13
|
+
* Initializes a new instance of the TimeSeriesInsightsClient class.
|
14
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
15
|
+
* @param subscriptionId Azure Subscription ID.
|
16
|
+
* @param options The parameter options
|
17
|
+
*/
|
18
|
+
constructor(credentials, subscriptionId, options) {
|
19
|
+
var _a, _b, _c;
|
20
|
+
if (credentials === undefined) {
|
21
|
+
throw new Error("'credentials' cannot be null");
|
22
|
+
}
|
23
|
+
if (subscriptionId === undefined) {
|
24
|
+
throw new Error("'subscriptionId' cannot be null");
|
25
|
+
}
|
26
|
+
// Initializing default values for options
|
27
|
+
if (!options) {
|
28
|
+
options = {};
|
29
|
+
}
|
30
|
+
const defaults = {
|
31
|
+
requestContentType: "application/json; charset=utf-8",
|
32
|
+
credential: credentials
|
33
|
+
};
|
34
|
+
const packageDetails = `azsdk-js-arm-timeseriesinsights/2.1.0-beta.3`;
|
35
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
36
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
37
|
+
: `${packageDetails}`;
|
38
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
39
|
+
userAgentPrefix
|
40
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
41
|
+
super(optionsWithDefaults);
|
42
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
43
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
44
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
45
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
46
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
47
|
+
}
|
48
|
+
if (!options ||
|
49
|
+
!options.pipeline ||
|
50
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
51
|
+
!bearerTokenAuthenticationPolicyFound) {
|
52
|
+
this.pipeline.removePolicy({
|
53
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
54
|
+
});
|
55
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
56
|
+
credential: credentials,
|
57
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
58
|
+
challengeCallbacks: {
|
59
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
60
|
+
}
|
61
|
+
}));
|
62
|
+
}
|
63
|
+
// Parameter assignments
|
64
|
+
this.subscriptionId = subscriptionId;
|
65
|
+
// Assigning values to Constant parameters
|
66
|
+
this.$host = options.$host || "https://management.azure.com";
|
67
|
+
this.apiVersion = options.apiVersion || "2021-03-31-preview";
|
68
|
+
this.operations = new OperationsImpl(this);
|
69
|
+
this.environments = new EnvironmentsImpl(this);
|
70
|
+
this.eventSources = new EventSourcesImpl(this);
|
71
|
+
this.referenceDataSets = new ReferenceDataSetsImpl(this);
|
72
|
+
this.accessPolicies = new AccessPoliciesImpl(this);
|
73
|
+
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
74
|
+
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
75
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
76
|
+
}
|
77
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
78
|
+
addCustomApiVersionPolicy(apiVersion) {
|
79
|
+
if (!apiVersion) {
|
80
|
+
return;
|
81
|
+
}
|
82
|
+
const apiVersionPolicy = {
|
83
|
+
name: "CustomApiVersionPolicy",
|
84
|
+
async sendRequest(request, next) {
|
85
|
+
const param = request.url.split("?");
|
86
|
+
if (param.length > 1) {
|
87
|
+
const newParams = param[1].split("&").map((item) => {
|
88
|
+
if (item.indexOf("api-version") > -1) {
|
89
|
+
return "api-version=" + apiVersion;
|
90
|
+
}
|
91
|
+
else {
|
92
|
+
return item;
|
93
|
+
}
|
94
|
+
});
|
95
|
+
request.url = param[0] + "?" + newParams.join("&");
|
96
|
+
}
|
97
|
+
return next(request);
|
98
|
+
}
|
99
|
+
};
|
100
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
101
|
+
}
|
102
|
+
}
|
103
|
+
//# sourceMappingURL=timeSeriesInsightsClient.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"timeSeriesInsightsClient.js","sourceRoot":"","sources":["../../src/timeSeriesInsightsClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,kBAAkB,EAClB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,uBAAuB,CAAC;AAY/B,MAAM,OAAO,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IAKpE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAgD;;QAEhD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA2C;YACvD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,8CAA8C,CAAC;QACtE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EACN,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,GACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GAAY,KAAK,CAAC;QAC1D,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,KAAI,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1E,MAAM,gBAAgB,GAAsC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;YAClG,oCAAoC,GAAG,gBAAgB,CAAC,IAAI,CAC1D,CAAC,cAAc,EAAE,EAAE,CACjB,cAAc,CAAC,IAAI;gBACnB,gBAAgB,CAAC,mCAAmC,CACvD,CAAC;QACJ,CAAC;QACD,IACE,CAAC,OAAO;YACR,CAAC,OAAO,CAAC,QAAQ;YACjB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,IAAI,CAAC;YACjD,CAAC,oCAAoC,EACrC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;gBACzB,IAAI,EAAE,gBAAgB,CAAC,mCAAmC;aAC3D,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,SAAS,CACrB,gBAAgB,CAAC,+BAA+B,CAAC;gBAC/C,UAAU,EAAE,WAAW;gBACvB,MAAM,EACJ,MAAA,mBAAmB,CAAC,gBAAgB,mCACpC,GAAG,mBAAmB,CAAC,QAAQ,WAAW;gBAC5C,kBAAkB,EAAE;oBAClB,2BAA2B,EACzB,UAAU,CAAC,gCAAgC;iBAC9C;aACF,CAAC,CACH,CAAC;QACJ,CAAC;QACD,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,YAAY,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,YAAY,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,cAAc,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,0BAA0B,GAAG,IAAI,8BAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CASF","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"]}
|
@@ -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"}
|
@@ -0,0 +1,13 @@
|
|
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
|
+
/// <reference lib="esnext.asynciterable" />
|
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,25 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __rest } from "tslib";
|
9
|
+
export class LroImpl {
|
10
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
11
|
+
this.sendOperationFn = sendOperationFn;
|
12
|
+
this.args = args;
|
13
|
+
this.spec = spec;
|
14
|
+
this.requestPath = requestPath;
|
15
|
+
this.requestMethod = requestMethod;
|
16
|
+
}
|
17
|
+
async sendInitialRequest() {
|
18
|
+
return this.sendOperationFn(this.args, this.spec);
|
19
|
+
}
|
20
|
+
async sendPollRequest(path) {
|
21
|
+
const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
|
22
|
+
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
23
|
+
}
|
24
|
+
}
|
25
|
+
//# 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;IAClB,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,KAA+B,IAAI,CAAC,IAAI,EAAxC,EAAE,WAAW,OAA2B,EAAtB,QAAQ,cAA1B,eAA4B,CAAY,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,kCAChC,QAAQ,KACX,IAAI,EACJ,UAAU,EAAE,KAAK,IACjB,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"]}
|