@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.
Files changed (361) hide show
  1. package/CHANGELOG.md +18 -2
  2. package/LICENSE +4 -4
  3. package/README.md +30 -20
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -3
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/models/index.d.ts +33 -16
  11. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  12. package/{dist-esm/src → dist/browser}/models/index.js +17 -0
  13. package/dist/browser/models/index.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/mappers.js +9 -4
  15. package/dist/browser/models/mappers.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  17. package/dist/browser/models/parameters.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/openEnergyPlatformManagementServiceAPIs.d.ts +4 -2
  19. package/dist/browser/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
  20. package/dist/browser/openEnergyPlatformManagementServiceAPIs.js +110 -0
  21. package/dist/browser/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/energyServices.d.ts +3 -3
  23. package/dist/browser/operations/energyServices.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/energyServices.js +132 -137
  25. package/dist/browser/operations/energyServices.js.map +1 -0
  26. package/dist/browser/operations/index.d.ts +4 -0
  27. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  28. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
  29. package/dist/browser/operations/index.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/locations.d.ts +3 -3
  31. package/dist/browser/operations/locations.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/locations.js +3 -2
  33. package/dist/browser/operations/locations.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  35. package/dist/browser/operations/operations.d.ts.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
  37. package/dist/browser/operations/operations.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/energyServices.d.ts +1 -1
  39. package/dist/browser/operationsInterfaces/energyServices.d.ts.map +1 -0
  40. package/dist/browser/operationsInterfaces/energyServices.js.map +1 -0
  41. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  43. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
  44. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.d.ts +1 -1
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.d.ts.map +1 -1
  47. package/dist/browser/operationsInterfaces/locations.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  49. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  50. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  51. package/dist/browser/package.json +3 -0
  52. package/dist/browser/pagingHelper.d.ts +13 -0
  53. package/dist/browser/pagingHelper.d.ts.map +1 -0
  54. package/dist/browser/pagingHelper.js +30 -0
  55. package/dist/browser/pagingHelper.js.map +1 -0
  56. package/dist/commonjs/index.d.ts +5 -0
  57. package/dist/commonjs/index.d.ts.map +1 -0
  58. package/dist/commonjs/index.js +19 -0
  59. package/dist/commonjs/index.js.map +1 -0
  60. package/dist/commonjs/lroImpl.d.ts +16 -0
  61. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  62. package/dist/commonjs/lroImpl.js +37 -0
  63. package/dist/commonjs/lroImpl.js.map +1 -0
  64. package/{types/arm-oep.d.ts → dist/commonjs/models/index.d.ts} +368 -492
  65. package/dist/commonjs/models/index.d.ts.map +1 -0
  66. package/dist/commonjs/models/index.js +65 -0
  67. package/dist/commonjs/models/index.js.map +1 -0
  68. package/dist/commonjs/models/mappers.d.ts +17 -0
  69. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  70. package/dist/commonjs/models/mappers.js +462 -0
  71. package/dist/commonjs/models/mappers.js.map +1 -0
  72. package/dist/commonjs/models/parameters.d.ts +13 -0
  73. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  74. package/dist/commonjs/models/parameters.js +116 -0
  75. package/dist/commonjs/models/parameters.js.map +1 -0
  76. package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
  77. package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
  78. package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.js +115 -0
  79. package/dist/commonjs/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
  80. package/dist/commonjs/operations/energyServices.d.ts +95 -0
  81. package/dist/commonjs/operations/energyServices.d.ts.map +1 -0
  82. package/dist/commonjs/operations/energyServices.js +429 -0
  83. package/dist/commonjs/operations/energyServices.js.map +1 -0
  84. package/dist/commonjs/operations/index.d.ts +4 -0
  85. package/dist/commonjs/operations/index.d.ts.map +1 -0
  86. package/dist/commonjs/operations/index.js +14 -0
  87. package/dist/commonjs/operations/index.js.map +1 -0
  88. package/dist/commonjs/operations/locations.d.ts +19 -0
  89. package/dist/commonjs/operations/locations.d.ts.map +1 -0
  90. package/dist/commonjs/operations/locations.js +54 -0
  91. package/dist/commonjs/operations/locations.js.map +1 -0
  92. package/dist/commonjs/operations/operations.d.ts +18 -0
  93. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  94. package/dist/commonjs/operations/operations.js +52 -0
  95. package/dist/commonjs/operations/operations.js.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/energyServices.d.ts +59 -0
  97. package/dist/commonjs/operationsInterfaces/energyServices.d.ts.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/energyServices.js +10 -0
  99. package/dist/commonjs/operationsInterfaces/energyServices.js.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  101. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  102. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  103. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  104. package/dist/commonjs/operationsInterfaces/locations.d.ts +11 -0
  105. package/dist/commonjs/operationsInterfaces/locations.d.ts.map +1 -0
  106. package/dist/commonjs/operationsInterfaces/locations.js +10 -0
  107. package/dist/commonjs/operationsInterfaces/locations.js.map +1 -0
  108. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  109. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  111. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  112. package/dist/commonjs/package.json +3 -0
  113. package/dist/commonjs/pagingHelper.d.ts +13 -0
  114. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  115. package/dist/commonjs/pagingHelper.js +34 -0
  116. package/dist/commonjs/pagingHelper.js.map +1 -0
  117. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  118. package/dist/esm/index.d.ts +5 -0
  119. package/dist/esm/index.d.ts.map +1 -0
  120. package/{src/index.ts → dist/esm/index.js} +5 -4
  121. package/dist/esm/index.js.map +1 -0
  122. package/dist/esm/lroImpl.d.ts +16 -0
  123. package/dist/esm/lroImpl.d.ts.map +1 -0
  124. package/dist/esm/lroImpl.js +33 -0
  125. package/dist/esm/lroImpl.js.map +1 -0
  126. package/dist/esm/models/index.d.ts +368 -0
  127. package/dist/esm/models/index.d.ts.map +1 -0
  128. package/dist/esm/models/index.js +62 -0
  129. package/dist/esm/models/index.js.map +1 -0
  130. package/dist/esm/models/mappers.d.ts +17 -0
  131. package/dist/esm/models/mappers.d.ts.map +1 -0
  132. package/dist/esm/models/mappers.js +459 -0
  133. package/dist/esm/models/mappers.js.map +1 -0
  134. package/dist/esm/models/parameters.d.ts +13 -0
  135. package/dist/esm/models/parameters.d.ts.map +1 -0
  136. package/dist/esm/models/parameters.js +113 -0
  137. package/dist/esm/models/parameters.js.map +1 -0
  138. package/dist/esm/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
  139. package/dist/esm/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
  140. package/dist/esm/openEnergyPlatformManagementServiceAPIs.js +110 -0
  141. package/dist/esm/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
  142. package/dist/esm/operations/energyServices.d.ts +95 -0
  143. package/dist/esm/operations/energyServices.d.ts.map +1 -0
  144. package/dist/esm/operations/energyServices.js +424 -0
  145. package/dist/esm/operations/energyServices.js.map +1 -0
  146. package/dist/esm/operations/index.d.ts +4 -0
  147. package/dist/esm/operations/index.d.ts.map +1 -0
  148. package/dist/esm/operations/index.js +11 -0
  149. package/dist/esm/operations/index.js.map +1 -0
  150. package/dist/esm/operations/locations.d.ts +19 -0
  151. package/dist/esm/operations/locations.d.ts.map +1 -0
  152. package/dist/esm/operations/locations.js +49 -0
  153. package/dist/esm/operations/locations.js.map +1 -0
  154. package/dist/esm/operations/operations.d.ts +18 -0
  155. package/dist/esm/operations/operations.d.ts.map +1 -0
  156. package/dist/esm/operations/operations.js +47 -0
  157. package/dist/esm/operations/operations.js.map +1 -0
  158. package/dist/esm/operationsInterfaces/energyServices.d.ts +59 -0
  159. package/dist/esm/operationsInterfaces/energyServices.d.ts.map +1 -0
  160. package/{src/operations/index.ts → dist/esm/operationsInterfaces/energyServices.js} +2 -4
  161. package/dist/esm/operationsInterfaces/energyServices.js.map +1 -0
  162. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  163. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  164. package/dist/esm/operationsInterfaces/index.js +11 -0
  165. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  166. package/dist/esm/operationsInterfaces/locations.d.ts +11 -0
  167. package/dist/esm/operationsInterfaces/locations.d.ts.map +1 -0
  168. package/dist/esm/operationsInterfaces/locations.js +9 -0
  169. package/dist/esm/operationsInterfaces/locations.js.map +1 -0
  170. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  171. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  172. package/dist/esm/operationsInterfaces/operations.js +9 -0
  173. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  174. package/dist/esm/package.json +3 -0
  175. package/dist/esm/pagingHelper.d.ts +13 -0
  176. package/dist/esm/pagingHelper.d.ts.map +1 -0
  177. package/dist/esm/pagingHelper.js +30 -0
  178. package/dist/esm/pagingHelper.js.map +1 -0
  179. package/dist/react-native/index.d.ts +5 -0
  180. package/dist/react-native/index.d.ts.map +1 -0
  181. package/dist/react-native/index.js +13 -0
  182. package/dist/react-native/index.js.map +1 -0
  183. package/dist/react-native/lroImpl.d.ts +16 -0
  184. package/dist/react-native/lroImpl.d.ts.map +1 -0
  185. package/dist/react-native/lroImpl.js +33 -0
  186. package/dist/react-native/lroImpl.js.map +1 -0
  187. package/dist/react-native/models/index.d.ts +368 -0
  188. package/dist/react-native/models/index.d.ts.map +1 -0
  189. package/dist/react-native/models/index.js +62 -0
  190. package/dist/react-native/models/index.js.map +1 -0
  191. package/dist/react-native/models/mappers.d.ts +17 -0
  192. package/dist/react-native/models/mappers.d.ts.map +1 -0
  193. package/dist/react-native/models/mappers.js +459 -0
  194. package/dist/react-native/models/mappers.js.map +1 -0
  195. package/dist/react-native/models/parameters.d.ts +13 -0
  196. package/dist/react-native/models/parameters.d.ts.map +1 -0
  197. package/dist/react-native/models/parameters.js +113 -0
  198. package/dist/react-native/models/parameters.js.map +1 -0
  199. package/dist/react-native/openEnergyPlatformManagementServiceAPIs.d.ts +22 -0
  200. package/dist/react-native/openEnergyPlatformManagementServiceAPIs.d.ts.map +1 -0
  201. package/dist/react-native/openEnergyPlatformManagementServiceAPIs.js +110 -0
  202. package/dist/react-native/openEnergyPlatformManagementServiceAPIs.js.map +1 -0
  203. package/dist/react-native/operations/energyServices.d.ts +95 -0
  204. package/dist/react-native/operations/energyServices.d.ts.map +1 -0
  205. package/dist/react-native/operations/energyServices.js +424 -0
  206. package/dist/react-native/operations/energyServices.js.map +1 -0
  207. package/dist/react-native/operations/index.d.ts +4 -0
  208. package/dist/react-native/operations/index.d.ts.map +1 -0
  209. package/dist/react-native/operations/index.js +11 -0
  210. package/dist/react-native/operations/index.js.map +1 -0
  211. package/dist/react-native/operations/locations.d.ts +19 -0
  212. package/dist/react-native/operations/locations.d.ts.map +1 -0
  213. package/dist/react-native/operations/locations.js +49 -0
  214. package/dist/react-native/operations/locations.js.map +1 -0
  215. package/dist/react-native/operations/operations.d.ts +18 -0
  216. package/dist/react-native/operations/operations.d.ts.map +1 -0
  217. package/dist/react-native/operations/operations.js +47 -0
  218. package/dist/react-native/operations/operations.js.map +1 -0
  219. package/dist/react-native/operationsInterfaces/energyServices.d.ts +59 -0
  220. package/dist/react-native/operationsInterfaces/energyServices.d.ts.map +1 -0
  221. package/dist/react-native/operationsInterfaces/energyServices.js +9 -0
  222. package/dist/react-native/operationsInterfaces/energyServices.js.map +1 -0
  223. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  224. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  225. package/dist/react-native/operationsInterfaces/index.js +11 -0
  226. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  227. package/dist/react-native/operationsInterfaces/locations.d.ts +11 -0
  228. package/dist/react-native/operationsInterfaces/locations.d.ts.map +1 -0
  229. package/dist/react-native/operationsInterfaces/locations.js +9 -0
  230. package/dist/react-native/operationsInterfaces/locations.js.map +1 -0
  231. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  232. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  233. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  234. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  235. package/dist/react-native/package.json +3 -0
  236. package/dist/react-native/pagingHelper.d.ts +13 -0
  237. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  238. package/dist/react-native/pagingHelper.js +30 -0
  239. package/dist/react-native/pagingHelper.js.map +1 -0
  240. package/package.json +87 -74
  241. package/review/{arm-oep.api.md → arm-oep-node.api.md} +7 -20
  242. package/dist/index.js +0 -1269
  243. package/dist/index.js.map +0 -1
  244. package/dist/index.min.js +0 -1
  245. package/dist/index.min.js.map +0 -1
  246. package/dist-esm/samples-dev/energyServicesCreateSample.d.ts +0 -2
  247. package/dist-esm/samples-dev/energyServicesCreateSample.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/energyServicesCreateSample.js +0 -31
  249. package/dist-esm/samples-dev/energyServicesCreateSample.js.map +0 -1
  250. package/dist-esm/samples-dev/energyServicesDeleteSample.d.ts +0 -2
  251. package/dist-esm/samples-dev/energyServicesDeleteSample.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/energyServicesDeleteSample.js +0 -31
  253. package/dist-esm/samples-dev/energyServicesDeleteSample.js.map +0 -1
  254. package/dist-esm/samples-dev/energyServicesGetSample.d.ts +0 -2
  255. package/dist-esm/samples-dev/energyServicesGetSample.d.ts.map +0 -1
  256. package/dist-esm/samples-dev/energyServicesGetSample.js +0 -31
  257. package/dist-esm/samples-dev/energyServicesGetSample.js.map +0 -1
  258. package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.d.ts +0 -2
  259. package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.d.ts.map +0 -1
  260. package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.js +0 -44
  261. package/dist-esm/samples-dev/energyServicesListByResourceGroupSample.js.map +0 -1
  262. package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.d.ts +0 -2
  263. package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.d.ts.map +0 -1
  264. package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.js +0 -43
  265. package/dist-esm/samples-dev/energyServicesListBySubscriptionSample.js.map +0 -1
  266. package/dist-esm/samples-dev/energyServicesUpdateSample.d.ts +0 -2
  267. package/dist-esm/samples-dev/energyServicesUpdateSample.d.ts.map +0 -1
  268. package/dist-esm/samples-dev/energyServicesUpdateSample.js +0 -31
  269. package/dist-esm/samples-dev/energyServicesUpdateSample.js.map +0 -1
  270. package/dist-esm/samples-dev/locationsCheckNameAvailability.d.ts +0 -2
  271. package/dist-esm/samples-dev/locationsCheckNameAvailability.d.ts.map +0 -1
  272. package/dist-esm/samples-dev/locationsCheckNameAvailability.js +0 -33
  273. package/dist-esm/samples-dev/locationsCheckNameAvailability.js.map +0 -1
  274. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts +0 -2
  275. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.d.ts.map +0 -1
  276. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js +0 -33
  277. package/dist-esm/samples-dev/locationsCheckNameAvailabilitySample.js.map +0 -1
  278. package/dist-esm/samples-dev/oepResourceCreate.d.ts +0 -2
  279. package/dist-esm/samples-dev/oepResourceCreate.d.ts.map +0 -1
  280. package/dist-esm/samples-dev/oepResourceCreate.js +0 -31
  281. package/dist-esm/samples-dev/oepResourceCreate.js.map +0 -1
  282. package/dist-esm/samples-dev/oepResourceDelete.d.ts +0 -2
  283. package/dist-esm/samples-dev/oepResourceDelete.d.ts.map +0 -1
  284. package/dist-esm/samples-dev/oepResourceDelete.js +0 -31
  285. package/dist-esm/samples-dev/oepResourceDelete.js.map +0 -1
  286. package/dist-esm/samples-dev/oepResourceGet.d.ts +0 -2
  287. package/dist-esm/samples-dev/oepResourceGet.d.ts.map +0 -1
  288. package/dist-esm/samples-dev/oepResourceGet.js +0 -31
  289. package/dist-esm/samples-dev/oepResourceGet.js.map +0 -1
  290. package/dist-esm/samples-dev/oepResourceListByResourceGroup.d.ts +0 -2
  291. package/dist-esm/samples-dev/oepResourceListByResourceGroup.d.ts.map +0 -1
  292. package/dist-esm/samples-dev/oepResourceListByResourceGroup.js +0 -44
  293. package/dist-esm/samples-dev/oepResourceListByResourceGroup.js.map +0 -1
  294. package/dist-esm/samples-dev/oepResourceListBySubscriptionId.d.ts +0 -2
  295. package/dist-esm/samples-dev/oepResourceListBySubscriptionId.d.ts.map +0 -1
  296. package/dist-esm/samples-dev/oepResourceListBySubscriptionId.js +0 -43
  297. package/dist-esm/samples-dev/oepResourceListBySubscriptionId.js.map +0 -1
  298. package/dist-esm/samples-dev/oepResourceUpdate.d.ts +0 -2
  299. package/dist-esm/samples-dev/oepResourceUpdate.d.ts.map +0 -1
  300. package/dist-esm/samples-dev/oepResourceUpdate.js +0 -31
  301. package/dist-esm/samples-dev/oepResourceUpdate.js.map +0 -1
  302. package/dist-esm/samples-dev/operationsList.d.ts +0 -2
  303. package/dist-esm/samples-dev/operationsList.d.ts.map +0 -1
  304. package/dist-esm/samples-dev/operationsList.js +0 -29
  305. package/dist-esm/samples-dev/operationsList.js.map +0 -1
  306. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  307. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  308. package/dist-esm/samples-dev/operationsListSample.js +0 -29
  309. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  310. package/dist-esm/src/index.d.ts +0 -5
  311. package/dist-esm/src/index.d.ts.map +0 -1
  312. package/dist-esm/src/index.js.map +0 -1
  313. package/dist-esm/src/lroImpl.js.map +0 -1
  314. package/dist-esm/src/models/index.js.map +0 -1
  315. package/dist-esm/src/models/mappers.js.map +0 -1
  316. package/dist-esm/src/models/parameters.js.map +0 -1
  317. package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.d.ts.map +0 -1
  318. package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.js +0 -71
  319. package/dist-esm/src/openEnergyPlatformManagementServiceAPIs.js.map +0 -1
  320. package/dist-esm/src/operations/energyServices.d.ts.map +0 -1
  321. package/dist-esm/src/operations/energyServices.js.map +0 -1
  322. package/dist-esm/src/operations/index.d.ts +0 -4
  323. package/dist-esm/src/operations/index.js.map +0 -1
  324. package/dist-esm/src/operations/locations.d.ts.map +0 -1
  325. package/dist-esm/src/operations/locations.js.map +0 -1
  326. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  327. package/dist-esm/src/operations/operations.js.map +0 -1
  328. package/dist-esm/src/operationsInterfaces/energyServices.d.ts.map +0 -1
  329. package/dist-esm/src/operationsInterfaces/energyServices.js.map +0 -1
  330. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  331. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  332. package/dist-esm/src/operationsInterfaces/locations.js.map +0 -1
  333. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  334. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  335. package/dist-esm/test/sampleTest.d.ts +0 -2
  336. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  337. package/dist-esm/test/sampleTest.js +0 -40
  338. package/dist-esm/test/sampleTest.js.map +0 -1
  339. package/rollup.config.js +0 -122
  340. package/src/lroImpl.ts +0 -34
  341. package/src/models/index.ts +0 -403
  342. package/src/models/mappers.ts +0 -475
  343. package/src/models/parameters.ts +0 -133
  344. package/src/openEnergyPlatformManagementServiceAPIs.ts +0 -108
  345. package/src/operations/energyServices.ts +0 -568
  346. package/src/operations/locations.ts +0 -67
  347. package/src/operations/operations.ts +0 -59
  348. package/src/operationsInterfaces/energyServices.ts +0 -113
  349. package/src/operationsInterfaces/index.ts +0 -11
  350. package/src/operationsInterfaces/locations.ts +0 -26
  351. package/src/operationsInterfaces/operations.ts +0 -21
  352. package/tsconfig.json +0 -33
  353. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  354. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  355. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  356. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  357. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  358. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  359. /package/{dist-esm/src → dist/browser}/operationsInterfaces/energyServices.js +0 -0
  360. /package/{dist-esm/src → dist/browser}/operationsInterfaces/locations.js +0 -0
  361. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
@@ -1,492 +1,368 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
6
-
7
- /**
8
- * Defines values for ActionType. \
9
- * {@link KnownActionType} can be used interchangeably with ActionType,
10
- * this enum contains the known values that the service supports.
11
- * ### Known values supported by the service
12
- * **Internal**
13
- */
14
- export declare type ActionType = string;
15
-
16
- /**
17
- * Defines values for CheckNameAvailabilityReason. \
18
- * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,
19
- * this enum contains the known values that the service supports.
20
- * ### Known values supported by the service
21
- * **Invalid** \
22
- * **AlreadyExists**
23
- */
24
- export declare type CheckNameAvailabilityReason = string;
25
-
26
- /** The check availability request body. */
27
- export declare interface CheckNameAvailabilityRequest {
28
- /** The name of the resource for which availability needs to be checked. */
29
- name?: string;
30
- /** The resource type. */
31
- type?: string;
32
- }
33
-
34
- /** The check availability result. */
35
- export declare interface CheckNameAvailabilityResponse {
36
- /** Indicates if the resource name is available. */
37
- nameAvailable?: boolean;
38
- /** The reason why the given name is not available. */
39
- reason?: CheckNameAvailabilityReason;
40
- /** Detailed reason why the given name is available. */
41
- message?: string;
42
- }
43
-
44
- /**
45
- * Defines values for CreatedByType. \
46
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
47
- * this enum contains the known values that the service supports.
48
- * ### Known values supported by the service
49
- * **User** \
50
- * **Application** \
51
- * **ManagedIdentity** \
52
- * **Key**
53
- */
54
- export declare type CreatedByType = string;
55
-
56
- /** The list of Energy services resource's Data Partition Names. */
57
- export declare interface DataPartitionNames {
58
- name?: string;
59
- }
60
-
61
- /** The resource model definition used for updating a tracked ARM resource. */
62
- export declare interface EnergyResourceUpdate {
63
- /** Resource tags. */
64
- tags?: {
65
- [propertyName: string]: string;
66
- };
67
- }
68
-
69
- export declare type EnergyService = Resource & {
70
- properties?: EnergyServiceProperties;
71
- /** Resource tags. */
72
- tags?: {
73
- [propertyName: string]: string;
74
- };
75
- /** Geo-location where the resource lives. */
76
- location: string;
77
- };
78
-
79
- /** The list of oep resources. */
80
- export declare interface EnergyServiceList {
81
- /** The link used to get the next page of oep resources list. */
82
- nextLink?: string;
83
- /** The list of oep resources. */
84
- value?: EnergyService[];
85
- }
86
-
87
- export declare interface EnergyServiceProperties {
88
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
89
- readonly dnsName?: string;
90
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
91
- readonly provisioningState?: ProvisioningState;
92
- authAppId?: string;
93
- dataPartitionNames?: DataPartitionNames[];
94
- }
95
-
96
- /** Interface representing a EnergyServices. */
97
- export declare interface EnergyServices {
98
- /**
99
- * Returns list of oep resources..
100
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
101
- * @param options The options parameters.
102
- */
103
- listByResourceGroup(resourceGroupName: string, options?: EnergyServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<EnergyService>;
104
- /**
105
- * Lists a collection of oep resources under the given Azure Subscription ID.
106
- * @param options The options parameters.
107
- */
108
- listBySubscription(options?: EnergyServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<EnergyService>;
109
- /**
110
- * Returns oep resource for a given name.
111
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
112
- * @param resourceName The resource name.
113
- * @param options The options parameters.
114
- */
115
- get(resourceGroupName: string, resourceName: string, options?: EnergyServicesGetOptionalParams): Promise<EnergyServicesGetResponse>;
116
- /**
117
- * Method that gets called if subscribed for ResourceCreationBegin trigger.
118
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
119
- * @param resourceName The resource name.
120
- * @param options The options parameters.
121
- */
122
- beginCreate(resourceGroupName: string, resourceName: string, options?: EnergyServicesCreateOptionalParams): Promise<PollerLike<PollOperationState<EnergyServicesCreateResponse>, EnergyServicesCreateResponse>>;
123
- /**
124
- * Method that gets called if subscribed for ResourceCreationBegin trigger.
125
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
126
- * @param resourceName The resource name.
127
- * @param options The options parameters.
128
- */
129
- beginCreateAndWait(resourceGroupName: string, resourceName: string, options?: EnergyServicesCreateOptionalParams): Promise<EnergyServicesCreateResponse>;
130
- /**
131
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
132
- * @param resourceName The resource name.
133
- * @param options The options parameters.
134
- */
135
- update(resourceGroupName: string, resourceName: string, options?: EnergyServicesUpdateOptionalParams): Promise<EnergyServicesUpdateResponse>;
136
- /**
137
- * Deletes oep resource
138
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
139
- * @param resourceName The resource name.
140
- * @param options The options parameters.
141
- */
142
- beginDelete(resourceGroupName: string, resourceName: string, options?: EnergyServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
143
- /**
144
- * Deletes oep resource
145
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
146
- * @param resourceName The resource name.
147
- * @param options The options parameters.
148
- */
149
- beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: EnergyServicesDeleteOptionalParams): Promise<void>;
150
- }
151
-
152
- /** Optional parameters. */
153
- export declare interface EnergyServicesCreateOptionalParams extends coreClient.OperationOptions {
154
- /** Request body. */
155
- body?: EnergyService;
156
- /** Delay to wait until next poll, in milliseconds. */
157
- updateIntervalInMs?: number;
158
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
159
- resumeFrom?: string;
160
- }
161
-
162
- /** Contains response data for the create operation. */
163
- export declare type EnergyServicesCreateResponse = EnergyService;
164
-
165
- /** Optional parameters. */
166
- export declare interface EnergyServicesDeleteOptionalParams extends coreClient.OperationOptions {
167
- /** Delay to wait until next poll, in milliseconds. */
168
- updateIntervalInMs?: number;
169
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
170
- resumeFrom?: string;
171
- }
172
-
173
- /** Optional parameters. */
174
- export declare interface EnergyServicesGetOptionalParams extends coreClient.OperationOptions {
175
- }
176
-
177
- /** Contains response data for the get operation. */
178
- export declare type EnergyServicesGetResponse = EnergyService;
179
-
180
- /** Optional parameters. */
181
- export declare interface EnergyServicesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
182
- }
183
-
184
- /** Contains response data for the listByResourceGroupNext operation. */
185
- export declare type EnergyServicesListByResourceGroupNextResponse = EnergyServiceList;
186
-
187
- /** Optional parameters. */
188
- export declare interface EnergyServicesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
189
- }
190
-
191
- /** Contains response data for the listByResourceGroup operation. */
192
- export declare type EnergyServicesListByResourceGroupResponse = EnergyServiceList;
193
-
194
- /** Optional parameters. */
195
- export declare interface EnergyServicesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
196
- }
197
-
198
- /** Contains response data for the listBySubscriptionNext operation. */
199
- export declare type EnergyServicesListBySubscriptionNextResponse = EnergyServiceList;
200
-
201
- /** Optional parameters. */
202
- export declare interface EnergyServicesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
203
- }
204
-
205
- /** Contains response data for the listBySubscription operation. */
206
- export declare type EnergyServicesListBySubscriptionResponse = EnergyServiceList;
207
-
208
- /** Optional parameters. */
209
- export declare interface EnergyServicesUpdateOptionalParams extends coreClient.OperationOptions {
210
- /** The resource model definition used for updating a tracked ARM resource. */
211
- body?: EnergyResourceUpdate;
212
- }
213
-
214
- /** Contains response data for the update operation. */
215
- export declare type EnergyServicesUpdateResponse = EnergyService;
216
-
217
- /** The resource management error additional info. */
218
- export declare interface ErrorAdditionalInfo {
219
- /**
220
- * The additional info type.
221
- * NOTE: This property will not be serialized. It can only be populated by the server.
222
- */
223
- readonly type?: string;
224
- /**
225
- * The additional info.
226
- * NOTE: This property will not be serialized. It can only be populated by the server.
227
- */
228
- readonly info?: Record<string, unknown>;
229
- }
230
-
231
- /** The error detail. */
232
- export declare interface ErrorDetail {
233
- /**
234
- * The error code.
235
- * NOTE: This property will not be serialized. It can only be populated by the server.
236
- */
237
- readonly code?: string;
238
- /**
239
- * The error message.
240
- * NOTE: This property will not be serialized. It can only be populated by the server.
241
- */
242
- readonly message?: string;
243
- /**
244
- * The error target.
245
- * NOTE: This property will not be serialized. It can only be populated by the server.
246
- */
247
- readonly target?: string;
248
- /**
249
- * The error details.
250
- * NOTE: This property will not be serialized. It can only be populated by the server.
251
- */
252
- readonly details?: ErrorDetail[];
253
- /**
254
- * The error additional info.
255
- * NOTE: This property will not be serialized. It can only be populated by the server.
256
- */
257
- readonly additionalInfo?: ErrorAdditionalInfo[];
258
- }
259
-
260
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
261
- export declare interface ErrorResponse {
262
- /** The error object. */
263
- error?: ErrorDetail;
264
- }
265
-
266
- /** Known values of {@link ActionType} that the service accepts. */
267
- export declare enum KnownActionType {
268
- Internal = "Internal"
269
- }
270
-
271
- /** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
272
- export declare enum KnownCheckNameAvailabilityReason {
273
- Invalid = "Invalid",
274
- AlreadyExists = "AlreadyExists"
275
- }
276
-
277
- /** Known values of {@link CreatedByType} that the service accepts. */
278
- export declare enum KnownCreatedByType {
279
- User = "User",
280
- Application = "Application",
281
- ManagedIdentity = "ManagedIdentity",
282
- Key = "Key"
283
- }
284
-
285
- /** Known values of {@link Origin} that the service accepts. */
286
- export declare enum KnownOrigin {
287
- User = "user",
288
- System = "system",
289
- UserSystem = "user,system"
290
- }
291
-
292
- /** Known values of {@link ProvisioningState} that the service accepts. */
293
- export declare enum KnownProvisioningState {
294
- Unknown = "Unknown",
295
- Succeeded = "Succeeded",
296
- Failed = "Failed",
297
- Canceled = "Canceled",
298
- Creating = "Creating",
299
- Deleting = "Deleting",
300
- Updating = "Updating"
301
- }
302
-
303
- /** Interface representing a Locations. */
304
- export declare interface Locations {
305
- /**
306
- * Checks the name availability of the resource with requested resource name.
307
- * @param body NameAvailabilityRequest object.
308
- * @param options The options parameters.
309
- */
310
- checkNameAvailability(body: CheckNameAvailabilityRequest, options?: LocationsCheckNameAvailabilityOptionalParams): Promise<LocationsCheckNameAvailabilityResponse>;
311
- }
312
-
313
- /** Optional parameters. */
314
- export declare interface LocationsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
315
- }
316
-
317
- /** Contains response data for the checkNameAvailability operation. */
318
- export declare type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
319
-
320
- export declare class OpenEnergyPlatformManagementServiceAPIs extends coreClient.ServiceClient {
321
- $host: string;
322
- subscriptionId: string;
323
- apiVersion: string;
324
- /**
325
- * Initializes a new instance of the OpenEnergyPlatformManagementServiceAPIs class.
326
- * @param credentials Subscription credentials which uniquely identify client subscription.
327
- * @param subscriptionId The ID of the target subscription.
328
- * @param options The parameter options
329
- */
330
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: OpenEnergyPlatformManagementServiceAPIsOptionalParams);
331
- locations: Locations;
332
- energyServices: EnergyServices;
333
- operations: Operations;
334
- }
335
-
336
- /** Optional parameters. */
337
- export declare interface OpenEnergyPlatformManagementServiceAPIsOptionalParams extends coreClient.ServiceClientOptions {
338
- /** server parameter */
339
- $host?: string;
340
- /** Api Version */
341
- apiVersion?: string;
342
- /** Overrides client endpoint. */
343
- endpoint?: string;
344
- }
345
-
346
- /** Details of a REST API operation, returned from the Resource Provider Operations API */
347
- export declare interface Operation {
348
- /**
349
- * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
350
- * NOTE: This property will not be serialized. It can only be populated by the server.
351
- */
352
- readonly name?: string;
353
- /**
354
- * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
355
- * NOTE: This property will not be serialized. It can only be populated by the server.
356
- */
357
- readonly isDataAction?: boolean;
358
- /** Localized display information for this particular operation. */
359
- display?: OperationDisplay;
360
- /**
361
- * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
362
- * NOTE: This property will not be serialized. It can only be populated by the server.
363
- */
364
- readonly origin?: Origin;
365
- /**
366
- * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
367
- * NOTE: This property will not be serialized. It can only be populated by the server.
368
- */
369
- readonly actionType?: ActionType;
370
- }
371
-
372
- /** Localized display information for this particular operation. */
373
- export declare interface OperationDisplay {
374
- /**
375
- * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
376
- * NOTE: This property will not be serialized. It can only be populated by the server.
377
- */
378
- readonly provider?: string;
379
- /**
380
- * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
381
- * NOTE: This property will not be serialized. It can only be populated by the server.
382
- */
383
- readonly resource?: string;
384
- /**
385
- * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
386
- * NOTE: This property will not be serialized. It can only be populated by the server.
387
- */
388
- readonly operation?: string;
389
- /**
390
- * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
391
- * NOTE: This property will not be serialized. It can only be populated by the server.
392
- */
393
- readonly description?: string;
394
- }
395
-
396
- /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
397
- export declare interface OperationListResult {
398
- /**
399
- * List of operations supported by the resource provider
400
- * NOTE: This property will not be serialized. It can only be populated by the server.
401
- */
402
- readonly value?: Operation[];
403
- /**
404
- * URL to get the next set of operation list results (if there are any).
405
- * NOTE: This property will not be serialized. It can only be populated by the server.
406
- */
407
- readonly nextLink?: string;
408
- }
409
-
410
- /** Interface representing a Operations. */
411
- export declare interface Operations {
412
- /**
413
- * Lists the available operations of Microsoft.OpenEnergyPlatform resource provider.
414
- * @param options The options parameters.
415
- */
416
- list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
417
- }
418
-
419
- /** Optional parameters. */
420
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
421
- }
422
-
423
- /** Contains response data for the list operation. */
424
- export declare type OperationsListResponse = OperationListResult;
425
-
426
- /**
427
- * Defines values for Origin. \
428
- * {@link KnownOrigin} can be used interchangeably with Origin,
429
- * this enum contains the known values that the service supports.
430
- * ### Known values supported by the service
431
- * **user** \
432
- * **system** \
433
- * **user,system**
434
- */
435
- export declare type Origin = string;
436
-
437
- /**
438
- * Defines values for ProvisioningState. \
439
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
440
- * this enum contains the known values that the service supports.
441
- * ### Known values supported by the service
442
- * **Unknown** \
443
- * **Succeeded** \
444
- * **Failed** \
445
- * **Canceled** \
446
- * **Creating** \
447
- * **Deleting** \
448
- * **Updating**
449
- */
450
- export declare type ProvisioningState = string;
451
-
452
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
453
- export declare interface Resource {
454
- /**
455
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
456
- * NOTE: This property will not be serialized. It can only be populated by the server.
457
- */
458
- readonly id?: string;
459
- /**
460
- * The name of the resource
461
- * NOTE: This property will not be serialized. It can only be populated by the server.
462
- */
463
- readonly name?: string;
464
- /**
465
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
466
- * NOTE: This property will not be serialized. It can only be populated by the server.
467
- */
468
- readonly type?: string;
469
- /**
470
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
471
- * NOTE: This property will not be serialized. It can only be populated by the server.
472
- */
473
- readonly systemData?: SystemData;
474
- }
475
-
476
- /** Metadata pertaining to creation and last modification of the resource. */
477
- export declare interface SystemData {
478
- /** The identity that created the resource. */
479
- createdBy?: string;
480
- /** The type of identity that created the resource. */
481
- createdByType?: CreatedByType;
482
- /** The timestamp of resource creation (UTC). */
483
- createdAt?: Date;
484
- /** The identity that last modified the resource. */
485
- lastModifiedBy?: string;
486
- /** The type of identity that last modified the resource. */
487
- lastModifiedByType?: CreatedByType;
488
- /** The timestamp of resource last modification (UTC) */
489
- lastModifiedAt?: Date;
490
- }
491
-
492
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ /** The check availability request body. */
3
+ export interface CheckNameAvailabilityRequest {
4
+ /** The name of the resource for which availability needs to be checked. */
5
+ name?: string;
6
+ /** The resource type. */
7
+ type?: string;
8
+ }
9
+ /** The check availability result. */
10
+ export interface CheckNameAvailabilityResponse {
11
+ /** Indicates if the resource name is available. */
12
+ nameAvailable?: boolean;
13
+ /** The reason why the given name is not available. */
14
+ reason?: CheckNameAvailabilityReason;
15
+ /** Detailed reason why the given name is available. */
16
+ message?: string;
17
+ }
18
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
19
+ export interface ErrorResponse {
20
+ /** The error object. */
21
+ error?: ErrorDetail;
22
+ }
23
+ /** The error detail. */
24
+ export interface ErrorDetail {
25
+ /**
26
+ * The error code.
27
+ * NOTE: This property will not be serialized. It can only be populated by the server.
28
+ */
29
+ readonly code?: string;
30
+ /**
31
+ * The error message.
32
+ * NOTE: This property will not be serialized. It can only be populated by the server.
33
+ */
34
+ readonly message?: string;
35
+ /**
36
+ * The error target.
37
+ * NOTE: This property will not be serialized. It can only be populated by the server.
38
+ */
39
+ readonly target?: string;
40
+ /**
41
+ * The error details.
42
+ * NOTE: This property will not be serialized. It can only be populated by the server.
43
+ */
44
+ readonly details?: ErrorDetail[];
45
+ /**
46
+ * The error additional info.
47
+ * NOTE: This property will not be serialized. It can only be populated by the server.
48
+ */
49
+ readonly additionalInfo?: ErrorAdditionalInfo[];
50
+ }
51
+ /** The resource management error additional info. */
52
+ export interface ErrorAdditionalInfo {
53
+ /**
54
+ * The additional info type.
55
+ * NOTE: This property will not be serialized. It can only be populated by the server.
56
+ */
57
+ readonly type?: string;
58
+ /**
59
+ * The additional info.
60
+ * NOTE: This property will not be serialized. It can only be populated by the server.
61
+ */
62
+ readonly info?: Record<string, unknown>;
63
+ }
64
+ /** The list of oep resources. */
65
+ export interface EnergyServiceList {
66
+ /** The link used to get the next page of oep resources list. */
67
+ nextLink?: string;
68
+ /** The list of oep resources. */
69
+ value?: EnergyService[];
70
+ }
71
+ export interface EnergyServiceProperties {
72
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
73
+ readonly dnsName?: string;
74
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
75
+ readonly provisioningState?: ProvisioningState;
76
+ authAppId?: string;
77
+ dataPartitionNames?: DataPartitionNames[];
78
+ }
79
+ /** The list of Energy services resource's Data Partition Names. */
80
+ export interface DataPartitionNames {
81
+ name?: string;
82
+ }
83
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
84
+ export interface Resource {
85
+ /**
86
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
87
+ * NOTE: This property will not be serialized. It can only be populated by the server.
88
+ */
89
+ readonly id?: string;
90
+ /**
91
+ * The name of the resource
92
+ * NOTE: This property will not be serialized. It can only be populated by the server.
93
+ */
94
+ readonly name?: string;
95
+ /**
96
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
97
+ * NOTE: This property will not be serialized. It can only be populated by the server.
98
+ */
99
+ readonly type?: string;
100
+ /**
101
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
102
+ * NOTE: This property will not be serialized. It can only be populated by the server.
103
+ */
104
+ readonly systemData?: SystemData;
105
+ }
106
+ /** Metadata pertaining to creation and last modification of the resource. */
107
+ export interface SystemData {
108
+ /** The identity that created the resource. */
109
+ createdBy?: string;
110
+ /** The type of identity that created the resource. */
111
+ createdByType?: CreatedByType;
112
+ /** The timestamp of resource creation (UTC). */
113
+ createdAt?: Date;
114
+ /** The identity that last modified the resource. */
115
+ lastModifiedBy?: string;
116
+ /** The type of identity that last modified the resource. */
117
+ lastModifiedByType?: CreatedByType;
118
+ /** The timestamp of resource last modification (UTC) */
119
+ lastModifiedAt?: Date;
120
+ }
121
+ /** The resource model definition used for updating a tracked ARM resource. */
122
+ export interface EnergyResourceUpdate {
123
+ /** Resource tags. */
124
+ tags?: {
125
+ [propertyName: string]: string;
126
+ };
127
+ }
128
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
129
+ export interface OperationListResult {
130
+ /**
131
+ * List of operations supported by the resource provider
132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
133
+ */
134
+ readonly value?: Operation[];
135
+ /**
136
+ * URL to get the next set of operation list results (if there are any).
137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
138
+ */
139
+ readonly nextLink?: string;
140
+ }
141
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
142
+ export interface Operation {
143
+ /**
144
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
145
+ * NOTE: This property will not be serialized. It can only be populated by the server.
146
+ */
147
+ readonly name?: string;
148
+ /**
149
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
150
+ * NOTE: This property will not be serialized. It can only be populated by the server.
151
+ */
152
+ readonly isDataAction?: boolean;
153
+ /** Localized display information for this particular operation. */
154
+ display?: OperationDisplay;
155
+ /**
156
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
157
+ * NOTE: This property will not be serialized. It can only be populated by the server.
158
+ */
159
+ readonly origin?: Origin;
160
+ /**
161
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
162
+ * NOTE: This property will not be serialized. It can only be populated by the server.
163
+ */
164
+ readonly actionType?: ActionType;
165
+ }
166
+ /** Localized display information for this particular operation. */
167
+ export interface OperationDisplay {
168
+ /**
169
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
170
+ * NOTE: This property will not be serialized. It can only be populated by the server.
171
+ */
172
+ readonly provider?: string;
173
+ /**
174
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
175
+ * NOTE: This property will not be serialized. It can only be populated by the server.
176
+ */
177
+ readonly resource?: string;
178
+ /**
179
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
180
+ * NOTE: This property will not be serialized. It can only be populated by the server.
181
+ */
182
+ readonly operation?: string;
183
+ /**
184
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
185
+ * NOTE: This property will not be serialized. It can only be populated by the server.
186
+ */
187
+ readonly description?: string;
188
+ }
189
+ export interface EnergyService extends Resource {
190
+ properties?: EnergyServiceProperties;
191
+ /** Resource tags. */
192
+ tags?: {
193
+ [propertyName: string]: string;
194
+ };
195
+ /** Geo-location where the resource lives. */
196
+ location: string;
197
+ }
198
+ /** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
199
+ export declare enum KnownCheckNameAvailabilityReason {
200
+ /** Invalid */
201
+ Invalid = "Invalid",
202
+ /** AlreadyExists */
203
+ AlreadyExists = "AlreadyExists"
204
+ }
205
+ /**
206
+ * Defines values for CheckNameAvailabilityReason. \
207
+ * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,
208
+ * this enum contains the known values that the service supports.
209
+ * ### Known values supported by the service
210
+ * **Invalid** \
211
+ * **AlreadyExists**
212
+ */
213
+ export type CheckNameAvailabilityReason = string;
214
+ /** Known values of {@link ProvisioningState} that the service accepts. */
215
+ export declare enum KnownProvisioningState {
216
+ /** Unknown */
217
+ Unknown = "Unknown",
218
+ /** Succeeded */
219
+ Succeeded = "Succeeded",
220
+ /** Failed */
221
+ Failed = "Failed",
222
+ /** Canceled */
223
+ Canceled = "Canceled",
224
+ /** Creating */
225
+ Creating = "Creating",
226
+ /** Deleting */
227
+ Deleting = "Deleting",
228
+ /** Updating */
229
+ Updating = "Updating"
230
+ }
231
+ /**
232
+ * Defines values for ProvisioningState. \
233
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
234
+ * this enum contains the known values that the service supports.
235
+ * ### Known values supported by the service
236
+ * **Unknown** \
237
+ * **Succeeded** \
238
+ * **Failed** \
239
+ * **Canceled** \
240
+ * **Creating** \
241
+ * **Deleting** \
242
+ * **Updating**
243
+ */
244
+ export type ProvisioningState = string;
245
+ /** Known values of {@link CreatedByType} that the service accepts. */
246
+ export declare enum KnownCreatedByType {
247
+ /** User */
248
+ User = "User",
249
+ /** Application */
250
+ Application = "Application",
251
+ /** ManagedIdentity */
252
+ ManagedIdentity = "ManagedIdentity",
253
+ /** Key */
254
+ Key = "Key"
255
+ }
256
+ /**
257
+ * Defines values for CreatedByType. \
258
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
259
+ * this enum contains the known values that the service supports.
260
+ * ### Known values supported by the service
261
+ * **User** \
262
+ * **Application** \
263
+ * **ManagedIdentity** \
264
+ * **Key**
265
+ */
266
+ export type CreatedByType = string;
267
+ /** Known values of {@link Origin} that the service accepts. */
268
+ export declare enum KnownOrigin {
269
+ /** User */
270
+ User = "user",
271
+ /** System */
272
+ System = "system",
273
+ /** UserSystem */
274
+ UserSystem = "user,system"
275
+ }
276
+ /**
277
+ * Defines values for Origin. \
278
+ * {@link KnownOrigin} can be used interchangeably with Origin,
279
+ * this enum contains the known values that the service supports.
280
+ * ### Known values supported by the service
281
+ * **user** \
282
+ * **system** \
283
+ * **user,system**
284
+ */
285
+ export type Origin = string;
286
+ /** Known values of {@link ActionType} that the service accepts. */
287
+ export declare enum KnownActionType {
288
+ /** Internal */
289
+ Internal = "Internal"
290
+ }
291
+ /**
292
+ * Defines values for ActionType. \
293
+ * {@link KnownActionType} can be used interchangeably with ActionType,
294
+ * this enum contains the known values that the service supports.
295
+ * ### Known values supported by the service
296
+ * **Internal**
297
+ */
298
+ export type ActionType = string;
299
+ /** Optional parameters. */
300
+ export interface LocationsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
301
+ }
302
+ /** Contains response data for the checkNameAvailability operation. */
303
+ export type LocationsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
304
+ /** Optional parameters. */
305
+ export interface EnergyServicesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
306
+ }
307
+ /** Contains response data for the listByResourceGroup operation. */
308
+ export type EnergyServicesListByResourceGroupResponse = EnergyServiceList;
309
+ /** Optional parameters. */
310
+ export interface EnergyServicesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
311
+ }
312
+ /** Contains response data for the listBySubscription operation. */
313
+ export type EnergyServicesListBySubscriptionResponse = EnergyServiceList;
314
+ /** Optional parameters. */
315
+ export interface EnergyServicesGetOptionalParams extends coreClient.OperationOptions {
316
+ }
317
+ /** Contains response data for the get operation. */
318
+ export type EnergyServicesGetResponse = EnergyService;
319
+ /** Optional parameters. */
320
+ export interface EnergyServicesCreateOptionalParams extends coreClient.OperationOptions {
321
+ /** Request body. */
322
+ body?: EnergyService;
323
+ /** Delay to wait until next poll, in milliseconds. */
324
+ updateIntervalInMs?: number;
325
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
326
+ resumeFrom?: string;
327
+ }
328
+ /** Contains response data for the create operation. */
329
+ export type EnergyServicesCreateResponse = EnergyService;
330
+ /** Optional parameters. */
331
+ export interface EnergyServicesUpdateOptionalParams extends coreClient.OperationOptions {
332
+ /** The resource model definition used for updating a tracked ARM resource. */
333
+ body?: EnergyResourceUpdate;
334
+ }
335
+ /** Contains response data for the update operation. */
336
+ export type EnergyServicesUpdateResponse = EnergyService;
337
+ /** Optional parameters. */
338
+ export interface EnergyServicesDeleteOptionalParams extends coreClient.OperationOptions {
339
+ /** Delay to wait until next poll, in milliseconds. */
340
+ updateIntervalInMs?: number;
341
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
342
+ resumeFrom?: string;
343
+ }
344
+ /** Optional parameters. */
345
+ export interface EnergyServicesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
346
+ }
347
+ /** Contains response data for the listByResourceGroupNext operation. */
348
+ export type EnergyServicesListByResourceGroupNextResponse = EnergyServiceList;
349
+ /** Optional parameters. */
350
+ export interface EnergyServicesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
351
+ }
352
+ /** Contains response data for the listBySubscriptionNext operation. */
353
+ export type EnergyServicesListBySubscriptionNextResponse = EnergyServiceList;
354
+ /** Optional parameters. */
355
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
356
+ }
357
+ /** Contains response data for the list operation. */
358
+ export type OperationsListResponse = OperationListResult;
359
+ /** Optional parameters. */
360
+ export interface OpenEnergyPlatformManagementServiceAPIsOptionalParams extends coreClient.ServiceClientOptions {
361
+ /** server parameter */
362
+ $host?: string;
363
+ /** Api Version */
364
+ apiVersion?: string;
365
+ /** Overrides client endpoint. */
366
+ endpoint?: string;
367
+ }
368
+ //# sourceMappingURL=index.d.ts.map