@azure/arm-oep 1.0.0-beta.2 → 1.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -2
- package/LICENSE +4 -4
- package/README.md +30 -20
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +33 -16
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/models/index.js +17 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +9 -4
- 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}/openEnergyPlatformManagementServiceAPIs.d.ts +4 -2
- package/dist/browser/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
- package/dist/browser/openEnergyPlatformManagementServiceAPIs.js +110 -0
- package/dist/browser/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/energyServices.d.ts +3 -3
- package/dist/browser/operations/energyServices.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/energyServices.js +132 -137
- package/dist/browser/operations/energyServices.js.map +1 -0
- package/dist/browser/operations/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/locations.d.ts +3 -3
- package/dist/browser/operations/locations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/locations.js +3 -2
- package/dist/browser/operations/locations.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 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/energyServices.d.ts +1 -1
- package/dist/browser/operationsInterfaces/energyServices.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/energyServices.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/locations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +37 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-oep.d.ts → dist/commonjs/models/index.d.ts} +368 -492
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +65 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +17 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +462 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +13 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +116 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
- package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
- package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.js +115 -0
- package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
- package/dist/commonjs/operations/energyServices.d.ts +95 -0
- package/dist/commonjs/operations/energyServices.d.ts.map +1 -0
- package/dist/commonjs/operations/energyServices.js +429 -0
- package/dist/commonjs/operations/energyServices.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +14 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/locations.d.ts +19 -0
- package/dist/commonjs/operations/locations.d.ts.map +1 -0
- package/dist/commonjs/operations/locations.js +54 -0
- package/dist/commonjs/operations/locations.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +18 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +52 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/energyServices.d.ts +59 -0
- package/dist/commonjs/operationsInterfaces/energyServices.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/energyServices.js +10 -0
- package/dist/commonjs/operationsInterfaces/energyServices.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/locations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/locations.js +10 -0
- package/dist/commonjs/operationsInterfaces/locations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +33 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +368 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +62 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +17 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +459 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +13 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +113 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
- package/dist/esm/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
- package/dist/esm/openEnergyPlatformManagementServiceAPIs.js +110 -0
- package/dist/esm/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
- package/dist/esm/operations/energyServices.d.ts +95 -0
- package/dist/esm/operations/energyServices.d.ts.map +1 -0
- package/dist/esm/operations/energyServices.js +424 -0
- package/dist/esm/operations/energyServices.js.map +1 -0
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +11 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/locations.d.ts +19 -0
- package/dist/esm/operations/locations.d.ts.map +1 -0
- package/dist/esm/operations/locations.js +49 -0
- package/dist/esm/operations/locations.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +18 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +47 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/energyServices.d.ts +59 -0
- package/dist/esm/operationsInterfaces/energyServices.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/energyServices.js} +2 -4
- package/dist/esm/operationsInterfaces/energyServices.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +11 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/locations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/locations.js +9 -0
- package/dist/esm/operationsInterfaces/locations.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +33 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +368 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +62 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +17 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +459 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +13 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +113 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
- package/dist/react-native/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
- package/dist/react-native/openEnergyPlatformManagementServiceAPIs.js +110 -0
- package/dist/react-native/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
- package/dist/react-native/operations/energyServices.d.ts +95 -0
- package/dist/react-native/operations/energyServices.d.ts.map +1 -0
- package/dist/react-native/operations/energyServices.js +424 -0
- package/dist/react-native/operations/energyServices.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +11 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/locations.d.ts +19 -0
- package/dist/react-native/operations/locations.d.ts.map +1 -0
- package/dist/react-native/operations/locations.js +49 -0
- package/dist/react-native/operations/locations.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +18 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +47 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/energyServices.d.ts +59 -0
- package/dist/react-native/operationsInterfaces/energyServices.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/energyServices.js +9 -0
- package/dist/react-native/operationsInterfaces/energyServices.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +11 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/locations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/locations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/locations.js +9 -0
- package/dist/react-native/operationsInterfaces/locations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +87 -74
- package/review/{arm-oep.api.md → arm-oep-node.api.md} +7 -20
- package/dist/index.js +0 -1269
- 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/energyServicesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesCreateSample.js +0 -31
- package/dist-esm/samples-dev/energyServicesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesDeleteSample.js +0 -31
- package/dist-esm/samples-dev/energyServicesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesGetSample.js +0 -31
- package/dist-esm/samples-dev/energyServicesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/energyServicesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/energyServicesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/energyServicesUpdateSample.js +0 -31
- package/dist-esm/samples-dev/energyServicesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailability.d.ts +0 -2
- package/dist-esm/samples-dev/locationsCheckNameAvailability.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailability.js +0 -33
- package/dist-esm/samples-dev/locationsCheckNameAvailability.js.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +0 -33
- package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceCreate.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceCreate.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceCreate.js +0 -31
- package/dist-esm/samples-dev/oepResourceCreate.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceDelete.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceDelete.js +0 -31
- package/dist-esm/samples-dev/oepResourceDelete.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceGet.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceGet.js +0 -31
- package/dist-esm/samples-dev/oepResourceGet.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.js +0 -44
- package/dist-esm/samples-dev/oepResourceListByResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.js +0 -43
- package/dist-esm/samples-dev/oepResourceListBySubscriptionId.js.map +0 -1
- package/dist-esm/samples-dev/oepResourceUpdate.d.ts +0 -2
- package/dist-esm/samples-dev/oepResourceUpdate.d.ts.map +0 -1
- package/dist-esm/samples-dev/oepResourceUpdate.js +0 -31
- package/dist-esm/samples-dev/oepResourceUpdate.js.map +0 -1
- package/dist-esm/samples-dev/operationsList.d.ts +0 -2
- package/dist-esm/samples-dev/operationsList.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsList.js +0 -29
- package/dist-esm/samples-dev/operationsList.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 -29
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.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/openEnergyPlatformManagementServiceAPIs.d.ts.map +0 -1
- package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.js +0 -71
- package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.js.map +0 -1
- package/dist-esm/src/operations/energyServices.d.ts.map +0 -1
- package/dist-esm/src/operations/energyServices.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -4
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/locations.d.ts.map +0 -1
- package/dist-esm/src/operations/locations.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/energyServices.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/energyServices.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/locations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -403
- package/src/models/mappers.ts +0 -475
- package/src/models/parameters.ts +0 -133
- package/src/openEnergyPlatformManagementServiceAPIs.ts +0 -108
- package/src/operations/energyServices.ts +0 -568
- package/src/operations/locations.ts +0 -67
- package/src/operations/operations.ts +0 -59
- package/src/operationsInterfaces/energyServices.ts +0 -113
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/locations.ts +0 -26
- package/src/operationsInterfaces/operations.ts +0 -21
- 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/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/energyServices.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/locations.ts","../src/lroImpl.ts","../src/operations/energyServices.ts","../src/operations/operations.ts","../src/openEnergyPlatformManagementServiceAPIs.ts"],"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\";\n\n/** The check availability request body. */\nexport interface CheckNameAvailabilityRequest {\n /** The name of the resource for which availability needs to be checked. */\n name?: string;\n /** The resource type. */\n type?: string;\n}\n\n/** The check availability result. */\nexport interface CheckNameAvailabilityResponse {\n /** Indicates if the resource name is available. */\n nameAvailable?: boolean;\n /** The reason why the given name is not available. */\n reason?: CheckNameAvailabilityReason;\n /** Detailed reason why the given name is available. */\n message?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** The list of oep resources. */\nexport interface EnergyServiceList {\n /** The link used to get the next page of oep resources list. */\n nextLink?: string;\n /** The list of oep resources. */\n value?: EnergyService[];\n}\n\nexport interface EnergyServiceProperties {\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly dnsName?: string;\n /** NOTE: This property will not be serialized. It can only be populated by the server. */\n readonly provisioningState?: ProvisioningState;\n authAppId?: string;\n dataPartitionNames?: DataPartitionNames[];\n}\n\n/** The list of Energy services resource's Data Partition Names. */\nexport interface DataPartitionNames {\n name?: string;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** The resource model definition used for updating a tracked ARM resource. */\nexport interface EnergyResourceUpdate {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n}\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface OperationListResult {\n /**\n * List of operations supported by the resource provider\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Operation[];\n /**\n * URL to get the next set of operation list results (if there are any).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /**\n * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: Origin;\n /**\n * Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly actionType?: ActionType;\n}\n\n/** Localized display information for this particular operation. */\nexport interface OperationDisplay {\n /**\n * The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n /**\n * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The short, localized friendly description of the operation; suitable for tool tips and detailed views.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n}\n\nexport type EnergyService = Resource & {\n properties?: EnergyServiceProperties;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Geo-location where the resource lives. */\n location: string;\n};\n\n/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */\nexport enum KnownCheckNameAvailabilityReason {\n Invalid = \"Invalid\",\n AlreadyExists = \"AlreadyExists\"\n}\n\n/**\n * Defines values for CheckNameAvailabilityReason. \\\n * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Invalid** \\\n * **AlreadyExists**\n */\nexport type CheckNameAvailabilityReason = string;\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n Unknown = \"Unknown\",\n Succeeded = \"Succeeded\",\n Failed = \"Failed\",\n Canceled = \"Canceled\",\n Creating = \"Creating\",\n Deleting = \"Deleting\",\n Updating = \"Updating\"\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unknown** \\\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled** \\\n * **Creating** \\\n * **Deleting** \\\n * **Updating**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n User = \"User\",\n Application = \"Application\",\n ManagedIdentity = \"ManagedIdentity\",\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link Origin} that the service accepts. */\nexport enum KnownOrigin {\n User = \"user\",\n System = \"system\",\n UserSystem = \"user,system\"\n}\n\n/**\n * Defines values for Origin. \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user** \\\n * **system** \\\n * **user,system**\n */\nexport type Origin = string;\n\n/** Known values of {@link ActionType} that the service accepts. */\nexport enum KnownActionType {\n Internal = \"Internal\"\n}\n\n/**\n * Defines values for ActionType. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**\n */\nexport type ActionType = string;\n\n/** Optional parameters. */\nexport interface LocationsCheckNameAvailabilityOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the checkNameAvailability operation. */\nexport type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;\n\n/** Optional parameters. */\nexport interface EnergyServicesListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type EnergyServicesListByResourceGroupResponse = EnergyServiceList;\n\n/** Optional parameters. */\nexport interface EnergyServicesListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type EnergyServicesListBySubscriptionResponse = EnergyServiceList;\n\n/** Optional parameters. */\nexport interface EnergyServicesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type EnergyServicesGetResponse = EnergyService;\n\n/** Optional parameters. */\nexport interface EnergyServicesCreateOptionalParams\n extends coreClient.OperationOptions {\n /** Request body. */\n body?: EnergyService;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type EnergyServicesCreateResponse = EnergyService;\n\n/** Optional parameters. */\nexport interface EnergyServicesUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The resource model definition used for updating a tracked ARM resource. */\n body?: EnergyResourceUpdate;\n}\n\n/** Contains response data for the update operation. */\nexport type EnergyServicesUpdateResponse = EnergyService;\n\n/** Optional parameters. */\nexport interface EnergyServicesDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface EnergyServicesListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type EnergyServicesListByResourceGroupNextResponse = EnergyServiceList;\n\n/** Optional parameters. */\nexport interface EnergyServicesListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type EnergyServicesListBySubscriptionNextResponse = EnergyServiceList;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface OpenEnergyPlatformManagementServiceAPIsOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\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\";\n\nexport const CheckNameAvailabilityRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityRequest\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CheckNameAvailabilityResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityResponse\",\n modelProperties: {\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\"\n }\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const EnergyServiceList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnergyServiceList\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EnergyService\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const EnergyServiceProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnergyServiceProperties\",\n modelProperties: {\n dnsName: {\n serializedName: \"dnsName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n authAppId: {\n serializedName: \"authAppId\",\n type: {\n name: \"String\"\n }\n },\n dataPartitionNames: {\n serializedName: \"dataPartitionNames\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DataPartitionNames\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const DataPartitionNames: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DataPartitionNames\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const EnergyResourceUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnergyResourceUpdate\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n actionType: {\n serializedName: \"actionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const EnergyService: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnergyService\",\n modelProperties: {\n ...Resource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"EnergyServiceProperties\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\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 OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper,\n EnergyService as EnergyServiceMapper,\n EnergyResourceUpdate as EnergyResourceUpdateMapper\n} from \"../models/mappers\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: \"body\",\n mapper: CheckNameAvailabilityRequestMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-06-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body1: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: EnergyServiceMapper\n};\n\nexport const body2: OperationParameter = {\n parameterPath: [\"options\", \"body\"],\n mapper: EnergyResourceUpdateMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n","/*\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 { Locations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OpenEnergyPlatformManagementServiceAPIs } from \"../openEnergyPlatformManagementServiceAPIs\";\nimport {\n CheckNameAvailabilityRequest,\n LocationsCheckNameAvailabilityOptionalParams,\n LocationsCheckNameAvailabilityResponse\n} from \"../models\";\n\n/** Class containing Locations operations. */\nexport class LocationsImpl implements Locations {\n private readonly client: OpenEnergyPlatformManagementServiceAPIs;\n\n /**\n * Initialize a new instance of the class Locations class.\n * @param client Reference to the service client\n */\n constructor(client: OpenEnergyPlatformManagementServiceAPIs) {\n this.client = client;\n }\n\n /**\n * Checks the name availability of the resource with requested resource name.\n * @param body NameAvailabilityRequest object.\n * @param options The options parameters.\n */\n checkNameAvailability(\n body: CheckNameAvailabilityRequest,\n options?: LocationsCheckNameAvailabilityOptionalParams\n ): Promise<LocationsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { body, options },\n checkNameAvailabilityOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body,\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\n","/*\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","/*\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 { EnergyServices } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OpenEnergyPlatformManagementServiceAPIs } from \"../openEnergyPlatformManagementServiceAPIs\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n EnergyService,\n EnergyServicesListByResourceGroupNextOptionalParams,\n EnergyServicesListByResourceGroupOptionalParams,\n EnergyServicesListBySubscriptionNextOptionalParams,\n EnergyServicesListBySubscriptionOptionalParams,\n EnergyServicesListByResourceGroupResponse,\n EnergyServicesListBySubscriptionResponse,\n EnergyServicesGetOptionalParams,\n EnergyServicesGetResponse,\n EnergyServicesCreateOptionalParams,\n EnergyServicesCreateResponse,\n EnergyServicesUpdateOptionalParams,\n EnergyServicesUpdateResponse,\n EnergyServicesDeleteOptionalParams,\n EnergyServicesListByResourceGroupNextResponse,\n EnergyServicesListBySubscriptionNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing EnergyServices operations. */\nexport class EnergyServicesImpl implements EnergyServices {\n private readonly client: OpenEnergyPlatformManagementServiceAPIs;\n\n /**\n * Initialize a new instance of the class EnergyServices class.\n * @param client Reference to the service client\n */\n constructor(client: OpenEnergyPlatformManagementServiceAPIs) {\n this.client = client;\n }\n\n /**\n * Returns list of oep resources..\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: EnergyServicesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<EnergyService> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listByResourceGroupPagingPage(resourceGroupName, options);\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: EnergyServicesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<EnergyService[]> {\n let result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: EnergyServicesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<EnergyService> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists a collection of oep resources under the given Azure Subscription ID.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: EnergyServicesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<EnergyService> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listBySubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: EnergyServicesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<EnergyService[]> {\n let result = await this._listBySubscription(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: EnergyServicesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<EnergyService> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns list of oep resources..\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: EnergyServicesListByResourceGroupOptionalParams\n ): Promise<EnergyServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists a collection of oep resources under the given Azure Subscription ID.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: EnergyServicesListBySubscriptionOptionalParams\n ): Promise<EnergyServicesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Returns oep resource for a given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesGetOptionalParams\n ): Promise<EnergyServicesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Method that gets called if subscribed for ResourceCreationBegin trigger.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<EnergyServicesCreateResponse>,\n EnergyServicesCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<EnergyServicesCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, resourceName, options },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Method that gets called if subscribed for ResourceCreationBegin trigger.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesCreateOptionalParams\n ): Promise<EnergyServicesCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n resourceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesUpdateOptionalParams\n ): Promise<EnergyServicesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Deletes oep resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes oep resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The resource name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n options?: EnergyServicesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: EnergyServicesListByResourceGroupNextOptionalParams\n ): Promise<EnergyServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: EnergyServicesListBySubscriptionNextOptionalParams\n ): Promise<EnergyServicesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyServiceList\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/energyServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyServiceList\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyService\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyService\n },\n 201: {\n bodyMapper: Mappers.EnergyService\n },\n 202: {\n bodyMapper: Mappers.EnergyService\n },\n 204: {\n bodyMapper: Mappers.EnergyService\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.body1,\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyService\n },\n default: {}\n },\n requestBody: Parameters.body2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyServiceList\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnergyServiceList\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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 { Operations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OpenEnergyPlatformManagementServiceAPIs } from \"../openEnergyPlatformManagementServiceAPIs\";\nimport {\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models\";\n\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: OpenEnergyPlatformManagementServiceAPIs;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: OpenEnergyPlatformManagementServiceAPIs) {\n this.client = client;\n }\n\n /**\n * Lists the available operations of Microsoft.OpenEnergyPlatform resource provider.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.OpenEnergyPlatform/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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 * as coreAuth from \"@azure/core-auth\";\nimport {\n LocationsImpl,\n EnergyServicesImpl,\n OperationsImpl\n} from \"./operations\";\nimport { Locations, EnergyServices, Operations } from \"./operationsInterfaces\";\nimport { OpenEnergyPlatformManagementServiceAPIsOptionalParams } from \"./models\";\n\nexport class OpenEnergyPlatformManagementServiceAPIs extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the OpenEnergyPlatformManagementServiceAPIs class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: OpenEnergyPlatformManagementServiceAPIsOptionalParams\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: OpenEnergyPlatformManagementServiceAPIsOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-oep/1.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n if (!bearerTokenAuthenticationPolicyFound) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n scopes: `${optionsWithDefaults.baseUri}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\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-06-01-preview\";\n this.locations = new LocationsImpl(this);\n this.energyServices = new EnergyServicesImpl(this);\n this.operations = new OperationsImpl(this);\n }\n\n locations: Locations;\n energyServices: EnergyServices;\n operations: Operations;\n}\n"],"names":["KnownCheckNameAvailabilityReason","KnownProvisioningState","KnownCreatedByType","KnownOrigin","KnownActionType","CheckNameAvailabilityRequestMapper","EnergyServiceMapper","EnergyResourceUpdateMapper","serializer","coreClient","Mappers.CheckNameAvailabilityResponse","Mappers.ErrorResponse","Parameters.body","Parameters.$host","Parameters.subscriptionId","Parameters.contentType","Parameters.accept","__rest","__await","__asyncValues","__asyncDelegator","__awaiter","LroEngine","Mappers.EnergyServiceList","Parameters.apiVersion","Parameters.resourceGroupName","Mappers.EnergyService","Parameters.resourceName","Parameters.body1","Parameters.body2","Parameters.nextLink","Mappers.OperationListResult","coreRestPipeline"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAmNH;AACYA,kDAGX;AAHD,CAAA,UAAY,gCAAgC,EAAA;AAC1C,IAAA,gCAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,gCAAA,CAAA,eAAA,CAAA,GAAA,eAA+B,CAAA;AACjC,CAAC,EAHWA,wCAAgC,KAAhCA,wCAAgC,GAG3C,EAAA,CAAA,CAAA,CAAA;AAYD;AACYC,wCAQX;AARD,CAAA,UAAY,sBAAsB,EAAA;AAChC,IAAA,sBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,sBAAA,CAAA,WAAA,CAAA,GAAA,WAAuB,CAAA;AACvB,IAAA,sBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,sBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,sBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,sBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,sBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACvB,CAAC,EARWA,8BAAsB,KAAtBA,8BAAsB,GAQjC,EAAA,CAAA,CAAA,CAAA;AAiBD;AACYC,oCAKX;AALD,CAAA,U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C,cAAc,KACb,cAAc,CAAC,IAAI;gBACnBuB,2BAAgB,CAAC,mCAAmC,CACvD,CAAC;YACF,IAAI,CAAC,oCAAoC,EAAE;AACzC,gBAAA,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;oBACzB,IAAI,EAAEA,2BAAgB,CAAC,mCAAmC;AAC3D,iBAAA,CAAC,CAAC;gBACH,IAAI,CAAC,QAAQ,CAAC,SAAS,CACrBA,2BAAgB,CAAC,+BAA+B,CAAC;AAC/C,oBAAA,MAAM,EAAE,CAAA,EAAG,mBAAmB,CAAC,OAAO,CAAW,SAAA,CAAA;AACjD,oBAAA,kBAAkB,EAAE;wBAClB,2BAA2B,EACzBvB,qBAAU,CAAC,gCAAgC;AAC9C,qBAAA;AACF,iBAAA,CAAC,CACH,CAAC;AACH,aAAA;AACF,SAAA;;AAED,QAAA,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;QAGrC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,cAAc,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;KAC5C;AAKF;;;;"}
|
package/dist/index.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),tslib=require("tslib"),coreLro=require("@azure/core-lro");function _interopNamespace(t){if(t&&t.__esModule)return t;var i=Object.create(null);return t&&Object.keys(t).forEach(function(e){var r;"default"!==e&&(r=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(i,e,r.get?r:{enumerable:!0,get:function(){return t[e]}}))}),i.default=t,Object.freeze(i)}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);exports.KnownCheckNameAvailabilityReason=void 0,function(e){e.Invalid="Invalid",e.AlreadyExists="AlreadyExists"}(exports.KnownCheckNameAvailabilityReason||(exports.KnownCheckNameAvailabilityReason={})),exports.KnownProvisioningState=void 0,function(e){e.Unknown="Unknown",e.Succeeded="Succeeded",e.Failed="Failed",e.Canceled="Canceled",e.Creating="Creating",e.Deleting="Deleting",e.Updating="Updating"}(exports.KnownProvisioningState||(exports.KnownProvisioningState={})),exports.KnownCreatedByType=void 0,function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),exports.KnownOrigin=void 0,function(e){e.User="user",e.System="system",e.UserSystem="user,system"}(exports.KnownOrigin||(exports.KnownOrigin={})),exports.KnownActionType=void 0,(exports.KnownActionType||(exports.KnownActionType={})).Internal="Internal";const CheckNameAvailabilityRequest={type:{name:"Composite",className:"CheckNameAvailabilityRequest",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},CheckNameAvailabilityResponse={type:{name:"Composite",className:"CheckNameAvailabilityResponse",modelProperties:{nameAvailable:{serializedName:"nameAvailable",type:{name:"Boolean"}},reason:{serializedName:"reason",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorDetail"}}}}},ErrorDetail={type:{name:"Composite",className:"ErrorDetail",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorDetail"}}}},additionalInfo:{serializedName:"additionalInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorAdditionalInfo"}}}}}}},ErrorAdditionalInfo={type:{name:"Composite",className:"ErrorAdditionalInfo",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},info:{serializedName:"info",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},EnergyServiceList={type:{name:"Composite",className:"EnergyServiceList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"EnergyService"}}}}}}},EnergyServiceProperties={type:{name:"Composite",className:"EnergyServiceProperties",modelProperties:{dnsName:{serializedName:"dnsName",readOnly:!0,type:{name:"String"}},provisioningState:{serializedName:"provisioningState",readOnly:!0,type:{name:"String"}},authAppId:{serializedName:"authAppId",type:{name:"String"}},dataPartitionNames:{serializedName:"dataPartitionNames",type:{name:"Sequence",element:{type:{name:"Composite",className:"DataPartitionNames"}}}}}}},DataPartitionNames={type:{name:"Composite",className:"DataPartitionNames",modelProperties:{name:{serializedName:"name",type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},EnergyResourceUpdate={type:{name:"Composite",className:"EnergyResourceUpdate",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},isDataAction:{serializedName:"isDataAction",readOnly:!0,type:{name:"Boolean"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}},origin:{serializedName:"origin",readOnly:!0,type:{name:"String"}},actionType:{serializedName:"actionType",readOnly:!0,type:{name:"String"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",readOnly:!0,type:{name:"String"}},resource:{serializedName:"resource",readOnly:!0,type:{name:"String"}},operation:{serializedName:"operation",readOnly:!0,type:{name:"String"}},description:{serializedName:"description",readOnly:!0,type:{name:"String"}}}}},EnergyService={type:{name:"Composite",className:"EnergyService",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{properties:{serializedName:"properties",type:{name:"Composite",className:"EnergyServiceProperties"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},location:{serializedName:"location",required:!0,type:{name:"String"}}})}};var Mappers=Object.freeze({__proto__:null,CheckNameAvailabilityRequest:CheckNameAvailabilityRequest,CheckNameAvailabilityResponse:CheckNameAvailabilityResponse,ErrorResponse:ErrorResponse,ErrorDetail:ErrorDetail,ErrorAdditionalInfo:ErrorAdditionalInfo,EnergyServiceList:EnergyServiceList,EnergyServiceProperties:EnergyServiceProperties,DataPartitionNames:DataPartitionNames,Resource:Resource,SystemData:SystemData,EnergyResourceUpdate:EnergyResourceUpdate,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,EnergyService:EnergyService});const contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},body={parameterPath:"body",mapper:CheckNameAvailabilityRequest},accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{constraints:{MinLength:1},serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-06-01-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},resourceName={parameterPath:"resourceName",mapper:{serializedName:"resourceName",required:!0,type:{name:"String"}}},body1={parameterPath:["options","body"],mapper:EnergyService},body2={parameterPath:["options","body"],mapper:EnergyResourceUpdate},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0};class LocationsImpl{constructor(e){this.client=e}checkNameAvailability(e,r){return this.client.sendOperationRequest({body:e,options:r},checkNameAvailabilityOperationSpec)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),checkNameAvailabilityOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/checkNameAvailability",httpMethod:"POST",responses:{200:{bodyMapper:CheckNameAvailabilityResponse},default:{bodyMapper:ErrorResponse}},requestBody:body,urlParameters:[$host,subscriptionId],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$2};class LroImpl{constructor(e,r,t,i=t.path,a=t.httpMethod){this.sendOperationFn=e,this.args=r,this.spec=t,this.requestPath=i,this.requestMethod=a}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(r){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:r,httpMethod:"GET"}))})}}class EnergyServicesImpl{constructor(e){this.client=e}listByResourceGroup(e,r){const t=this.listByResourceGroupPagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,r)}}listByResourceGroupPagingPage(t,i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(t,i));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listByResourceGroupNext(t,r,i)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listByResourceGroupPagingPage(s,n));!(t=yield tslib.__await(i.next())).done;){var a=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}listBySubscription(e){const r=this.listBySubscriptionPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listBySubscriptionNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,i=tslib.__asyncValues(this.listBySubscriptionPagingPage(s));!(t=yield tslib.__await(i.next())).done;){var a=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=i.return)&&(yield tslib.__await(e.call(i)))}finally{if(r)throw r.error}}})}_listByResourceGroup(e,r){return this.client.sendOperationRequest({resourceGroupName:e,options:r},listByResourceGroupOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}get(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:t},getOperationSpec)}beginCreate(t,i,a){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,a)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const i=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==i&&void 0!==i&&i(e,r)}})});return{flatResponse:yield s(e,a),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:t,resourceName:i,options:a},createOperationSpec);const r=new coreLro.LroEngine(e,{resumeFrom:null==a?void 0:a.resumeFrom,intervalInMs:null==a?void 0:a.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"});return yield r.poll(),r})}beginCreateAndWait(r,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreate(r,t,i);return e.pollUntilDone()})}update(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:t},updateOperationSpec)}beginDelete(t,i,a){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,a)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const i=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==i&&void 0!==i&&i(e,r)}})});return{flatResponse:yield s(e,a),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:t,resourceName:i,options:a},deleteOperationSpec);const r=new coreLro.LroEngine(e,{resumeFrom:null==a?void 0:a.resumeFrom,intervalInMs:null==a?void 0:a.updateIntervalInMs});return yield r.poll(),r})}beginDeleteAndWait(r,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginDelete(r,t,i);return e.pollUntilDone()})}_listByResourceGroupNext(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:r,options:t},listByResourceGroupNextOperationSpec)}_listBySubscriptionNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listBySubscriptionNextOperationSpec)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices",httpMethod:"GET",responses:{200:{bodyMapper:EnergyServiceList},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$1},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.OpenEnergyPlatform/energyServices",httpMethod:"GET",responses:{200:{bodyMapper:EnergyServiceList},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}",httpMethod:"GET",responses:{200:{bodyMapper:EnergyService},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,resourceName],headerParameters:[accept],serializer:serializer$1},createOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}",httpMethod:"PUT",responses:{200:{bodyMapper:EnergyService},201:{bodyMapper:EnergyService},202:{bodyMapper:EnergyService},204:{bodyMapper:EnergyService},default:{bodyMapper:ErrorResponse}},requestBody:body1,urlParameters:[$host,subscriptionId,resourceGroupName,resourceName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}",httpMethod:"PATCH",responses:{200:{bodyMapper:EnergyService},default:{}},requestBody:body2,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,resourceName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,resourceName],serializer:serializer$1},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:EnergyServiceList},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,nextLink],headerParameters:[accept],serializer:serializer$1},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:EnergyServiceList},default:{}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$1};class OperationsImpl{constructor(e){this.client=e}list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.OpenEnergyPlatform/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer};class OpenEnergyPlatformManagementServiceAPIs extends coreClient__namespace.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var e={requestContentType:"application/json; charset=utf-8",credential:e},i="azsdk-js-arm-oep/1.0.0-beta.2",i=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+i:i,e=(t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),Object.assign(Object.assign(Object.assign({},e),t),{userAgentOptions:{userAgentPrefix:i},baseUri:null!=(i=null!=(e=t.endpoint)?e:t.baseUri)?i:"https://management.azure.com"}));if(super(e),null!=t&&t.pipeline&&0<t.pipeline.getOrderedPolicies().length){const a=t.pipeline.getOrderedPolicies();a.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({scopes:e.baseUri+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}})))}this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2021-06-01-preview",this.locations=new LocationsImpl(this),this.energyServices=new EnergyServicesImpl(this),this.operations=new OperationsImpl(this)}}exports.OpenEnergyPlatformManagementServiceAPIs=OpenEnergyPlatformManagementServiceAPIs;
|
package/dist/index.min.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/locations.ts","../src/lroImpl.ts","../src/operations/energyServices.ts","../src/operations/operations.ts","../src/openEnergyPlatformManagementServiceAPIs.ts"],"names":["KnownCheckNameAvailabilityReason","KnownProvisioningState","KnownCreatedByType","KnownOrigin","KnownActionType","CheckNameAvailabilityRequest","type","name","className","modelProperties","serializedName","CheckNameAvailabilityResponse","nameAvailable","reason","message","ErrorResponse","error","ErrorDetail","code","readOnly","target","details","element","additionalInfo","ErrorAdditionalInfo","info","value","EnergyServiceList","nextLink","EnergyServiceProperties","dnsName","provisioningState","authAppId","dataPartitionNames","DataPartitionNames","Resource","id","systemData","SystemData","createdBy","createdByType","createdAt","lastModifiedBy","lastModifiedByType","lastModifiedAt","EnergyResourceUpdate","tags","OperationListResult","Operation","isDataAction","display","origin","actionType","OperationDisplay","provider","resource","operation","description","EnergyService","Object","assign","properties","location","required","contentType","parameterPath","mapper","defaultValue","isConstant","body","CheckNameAvailabilityRequestMapper","accept","$host","skipEncoding","subscriptionId","constraints","MinLength","resourceGroupName","MaxLength","apiVersion","resourceName","body1","EnergyServiceMapper","body2","EnergyResourceUpdateMapper","LocationsImpl","constructor","client","this","checkNameAvailability","options","sendOperationRequest","checkNameAvailabilityOperationSpec","serializer","coreClient","createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.CheckNameAvailabilityResponse","default","Mappers.ErrorResponse","requestBody","Parameters.body","urlParameters","Parameters.$host","Parameters.subscriptionId","headerParameters","Parameters.contentType","Parameters.accept","mediaType","LroImpl","sendOperationFn","args","spec","requestPath","requestMethod","sendInitialRequest","sendPollRequest","_a","restSpec","__rest","EnergyServicesImpl","listByResourceGroup","iter","listByResourceGroupPagingAll","next","Symbol","asyncIterator","byPage","listByResourceGroupPagingPage","let","result","__await","_listByResourceGroup","continuationToken","_listByResourceGroupNext","_c","_b","__asyncValues","done","page","__asyncDelegator","listBySubscription","listBySubscriptionPagingAll","listBySubscriptionPagingPage","_listBySubscription","_listBySubscriptionNext","listByResourceGroupOperationSpec","listBySubscriptionOperationSpec","get","getOperationSpec","beginCreate","directSendOperation","__awaiter","lro","currentRawResponse","undefined","providedCallback","onResponse","updatedArgs","rawResponse","flatResponse","statusCode","status","parsedBody","headers","toJSON","createOperationSpec","poller","LroEngine","resumeFrom","intervalInMs","updateIntervalInMs","lroResourceLocationConfig","poll","beginCreateAndWait","pollUntilDone","update","updateOperationSpec","beginDelete","deleteOperationSpec","beginDeleteAndWait","listByResourceGroupNextOperationSpec","listBySubscriptionNextOperationSpec","Mappers.EnergyServiceList","queryParameters","Parameters.apiVersion","Parameters.resourceGroupName","Mappers.EnergyService","Parameters.resourceName","201","202","204","Parameters.body1","Parameters.body2","Parameters.nextLink","OperationsImpl","list","listOperationSpec","Mappers.OperationListResult","OpenEnergyPlatformManagementServiceAPIs","ServiceClient","credentials","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","optionsWithDefaults","credentialScopes","baseUri","endpoint","super","pipeline","getOrderedPolicies","length","pipelinePolicies","some","pipelinePolicy","coreRestPipeline","bearerTokenAuthenticationPolicyName","removePolicy","addPolicy","bearerTokenAuthenticationPolicy","scopes","challengeCallbacks","authorizeRequestOnChallenge","authorizeRequestOnClaimChallenge","locations","energyServices","operations"],"mappings":"soBA0NYA,QAAAA,sCAAAA,EAAZ,SAAYA,GACVA,EAAA,QAAA,UACAA,EAAA,cAAA,gBAFF,CAAYA,QAAAA,mCAAAA,QAAAA,iCAGX,KAaWC,QAAAA,4BAAAA,EAAZ,SAAYA,GACVA,EAAA,QAAA,UACAA,EAAA,UAAA,YACAA,EAAA,OAAA,SACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WAPF,CAAYA,QAAAA,yBAAAA,QAAAA,uBAQX,KAkBWC,QAAAA,wBAAAA,EAAZ,SAAYA,GACVA,EAAA,KAAA,OACAA,EAAA,YAAA,cACAA,EAAA,gBAAA,kBACAA,EAAA,IAAA,MAJF,CAAYA,QAAAA,qBAAAA,QAAAA,mBAKX,KAeWC,QAAAA,iBAAAA,EAAZ,SAAYA,GACVA,EAAA,KAAA,OACAA,EAAA,OAAA,SACAA,EAAA,WAAA,cAHF,CAAYA,QAAAA,cAAAA,QAAAA,YAIX,KAcWC,QAAAA,qBAAAA,GAAAA,QAAAA,kBAAAA,QAAAA,gBAEX,KADC,SAAA,WCjSK,MAAMC,6BAA2D,CACtEC,KAAM,CACJC,KAAM,YACNC,UAAW,+BACXC,gBAAiB,CACfF,KAAM,CACJG,eAAgB,OAChBJ,KAAM,CACJC,KAAM,WAGVD,KAAM,CACJI,eAAgB,OAChBJ,KAAM,CACJC,K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eAAehH,O"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/energyServicesCreateSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +0,0 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { OpenEnergyPlatformManagementServiceAPIs } from "@azure/arm-oep";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Method that gets called if subscribed for ResourceCreationBegin trigger.
|
|
15
|
-
*
|
|
16
|
-
* @summary Method that gets called if subscribed for ResourceCreationBegin trigger.
|
|
17
|
-
* x-ms-original-file: specification/oep/resource-manager/Microsoft.OpenEnergyPlatform/preview/2021-06-01-preview/examples/OepResource_Create.json
|
|
18
|
-
*/
|
|
19
|
-
function oepResourceCreate() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "0000000-0000-0000-0000-000000000001";
|
|
22
|
-
const resourceGroupName = "DummyResourceGroupName";
|
|
23
|
-
const resourceName = "DummyResourceName";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new OpenEnergyPlatformManagementServiceAPIs(credential, subscriptionId);
|
|
26
|
-
const result = yield client.energyServices.beginCreateAndWait(resourceGroupName, resourceName);
|
|
27
|
-
console.log(result);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
oepResourceCreate().catch(console.error);
|
|
31
|
-
//# sourceMappingURL=energyServicesCreateSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesCreateSample.js","sourceRoot":"","sources":["../../samples-dev/energyServicesCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,qCAAqC,CAAC;QAC7D,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;QACnD,MAAM,YAAY,GAAG,mBAAmB,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uCAAuC,CACxD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/energyServicesDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +0,0 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { OpenEnergyPlatformManagementServiceAPIs } from "@azure/arm-oep";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Deletes oep resource
|
|
15
|
-
*
|
|
16
|
-
* @summary Deletes oep resource
|
|
17
|
-
* x-ms-original-file: specification/oep/resource-manager/Microsoft.OpenEnergyPlatform/preview/2021-06-01-preview/examples/OepResource_Delete.json
|
|
18
|
-
*/
|
|
19
|
-
function oepResourceDelete() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "0000000-0000-0000-0000-000000000001";
|
|
22
|
-
const resourceGroupName = "DummyResourceGroupName";
|
|
23
|
-
const resourceName = "DummyResourceName";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new OpenEnergyPlatformManagementServiceAPIs(credential, subscriptionId);
|
|
26
|
-
const result = yield client.energyServices.beginDeleteAndWait(resourceGroupName, resourceName);
|
|
27
|
-
console.log(result);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
oepResourceDelete().catch(console.error);
|
|
31
|
-
//# sourceMappingURL=energyServicesDeleteSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/energyServicesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,qCAAqC,CAAC;QAC7D,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;QACnD,MAAM,YAAY,GAAG,mBAAmB,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uCAAuC,CACxD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAC3D,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/energyServicesGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +0,0 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { OpenEnergyPlatformManagementServiceAPIs } from "@azure/arm-oep";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Returns oep resource for a given name.
|
|
15
|
-
*
|
|
16
|
-
* @summary Returns oep resource for a given name.
|
|
17
|
-
* x-ms-original-file: specification/oep/resource-manager/Microsoft.OpenEnergyPlatform/preview/2021-06-01-preview/examples/OepResource_Get.json
|
|
18
|
-
*/
|
|
19
|
-
function oepResourceGet() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "0000000-0000-0000-0000-000000000001";
|
|
22
|
-
const resourceGroupName = "DummyResourceGroupName";
|
|
23
|
-
const resourceName = "DummyResourceName";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new OpenEnergyPlatformManagementServiceAPIs(credential, subscriptionId);
|
|
26
|
-
const result = yield client.energyServices.get(resourceGroupName, resourceName);
|
|
27
|
-
console.log(result);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
oepResourceGet().catch(console.error);
|
|
31
|
-
//# sourceMappingURL=energyServicesGetSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesGetSample.js","sourceRoot":"","sources":["../../samples-dev/energyServicesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,cAAc;;QAC3B,MAAM,cAAc,GAAG,qCAAqC,CAAC;QAC7D,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;QACnD,MAAM,YAAY,GAAG,mBAAmB,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uCAAuC,CACxD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,GAAG,CAC5C,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/energyServicesListByResourceGroupSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,44 +0,0 @@
|
|
|
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 { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { OpenEnergyPlatformManagementServiceAPIs } from "@azure/arm-oep";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Returns list of oep resources..
|
|
15
|
-
*
|
|
16
|
-
* @summary Returns list of oep resources..
|
|
17
|
-
* x-ms-original-file: specification/oep/resource-manager/Microsoft.OpenEnergyPlatform/preview/2021-06-01-preview/examples/OepResource_ListByResourceGroup.json
|
|
18
|
-
*/
|
|
19
|
-
function oepResourceListByResourceGroup() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "0000000-0000-0000-0000-000000000001";
|
|
23
|
-
const resourceGroupName = "DummyResourceGroupName";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new OpenEnergyPlatformManagementServiceAPIs(credential, subscriptionId);
|
|
26
|
-
const resArray = new Array();
|
|
27
|
-
try {
|
|
28
|
-
for (var _b = __asyncValues(client.energyServices.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
|
|
29
|
-
let item = _c.value;
|
|
30
|
-
resArray.push(item);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
34
|
-
finally {
|
|
35
|
-
try {
|
|
36
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
37
|
-
}
|
|
38
|
-
finally { if (e_1) throw e_1.error; }
|
|
39
|
-
}
|
|
40
|
-
console.log(resArray);
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
oepResourceListByResourceGroup().catch(console.error);
|
|
44
|
-
//# sourceMappingURL=energyServicesListByResourceGroupSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/energyServicesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8BAA8B;;;QAC3C,MAAM,cAAc,GAAG,qCAAqC,CAAC;QAC7D,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;QACnD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uCAAuC,CACxD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,cAAc,CAAC,mBAAmB,CAC9D,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/energyServicesListBySubscriptionSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,43 +0,0 @@
|
|
|
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 { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { OpenEnergyPlatformManagementServiceAPIs } from "@azure/arm-oep";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to Lists a collection of oep resources under the given Azure Subscription ID.
|
|
15
|
-
*
|
|
16
|
-
* @summary Lists a collection of oep resources under the given Azure Subscription ID.
|
|
17
|
-
* x-ms-original-file: specification/oep/resource-manager/Microsoft.OpenEnergyPlatform/preview/2021-06-01-preview/examples/OepResource_ListBySubscriptionId.json
|
|
18
|
-
*/
|
|
19
|
-
function oepResourceListBySubscriptionId() {
|
|
20
|
-
var e_1, _a;
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "0000000-0000-0000-0000-000000000001";
|
|
23
|
-
const credential = new DefaultAzureCredential();
|
|
24
|
-
const client = new OpenEnergyPlatformManagementServiceAPIs(credential, subscriptionId);
|
|
25
|
-
const resArray = new Array();
|
|
26
|
-
try {
|
|
27
|
-
for (var _b = __asyncValues(client.energyServices.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
|
|
28
|
-
let item = _c.value;
|
|
29
|
-
resArray.push(item);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
33
|
-
finally {
|
|
34
|
-
try {
|
|
35
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
|
36
|
-
}
|
|
37
|
-
finally { if (e_1) throw e_1.error; }
|
|
38
|
-
}
|
|
39
|
-
console.log(resArray);
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
oepResourceListBySubscriptionId().catch(console.error);
|
|
43
|
-
//# sourceMappingURL=energyServicesListBySubscriptionSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/energyServicesListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,+BAA+B;;;QAC5C,MAAM,cAAc,GAAG,qCAAqC,CAAC;QAC7D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uCAAuC,CACxD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,cAAc,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAAtD,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/energyServicesUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +0,0 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { OpenEnergyPlatformManagementServiceAPIs } from "@azure/arm-oep";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
/**
|
|
14
|
-
* This sample demonstrates how to
|
|
15
|
-
*
|
|
16
|
-
* @summary
|
|
17
|
-
* x-ms-original-file: specification/oep/resource-manager/Microsoft.OpenEnergyPlatform/preview/2021-06-01-preview/examples/OepResource_Update.json
|
|
18
|
-
*/
|
|
19
|
-
function oepResourceUpdate() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "0000000-0000-0000-0000-000000000001";
|
|
22
|
-
const resourceGroupName = "DummyResourceGroupName";
|
|
23
|
-
const resourceName = "DummyResourceName";
|
|
24
|
-
const credential = new DefaultAzureCredential();
|
|
25
|
-
const client = new OpenEnergyPlatformManagementServiceAPIs(credential, subscriptionId);
|
|
26
|
-
const result = yield client.energyServices.update(resourceGroupName, resourceName);
|
|
27
|
-
console.log(result);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
oepResourceUpdate().catch(console.error);
|
|
31
|
-
//# sourceMappingURL=energyServicesUpdateSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"energyServicesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/energyServicesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uCAAuC,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,qCAAqC,CAAC;QAC7D,MAAM,iBAAiB,GAAG,wBAAwB,CAAC;QACnD,MAAM,YAAY,GAAG,mBAAmB,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uCAAuC,CACxD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,MAAM,CAC/C,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|