@azure/arm-baremetalinfrastructure 1.0.0-beta.2 → 1.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/CHANGELOG.md +14 -4
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/{dist-esm/src → dist/browser}/bareMetalInfrastructureClient.d.ts +2 -2
  5. package/dist/browser/bareMetalInfrastructureClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/bareMetalInfrastructureClient.js +32 -24
  7. package/dist/browser/bareMetalInfrastructureClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  13. package/dist/browser/lroImpl.js +18 -0
  14. package/dist/browser/lroImpl.js.map +1 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/mappers.js +37 -17
  17. package/dist/browser/models/mappers.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  19. package/dist/browser/models/parameters.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/azureBareMetalInstances.d.ts +3 -3
  21. package/dist/browser/operations/azureBareMetalInstances.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/azureBareMetalInstances.js +175 -206
  23. package/dist/browser/operations/azureBareMetalInstances.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/azureBareMetalStorageInstances.d.ts +3 -3
  25. package/dist/browser/operations/azureBareMetalStorageInstances.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/azureBareMetalStorageInstances.js +48 -82
  27. package/dist/browser/operations/azureBareMetalStorageInstances.js.map +1 -0
  28. package/dist/browser/operations/index.d.ts +4 -0
  29. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  30. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
  31. package/dist/browser/operations/index.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  33. package/dist/browser/operations/operations.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/operations.js +12 -29
  35. package/dist/browser/operations/operations.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operationsInterfaces/azureBareMetalInstances.d.ts +1 -1
  37. package/dist/browser/operationsInterfaces/azureBareMetalInstances.d.ts.map +1 -0
  38. package/dist/browser/operationsInterfaces/azureBareMetalInstances.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operationsInterfaces/azureBareMetalStorageInstances.d.ts +1 -1
  40. package/dist/browser/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +1 -0
  41. package/dist/browser/operationsInterfaces/azureBareMetalStorageInstances.js.map +1 -0
  42. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  44. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
  45. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  48. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  49. package/dist/browser/package.json +3 -0
  50. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  51. package/dist/browser/pagingHelper.js.map +1 -0
  52. package/dist/commonjs/bareMetalInfrastructureClient.d.ts +22 -0
  53. package/dist/commonjs/bareMetalInfrastructureClient.d.ts.map +1 -0
  54. package/dist/commonjs/bareMetalInfrastructureClient.js +115 -0
  55. package/dist/commonjs/bareMetalInfrastructureClient.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 +11 -0
  61. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  62. package/dist/commonjs/lroImpl.js +21 -0
  63. package/dist/commonjs/lroImpl.js.map +1 -0
  64. package/{types/arm-baremetalinfrastructure.d.ts → dist/commonjs/models/index.d.ts} +808 -1069
  65. package/dist/commonjs/models/index.d.ts.map +1 -0
  66. package/dist/commonjs/models/index.js +215 -0
  67. package/dist/commonjs/models/index.js.map +1 -0
  68. package/dist/commonjs/models/mappers.d.ts +30 -0
  69. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  70. package/dist/commonjs/models/mappers.js +812 -0
  71. package/dist/commonjs/models/mappers.js.map +1 -0
  72. package/dist/commonjs/models/parameters.d.ts +14 -0
  73. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  74. package/dist/commonjs/models/parameters.js +129 -0
  75. package/dist/commonjs/models/parameters.js.map +1 -0
  76. package/dist/commonjs/operations/azureBareMetalInstances.d.ts +124 -0
  77. package/dist/commonjs/operations/azureBareMetalInstances.d.ts.map +1 -0
  78. package/dist/commonjs/operations/azureBareMetalInstances.js +568 -0
  79. package/dist/commonjs/operations/azureBareMetalInstances.js.map +1 -0
  80. package/dist/commonjs/operations/azureBareMetalStorageInstances.d.ts +93 -0
  81. package/dist/commonjs/operations/azureBareMetalStorageInstances.d.ts.map +1 -0
  82. package/dist/commonjs/operations/azureBareMetalStorageInstances.js +375 -0
  83. package/dist/commonjs/operations/azureBareMetalStorageInstances.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/operations.d.ts +26 -0
  89. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  90. package/dist/commonjs/operations/operations.js +84 -0
  91. package/dist/commonjs/operations/operations.js.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/azureBareMetalInstances.d.ts +86 -0
  93. package/dist/commonjs/operationsInterfaces/azureBareMetalInstances.d.ts.map +1 -0
  94. package/dist/commonjs/operationsInterfaces/azureBareMetalInstances.js +10 -0
  95. package/dist/commonjs/operationsInterfaces/azureBareMetalInstances.js.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/azureBareMetalStorageInstances.d.ts +55 -0
  97. package/dist/commonjs/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/azureBareMetalStorageInstances.js +10 -0
  99. package/dist/commonjs/operationsInterfaces/azureBareMetalStorageInstances.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/operations.d.ts +11 -0
  105. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  106. package/{src/operations/index.ts → dist/commonjs/operationsInterfaces/operations.js} +3 -4
  107. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  108. package/dist/commonjs/package.json +3 -0
  109. package/dist/commonjs/pagingHelper.d.ts +13 -0
  110. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  111. package/dist/commonjs/pagingHelper.js +34 -0
  112. package/dist/commonjs/pagingHelper.js.map +1 -0
  113. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  114. package/dist/esm/bareMetalInfrastructureClient.d.ts +22 -0
  115. package/dist/esm/bareMetalInfrastructureClient.d.ts.map +1 -0
  116. package/dist/esm/bareMetalInfrastructureClient.js +110 -0
  117. package/dist/esm/bareMetalInfrastructureClient.js.map +1 -0
  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 -5
  121. package/dist/esm/index.js.map +1 -0
  122. package/dist/esm/lroImpl.d.ts +11 -0
  123. package/dist/esm/lroImpl.d.ts.map +1 -0
  124. package/dist/esm/lroImpl.js +18 -0
  125. package/dist/esm/lroImpl.js.map +1 -0
  126. package/dist/esm/models/index.d.ts +808 -0
  127. package/dist/esm/models/index.d.ts.map +1 -0
  128. package/dist/esm/models/index.js +212 -0
  129. package/dist/esm/models/index.js.map +1 -0
  130. package/dist/esm/models/mappers.d.ts +30 -0
  131. package/dist/esm/models/mappers.d.ts.map +1 -0
  132. package/dist/esm/models/mappers.js +809 -0
  133. package/dist/esm/models/mappers.js.map +1 -0
  134. package/dist/esm/models/parameters.d.ts +14 -0
  135. package/dist/esm/models/parameters.d.ts.map +1 -0
  136. package/dist/esm/models/parameters.js +126 -0
  137. package/dist/esm/models/parameters.js.map +1 -0
  138. package/dist/esm/operations/azureBareMetalInstances.d.ts +124 -0
  139. package/dist/esm/operations/azureBareMetalInstances.d.ts.map +1 -0
  140. package/dist/esm/operations/azureBareMetalInstances.js +563 -0
  141. package/dist/esm/operations/azureBareMetalInstances.js.map +1 -0
  142. package/dist/esm/operations/azureBareMetalStorageInstances.d.ts +93 -0
  143. package/dist/esm/operations/azureBareMetalStorageInstances.d.ts.map +1 -0
  144. package/dist/esm/operations/azureBareMetalStorageInstances.js +370 -0
  145. package/dist/esm/operations/azureBareMetalStorageInstances.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/operations.d.ts +26 -0
  151. package/dist/esm/operations/operations.d.ts.map +1 -0
  152. package/dist/esm/operations/operations.js +79 -0
  153. package/dist/esm/operations/operations.js.map +1 -0
  154. package/dist/esm/operationsInterfaces/azureBareMetalInstances.d.ts +86 -0
  155. package/dist/esm/operationsInterfaces/azureBareMetalInstances.d.ts.map +1 -0
  156. package/dist/esm/operationsInterfaces/azureBareMetalInstances.js +9 -0
  157. package/dist/esm/operationsInterfaces/azureBareMetalInstances.js.map +1 -0
  158. package/dist/esm/operationsInterfaces/azureBareMetalStorageInstances.d.ts +55 -0
  159. package/dist/esm/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +1 -0
  160. package/dist/esm/operationsInterfaces/azureBareMetalStorageInstances.js +9 -0
  161. package/dist/esm/operationsInterfaces/azureBareMetalStorageInstances.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/operations.d.ts +11 -0
  167. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  168. package/dist/esm/operationsInterfaces/operations.js +9 -0
  169. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  170. package/dist/esm/package.json +3 -0
  171. package/dist/esm/pagingHelper.d.ts +13 -0
  172. package/dist/esm/pagingHelper.d.ts.map +1 -0
  173. package/dist/esm/pagingHelper.js +30 -0
  174. package/dist/esm/pagingHelper.js.map +1 -0
  175. package/dist/react-native/bareMetalInfrastructureClient.d.ts +22 -0
  176. package/dist/react-native/bareMetalInfrastructureClient.d.ts.map +1 -0
  177. package/dist/react-native/bareMetalInfrastructureClient.js +110 -0
  178. package/dist/react-native/bareMetalInfrastructureClient.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 +11 -0
  184. package/dist/react-native/lroImpl.d.ts.map +1 -0
  185. package/dist/react-native/lroImpl.js +18 -0
  186. package/dist/react-native/lroImpl.js.map +1 -0
  187. package/dist/react-native/models/index.d.ts +808 -0
  188. package/dist/react-native/models/index.d.ts.map +1 -0
  189. package/dist/react-native/models/index.js +212 -0
  190. package/dist/react-native/models/index.js.map +1 -0
  191. package/dist/react-native/models/mappers.d.ts +30 -0
  192. package/dist/react-native/models/mappers.d.ts.map +1 -0
  193. package/dist/react-native/models/mappers.js +809 -0
  194. package/dist/react-native/models/mappers.js.map +1 -0
  195. package/dist/react-native/models/parameters.d.ts +14 -0
  196. package/dist/react-native/models/parameters.d.ts.map +1 -0
  197. package/dist/react-native/models/parameters.js +126 -0
  198. package/dist/react-native/models/parameters.js.map +1 -0
  199. package/dist/react-native/operations/azureBareMetalInstances.d.ts +124 -0
  200. package/dist/react-native/operations/azureBareMetalInstances.d.ts.map +1 -0
  201. package/dist/react-native/operations/azureBareMetalInstances.js +563 -0
  202. package/dist/react-native/operations/azureBareMetalInstances.js.map +1 -0
  203. package/dist/react-native/operations/azureBareMetalStorageInstances.d.ts +93 -0
  204. package/dist/react-native/operations/azureBareMetalStorageInstances.d.ts.map +1 -0
  205. package/dist/react-native/operations/azureBareMetalStorageInstances.js +370 -0
  206. package/dist/react-native/operations/azureBareMetalStorageInstances.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/operations.d.ts +26 -0
  212. package/dist/react-native/operations/operations.d.ts.map +1 -0
  213. package/dist/react-native/operations/operations.js +79 -0
  214. package/dist/react-native/operations/operations.js.map +1 -0
  215. package/dist/react-native/operationsInterfaces/azureBareMetalInstances.d.ts +86 -0
  216. package/dist/react-native/operationsInterfaces/azureBareMetalInstances.d.ts.map +1 -0
  217. package/dist/react-native/operationsInterfaces/azureBareMetalInstances.js +9 -0
  218. package/dist/react-native/operationsInterfaces/azureBareMetalInstances.js.map +1 -0
  219. package/dist/react-native/operationsInterfaces/azureBareMetalStorageInstances.d.ts +55 -0
  220. package/dist/react-native/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +1 -0
  221. package/dist/react-native/operationsInterfaces/azureBareMetalStorageInstances.js +9 -0
  222. package/dist/react-native/operationsInterfaces/azureBareMetalStorageInstances.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/operations.d.ts +11 -0
  228. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  229. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  230. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  231. package/dist/react-native/package.json +3 -0
  232. package/dist/react-native/pagingHelper.d.ts +13 -0
  233. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  234. package/dist/react-native/pagingHelper.js +30 -0
  235. package/dist/react-native/pagingHelper.js.map +1 -0
  236. package/package.json +87 -74
  237. package/dist/index.js +0 -2418
  238. package/dist/index.js.map +0 -1
  239. package/dist/index.min.js +0 -1
  240. package/dist/index.min.js.map +0 -1
  241. package/dist-esm/samples-dev/azureBareMetalInstancesGetSample.d.ts +0 -2
  242. package/dist-esm/samples-dev/azureBareMetalInstancesGetSample.d.ts.map +0 -1
  243. package/dist-esm/samples-dev/azureBareMetalInstancesGetSample.js +0 -39
  244. package/dist-esm/samples-dev/azureBareMetalInstancesGetSample.js.map +0 -1
  245. package/dist-esm/samples-dev/azureBareMetalInstancesListByResourceGroupSample.d.ts +0 -2
  246. package/dist-esm/samples-dev/azureBareMetalInstancesListByResourceGroupSample.d.ts.map +0 -1
  247. package/dist-esm/samples-dev/azureBareMetalInstancesListByResourceGroupSample.js +0 -54
  248. package/dist-esm/samples-dev/azureBareMetalInstancesListByResourceGroupSample.js.map +0 -1
  249. package/dist-esm/samples-dev/azureBareMetalInstancesListBySubscriptionSample.d.ts +0 -2
  250. package/dist-esm/samples-dev/azureBareMetalInstancesListBySubscriptionSample.d.ts.map +0 -1
  251. package/dist-esm/samples-dev/azureBareMetalInstancesListBySubscriptionSample.js +0 -53
  252. package/dist-esm/samples-dev/azureBareMetalInstancesListBySubscriptionSample.js.map +0 -1
  253. package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.d.ts +0 -2
  254. package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.d.ts.map +0 -1
  255. package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.js +0 -39
  256. package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.js.map +0 -1
  257. package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.d.ts +0 -2
  258. package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.d.ts.map +0 -1
  259. package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.js +0 -39
  260. package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.js.map +0 -1
  261. package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.d.ts +0 -2
  262. package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.d.ts.map +0 -1
  263. package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.js +0 -39
  264. package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.js.map +0 -1
  265. package/dist-esm/samples-dev/azureBareMetalInstancesUpdateSample.d.ts +0 -2
  266. package/dist-esm/samples-dev/azureBareMetalInstancesUpdateSample.d.ts.map +0 -1
  267. package/dist-esm/samples-dev/azureBareMetalInstancesUpdateSample.js +0 -60
  268. package/dist-esm/samples-dev/azureBareMetalInstancesUpdateSample.js.map +0 -1
  269. package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.d.ts +0 -2
  270. package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.d.ts.map +0 -1
  271. package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.js +0 -56
  272. package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.js.map +0 -1
  273. package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.d.ts +0 -2
  274. package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.d.ts.map +0 -1
  275. package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.js +0 -39
  276. package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.js.map +0 -1
  277. package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.d.ts +0 -2
  278. package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.d.ts.map +0 -1
  279. package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.js +0 -39
  280. package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.js.map +0 -1
  281. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.d.ts +0 -2
  282. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.js +0 -54
  284. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.js.map +0 -1
  285. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.d.ts +0 -2
  286. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.js +0 -53
  288. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.js.map +0 -1
  289. package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.d.ts +0 -2
  290. package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.d.ts.map +0 -1
  291. package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.js +0 -60
  292. package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.js.map +0 -1
  293. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  294. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  295. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  296. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  297. package/dist-esm/src/bareMetalInfrastructureClient.d.ts.map +0 -1
  298. package/dist-esm/src/bareMetalInfrastructureClient.js.map +0 -1
  299. package/dist-esm/src/index.d.ts +0 -6
  300. package/dist-esm/src/index.d.ts.map +0 -1
  301. package/dist-esm/src/index.js.map +0 -1
  302. package/dist-esm/src/lroImpl.js +0 -21
  303. package/dist-esm/src/lroImpl.js.map +0 -1
  304. package/dist-esm/src/models/index.js.map +0 -1
  305. package/dist-esm/src/models/mappers.js.map +0 -1
  306. package/dist-esm/src/models/parameters.js.map +0 -1
  307. package/dist-esm/src/operations/azureBareMetalInstances.d.ts.map +0 -1
  308. package/dist-esm/src/operations/azureBareMetalInstances.js.map +0 -1
  309. package/dist-esm/src/operations/azureBareMetalStorageInstances.d.ts.map +0 -1
  310. package/dist-esm/src/operations/azureBareMetalStorageInstances.js.map +0 -1
  311. package/dist-esm/src/operations/index.d.ts +0 -4
  312. package/dist-esm/src/operations/index.js.map +0 -1
  313. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  314. package/dist-esm/src/operations/operations.js.map +0 -1
  315. package/dist-esm/src/operationsInterfaces/azureBareMetalInstances.d.ts.map +0 -1
  316. package/dist-esm/src/operationsInterfaces/azureBareMetalInstances.js.map +0 -1
  317. package/dist-esm/src/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +0 -1
  318. package/dist-esm/src/operationsInterfaces/azureBareMetalStorageInstances.js.map +0 -1
  319. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  320. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  321. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  322. package/dist-esm/src/pagingHelper.js.map +0 -1
  323. package/dist-esm/test/baremetalinfrastructure_operations_test.spec.d.ts +0 -4
  324. package/dist-esm/test/baremetalinfrastructure_operations_test.spec.d.ts.map +0 -1
  325. package/dist-esm/test/baremetalinfrastructure_operations_test.spec.js +0 -76
  326. package/dist-esm/test/baremetalinfrastructure_operations_test.spec.js.map +0 -1
  327. package/src/bareMetalInfrastructureClient.ts +0 -154
  328. package/src/lroImpl.ts +0 -42
  329. package/src/models/index.ts +0 -899
  330. package/src/models/mappers.ts +0 -839
  331. package/src/models/parameters.ts +0 -147
  332. package/src/operations/azureBareMetalInstances.ts +0 -783
  333. package/src/operations/azureBareMetalStorageInstances.ts +0 -498
  334. package/src/operations/operations.ts +0 -103
  335. package/src/operationsInterfaces/azureBareMetalInstances.ts +0 -163
  336. package/src/operationsInterfaces/azureBareMetalStorageInstances.ts +0 -99
  337. package/src/operationsInterfaces/index.ts +0 -11
  338. package/src/operationsInterfaces/operations.ts +0 -22
  339. package/src/pagingHelper.ts +0 -39
  340. package/tsconfig.json +0 -33
  341. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  342. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  343. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  344. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  345. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  346. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  347. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  348. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  349. /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureBareMetalInstances.js +0 -0
  350. /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureBareMetalStorageInstances.js +0 -0
  351. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  352. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  353. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  354. /package/review/{arm-baremetalinfrastructure.api.md → arm-baremetalinfrastructure-node.api.md} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,sBAAsB;iBAClC;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAA+B;IAC9D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,sBAAsB;QACjC,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,O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AE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,iBAAiB,EAAE;gBACjB,cAAc,EAAE,8BAA8B;gBAC9C,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,mBAAmB;iBAC/B;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAA+B;IAC7E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qCAAqC;QAChD,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAA+B;IAC/E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,uCAAuC;QAClD,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAA+B;IAChF,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wCAAwC;QACnD,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationStatus: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationStatus\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\"\n }\n },\n startTime: {\n serializedName: \"startTime\",\n type: {\n name: \"String\"\n }\n },\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"OperationStatusError\"\n }\n }\n }\n }\n};\n\nexport const OperationStatusError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationStatusError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\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 ForceState: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ForceState\",\n modelProperties: {\n forceState: {\n serializedName: \"forceState\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstance\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const HardwareProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HardwareProfile\",\n modelProperties: {\n hardwareType: {\n serializedName: \"hardwareType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n azureBareMetalInstanceSize: {\n serializedName: \"azureBareMetalInstanceSize\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const StorageProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageProfile\",\n modelProperties: {\n nfsIpAddress: {\n serializedName: \"nfsIpAddress\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n osDisks: {\n serializedName: \"osDisks\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Disk\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Disk: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Disk\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n diskSizeGB: {\n serializedName: \"diskSizeGB\",\n type: {\n name: \"Number\"\n }\n },\n lun: {\n serializedName: \"lun\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const OSProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OSProfile\",\n modelProperties: {\n computerName: {\n serializedName: \"computerName\",\n type: {\n name: \"String\"\n }\n },\n osType: {\n serializedName: \"osType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n sshPublicKey: {\n serializedName: \"sshPublicKey\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const NetworkProfile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NetworkProfile\",\n modelProperties: {\n networkInterfaces: {\n serializedName: \"networkInterfaces\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"NetworkInterface\"\n }\n }\n }\n },\n circuitId: {\n serializedName: \"circuitId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const NetworkInterface: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NetworkInterface\",\n modelProperties: {\n ipAddress: {\n serializedName: \"ipAddress\",\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 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 Tags: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Tags\",\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 AzureBareMetalStorageInstancesListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstancesListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstance\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const StorageProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageProperties\",\n modelProperties: {\n provisioningState: {\n serializedName: \"provisioningState\",\n type: {\n name: \"String\"\n }\n },\n offeringType: {\n serializedName: \"offeringType\",\n type: {\n name: \"String\"\n }\n },\n storageType: {\n serializedName: \"storageType\",\n type: {\n name: \"String\"\n }\n },\n generation: {\n serializedName: \"generation\",\n type: {\n name: \"String\"\n }\n },\n hardwareType: {\n serializedName: \"hardwareType\",\n type: {\n name: \"String\"\n }\n },\n workloadType: {\n serializedName: \"workloadType\",\n type: {\n name: \"String\"\n }\n },\n storageBillingProperties: {\n serializedName: \"storageBillingProperties\",\n type: {\n name: \"Composite\",\n className: \"StorageBillingProperties\"\n }\n }\n }\n }\n};\n\nexport const StorageBillingProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StorageBillingProperties\",\n modelProperties: {\n billingMode: {\n serializedName: \"billingMode\",\n type: {\n name: \"String\"\n }\n },\n azureBareMetalStorageInstanceSize: {\n serializedName: \"azureBareMetalStorageInstanceSize\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\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\nexport const AzureBareMetalInstance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstance\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n hardwareProfile: {\n serializedName: \"properties.hardwareProfile\",\n type: {\n name: \"Composite\",\n className: \"HardwareProfile\"\n }\n },\n storageProfile: {\n serializedName: \"properties.storageProfile\",\n type: {\n name: \"Composite\",\n className: \"StorageProfile\"\n }\n },\n osProfile: {\n serializedName: \"properties.osProfile\",\n type: {\n name: \"Composite\",\n className: \"OSProfile\"\n }\n },\n networkProfile: {\n serializedName: \"properties.networkProfile\",\n type: {\n name: \"Composite\",\n className: \"NetworkProfile\"\n }\n },\n azureBareMetalInstanceId: {\n serializedName: \"properties.azureBareMetalInstanceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n powerState: {\n serializedName: \"properties.powerState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n proximityPlacementGroup: {\n serializedName: \"properties.proximityPlacementGroup\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n hwRevision: {\n serializedName: \"properties.hwRevision\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n partnerNodeId: {\n serializedName: \"properties.partnerNodeId\",\n type: {\n name: \"String\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalStorageInstance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalStorageInstance\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n azureBareMetalStorageInstanceUniqueIdentifier: {\n serializedName:\n \"properties.azureBareMetalStorageInstanceUniqueIdentifier\",\n type: {\n name: \"String\"\n }\n },\n storageProperties: {\n serializedName: \"properties.storageProperties\",\n type: {\n name: \"Composite\",\n className: \"StorageProperties\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesStartHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesStartHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesRestartHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesRestartHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AzureBareMetalInstancesShutdownHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureBareMetalInstancesShutdownHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { ForceState as ForceStateMapper, Tags as TagsMapper, AzureBareMetalStorageInstance as AzureBareMetalStorageInstanceMapper } from "../models/mappers";
8
+ import { ForceState as ForceStateMapper, Tags as TagsMapper, AzureBareMetalStorageInstance as AzureBareMetalStorageInstanceMapper } from "../models/mappers.js";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,IAAI,IAAI,UAAU,EAClB,6BAA6B,IAAI,mCAAmC,EACrE,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,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;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAuB;IAChD,aAAa,EAAE,CAAC,SAAS,EAAE,gBAAgB,CAAC;IAC5C,MAAM,EAAE,gBAAgB;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,UAAU;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAA0B;IACtE,aAAa,EAAE,mCAAmC;IAClD,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,IAAI,CAAC;SAC1B;QACD,cAAc,EAAE,mCAAmC;QACnD,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAuB;IACvD,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE,mCAAmC;CAC5C,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n ForceState as ForceStateMapper,\n Tags as TagsMapper,\n AzureBareMetalStorageInstance as AzureBareMetalStorageInstanceMapper\n} from \"../models/mappers.js\";\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 apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-08-04-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\"\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 azureBareMetalInstanceName: OperationURLParameter = {\n parameterPath: \"azureBareMetalInstanceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]+$\")\n },\n serializedName: \"azureBareMetalInstanceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\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 forceParameter: OperationParameter = {\n parameterPath: [\"options\", \"forceParameter\"],\n mapper: ForceStateMapper\n};\n\nexport const tagsParameter: OperationParameter = {\n parameterPath: \"tagsParameter\",\n mapper: TagsMapper\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\nexport const azureBareMetalStorageInstanceName: OperationURLParameter = {\n parameterPath: \"azureBareMetalStorageInstanceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\".*\")\n },\n serializedName: \"azureBareMetalStorageInstanceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const requestBodyParameters: OperationParameter = {\n parameterPath: \"requestBodyParameters\",\n mapper: AzureBareMetalStorageInstanceMapper\n};\n"]}
@@ -1,8 +1,8 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { AzureBareMetalInstances } from "../operationsInterfaces";
3
- import { BareMetalInfrastructureClient } from "../bareMetalInfrastructureClient";
2
+ import { AzureBareMetalInstances } from "../operationsInterfaces/index.js";
3
+ import { BareMetalInfrastructureClient } from "../bareMetalInfrastructureClient.js";
4
4
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { AzureBareMetalInstance, AzureBareMetalInstancesListBySubscriptionOptionalParams, AzureBareMetalInstancesListByResourceGroupOptionalParams, AzureBareMetalInstancesStartOptionalParams, AzureBareMetalInstancesStartResponse, AzureBareMetalInstancesRestartOptionalParams, AzureBareMetalInstancesRestartResponse, AzureBareMetalInstancesShutdownOptionalParams, AzureBareMetalInstancesShutdownResponse, AzureBareMetalInstancesGetOptionalParams, AzureBareMetalInstancesGetResponse, Tags, AzureBareMetalInstancesUpdateOptionalParams, AzureBareMetalInstancesUpdateResponse } from "../models";
5
+ import { AzureBareMetalInstance, AzureBareMetalInstancesListBySubscriptionOptionalParams, AzureBareMetalInstancesListByResourceGroupOptionalParams, AzureBareMetalInstancesStartOptionalParams, AzureBareMetalInstancesStartResponse, AzureBareMetalInstancesRestartOptionalParams, AzureBareMetalInstancesRestartResponse, AzureBareMetalInstancesShutdownOptionalParams, AzureBareMetalInstancesShutdownResponse, AzureBareMetalInstancesGetOptionalParams, AzureBareMetalInstancesGetResponse, Tags, AzureBareMetalInstancesUpdateOptionalParams, AzureBareMetalInstancesUpdateResponse } from "../models/index.js";
6
6
  /** Class containing AzureBareMetalInstances operations. */
7
7
  export declare class AzureBareMetalInstancesImpl implements AzureBareMetalInstances {
8
8
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureBareMetalInstances.d.ts","sourceRoot":"","sources":["../../../src/operations/azureBareMetalInstances.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAI3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,sBAAsB,EAEtB,uDAAuD,EAGvD,wDAAwD,EAExD,0CAA0C,EAC1C,oCAAoC,EACpC,4CAA4C,EAC5C,sCAAsC,EACtC,6CAA6C,EAC7C,uCAAuC,EACvC,wCAAwC,EACxC,kCAAkC,EAClC,IAAI,EACJ,2CAA2C,EAC3C,qCAAqC,EAGtC,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,qBAAa,2BAA4B,YAAW,uBAAuB;IACzE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;OAIG;IACI,kBAAkB,CACvB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,sBAAsB,CAAC;YAkBtC,4BAA4B;YAsB5B,2BAA2B;IAQ1C;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,wDAAwD,GACjE,0BAA0B,CAAC,sBAAsB,CAAC;YAsBtC,6BAA6B;YA2B7B,4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AAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAO9C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,aAAa,EAAE,IAAI,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAOjD;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -5,16 +5,16 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
13
12
  import { createHttpPoller } from "@azure/core-lro";
14
- import { createLroSpec } from "../lroImpl";
13
+ import { createLroSpec } from "../lroImpl.js";
15
14
  /// <reference lib="esnext.asynciterable" />
16
15
  /** Class containing AzureBareMetalInstances operations. */
17
16
  export class AzureBareMetalInstancesImpl {
17
+ client;
18
18
  /**
19
19
  * Initialize a new instance of the class AzureBareMetalInstances class.
20
20
  * @param client Reference to the service client
@@ -37,52 +37,35 @@ export class AzureBareMetalInstancesImpl {
37
37
  return this;
38
38
  },
39
39
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ if (settings?.maxPageSize) {
41
41
  throw new Error("maxPageSize is not supported by this operation.");
42
42
  }
43
43
  return this.listBySubscriptionPagingPage(options, settings);
44
44
  }
45
45
  };
46
46
  }
47
- listBySubscriptionPagingPage(options, settings) {
48
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
49
- let result;
50
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
- if (!continuationToken) {
52
- result = yield __await(this._listBySubscription(options));
53
- let page = result.value || [];
54
- continuationToken = result.nextLink;
55
- setContinuationToken(page, continuationToken);
56
- yield yield __await(page);
57
- }
58
- while (continuationToken) {
59
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
60
- continuationToken = result.nextLink;
61
- let page = result.value || [];
62
- setContinuationToken(page, continuationToken);
63
- yield yield __await(page);
64
- }
65
- });
47
+ async *listBySubscriptionPagingPage(options, settings) {
48
+ let result;
49
+ let continuationToken = settings?.continuationToken;
50
+ if (!continuationToken) {
51
+ result = await this._listBySubscription(options);
52
+ let page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ setContinuationToken(page, continuationToken);
55
+ yield page;
56
+ }
57
+ while (continuationToken) {
58
+ result = await this._listBySubscriptionNext(continuationToken, options);
59
+ continuationToken = result.nextLink;
60
+ let page = result.value || [];
61
+ setContinuationToken(page, continuationToken);
62
+ yield page;
63
+ }
66
64
  }
67
- listBySubscriptionPagingAll(options) {
68
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
69
- var _a, e_1, _b, _c;
70
- try {
71
- for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
72
- _c = _f.value;
73
- _d = false;
74
- const page = _c;
75
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
76
- }
77
- }
78
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
- finally {
80
- try {
81
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
82
- }
83
- finally { if (e_1) throw e_1.error; }
84
- }
85
- });
65
+ async *listBySubscriptionPagingAll(options) {
66
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
67
+ yield* page;
68
+ }
86
69
  }
87
70
  /**
88
71
  * Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The
@@ -100,52 +83,35 @@ export class AzureBareMetalInstancesImpl {
100
83
  return this;
101
84
  },
102
85
  byPage: (settings) => {
103
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
86
+ if (settings?.maxPageSize) {
104
87
  throw new Error("maxPageSize is not supported by this operation.");
105
88
  }
106
89
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
107
90
  }
108
91
  };
109
92
  }
110
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
111
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
112
- let result;
113
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
114
- if (!continuationToken) {
115
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
116
- let page = result.value || [];
117
- continuationToken = result.nextLink;
118
- setContinuationToken(page, continuationToken);
119
- yield yield __await(page);
120
- }
121
- while (continuationToken) {
122
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
123
- continuationToken = result.nextLink;
124
- let page = result.value || [];
125
- setContinuationToken(page, continuationToken);
126
- yield yield __await(page);
127
- }
128
- });
93
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
94
+ let result;
95
+ let continuationToken = settings?.continuationToken;
96
+ if (!continuationToken) {
97
+ result = await this._listByResourceGroup(resourceGroupName, options);
98
+ let page = result.value || [];
99
+ continuationToken = result.nextLink;
100
+ setContinuationToken(page, continuationToken);
101
+ yield page;
102
+ }
103
+ while (continuationToken) {
104
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
105
+ continuationToken = result.nextLink;
106
+ let page = result.value || [];
107
+ setContinuationToken(page, continuationToken);
108
+ yield page;
109
+ }
129
110
  }
130
- listByResourceGroupPagingAll(resourceGroupName, options) {
131
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
132
- var _a, e_2, _b, _c;
133
- try {
134
- for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
135
- _c = _f.value;
136
- _d = false;
137
- const page = _c;
138
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
139
- }
140
- }
141
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
142
- finally {
143
- try {
144
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
145
- }
146
- finally { if (e_2) throw e_2.error; }
147
- }
148
- });
111
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
112
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
113
+ yield* page;
114
+ }
149
115
  }
150
116
  /**
151
117
  * The operation to start an Azure Bare Metal instance
@@ -154,43 +120,46 @@ export class AzureBareMetalInstancesImpl {
154
120
  * ResourceName.
155
121
  * @param options The options parameters.
156
122
  */
157
- beginStart(resourceGroupName, azureBareMetalInstanceName, options) {
158
- return __awaiter(this, void 0, void 0, function* () {
159
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
160
- return this.client.sendOperationRequest(args, spec);
161
- });
162
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
163
- var _a;
164
- let currentRawResponse = undefined;
165
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
166
- const callback = (rawResponse, flatResponse) => {
167
- currentRawResponse = rawResponse;
168
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
169
- };
170
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
171
- const flatResponse = yield directSendOperation(updatedArgs, spec);
172
- return {
173
- flatResponse,
174
- rawResponse: {
175
- statusCode: currentRawResponse.status,
176
- body: currentRawResponse.parsedBody,
177
- headers: currentRawResponse.headers.toJSON()
178
- }
179
- };
180
- });
181
- const lro = createLroSpec({
182
- sendOperationFn,
183
- args: { resourceGroupName, azureBareMetalInstanceName, options },
184
- spec: startOperationSpec
185
- });
186
- const poller = yield createHttpPoller(lro, {
187
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
188
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
189
- resourceLocationConfig: "location"
190
- });
191
- yield poller.poll();
192
- return poller;
123
+ async beginStart(resourceGroupName, azureBareMetalInstanceName, options) {
124
+ const directSendOperation = async (args, spec) => {
125
+ return this.client.sendOperationRequest(args, spec);
126
+ };
127
+ const sendOperationFn = async (args, spec) => {
128
+ let currentRawResponse = undefined;
129
+ const providedCallback = args.options?.onResponse;
130
+ const callback = (rawResponse, flatResponse) => {
131
+ currentRawResponse = rawResponse;
132
+ providedCallback?.(rawResponse, flatResponse);
133
+ };
134
+ const updatedArgs = {
135
+ ...args,
136
+ options: {
137
+ ...args.options,
138
+ onResponse: callback
139
+ }
140
+ };
141
+ const flatResponse = await directSendOperation(updatedArgs, spec);
142
+ return {
143
+ flatResponse,
144
+ rawResponse: {
145
+ statusCode: currentRawResponse.status,
146
+ body: currentRawResponse.parsedBody,
147
+ headers: currentRawResponse.headers.toJSON()
148
+ }
149
+ };
150
+ };
151
+ const lro = createLroSpec({
152
+ sendOperationFn,
153
+ args: { resourceGroupName, azureBareMetalInstanceName, options },
154
+ spec: startOperationSpec
155
+ });
156
+ const poller = await createHttpPoller(lro, {
157
+ restoreFrom: options?.resumeFrom,
158
+ intervalInMs: options?.updateIntervalInMs,
159
+ resourceLocationConfig: "location"
193
160
  });
161
+ await poller.poll();
162
+ return poller;
194
163
  }
195
164
  /**
196
165
  * The operation to start an Azure Bare Metal instance
@@ -199,11 +168,9 @@ export class AzureBareMetalInstancesImpl {
199
168
  * ResourceName.
200
169
  * @param options The options parameters.
201
170
  */
202
- beginStartAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
203
- return __awaiter(this, void 0, void 0, function* () {
204
- const poller = yield this.beginStart(resourceGroupName, azureBareMetalInstanceName, options);
205
- return poller.pollUntilDone();
206
- });
171
+ async beginStartAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
172
+ const poller = await this.beginStart(resourceGroupName, azureBareMetalInstanceName, options);
173
+ return poller.pollUntilDone();
207
174
  }
208
175
  /**
209
176
  * The operation to restart an Azure Bare Metal Instance
@@ -212,43 +179,46 @@ export class AzureBareMetalInstancesImpl {
212
179
  * ResourceName.
213
180
  * @param options The options parameters.
214
181
  */
215
- beginRestart(resourceGroupName, azureBareMetalInstanceName, options) {
216
- return __awaiter(this, void 0, void 0, function* () {
217
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
218
- return this.client.sendOperationRequest(args, spec);
219
- });
220
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
221
- var _a;
222
- let currentRawResponse = undefined;
223
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
224
- const callback = (rawResponse, flatResponse) => {
225
- currentRawResponse = rawResponse;
226
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
227
- };
228
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
229
- const flatResponse = yield directSendOperation(updatedArgs, spec);
230
- return {
231
- flatResponse,
232
- rawResponse: {
233
- statusCode: currentRawResponse.status,
234
- body: currentRawResponse.parsedBody,
235
- headers: currentRawResponse.headers.toJSON()
236
- }
237
- };
238
- });
239
- const lro = createLroSpec({
240
- sendOperationFn,
241
- args: { resourceGroupName, azureBareMetalInstanceName, options },
242
- spec: restartOperationSpec
243
- });
244
- const poller = yield createHttpPoller(lro, {
245
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
246
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
247
- resourceLocationConfig: "location"
248
- });
249
- yield poller.poll();
250
- return poller;
182
+ async beginRestart(resourceGroupName, azureBareMetalInstanceName, options) {
183
+ const directSendOperation = async (args, spec) => {
184
+ return this.client.sendOperationRequest(args, spec);
185
+ };
186
+ const sendOperationFn = async (args, spec) => {
187
+ let currentRawResponse = undefined;
188
+ const providedCallback = args.options?.onResponse;
189
+ const callback = (rawResponse, flatResponse) => {
190
+ currentRawResponse = rawResponse;
191
+ providedCallback?.(rawResponse, flatResponse);
192
+ };
193
+ const updatedArgs = {
194
+ ...args,
195
+ options: {
196
+ ...args.options,
197
+ onResponse: callback
198
+ }
199
+ };
200
+ const flatResponse = await directSendOperation(updatedArgs, spec);
201
+ return {
202
+ flatResponse,
203
+ rawResponse: {
204
+ statusCode: currentRawResponse.status,
205
+ body: currentRawResponse.parsedBody,
206
+ headers: currentRawResponse.headers.toJSON()
207
+ }
208
+ };
209
+ };
210
+ const lro = createLroSpec({
211
+ sendOperationFn,
212
+ args: { resourceGroupName, azureBareMetalInstanceName, options },
213
+ spec: restartOperationSpec
214
+ });
215
+ const poller = await createHttpPoller(lro, {
216
+ restoreFrom: options?.resumeFrom,
217
+ intervalInMs: options?.updateIntervalInMs,
218
+ resourceLocationConfig: "location"
251
219
  });
220
+ await poller.poll();
221
+ return poller;
252
222
  }
253
223
  /**
254
224
  * The operation to restart an Azure Bare Metal Instance
@@ -257,11 +227,9 @@ export class AzureBareMetalInstancesImpl {
257
227
  * ResourceName.
258
228
  * @param options The options parameters.
259
229
  */
260
- beginRestartAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
261
- return __awaiter(this, void 0, void 0, function* () {
262
- const poller = yield this.beginRestart(resourceGroupName, azureBareMetalInstanceName, options);
263
- return poller.pollUntilDone();
264
- });
230
+ async beginRestartAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
231
+ const poller = await this.beginRestart(resourceGroupName, azureBareMetalInstanceName, options);
232
+ return poller.pollUntilDone();
265
233
  }
266
234
  /**
267
235
  * The operation to shutdown an Azure Bare Metal Instance
@@ -270,43 +238,46 @@ export class AzureBareMetalInstancesImpl {
270
238
  * ResourceName.
271
239
  * @param options The options parameters.
272
240
  */
273
- beginShutdown(resourceGroupName, azureBareMetalInstanceName, options) {
274
- return __awaiter(this, void 0, void 0, function* () {
275
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
276
- return this.client.sendOperationRequest(args, spec);
277
- });
278
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
279
- var _a;
280
- let currentRawResponse = undefined;
281
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
282
- const callback = (rawResponse, flatResponse) => {
283
- currentRawResponse = rawResponse;
284
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
285
- };
286
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
287
- const flatResponse = yield directSendOperation(updatedArgs, spec);
288
- return {
289
- flatResponse,
290
- rawResponse: {
291
- statusCode: currentRawResponse.status,
292
- body: currentRawResponse.parsedBody,
293
- headers: currentRawResponse.headers.toJSON()
294
- }
295
- };
296
- });
297
- const lro = createLroSpec({
298
- sendOperationFn,
299
- args: { resourceGroupName, azureBareMetalInstanceName, options },
300
- spec: shutdownOperationSpec
301
- });
302
- const poller = yield createHttpPoller(lro, {
303
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
304
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
305
- resourceLocationConfig: "location"
306
- });
307
- yield poller.poll();
308
- return poller;
241
+ async beginShutdown(resourceGroupName, azureBareMetalInstanceName, options) {
242
+ const directSendOperation = async (args, spec) => {
243
+ return this.client.sendOperationRequest(args, spec);
244
+ };
245
+ const sendOperationFn = async (args, spec) => {
246
+ let currentRawResponse = undefined;
247
+ const providedCallback = args.options?.onResponse;
248
+ const callback = (rawResponse, flatResponse) => {
249
+ currentRawResponse = rawResponse;
250
+ providedCallback?.(rawResponse, flatResponse);
251
+ };
252
+ const updatedArgs = {
253
+ ...args,
254
+ options: {
255
+ ...args.options,
256
+ onResponse: callback
257
+ }
258
+ };
259
+ const flatResponse = await directSendOperation(updatedArgs, spec);
260
+ return {
261
+ flatResponse,
262
+ rawResponse: {
263
+ statusCode: currentRawResponse.status,
264
+ body: currentRawResponse.parsedBody,
265
+ headers: currentRawResponse.headers.toJSON()
266
+ }
267
+ };
268
+ };
269
+ const lro = createLroSpec({
270
+ sendOperationFn,
271
+ args: { resourceGroupName, azureBareMetalInstanceName, options },
272
+ spec: shutdownOperationSpec
309
273
  });
274
+ const poller = await createHttpPoller(lro, {
275
+ restoreFrom: options?.resumeFrom,
276
+ intervalInMs: options?.updateIntervalInMs,
277
+ resourceLocationConfig: "location"
278
+ });
279
+ await poller.poll();
280
+ return poller;
310
281
  }
311
282
  /**
312
283
  * The operation to shutdown an Azure Bare Metal Instance
@@ -315,11 +286,9 @@ export class AzureBareMetalInstancesImpl {
315
286
  * ResourceName.
316
287
  * @param options The options parameters.
317
288
  */
318
- beginShutdownAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
319
- return __awaiter(this, void 0, void 0, function* () {
320
- const poller = yield this.beginShutdown(resourceGroupName, azureBareMetalInstanceName, options);
321
- return poller.pollUntilDone();
322
- });
289
+ async beginShutdownAndWait(resourceGroupName, azureBareMetalInstanceName, options) {
290
+ const poller = await this.beginShutdown(resourceGroupName, azureBareMetalInstanceName, options);
291
+ return poller.pollUntilDone();
323
292
  }
324
293
  /**
325
294
  * Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns