@azure/arm-timeseriesinsights 2.1.0-alpha.20250212.1 → 2.1.0-alpha.20250213.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accessPolicies.d.ts +3 -3
- package/dist/browser/operations/accessPolicies.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/accessPolicies.js +2 -2
- package/dist/browser/operations/accessPolicies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/environments.d.ts +3 -3
- package/dist/browser/operations/environments.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/environments.js +72 -81
- package/dist/browser/operations/environments.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/eventSources.d.ts +3 -3
- package/dist/browser/operations/eventSources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/eventSources.js +2 -2
- package/dist/browser/operations/eventSources.js.map +1 -0
- package/dist/browser/operations/index.d.ts +8 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +15 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +2 -2
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/referenceDataSets.d.ts +3 -3
- package/dist/browser/operations/referenceDataSets.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/referenceDataSets.js +2 -2
- package/dist/browser/operations/referenceDataSets.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicies.d.ts +1 -1
- package/dist/browser/operationsInterfaces/accessPolicies.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/accessPolicies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/environments.d.ts +1 -1
- package/dist/browser/operationsInterfaces/environments.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/environments.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/eventSources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/eventSources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/eventSources.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +8 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +15 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/referenceDataSets.d.ts +1 -1
- package/dist/browser/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/referenceDataSets.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/timeSeriesInsightsClient.d.ts +2 -2
- package/dist/browser/timeSeriesInsightsClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/timeSeriesInsightsClient.js +15 -18
- package/dist/browser/timeSeriesInsightsClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-timeseriesinsights.d.ts → dist/commonjs/models/index.d.ts} +1320 -1830
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +183 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +100 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2170 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +28 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +242 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/accessPolicies.d.ts +65 -0
- package/dist/commonjs/operations/accessPolicies.d.ts.map +1 -0
- package/dist/commonjs/operations/accessPolicies.js +217 -0
- package/dist/commonjs/operations/accessPolicies.js.map +1 -0
- package/dist/commonjs/operations/environments.d.ts +78 -0
- package/dist/commonjs/operations/environments.d.ts.map +1 -0
- package/dist/commonjs/operations/environments.js +314 -0
- package/dist/commonjs/operations/environments.js.map +1 -0
- package/dist/commonjs/operations/eventSources.d.ts +66 -0
- package/dist/commonjs/operations/eventSources.d.ts.map +1 -0
- package/dist/commonjs/operations/eventSources.js +218 -0
- package/dist/commonjs/operations/eventSources.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +8 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +18 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +52 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +182 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +32 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +111 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/referenceDataSets.d.ts +66 -0
- package/dist/commonjs/operations/referenceDataSets.d.ts.map +1 -0
- package/dist/commonjs/operations/referenceDataSets.js +218 -0
- package/dist/commonjs/operations/referenceDataSets.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/accessPolicies.d.ts +57 -0
- package/dist/commonjs/operationsInterfaces/accessPolicies.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/accessPolicies.js +10 -0
- package/dist/commonjs/operationsInterfaces/accessPolicies.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/environments.d.ts +70 -0
- package/dist/commonjs/operationsInterfaces/environments.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/environments.js +10 -0
- package/dist/commonjs/operationsInterfaces/environments.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventSources.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/eventSources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/eventSources.js +10 -0
- package/dist/commonjs/operationsInterfaces/eventSources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +18 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/referenceDataSets.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/referenceDataSets.js +10 -0
- package/dist/commonjs/operationsInterfaces/referenceDataSets.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/timeSeriesInsightsClient.d.ts +26 -0
- package/dist/commonjs/timeSeriesInsightsClient.d.ts.map +1 -0
- package/dist/commonjs/timeSeriesInsightsClient.js +108 -0
- package/dist/commonjs/timeSeriesInsightsClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1320 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +180 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +100 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2166 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +28 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +239 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/accessPolicies.d.ts +65 -0
- package/dist/esm/operations/accessPolicies.d.ts.map +1 -0
- package/dist/esm/operations/accessPolicies.js +212 -0
- package/dist/esm/operations/accessPolicies.js.map +1 -0
- package/dist/esm/operations/environments.d.ts +78 -0
- package/dist/esm/operations/environments.d.ts.map +1 -0
- package/dist/esm/operations/environments.js +309 -0
- package/dist/esm/operations/environments.js.map +1 -0
- package/dist/esm/operations/eventSources.d.ts +66 -0
- package/dist/esm/operations/eventSources.d.ts.map +1 -0
- package/dist/esm/operations/eventSources.js +213 -0
- package/dist/esm/operations/eventSources.js.map +1 -0
- package/dist/esm/operations/index.d.ts +8 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +15 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +52 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +177 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +32 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResources.js +107 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operations/referenceDataSets.d.ts +66 -0
- package/dist/esm/operations/referenceDataSets.d.ts.map +1 -0
- package/dist/esm/operations/referenceDataSets.js +213 -0
- package/dist/esm/operations/referenceDataSets.js.map +1 -0
- package/dist/esm/operationsInterfaces/accessPolicies.d.ts +57 -0
- package/dist/esm/operationsInterfaces/accessPolicies.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/accessPolicies.js +9 -0
- package/dist/esm/operationsInterfaces/accessPolicies.js.map +1 -0
- package/dist/esm/operationsInterfaces/environments.d.ts +70 -0
- package/dist/esm/operationsInterfaces/environments.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/environments.js +9 -0
- package/dist/esm/operationsInterfaces/environments.js.map +1 -0
- package/dist/esm/operationsInterfaces/eventSources.d.ts +58 -0
- package/dist/esm/operationsInterfaces/eventSources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/eventSources.js +9 -0
- package/dist/esm/operationsInterfaces/eventSources.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +8 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +15 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +14 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/referenceDataSets.d.ts +58 -0
- package/dist/esm/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/referenceDataSets.js +9 -0
- package/dist/esm/operationsInterfaces/referenceDataSets.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/timeSeriesInsightsClient.d.ts +26 -0
- package/dist/esm/timeSeriesInsightsClient.d.ts.map +1 -0
- package/dist/esm/timeSeriesInsightsClient.js +103 -0
- package/dist/esm/timeSeriesInsightsClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1320 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +180 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +100 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2166 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +28 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +239 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/accessPolicies.d.ts +65 -0
- package/dist/react-native/operations/accessPolicies.d.ts.map +1 -0
- package/dist/react-native/operations/accessPolicies.js +212 -0
- package/dist/react-native/operations/accessPolicies.js.map +1 -0
- package/dist/react-native/operations/environments.d.ts +78 -0
- package/dist/react-native/operations/environments.d.ts.map +1 -0
- package/dist/react-native/operations/environments.js +309 -0
- package/dist/react-native/operations/environments.js.map +1 -0
- package/dist/react-native/operations/eventSources.d.ts +66 -0
- package/dist/react-native/operations/eventSources.d.ts.map +1 -0
- package/dist/react-native/operations/eventSources.js +213 -0
- package/dist/react-native/operations/eventSources.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +8 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +15 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +52 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +177 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +32 -0
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResources.js +107 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operations/referenceDataSets.d.ts +66 -0
- package/dist/react-native/operations/referenceDataSets.d.ts.map +1 -0
- package/dist/react-native/operations/referenceDataSets.js +213 -0
- package/dist/react-native/operations/referenceDataSets.js.map +1 -0
- package/dist/react-native/operationsInterfaces/accessPolicies.d.ts +57 -0
- package/dist/react-native/operationsInterfaces/accessPolicies.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/accessPolicies.js +9 -0
- package/dist/react-native/operationsInterfaces/accessPolicies.js.map +1 -0
- package/dist/react-native/operationsInterfaces/environments.d.ts +70 -0
- package/dist/react-native/operationsInterfaces/environments.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/environments.js +9 -0
- package/dist/react-native/operationsInterfaces/environments.js.map +1 -0
- package/dist/react-native/operationsInterfaces/eventSources.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/eventSources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/eventSources.js +9 -0
- package/dist/react-native/operationsInterfaces/eventSources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +15 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/referenceDataSets.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/referenceDataSets.js +9 -0
- package/dist/react-native/operationsInterfaces/referenceDataSets.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/timeSeriesInsightsClient.d.ts +26 -0
- package/dist/react-native/timeSeriesInsightsClient.d.ts.map +1 -0
- package/dist/react-native/timeSeriesInsightsClient.js +103 -0
- package/dist/react-native/timeSeriesInsightsClient.js.map +1 -0
- package/package.json +67 -36
- package/dist/index.js +0 -4207
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js +0 -35
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesGetSample.js +0 -37
- package/dist-esm/samples-dev/accessPoliciesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js +0 -36
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.js +0 -33
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js +0 -36
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsDeleteSample.js +0 -36
- package/dist-esm/samples-dev/environmentsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsGetSample.js +0 -36
- package/dist-esm/samples-dev/environmentsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js +0 -35
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js +0 -34
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/environmentsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/environmentsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/environmentsUpdateSample.js +0 -33
- package/dist-esm/samples-dev/environmentsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js +0 -78
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventSourcesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/eventSourcesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/eventSourcesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventSourcesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventSourcesGetSample.js +0 -37
- package/dist-esm/samples-dev/eventSourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js +0 -36
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js.map +0 -1
- package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventSourcesUpdateSample.js +0 -34
- package/dist-esm/samples-dev/eventSourcesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -50
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +0 -36
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js +0 -36
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +0 -52
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js +0 -37
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsGetSample.js +0 -37
- package/dist-esm/samples-dev/referenceDataSetsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js +0 -36
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js +0 -33
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/accessPolicies.d.ts.map +0 -1
- package/dist-esm/src/operations/accessPolicies.js.map +0 -1
- package/dist-esm/src/operations/environments.d.ts.map +0 -1
- package/dist-esm/src/operations/environments.js.map +0 -1
- package/dist-esm/src/operations/eventSources.d.ts.map +0 -1
- package/dist-esm/src/operations/eventSources.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -8
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -15
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/referenceDataSets.d.ts.map +0 -1
- package/dist-esm/src/operations/referenceDataSets.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/accessPolicies.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/accessPolicies.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/environments.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/environments.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventSources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventSources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -15
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/referenceDataSets.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/referenceDataSets.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/timeSeriesInsightsClient.d.ts.map +0 -1
- package/dist-esm/src/timeSeriesInsightsClient.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -1527
- package/src/models/mappers.ts +0 -2456
- package/src/models/parameters.ts +0 -280
- package/src/operations/accessPolicies.ts +0 -282
- package/src/operations/environments.ts +0 -451
- package/src/operations/eventSources.ts +0 -283
- package/src/operations/index.ts +0 -15
- package/src/operations/operations.ts +0 -149
- package/src/operations/privateEndpointConnections.ts +0 -234
- package/src/operations/privateLinkResources.ts +0 -143
- package/src/operations/referenceDataSets.ts +0 -283
- package/src/operationsInterfaces/accessPolicies.ts +0 -103
- package/src/operationsInterfaces/environments.ts +0 -135
- package/src/operationsInterfaces/eventSources.ts +0 -104
- package/src/operationsInterfaces/index.ts +0 -15
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -81
- package/src/operationsInterfaces/privateLinkResources.ts +0 -30
- package/src/operationsInterfaces/referenceDataSets.ts +0 -104
- package/src/pagingHelper.ts +0 -39
- package/src/timeSeriesInsightsClient.ts +0 -168
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/accessPolicies.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/environments.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/eventSources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/referenceDataSets.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,217 @@
|
|
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.AccessPoliciesImpl = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
15
|
+
/** Class containing AccessPolicies operations. */
|
16
|
+
class AccessPoliciesImpl {
|
17
|
+
/**
|
18
|
+
* Initialize a new instance of the class AccessPolicies class.
|
19
|
+
* @param client Reference to the service client
|
20
|
+
*/
|
21
|
+
constructor(client) {
|
22
|
+
this.client = client;
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* Create or update an access policy in the specified environment.
|
26
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
27
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
28
|
+
* specified resource group.
|
29
|
+
* @param accessPolicyName Name of the access policy.
|
30
|
+
* @param parameters Parameters for creating an access policy.
|
31
|
+
* @param options The options parameters.
|
32
|
+
*/
|
33
|
+
createOrUpdate(resourceGroupName, environmentName, accessPolicyName, parameters, options) {
|
34
|
+
return this.client.sendOperationRequest({
|
35
|
+
resourceGroupName,
|
36
|
+
environmentName,
|
37
|
+
accessPolicyName,
|
38
|
+
parameters,
|
39
|
+
options
|
40
|
+
}, createOrUpdateOperationSpec);
|
41
|
+
}
|
42
|
+
/**
|
43
|
+
* Gets the access policy with the specified name in the specified environment.
|
44
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
45
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
46
|
+
* specified resource group.
|
47
|
+
* @param accessPolicyName The name of the Time Series Insights access policy associated with the
|
48
|
+
* specified environment.
|
49
|
+
* @param options The options parameters.
|
50
|
+
*/
|
51
|
+
get(resourceGroupName, environmentName, accessPolicyName, options) {
|
52
|
+
return this.client.sendOperationRequest({ resourceGroupName, environmentName, accessPolicyName, options }, getOperationSpec);
|
53
|
+
}
|
54
|
+
/**
|
55
|
+
* Updates the access policy with the specified name in the specified subscription, resource group, and
|
56
|
+
* environment.
|
57
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
58
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
59
|
+
* specified resource group.
|
60
|
+
* @param accessPolicyName The name of the Time Series Insights access policy associated with the
|
61
|
+
* specified environment.
|
62
|
+
* @param accessPolicyUpdateParameters Request object that contains the updated information for the
|
63
|
+
* access policy.
|
64
|
+
* @param options The options parameters.
|
65
|
+
*/
|
66
|
+
update(resourceGroupName, environmentName, accessPolicyName, accessPolicyUpdateParameters, options) {
|
67
|
+
return this.client.sendOperationRequest({
|
68
|
+
resourceGroupName,
|
69
|
+
environmentName,
|
70
|
+
accessPolicyName,
|
71
|
+
accessPolicyUpdateParameters,
|
72
|
+
options
|
73
|
+
}, updateOperationSpec);
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* Deletes the access policy with the specified name in the specified subscription, resource group, and
|
77
|
+
* environment
|
78
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
79
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
80
|
+
* specified resource group.
|
81
|
+
* @param accessPolicyName The name of the Time Series Insights access policy associated with the
|
82
|
+
* specified environment.
|
83
|
+
* @param options The options parameters.
|
84
|
+
*/
|
85
|
+
delete(resourceGroupName, environmentName, accessPolicyName, options) {
|
86
|
+
return this.client.sendOperationRequest({ resourceGroupName, environmentName, accessPolicyName, options }, deleteOperationSpec);
|
87
|
+
}
|
88
|
+
/**
|
89
|
+
* Lists all the available access policies associated with the environment.
|
90
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
91
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
92
|
+
* specified resource group.
|
93
|
+
* @param options The options parameters.
|
94
|
+
*/
|
95
|
+
listByEnvironment(resourceGroupName, environmentName, options) {
|
96
|
+
return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, listByEnvironmentOperationSpec);
|
97
|
+
}
|
98
|
+
}
|
99
|
+
exports.AccessPoliciesImpl = AccessPoliciesImpl;
|
100
|
+
// Operation Specifications
|
101
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
102
|
+
const createOrUpdateOperationSpec = {
|
103
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
|
104
|
+
httpMethod: "PUT",
|
105
|
+
responses: {
|
106
|
+
200: {
|
107
|
+
bodyMapper: Mappers.AccessPolicyResource
|
108
|
+
},
|
109
|
+
201: {
|
110
|
+
bodyMapper: Mappers.AccessPolicyResource
|
111
|
+
},
|
112
|
+
default: {
|
113
|
+
bodyMapper: Mappers.CloudError
|
114
|
+
}
|
115
|
+
},
|
116
|
+
requestBody: Parameters.parameters3,
|
117
|
+
queryParameters: [Parameters.apiVersion],
|
118
|
+
urlParameters: [
|
119
|
+
Parameters.$host,
|
120
|
+
Parameters.subscriptionId,
|
121
|
+
Parameters.resourceGroupName,
|
122
|
+
Parameters.environmentName1,
|
123
|
+
Parameters.accessPolicyName
|
124
|
+
],
|
125
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
126
|
+
mediaType: "json",
|
127
|
+
serializer
|
128
|
+
};
|
129
|
+
const getOperationSpec = {
|
130
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
|
131
|
+
httpMethod: "GET",
|
132
|
+
responses: {
|
133
|
+
200: {
|
134
|
+
bodyMapper: Mappers.AccessPolicyResource
|
135
|
+
},
|
136
|
+
default: {
|
137
|
+
bodyMapper: Mappers.CloudError
|
138
|
+
}
|
139
|
+
},
|
140
|
+
queryParameters: [Parameters.apiVersion],
|
141
|
+
urlParameters: [
|
142
|
+
Parameters.$host,
|
143
|
+
Parameters.subscriptionId,
|
144
|
+
Parameters.resourceGroupName,
|
145
|
+
Parameters.environmentName1,
|
146
|
+
Parameters.accessPolicyName1
|
147
|
+
],
|
148
|
+
headerParameters: [Parameters.accept],
|
149
|
+
serializer
|
150
|
+
};
|
151
|
+
const updateOperationSpec = {
|
152
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
|
153
|
+
httpMethod: "PATCH",
|
154
|
+
responses: {
|
155
|
+
200: {
|
156
|
+
bodyMapper: Mappers.AccessPolicyResource
|
157
|
+
},
|
158
|
+
default: {
|
159
|
+
bodyMapper: Mappers.CloudError
|
160
|
+
}
|
161
|
+
},
|
162
|
+
requestBody: Parameters.accessPolicyUpdateParameters,
|
163
|
+
queryParameters: [Parameters.apiVersion],
|
164
|
+
urlParameters: [
|
165
|
+
Parameters.$host,
|
166
|
+
Parameters.subscriptionId,
|
167
|
+
Parameters.resourceGroupName,
|
168
|
+
Parameters.environmentName1,
|
169
|
+
Parameters.accessPolicyName1
|
170
|
+
],
|
171
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
172
|
+
mediaType: "json",
|
173
|
+
serializer
|
174
|
+
};
|
175
|
+
const deleteOperationSpec = {
|
176
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
|
177
|
+
httpMethod: "DELETE",
|
178
|
+
responses: {
|
179
|
+
200: {},
|
180
|
+
204: {},
|
181
|
+
default: {
|
182
|
+
bodyMapper: Mappers.CloudError
|
183
|
+
}
|
184
|
+
},
|
185
|
+
queryParameters: [Parameters.apiVersion],
|
186
|
+
urlParameters: [
|
187
|
+
Parameters.$host,
|
188
|
+
Parameters.subscriptionId,
|
189
|
+
Parameters.resourceGroupName,
|
190
|
+
Parameters.environmentName1,
|
191
|
+
Parameters.accessPolicyName1
|
192
|
+
],
|
193
|
+
headerParameters: [Parameters.accept],
|
194
|
+
serializer
|
195
|
+
};
|
196
|
+
const listByEnvironmentOperationSpec = {
|
197
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies",
|
198
|
+
httpMethod: "GET",
|
199
|
+
responses: {
|
200
|
+
200: {
|
201
|
+
bodyMapper: Mappers.AccessPolicyListResponse
|
202
|
+
},
|
203
|
+
default: {
|
204
|
+
bodyMapper: Mappers.CloudError
|
205
|
+
}
|
206
|
+
},
|
207
|
+
queryParameters: [Parameters.apiVersion],
|
208
|
+
urlParameters: [
|
209
|
+
Parameters.$host,
|
210
|
+
Parameters.subscriptionId,
|
211
|
+
Parameters.resourceGroupName,
|
212
|
+
Parameters.environmentName1
|
213
|
+
],
|
214
|
+
headerParameters: [Parameters.accept],
|
215
|
+
serializer
|
216
|
+
};
|
217
|
+
//# sourceMappingURL=accessPolicies.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"accessPolicies.js","sourceRoot":"","sources":["../../../src/operations/accessPolicies.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 { AccessPolicies } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { TimeSeriesInsightsClient } from \"../timeSeriesInsightsClient.js\";\nimport {\n AccessPolicyCreateOrUpdateParameters,\n AccessPoliciesCreateOrUpdateOptionalParams,\n AccessPoliciesCreateOrUpdateResponse,\n AccessPoliciesGetOptionalParams,\n AccessPoliciesGetResponse,\n AccessPolicyUpdateParameters,\n AccessPoliciesUpdateOptionalParams,\n AccessPoliciesUpdateResponse,\n AccessPoliciesDeleteOptionalParams,\n AccessPoliciesListByEnvironmentOptionalParams,\n AccessPoliciesListByEnvironmentResponse\n} from \"../models/index.js\";\n\n/** Class containing AccessPolicies operations. */\nexport class AccessPoliciesImpl implements AccessPolicies {\n private readonly client: TimeSeriesInsightsClient;\n\n /**\n * Initialize a new instance of the class AccessPolicies class.\n * @param client Reference to the service client\n */\n constructor(client: TimeSeriesInsightsClient) {\n this.client = client;\n }\n\n /**\n * Create or update an access policy 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 accessPolicyName Name of the access policy.\n * @param parameters Parameters for creating an access policy.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n accessPolicyName: string,\n parameters: AccessPolicyCreateOrUpdateParameters,\n options?: AccessPoliciesCreateOrUpdateOptionalParams\n ): Promise<AccessPoliciesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n accessPolicyName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Gets the access policy 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 accessPolicyName The name of the Time Series Insights access policy associated with the\n * specified environment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n accessPolicyName: string,\n options?: AccessPoliciesGetOptionalParams\n ): Promise<AccessPoliciesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, accessPolicyName, options },\n getOperationSpec\n );\n }\n\n /**\n * Updates the access policy with the specified name in the specified subscription, resource group, and\n * environment.\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param accessPolicyName The name of the Time Series Insights access policy associated with the\n * specified environment.\n * @param accessPolicyUpdateParameters Request object that contains the updated information for the\n * access policy.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n environmentName: string,\n accessPolicyName: string,\n accessPolicyUpdateParameters: AccessPolicyUpdateParameters,\n options?: AccessPoliciesUpdateOptionalParams\n ): Promise<AccessPoliciesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n accessPolicyName,\n accessPolicyUpdateParameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Deletes the access policy with the specified name in the specified subscription, resource group, and\n * environment\n * @param resourceGroupName Name of an Azure Resource group.\n * @param environmentName The name of the Time Series Insights environment associated with the\n * specified resource group.\n * @param accessPolicyName The name of the Time Series Insights access policy associated with the\n * specified environment.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n accessPolicyName: string,\n options?: AccessPoliciesDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, accessPolicyName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists all the available access policies associated with 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 options The options parameters.\n */\n listByEnvironment(\n resourceGroupName: string,\n environmentName: string,\n options?: AccessPoliciesListByEnvironmentOptionalParams\n ): Promise<AccessPoliciesListByEnvironmentResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listByEnvironmentOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessPolicyResource\n },\n 201: {\n bodyMapper: Mappers.AccessPolicyResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.accessPolicyName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessPolicyResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.accessPolicyName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessPolicyResource\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.accessPolicyUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.accessPolicyName1\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.accessPolicyName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByEnvironmentOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AccessPolicyListResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
import { Environments } from "../operationsInterfaces/index.js";
|
2
|
+
import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient.js";
|
3
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
4
|
+
import { EnvironmentCreateOrUpdateParametersUnion, EnvironmentsCreateOrUpdateOptionalParams, EnvironmentsCreateOrUpdateResponse, EnvironmentsGetOptionalParams, EnvironmentsGetResponse, EnvironmentUpdateParametersUnion, EnvironmentsUpdateOptionalParams, EnvironmentsUpdateResponse, EnvironmentsDeleteOptionalParams, EnvironmentsListByResourceGroupOptionalParams, EnvironmentsListByResourceGroupResponse, EnvironmentsListBySubscriptionOptionalParams, EnvironmentsListBySubscriptionResponse } from "../models/index.js";
|
5
|
+
/** Class containing Environments operations. */
|
6
|
+
export declare class EnvironmentsImpl implements Environments {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class Environments class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: TimeSeriesInsightsClient);
|
13
|
+
/**
|
14
|
+
* Create or update an environment in the specified subscription and resource group.
|
15
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
16
|
+
* @param environmentName Name of the environment
|
17
|
+
* @param parameters Parameters for creating an environment resource.
|
18
|
+
* @param options The options parameters.
|
19
|
+
*/
|
20
|
+
beginCreateOrUpdate(resourceGroupName: string, environmentName: string, parameters: EnvironmentCreateOrUpdateParametersUnion, options?: EnvironmentsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<EnvironmentsCreateOrUpdateResponse>, EnvironmentsCreateOrUpdateResponse>>;
|
21
|
+
/**
|
22
|
+
* Create or update an environment in the specified subscription and resource group.
|
23
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
24
|
+
* @param environmentName Name of the environment
|
25
|
+
* @param parameters Parameters for creating an environment resource.
|
26
|
+
* @param options The options parameters.
|
27
|
+
*/
|
28
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, environmentName: string, parameters: EnvironmentCreateOrUpdateParametersUnion, options?: EnvironmentsCreateOrUpdateOptionalParams): Promise<EnvironmentsCreateOrUpdateResponse>;
|
29
|
+
/**
|
30
|
+
* Gets the environment with the specified name in the specified subscription and resource group.
|
31
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
32
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
33
|
+
* specified resource group.
|
34
|
+
* @param options The options parameters.
|
35
|
+
*/
|
36
|
+
get(resourceGroupName: string, environmentName: string, options?: EnvironmentsGetOptionalParams): Promise<EnvironmentsGetResponse>;
|
37
|
+
/**
|
38
|
+
* Updates the environment with the specified name in the specified subscription and resource group.
|
39
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
40
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
41
|
+
* specified resource group.
|
42
|
+
* @param environmentUpdateParameters Request object that contains the updated information for the
|
43
|
+
* environment.
|
44
|
+
* @param options The options parameters.
|
45
|
+
*/
|
46
|
+
beginUpdate(resourceGroupName: string, environmentName: string, environmentUpdateParameters: EnvironmentUpdateParametersUnion, options?: EnvironmentsUpdateOptionalParams): Promise<PollerLike<PollOperationState<EnvironmentsUpdateResponse>, EnvironmentsUpdateResponse>>;
|
47
|
+
/**
|
48
|
+
* Updates the environment with the specified name in the specified subscription and resource group.
|
49
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
50
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
51
|
+
* specified resource group.
|
52
|
+
* @param environmentUpdateParameters Request object that contains the updated information for the
|
53
|
+
* environment.
|
54
|
+
* @param options The options parameters.
|
55
|
+
*/
|
56
|
+
beginUpdateAndWait(resourceGroupName: string, environmentName: string, environmentUpdateParameters: EnvironmentUpdateParametersUnion, options?: EnvironmentsUpdateOptionalParams): Promise<EnvironmentsUpdateResponse>;
|
57
|
+
/**
|
58
|
+
* Deletes the environment with the specified name in the specified subscription and resource group.
|
59
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
60
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
61
|
+
* specified resource group.
|
62
|
+
* @param options The options parameters.
|
63
|
+
*/
|
64
|
+
delete(resourceGroupName: string, environmentName: string, options?: EnvironmentsDeleteOptionalParams): Promise<void>;
|
65
|
+
/**
|
66
|
+
* Lists all the available environments associated with the subscription and within the specified
|
67
|
+
* resource group.
|
68
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
69
|
+
* @param options The options parameters.
|
70
|
+
*/
|
71
|
+
listByResourceGroup(resourceGroupName: string, options?: EnvironmentsListByResourceGroupOptionalParams): Promise<EnvironmentsListByResourceGroupResponse>;
|
72
|
+
/**
|
73
|
+
* Lists all the available environments within a subscription, irrespective of the resource groups.
|
74
|
+
* @param options The options parameters.
|
75
|
+
*/
|
76
|
+
listBySubscription(options?: EnvironmentsListBySubscriptionOptionalParams): Promise<EnvironmentsListBySubscriptionResponse>;
|
77
|
+
}
|
78
|
+
//# sourceMappingURL=environments.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../../src/operations/environments.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,wCAAwC,EACxC,wCAAwC,EACxC,kCAAkC,EAClC,6BAA6B,EAC7B,uBAAuB,EACvB,gCAAgC,EAChC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,6CAA6C,EAC7C,uCAAuC,EACvC,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAE5B,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAElD;;;OAGG;gBACS,MAAM,EAAE,wBAAwB;IAI5C;;;;;;OAMG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,wCAAwC,EACpD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,kCAAkC,CAAC,EACtD,kCAAkC,CACnC,CACF;IAqDD;;;;;;OAMG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,wCAAwC,EACpD,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAU9C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAOnC;;;;;;;;OAQG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,2BAA2B,EAAE,gCAAgC,EAC7D,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,0BAA0B,CAAC,EAC9C,0BAA0B,CAC3B,CACF;IA0DD;;;;;;;;OAQG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,2BAA2B,EAAE,gCAAgC,EAC7D,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAUtC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAOnD;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;CAMnD"}
|
@@ -0,0 +1,314 @@
|
|
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.EnvironmentsImpl = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
15
|
+
const core_lro_1 = require("@azure/core-lro");
|
16
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
17
|
+
/** Class containing Environments operations. */
|
18
|
+
class EnvironmentsImpl {
|
19
|
+
/**
|
20
|
+
* Initialize a new instance of the class Environments class.
|
21
|
+
* @param client Reference to the service client
|
22
|
+
*/
|
23
|
+
constructor(client) {
|
24
|
+
this.client = client;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* Create or update an environment in the specified subscription and resource group.
|
28
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
29
|
+
* @param environmentName Name of the environment
|
30
|
+
* @param parameters Parameters for creating an environment resource.
|
31
|
+
* @param options The options parameters.
|
32
|
+
*/
|
33
|
+
async beginCreateOrUpdate(resourceGroupName, environmentName, parameters, options) {
|
34
|
+
const directSendOperation = async (args, spec) => {
|
35
|
+
return this.client.sendOperationRequest(args, spec);
|
36
|
+
};
|
37
|
+
const sendOperation = async (args, spec) => {
|
38
|
+
var _a;
|
39
|
+
let currentRawResponse = undefined;
|
40
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
41
|
+
const callback = (rawResponse, flatResponse) => {
|
42
|
+
currentRawResponse = rawResponse;
|
43
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
44
|
+
};
|
45
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
46
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
47
|
+
return {
|
48
|
+
flatResponse,
|
49
|
+
rawResponse: {
|
50
|
+
statusCode: currentRawResponse.status,
|
51
|
+
body: currentRawResponse.parsedBody,
|
52
|
+
headers: currentRawResponse.headers.toJSON()
|
53
|
+
}
|
54
|
+
};
|
55
|
+
};
|
56
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, environmentName, parameters, options }, createOrUpdateOperationSpec);
|
57
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
58
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
59
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
60
|
+
});
|
61
|
+
await poller.poll();
|
62
|
+
return poller;
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
* Create or update an environment in the specified subscription and resource group.
|
66
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
67
|
+
* @param environmentName Name of the environment
|
68
|
+
* @param parameters Parameters for creating an environment resource.
|
69
|
+
* @param options The options parameters.
|
70
|
+
*/
|
71
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, environmentName, parameters, options) {
|
72
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, environmentName, parameters, options);
|
73
|
+
return poller.pollUntilDone();
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* Gets the environment with the specified name in the specified subscription and resource group.
|
77
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
78
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
79
|
+
* specified resource group.
|
80
|
+
* @param options The options parameters.
|
81
|
+
*/
|
82
|
+
get(resourceGroupName, environmentName, options) {
|
83
|
+
return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, getOperationSpec);
|
84
|
+
}
|
85
|
+
/**
|
86
|
+
* Updates the environment with the specified name in the specified subscription and resource group.
|
87
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
88
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
89
|
+
* specified resource group.
|
90
|
+
* @param environmentUpdateParameters Request object that contains the updated information for the
|
91
|
+
* environment.
|
92
|
+
* @param options The options parameters.
|
93
|
+
*/
|
94
|
+
async beginUpdate(resourceGroupName, environmentName, environmentUpdateParameters, options) {
|
95
|
+
const directSendOperation = async (args, spec) => {
|
96
|
+
return this.client.sendOperationRequest(args, spec);
|
97
|
+
};
|
98
|
+
const sendOperation = async (args, spec) => {
|
99
|
+
var _a;
|
100
|
+
let currentRawResponse = undefined;
|
101
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
102
|
+
const callback = (rawResponse, flatResponse) => {
|
103
|
+
currentRawResponse = rawResponse;
|
104
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
105
|
+
};
|
106
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
107
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
108
|
+
return {
|
109
|
+
flatResponse,
|
110
|
+
rawResponse: {
|
111
|
+
statusCode: currentRawResponse.status,
|
112
|
+
body: currentRawResponse.parsedBody,
|
113
|
+
headers: currentRawResponse.headers.toJSON()
|
114
|
+
}
|
115
|
+
};
|
116
|
+
};
|
117
|
+
const lro = new lroImpl_js_1.LroImpl(sendOperation, {
|
118
|
+
resourceGroupName,
|
119
|
+
environmentName,
|
120
|
+
environmentUpdateParameters,
|
121
|
+
options
|
122
|
+
}, updateOperationSpec);
|
123
|
+
const poller = new core_lro_1.LroEngine(lro, {
|
124
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
125
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
126
|
+
});
|
127
|
+
await poller.poll();
|
128
|
+
return poller;
|
129
|
+
}
|
130
|
+
/**
|
131
|
+
* Updates the environment with the specified name in the specified subscription and resource group.
|
132
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
133
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
134
|
+
* specified resource group.
|
135
|
+
* @param environmentUpdateParameters Request object that contains the updated information for the
|
136
|
+
* environment.
|
137
|
+
* @param options The options parameters.
|
138
|
+
*/
|
139
|
+
async beginUpdateAndWait(resourceGroupName, environmentName, environmentUpdateParameters, options) {
|
140
|
+
const poller = await this.beginUpdate(resourceGroupName, environmentName, environmentUpdateParameters, options);
|
141
|
+
return poller.pollUntilDone();
|
142
|
+
}
|
143
|
+
/**
|
144
|
+
* Deletes the environment with the specified name in the specified subscription and resource group.
|
145
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
146
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
147
|
+
* specified resource group.
|
148
|
+
* @param options The options parameters.
|
149
|
+
*/
|
150
|
+
delete(resourceGroupName, environmentName, options) {
|
151
|
+
return this.client.sendOperationRequest({ resourceGroupName, environmentName, options }, deleteOperationSpec);
|
152
|
+
}
|
153
|
+
/**
|
154
|
+
* Lists all the available environments associated with the subscription and within the specified
|
155
|
+
* resource group.
|
156
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
157
|
+
* @param options The options parameters.
|
158
|
+
*/
|
159
|
+
listByResourceGroup(resourceGroupName, options) {
|
160
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
161
|
+
}
|
162
|
+
/**
|
163
|
+
* Lists all the available environments within a subscription, irrespective of the resource groups.
|
164
|
+
* @param options The options parameters.
|
165
|
+
*/
|
166
|
+
listBySubscription(options) {
|
167
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
168
|
+
}
|
169
|
+
}
|
170
|
+
exports.EnvironmentsImpl = EnvironmentsImpl;
|
171
|
+
// Operation Specifications
|
172
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
173
|
+
const createOrUpdateOperationSpec = {
|
174
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
|
175
|
+
httpMethod: "PUT",
|
176
|
+
responses: {
|
177
|
+
200: {
|
178
|
+
bodyMapper: Mappers.EnvironmentResource
|
179
|
+
},
|
180
|
+
201: {
|
181
|
+
bodyMapper: Mappers.EnvironmentResource
|
182
|
+
},
|
183
|
+
202: {
|
184
|
+
bodyMapper: Mappers.EnvironmentResource
|
185
|
+
},
|
186
|
+
204: {
|
187
|
+
bodyMapper: Mappers.EnvironmentResource
|
188
|
+
},
|
189
|
+
default: {
|
190
|
+
bodyMapper: Mappers.CloudError
|
191
|
+
}
|
192
|
+
},
|
193
|
+
requestBody: Parameters.parameters,
|
194
|
+
queryParameters: [Parameters.apiVersion],
|
195
|
+
urlParameters: [
|
196
|
+
Parameters.$host,
|
197
|
+
Parameters.subscriptionId,
|
198
|
+
Parameters.resourceGroupName,
|
199
|
+
Parameters.environmentName
|
200
|
+
],
|
201
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
202
|
+
mediaType: "json",
|
203
|
+
serializer
|
204
|
+
};
|
205
|
+
const getOperationSpec = {
|
206
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
|
207
|
+
httpMethod: "GET",
|
208
|
+
responses: {
|
209
|
+
200: {
|
210
|
+
bodyMapper: Mappers.EnvironmentResource
|
211
|
+
},
|
212
|
+
default: {
|
213
|
+
bodyMapper: Mappers.CloudError
|
214
|
+
}
|
215
|
+
},
|
216
|
+
queryParameters: [Parameters.apiVersion, Parameters.expand],
|
217
|
+
urlParameters: [
|
218
|
+
Parameters.$host,
|
219
|
+
Parameters.subscriptionId,
|
220
|
+
Parameters.resourceGroupName,
|
221
|
+
Parameters.environmentName1
|
222
|
+
],
|
223
|
+
headerParameters: [Parameters.accept],
|
224
|
+
serializer
|
225
|
+
};
|
226
|
+
const updateOperationSpec = {
|
227
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
|
228
|
+
httpMethod: "PATCH",
|
229
|
+
responses: {
|
230
|
+
200: {
|
231
|
+
bodyMapper: Mappers.EnvironmentResource
|
232
|
+
},
|
233
|
+
201: {
|
234
|
+
bodyMapper: Mappers.EnvironmentResource
|
235
|
+
},
|
236
|
+
202: {
|
237
|
+
bodyMapper: Mappers.EnvironmentResource
|
238
|
+
},
|
239
|
+
204: {
|
240
|
+
bodyMapper: Mappers.EnvironmentResource
|
241
|
+
},
|
242
|
+
default: {
|
243
|
+
bodyMapper: Mappers.CloudError
|
244
|
+
}
|
245
|
+
},
|
246
|
+
requestBody: Parameters.environmentUpdateParameters,
|
247
|
+
queryParameters: [Parameters.apiVersion],
|
248
|
+
urlParameters: [
|
249
|
+
Parameters.$host,
|
250
|
+
Parameters.subscriptionId,
|
251
|
+
Parameters.resourceGroupName,
|
252
|
+
Parameters.environmentName1
|
253
|
+
],
|
254
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
255
|
+
mediaType: "json",
|
256
|
+
serializer
|
257
|
+
};
|
258
|
+
const deleteOperationSpec = {
|
259
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
|
260
|
+
httpMethod: "DELETE",
|
261
|
+
responses: {
|
262
|
+
200: {},
|
263
|
+
204: {},
|
264
|
+
default: {
|
265
|
+
bodyMapper: Mappers.CloudError
|
266
|
+
}
|
267
|
+
},
|
268
|
+
queryParameters: [Parameters.apiVersion],
|
269
|
+
urlParameters: [
|
270
|
+
Parameters.$host,
|
271
|
+
Parameters.subscriptionId,
|
272
|
+
Parameters.resourceGroupName,
|
273
|
+
Parameters.environmentName1
|
274
|
+
],
|
275
|
+
headerParameters: [Parameters.accept],
|
276
|
+
serializer
|
277
|
+
};
|
278
|
+
const listByResourceGroupOperationSpec = {
|
279
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments",
|
280
|
+
httpMethod: "GET",
|
281
|
+
responses: {
|
282
|
+
200: {
|
283
|
+
bodyMapper: Mappers.EnvironmentListResponse
|
284
|
+
},
|
285
|
+
default: {
|
286
|
+
bodyMapper: Mappers.CloudError
|
287
|
+
}
|
288
|
+
},
|
289
|
+
queryParameters: [Parameters.apiVersion],
|
290
|
+
urlParameters: [
|
291
|
+
Parameters.$host,
|
292
|
+
Parameters.subscriptionId,
|
293
|
+
Parameters.resourceGroupName
|
294
|
+
],
|
295
|
+
headerParameters: [Parameters.accept],
|
296
|
+
serializer
|
297
|
+
};
|
298
|
+
const listBySubscriptionOperationSpec = {
|
299
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.TimeSeriesInsights/environments",
|
300
|
+
httpMethod: "GET",
|
301
|
+
responses: {
|
302
|
+
200: {
|
303
|
+
bodyMapper: Mappers.EnvironmentListResponse
|
304
|
+
},
|
305
|
+
default: {
|
306
|
+
bodyMapper: Mappers.CloudError
|
307
|
+
}
|
308
|
+
},
|
309
|
+
queryParameters: [Parameters.apiVersion],
|
310
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
311
|
+
headerParameters: [Parameters.accept],
|
312
|
+
serializer
|
313
|
+
};
|
314
|
+
//# sourceMappingURL=environments.js.map
|