@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
@@ -1,1069 +1,808 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { OperationState } from '@azure/core-lro';
4
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
5
- import { SimplePollerLike } 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 AsyncOperationStatus. \
18
- * {@link KnownAsyncOperationStatus} can be used interchangeably with AsyncOperationStatus,
19
- * this enum contains the known values that the service supports.
20
- * ### Known values supported by the service
21
- * **Requesting** \
22
- * **Executing** \
23
- * **Succeeded** \
24
- * **Failed**
25
- */
26
- export declare type AsyncOperationStatus = string;
27
-
28
- /**
29
- * Defines values for AzureBareMetalHardwareTypeNamesEnum. \
30
- * {@link KnownAzureBareMetalHardwareTypeNamesEnum} can be used interchangeably with AzureBareMetalHardwareTypeNamesEnum,
31
- * this enum contains the known values that the service supports.
32
- * ### Known values supported by the service
33
- * **Cisco_UCS** \
34
- * **HPE** \
35
- * **SDFLEX**
36
- */
37
- export declare type AzureBareMetalHardwareTypeNamesEnum = string;
38
-
39
- /** AzureBareMetal instance info on Azure (ARM properties and AzureBareMetal properties) */
40
- export declare interface AzureBareMetalInstance extends TrackedResource {
41
- /** Specifies the hardware settings for the Azure Bare Metal Instance. */
42
- hardwareProfile?: HardwareProfile;
43
- /** Specifies the storage settings for the Azure Bare Metal Instance disks. */
44
- storageProfile?: StorageProfile;
45
- /** Specifies the operating system settings for the Azure Bare Metal Instance. */
46
- osProfile?: OSProfile;
47
- /** Specifies the network settings for the Azure Bare Metal Instance. */
48
- networkProfile?: NetworkProfile;
49
- /**
50
- * Specifies the Azure Bare Metal Instance unique ID.
51
- * NOTE: This property will not be serialized. It can only be populated by the server.
52
- */
53
- readonly azureBareMetalInstanceId?: string;
54
- /**
55
- * Resource power state
56
- * NOTE: This property will not be serialized. It can only be populated by the server.
57
- */
58
- readonly powerState?: AzureBareMetalInstancePowerStateEnum;
59
- /**
60
- * Resource proximity placement group
61
- * NOTE: This property will not be serialized. It can only be populated by the server.
62
- */
63
- readonly proximityPlacementGroup?: string;
64
- /**
65
- * Hardware revision of an Azure Bare Metal Instance
66
- * NOTE: This property will not be serialized. It can only be populated by the server.
67
- */
68
- readonly hwRevision?: string;
69
- /** ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance */
70
- partnerNodeId?: string;
71
- /**
72
- * State of provisioning of the AzureBareMetalInstance
73
- * NOTE: This property will not be serialized. It can only be populated by the server.
74
- */
75
- readonly provisioningState?: AzureBareMetalProvisioningStatesEnum;
76
- }
77
-
78
- /**
79
- * Defines values for AzureBareMetalInstanceForcePowerState. \
80
- * {@link KnownAzureBareMetalInstanceForcePowerState} can be used interchangeably with AzureBareMetalInstanceForcePowerState,
81
- * this enum contains the known values that the service supports.
82
- * ### Known values supported by the service
83
- * **active** \
84
- * **inactive**
85
- */
86
- export declare type AzureBareMetalInstanceForcePowerState = string;
87
-
88
- /**
89
- * Defines values for AzureBareMetalInstancePowerStateEnum. \
90
- * {@link KnownAzureBareMetalInstancePowerStateEnum} can be used interchangeably with AzureBareMetalInstancePowerStateEnum,
91
- * this enum contains the known values that the service supports.
92
- * ### Known values supported by the service
93
- * **starting** \
94
- * **started** \
95
- * **stopping** \
96
- * **stopped** \
97
- * **restarting** \
98
- * **unknown**
99
- */
100
- export declare type AzureBareMetalInstancePowerStateEnum = string;
101
-
102
- /** Interface representing a AzureBareMetalInstances. */
103
- export declare interface AzureBareMetalInstances {
104
- /**
105
- * Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns
106
- * various properties of each Azure Bare Metal Instance.
107
- * @param options The options parameters.
108
- */
109
- listBySubscription(options?: AzureBareMetalInstancesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureBareMetalInstance>;
110
- /**
111
- * Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The
112
- * operations returns various properties of each Azure Bare Metal Instance.
113
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
114
- * @param options The options parameters.
115
- */
116
- listByResourceGroup(resourceGroupName: string, options?: AzureBareMetalInstancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureBareMetalInstance>;
117
- /**
118
- * The operation to start an Azure Bare Metal instance
119
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
- * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
121
- * ResourceName.
122
- * @param options The options parameters.
123
- */
124
- beginStart(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<AzureBareMetalInstancesStartResponse>, AzureBareMetalInstancesStartResponse>>;
125
- /**
126
- * The operation to start an Azure Bare Metal instance
127
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
128
- * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
129
- * ResourceName.
130
- * @param options The options parameters.
131
- */
132
- beginStartAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesStartOptionalParams): Promise<AzureBareMetalInstancesStartResponse>;
133
- /**
134
- * The operation to restart an Azure Bare Metal Instance
135
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
136
- * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
137
- * ResourceName.
138
- * @param options The options parameters.
139
- */
140
- beginRestart(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesRestartOptionalParams): Promise<SimplePollerLike<OperationState<AzureBareMetalInstancesRestartResponse>, AzureBareMetalInstancesRestartResponse>>;
141
- /**
142
- * The operation to restart an Azure Bare Metal Instance
143
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
144
- * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
145
- * ResourceName.
146
- * @param options The options parameters.
147
- */
148
- beginRestartAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesRestartOptionalParams): Promise<AzureBareMetalInstancesRestartResponse>;
149
- /**
150
- * The operation to shutdown an Azure Bare Metal Instance
151
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
152
- * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
153
- * ResourceName.
154
- * @param options The options parameters.
155
- */
156
- beginShutdown(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesShutdownOptionalParams): Promise<SimplePollerLike<OperationState<AzureBareMetalInstancesShutdownResponse>, AzureBareMetalInstancesShutdownResponse>>;
157
- /**
158
- * The operation to shutdown an Azure Bare Metal Instance
159
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
160
- * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
161
- * ResourceName.
162
- * @param options The options parameters.
163
- */
164
- beginShutdownAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesShutdownOptionalParams): Promise<AzureBareMetalInstancesShutdownResponse>;
165
- /**
166
- * Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name.
167
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
168
- * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
169
- * ResourceName.
170
- * @param options The options parameters.
171
- */
172
- get(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesGetOptionalParams): Promise<AzureBareMetalInstancesGetResponse>;
173
- /**
174
- * Patches the Tags field of a Azure Bare Metal Instance for the specified subscription, resource
175
- * group, and instance name.
176
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
177
- * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
178
- * ResourceName.
179
- * @param tagsParameter Request body that only contains the new Tags field
180
- * @param options The options parameters.
181
- */
182
- update(resourceGroupName: string, azureBareMetalInstanceName: string, tagsParameter: Tags, options?: AzureBareMetalInstancesUpdateOptionalParams): Promise<AzureBareMetalInstancesUpdateResponse>;
183
- }
184
-
185
- /** Optional parameters. */
186
- export declare interface AzureBareMetalInstancesGetOptionalParams extends coreClient.OperationOptions {
187
- }
188
-
189
- /** Contains response data for the get operation. */
190
- export declare type AzureBareMetalInstancesGetResponse = AzureBareMetalInstance;
191
-
192
- /**
193
- * Defines values for AzureBareMetalInstanceSizeNamesEnum. \
194
- * {@link KnownAzureBareMetalInstanceSizeNamesEnum} can be used interchangeably with AzureBareMetalInstanceSizeNamesEnum,
195
- * this enum contains the known values that the service supports.
196
- * ### Known values supported by the service
197
- * **S72m** \
198
- * **S144m** \
199
- * **S72** \
200
- * **S144** \
201
- * **S192** \
202
- * **S192m** \
203
- * **S192xm** \
204
- * **S96** \
205
- * **S112** \
206
- * **S224** \
207
- * **S224m** \
208
- * **S224om** \
209
- * **S224oo** \
210
- * **S224oom** \
211
- * **S224ooo** \
212
- * **S384** \
213
- * **S384m** \
214
- * **S384xm** \
215
- * **S384xxm** \
216
- * **S448** \
217
- * **S448m** \
218
- * **S448om** \
219
- * **S448oo** \
220
- * **S448oom** \
221
- * **S448ooo** \
222
- * **S448se** \
223
- * **S576m** \
224
- * **S576xm** \
225
- * **S672** \
226
- * **S672m** \
227
- * **S672om** \
228
- * **S672oo** \
229
- * **S672oom** \
230
- * **S672ooo** \
231
- * **S768** \
232
- * **S768m** \
233
- * **S768xm** \
234
- * **S896** \
235
- * **S896m** \
236
- * **S896om** \
237
- * **S896oo** \
238
- * **S896oom** \
239
- * **S896ooo** \
240
- * **S960m**
241
- */
242
- export declare type AzureBareMetalInstanceSizeNamesEnum = string;
243
-
244
- /** Optional parameters. */
245
- export declare interface AzureBareMetalInstancesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
246
- }
247
-
248
- /** Contains response data for the listByResourceGroupNext operation. */
249
- export declare type AzureBareMetalInstancesListByResourceGroupNextResponse = AzureBareMetalInstancesListResult;
250
-
251
- /** Optional parameters. */
252
- export declare interface AzureBareMetalInstancesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
253
- }
254
-
255
- /** Contains response data for the listByResourceGroup operation. */
256
- export declare type AzureBareMetalInstancesListByResourceGroupResponse = AzureBareMetalInstancesListResult;
257
-
258
- /** Optional parameters. */
259
- export declare interface AzureBareMetalInstancesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
260
- }
261
-
262
- /** Contains response data for the listBySubscriptionNext operation. */
263
- export declare type AzureBareMetalInstancesListBySubscriptionNextResponse = AzureBareMetalInstancesListResult;
264
-
265
- /** Optional parameters. */
266
- export declare interface AzureBareMetalInstancesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
267
- }
268
-
269
- /** Contains response data for the listBySubscription operation. */
270
- export declare type AzureBareMetalInstancesListBySubscriptionResponse = AzureBareMetalInstancesListResult;
271
-
272
- /** The response from the List Azure Bare Metal Instances operation. */
273
- export declare interface AzureBareMetalInstancesListResult {
274
- /** The list of Azure Bare Metal Instances. */
275
- value?: AzureBareMetalInstance[];
276
- /** The URL to get the next set of Azure Bare Metal Instances. */
277
- nextLink?: string;
278
- }
279
-
280
- /** Defines headers for AzureBareMetalInstances_restart operation. */
281
- export declare interface AzureBareMetalInstancesRestartHeaders {
282
- /** URL to track the operation status of the Microsoft Bare Metal Infrastructure in the specified location. */
283
- location?: string;
284
- }
285
-
286
- /** Optional parameters. */
287
- export declare interface AzureBareMetalInstancesRestartOptionalParams extends coreClient.OperationOptions {
288
- /** When set to 'active', this parameter empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server */
289
- forceParameter?: ForceState;
290
- /** Delay to wait until next poll, in milliseconds. */
291
- updateIntervalInMs?: number;
292
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
293
- resumeFrom?: string;
294
- }
295
-
296
- /** Contains response data for the restart operation. */
297
- export declare type AzureBareMetalInstancesRestartResponse = OperationStatus;
298
-
299
- /** Defines headers for AzureBareMetalInstances_shutdown operation. */
300
- export declare interface AzureBareMetalInstancesShutdownHeaders {
301
- /** URL to track the operation status of the Microsoft Bare Metal Infrastructure in the specified location. */
302
- location?: string;
303
- }
304
-
305
- /** Optional parameters. */
306
- export declare interface AzureBareMetalInstancesShutdownOptionalParams extends coreClient.OperationOptions {
307
- /** Delay to wait until next poll, in milliseconds. */
308
- updateIntervalInMs?: number;
309
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
310
- resumeFrom?: string;
311
- }
312
-
313
- /** Contains response data for the shutdown operation. */
314
- export declare type AzureBareMetalInstancesShutdownResponse = OperationStatus;
315
-
316
- /** Defines headers for AzureBareMetalInstances_start operation. */
317
- export declare interface AzureBareMetalInstancesStartHeaders {
318
- /** URL to track the operation status of the Microsoft Bare Metal Infrastructure in the specified location. */
319
- location?: string;
320
- }
321
-
322
- /** Optional parameters. */
323
- export declare interface AzureBareMetalInstancesStartOptionalParams extends coreClient.OperationOptions {
324
- /** Delay to wait until next poll, in milliseconds. */
325
- updateIntervalInMs?: number;
326
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
327
- resumeFrom?: string;
328
- }
329
-
330
- /** Contains response data for the start operation. */
331
- export declare type AzureBareMetalInstancesStartResponse = OperationStatus;
332
-
333
- /** Optional parameters. */
334
- export declare interface AzureBareMetalInstancesUpdateOptionalParams extends coreClient.OperationOptions {
335
- }
336
-
337
- /** Contains response data for the update operation. */
338
- export declare type AzureBareMetalInstancesUpdateResponse = AzureBareMetalInstance;
339
-
340
- /**
341
- * Defines values for AzureBareMetalProvisioningStatesEnum. \
342
- * {@link KnownAzureBareMetalProvisioningStatesEnum} can be used interchangeably with AzureBareMetalProvisioningStatesEnum,
343
- * this enum contains the known values that the service supports.
344
- * ### Known values supported by the service
345
- * **Accepted** \
346
- * **Creating** \
347
- * **Updating** \
348
- * **Failed** \
349
- * **Succeeded** \
350
- * **Deleting** \
351
- * **Migrating**
352
- */
353
- export declare type AzureBareMetalProvisioningStatesEnum = string;
354
-
355
- /** AzureBareMetalStorageInstance info on Azure (ARM properties and AzureBareMetalStorage properties) */
356
- export declare interface AzureBareMetalStorageInstance extends TrackedResource {
357
- /** Specifies the AzureBareMetaStorageInstance unique ID. */
358
- azureBareMetalStorageInstanceUniqueIdentifier?: string;
359
- /** Specifies the storage properties for the AzureBareMetalStorage instance. */
360
- storageProperties?: StorageProperties;
361
- }
362
-
363
- /** Interface representing a AzureBareMetalStorageInstances. */
364
- export declare interface AzureBareMetalStorageInstances {
365
- /**
366
- * Gets a list of AzureBareMetalStorage instances in the specified subscription. The operations returns
367
- * various properties of each Azure Bare Metal Instance.
368
- * @param options The options parameters.
369
- */
370
- listBySubscription(options?: AzureBareMetalStorageInstancesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureBareMetalStorageInstance>;
371
- /**
372
- * Gets a list of AzureBareMetalStorage instances in the specified subscription and resource group. The
373
- * operations returns various properties of each Azure Bare Metal Instance.
374
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
375
- * @param options The options parameters.
376
- */
377
- listByResourceGroup(resourceGroupName: string, options?: AzureBareMetalStorageInstancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureBareMetalStorageInstance>;
378
- /**
379
- * Gets an Azure Bare Metal Storage instance for the specified subscription, resource group, and
380
- * instance name.
381
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
382
- * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
383
- * as the ResourceName.
384
- * @param options The options parameters.
385
- */
386
- get(resourceGroupName: string, azureBareMetalStorageInstanceName: string, options?: AzureBareMetalStorageInstancesGetOptionalParams): Promise<AzureBareMetalStorageInstancesGetResponse>;
387
- /**
388
- * Create an azure bare metal storage resource.
389
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
390
- * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
391
- * as the ResourceName.
392
- * @param requestBodyParameters request body for put call
393
- * @param options The options parameters.
394
- */
395
- create(resourceGroupName: string, azureBareMetalStorageInstanceName: string, requestBodyParameters: AzureBareMetalStorageInstance, options?: AzureBareMetalStorageInstancesCreateOptionalParams): Promise<AzureBareMetalStorageInstancesCreateResponse>;
396
- /**
397
- * Patches the Tags field of a Azure Bare Metal Storage instance for the specified subscription,
398
- * resource group, and instance name.
399
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
400
- * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
401
- * as the ResourceName.
402
- * @param tagsParameter Request body that only contains the new Tags field
403
- * @param options The options parameters.
404
- */
405
- update(resourceGroupName: string, azureBareMetalStorageInstanceName: string, tagsParameter: Tags, options?: AzureBareMetalStorageInstancesUpdateOptionalParams): Promise<AzureBareMetalStorageInstancesUpdateResponse>;
406
- /**
407
- * Delete an AzureBareMetalStorageInstance.
408
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
409
- * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
410
- * as the ResourceName.
411
- * @param options The options parameters.
412
- */
413
- delete(resourceGroupName: string, azureBareMetalStorageInstanceName: string, options?: AzureBareMetalStorageInstancesDeleteOptionalParams): Promise<void>;
414
- }
415
-
416
- /** Optional parameters. */
417
- export declare interface AzureBareMetalStorageInstancesCreateOptionalParams extends coreClient.OperationOptions {
418
- }
419
-
420
- /** Contains response data for the create operation. */
421
- export declare type AzureBareMetalStorageInstancesCreateResponse = AzureBareMetalStorageInstance;
422
-
423
- /** Optional parameters. */
424
- export declare interface AzureBareMetalStorageInstancesDeleteOptionalParams extends coreClient.OperationOptions {
425
- }
426
-
427
- /** Optional parameters. */
428
- export declare interface AzureBareMetalStorageInstancesGetOptionalParams extends coreClient.OperationOptions {
429
- }
430
-
431
- /** Contains response data for the get operation. */
432
- export declare type AzureBareMetalStorageInstancesGetResponse = AzureBareMetalStorageInstance;
433
-
434
- /** Optional parameters. */
435
- export declare interface AzureBareMetalStorageInstancesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
436
- }
437
-
438
- /** Contains response data for the listByResourceGroupNext operation. */
439
- export declare type AzureBareMetalStorageInstancesListByResourceGroupNextResponse = AzureBareMetalStorageInstancesListResult;
440
-
441
- /** Optional parameters. */
442
- export declare interface AzureBareMetalStorageInstancesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
443
- }
444
-
445
- /** Contains response data for the listByResourceGroup operation. */
446
- export declare type AzureBareMetalStorageInstancesListByResourceGroupResponse = AzureBareMetalStorageInstancesListResult;
447
-
448
- /** Optional parameters. */
449
- export declare interface AzureBareMetalStorageInstancesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
450
- }
451
-
452
- /** Contains response data for the listBySubscriptionNext operation. */
453
- export declare type AzureBareMetalStorageInstancesListBySubscriptionNextResponse = AzureBareMetalStorageInstancesListResult;
454
-
455
- /** Optional parameters. */
456
- export declare interface AzureBareMetalStorageInstancesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
457
- }
458
-
459
- /** Contains response data for the listBySubscription operation. */
460
- export declare type AzureBareMetalStorageInstancesListBySubscriptionResponse = AzureBareMetalStorageInstancesListResult;
461
-
462
- /** The response from the Get AzureBareMetalStorageInstances operation. */
463
- export declare interface AzureBareMetalStorageInstancesListResult {
464
- /** The list of AzureBareMetalStorage instances. */
465
- value?: AzureBareMetalStorageInstance[];
466
- /** The URL to get the next set of AzureBareMetalStorage instances. */
467
- nextLink?: string;
468
- }
469
-
470
- /** Optional parameters. */
471
- export declare interface AzureBareMetalStorageInstancesUpdateOptionalParams extends coreClient.OperationOptions {
472
- }
473
-
474
- /** Contains response data for the update operation. */
475
- export declare type AzureBareMetalStorageInstancesUpdateResponse = AzureBareMetalStorageInstance;
476
-
477
- export declare class BareMetalInfrastructureClient extends coreClient.ServiceClient {
478
- $host: string;
479
- apiVersion: string;
480
- subscriptionId: string;
481
- /**
482
- * Initializes a new instance of the BareMetalInfrastructureClient class.
483
- * @param credentials Subscription credentials which uniquely identify client subscription.
484
- * @param subscriptionId The ID of the target subscription. The value must be an UUID.
485
- * @param options The parameter options
486
- */
487
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: BareMetalInfrastructureClientOptionalParams);
488
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
489
- private addCustomApiVersionPolicy;
490
- azureBareMetalInstances: AzureBareMetalInstances;
491
- operations: Operations;
492
- azureBareMetalStorageInstances: AzureBareMetalStorageInstances;
493
- }
494
-
495
- /** Optional parameters. */
496
- export declare interface BareMetalInfrastructureClientOptionalParams extends coreClient.ServiceClientOptions {
497
- /** server parameter */
498
- $host?: string;
499
- /** Api Version */
500
- apiVersion?: string;
501
- /** Overrides client endpoint. */
502
- endpoint?: string;
503
- }
504
-
505
- /**
506
- * Defines values for CreatedByType. \
507
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
508
- * this enum contains the known values that the service supports.
509
- * ### Known values supported by the service
510
- * **User** \
511
- * **Application** \
512
- * **ManagedIdentity** \
513
- * **Key**
514
- */
515
- export declare type CreatedByType = string;
516
-
517
- /** Specifies the disk information fo the Azure Bare Metal Instance */
518
- export declare interface Disk {
519
- /** The disk name. */
520
- name?: string;
521
- /** Specifies the size of an empty data disk in gigabytes. */
522
- diskSizeGB?: number;
523
- /**
524
- * Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
525
- * NOTE: This property will not be serialized. It can only be populated by the server.
526
- */
527
- readonly lun?: number;
528
- }
529
-
530
- /** The resource management error additional info. */
531
- export declare interface ErrorAdditionalInfo {
532
- /**
533
- * The additional info type.
534
- * NOTE: This property will not be serialized. It can only be populated by the server.
535
- */
536
- readonly type?: string;
537
- /**
538
- * The additional info.
539
- * NOTE: This property will not be serialized. It can only be populated by the server.
540
- */
541
- readonly info?: Record<string, unknown>;
542
- }
543
-
544
- /** The error detail. */
545
- export declare interface ErrorDetail {
546
- /**
547
- * The error code.
548
- * NOTE: This property will not be serialized. It can only be populated by the server.
549
- */
550
- readonly code?: string;
551
- /**
552
- * The error message.
553
- * NOTE: This property will not be serialized. It can only be populated by the server.
554
- */
555
- readonly message?: string;
556
- /**
557
- * The error target.
558
- * NOTE: This property will not be serialized. It can only be populated by the server.
559
- */
560
- readonly target?: string;
561
- /**
562
- * The error details.
563
- * NOTE: This property will not be serialized. It can only be populated by the server.
564
- */
565
- readonly details?: ErrorDetail[];
566
- /**
567
- * The error additional info.
568
- * NOTE: This property will not be serialized. It can only be populated by the server.
569
- */
570
- readonly additionalInfo?: ErrorAdditionalInfo[];
571
- }
572
-
573
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
574
- export declare interface ErrorResponse {
575
- /** The error object. */
576
- error?: ErrorDetail;
577
- }
578
-
579
- /** The active state empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server */
580
- export declare interface ForceState {
581
- /** Whether to force restart by shutting all processes. */
582
- forceState?: AzureBareMetalInstanceForcePowerState;
583
- }
584
-
585
- /**
586
- * Given the last `.value` produced by the `byPage` iterator,
587
- * returns a continuation token that can be used to begin paging from
588
- * that point later.
589
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
590
- * @returns The continuation token that can be passed into byPage() during future calls.
591
- */
592
- export declare function getContinuationToken(page: unknown): string | undefined;
593
-
594
- /** Specifies the hardware settings for the Azure Bare Metal Instance. */
595
- export declare interface HardwareProfile {
596
- /**
597
- * Name of the hardware type (vendor and/or their product name)
598
- * NOTE: This property will not be serialized. It can only be populated by the server.
599
- */
600
- readonly hardwareType?: AzureBareMetalHardwareTypeNamesEnum;
601
- /**
602
- * Specifies the Azure Bare Metal Instance SKU.
603
- * NOTE: This property will not be serialized. It can only be populated by the server.
604
- */
605
- readonly azureBareMetalInstanceSize?: AzureBareMetalInstanceSizeNamesEnum;
606
- }
607
-
608
- /** Known values of {@link ActionType} that the service accepts. */
609
- export declare enum KnownActionType {
610
- /** Internal */
611
- Internal = "Internal"
612
- }
613
-
614
- /** Known values of {@link AsyncOperationStatus} that the service accepts. */
615
- export declare enum KnownAsyncOperationStatus {
616
- /** Requesting */
617
- Requesting = "Requesting",
618
- /** Executing */
619
- Executing = "Executing",
620
- /** Succeeded */
621
- Succeeded = "Succeeded",
622
- /** Failed */
623
- Failed = "Failed"
624
- }
625
-
626
- /** Known values of {@link AzureBareMetalHardwareTypeNamesEnum} that the service accepts. */
627
- export declare enum KnownAzureBareMetalHardwareTypeNamesEnum {
628
- /** CiscoUCS */
629
- CiscoUCS = "Cisco_UCS",
630
- /** HPE */
631
- HPE = "HPE",
632
- /** Sdflex */
633
- Sdflex = "SDFLEX"
634
- }
635
-
636
- /** Known values of {@link AzureBareMetalInstanceForcePowerState} that the service accepts. */
637
- export declare enum KnownAzureBareMetalInstanceForcePowerState {
638
- /** Active */
639
- Active = "active",
640
- /** Inactive */
641
- Inactive = "inactive"
642
- }
643
-
644
- /** Known values of {@link AzureBareMetalInstancePowerStateEnum} that the service accepts. */
645
- export declare enum KnownAzureBareMetalInstancePowerStateEnum {
646
- /** Starting */
647
- Starting = "starting",
648
- /** Started */
649
- Started = "started",
650
- /** Stopping */
651
- Stopping = "stopping",
652
- /** Stopped */
653
- Stopped = "stopped",
654
- /** Restarting */
655
- Restarting = "restarting",
656
- /** Unknown */
657
- Unknown = "unknown"
658
- }
659
-
660
- /** Known values of {@link AzureBareMetalInstanceSizeNamesEnum} that the service accepts. */
661
- export declare enum KnownAzureBareMetalInstanceSizeNamesEnum {
662
- /** S72M */
663
- S72M = "S72m",
664
- /** S144M */
665
- S144M = "S144m",
666
- /** S72 */
667
- S72 = "S72",
668
- /** S144 */
669
- S144 = "S144",
670
- /** S192 */
671
- S192 = "S192",
672
- /** S192M */
673
- S192M = "S192m",
674
- /** S192Xm */
675
- S192Xm = "S192xm",
676
- /** S96 */
677
- S96 = "S96",
678
- /** S112 */
679
- S112 = "S112",
680
- /** S224 */
681
- S224 = "S224",
682
- /** S224M */
683
- S224M = "S224m",
684
- /** S224Om */
685
- S224Om = "S224om",
686
- /** S224Oo */
687
- S224Oo = "S224oo",
688
- /** S224Oom */
689
- S224Oom = "S224oom",
690
- /** S224Ooo */
691
- S224Ooo = "S224ooo",
692
- /** S384 */
693
- S384 = "S384",
694
- /** S384M */
695
- S384M = "S384m",
696
- /** S384Xm */
697
- S384Xm = "S384xm",
698
- /** S384Xxm */
699
- S384Xxm = "S384xxm",
700
- /** S448 */
701
- S448 = "S448",
702
- /** S448M */
703
- S448M = "S448m",
704
- /** S448Om */
705
- S448Om = "S448om",
706
- /** S448Oo */
707
- S448Oo = "S448oo",
708
- /** S448Oom */
709
- S448Oom = "S448oom",
710
- /** S448Ooo */
711
- S448Ooo = "S448ooo",
712
- /** S448Se */
713
- S448Se = "S448se",
714
- /** S576M */
715
- S576M = "S576m",
716
- /** S576Xm */
717
- S576Xm = "S576xm",
718
- /** S672 */
719
- S672 = "S672",
720
- /** S672M */
721
- S672M = "S672m",
722
- /** S672Om */
723
- S672Om = "S672om",
724
- /** S672Oo */
725
- S672Oo = "S672oo",
726
- /** S672Oom */
727
- S672Oom = "S672oom",
728
- /** S672Ooo */
729
- S672Ooo = "S672ooo",
730
- /** S768 */
731
- S768 = "S768",
732
- /** S768M */
733
- S768M = "S768m",
734
- /** S768Xm */
735
- S768Xm = "S768xm",
736
- /** S896 */
737
- S896 = "S896",
738
- /** S896M */
739
- S896M = "S896m",
740
- /** S896Om */
741
- S896Om = "S896om",
742
- /** S896Oo */
743
- S896Oo = "S896oo",
744
- /** S896Oom */
745
- S896Oom = "S896oom",
746
- /** S896Ooo */
747
- S896Ooo = "S896ooo",
748
- /** S960M */
749
- S960M = "S960m"
750
- }
751
-
752
- /** Known values of {@link AzureBareMetalProvisioningStatesEnum} that the service accepts. */
753
- export declare enum KnownAzureBareMetalProvisioningStatesEnum {
754
- /** Accepted */
755
- Accepted = "Accepted",
756
- /** Creating */
757
- Creating = "Creating",
758
- /** Updating */
759
- Updating = "Updating",
760
- /** Failed */
761
- Failed = "Failed",
762
- /** Succeeded */
763
- Succeeded = "Succeeded",
764
- /** Deleting */
765
- Deleting = "Deleting",
766
- /** Migrating */
767
- Migrating = "Migrating"
768
- }
769
-
770
- /** Known values of {@link CreatedByType} that the service accepts. */
771
- export declare enum KnownCreatedByType {
772
- /** User */
773
- User = "User",
774
- /** Application */
775
- Application = "Application",
776
- /** ManagedIdentity */
777
- ManagedIdentity = "ManagedIdentity",
778
- /** Key */
779
- Key = "Key"
780
- }
781
-
782
- /** Known values of {@link Origin} that the service accepts. */
783
- export declare enum KnownOrigin {
784
- /** User */
785
- User = "user",
786
- /** System */
787
- System = "system",
788
- /** UserSystem */
789
- UserSystem = "user,system"
790
- }
791
-
792
- /** Known values of {@link ProvisioningState} that the service accepts. */
793
- export declare enum KnownProvisioningState {
794
- /** Accepted */
795
- Accepted = "Accepted",
796
- /** Creating */
797
- Creating = "Creating",
798
- /** Updating */
799
- Updating = "Updating",
800
- /** Failed */
801
- Failed = "Failed",
802
- /** Succeeded */
803
- Succeeded = "Succeeded",
804
- /** Deleting */
805
- Deleting = "Deleting",
806
- /** Canceled */
807
- Canceled = "Canceled",
808
- /** Migrating */
809
- Migrating = "Migrating"
810
- }
811
-
812
- /** Specifies the network interfaces of a bare metal resource. */
813
- export declare interface NetworkInterface {
814
- /** Specifies the IP address of the network interface. */
815
- ipAddress?: string;
816
- }
817
-
818
- /** Specifies the network settings for the Azure Bare Metal Instance disks. */
819
- export declare interface NetworkProfile {
820
- /** Specifies the network interfaces for the Azure Bare Metal Instance. */
821
- networkInterfaces?: NetworkInterface[];
822
- /**
823
- * Specifies the circuit id for connecting to express route.
824
- * NOTE: This property will not be serialized. It can only be populated by the server.
825
- */
826
- readonly circuitId?: string;
827
- }
828
-
829
- /** Details of a REST API operation, returned from the Resource Provider Operations API */
830
- export declare interface Operation {
831
- /**
832
- * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
833
- * NOTE: This property will not be serialized. It can only be populated by the server.
834
- */
835
- readonly name?: string;
836
- /**
837
- * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
838
- * NOTE: This property will not be serialized. It can only be populated by the server.
839
- */
840
- readonly isDataAction?: boolean;
841
- /** Localized display information for this particular operation. */
842
- display?: OperationDisplay;
843
- /**
844
- * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
845
- * NOTE: This property will not be serialized. It can only be populated by the server.
846
- */
847
- readonly origin?: Origin;
848
- /**
849
- * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
850
- * NOTE: This property will not be serialized. It can only be populated by the server.
851
- */
852
- readonly actionType?: ActionType;
853
- }
854
-
855
- /** Localized display information for this particular operation. */
856
- export declare interface OperationDisplay {
857
- /**
858
- * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
859
- * NOTE: This property will not be serialized. It can only be populated by the server.
860
- */
861
- readonly provider?: string;
862
- /**
863
- * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
864
- * NOTE: This property will not be serialized. It can only be populated by the server.
865
- */
866
- readonly resource?: string;
867
- /**
868
- * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
869
- * NOTE: This property will not be serialized. It can only be populated by the server.
870
- */
871
- readonly operation?: string;
872
- /**
873
- * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
874
- * NOTE: This property will not be serialized. It can only be populated by the server.
875
- */
876
- readonly description?: string;
877
- }
878
-
879
- /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
880
- export declare interface OperationListResult {
881
- /**
882
- * List of operations supported by the resource provider
883
- * NOTE: This property will not be serialized. It can only be populated by the server.
884
- */
885
- readonly value?: Operation[];
886
- /**
887
- * URL to get the next set of operation list results (if there are any).
888
- * NOTE: This property will not be serialized. It can only be populated by the server.
889
- */
890
- readonly nextLink?: string;
891
- }
892
-
893
- /** Interface representing a Operations. */
894
- export declare interface Operations {
895
- /**
896
- * Gets a list of AzureBareMetal management operations.
897
- * @param options The options parameters.
898
- */
899
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
900
- }
901
-
902
- /** Optional parameters. */
903
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
904
- }
905
-
906
- /** Contains response data for the list operation. */
907
- export declare type OperationsListResponse = OperationListResult;
908
-
909
- /** The OperationStatus object returns the state of an asynchronous operation. */
910
- export declare interface OperationStatus {
911
- /** Unique Operation Status Identifier. */
912
- name?: string;
913
- /** Status of the operation. */
914
- status?: AsyncOperationStatus;
915
- /** Start Time when the operation was initially executed. */
916
- startTime?: string;
917
- /** An error from the Azure Bare Metal Infrastructure service. */
918
- error?: OperationStatusError;
919
- }
920
-
921
- /** An error from the Azure Bare Metal Infrastructure service. */
922
- export declare interface OperationStatusError {
923
- /** Server-defined set of error codes. */
924
- code?: string;
925
- /** Human-readable representation of the error. */
926
- message?: string;
927
- }
928
-
929
- /**
930
- * Defines values for Origin. \
931
- * {@link KnownOrigin} can be used interchangeably with Origin,
932
- * this enum contains the known values that the service supports.
933
- * ### Known values supported by the service
934
- * **user** \
935
- * **system** \
936
- * **user,system**
937
- */
938
- export declare type Origin = string;
939
-
940
- /** Specifies the operating system settings for the Azure Bare Metal instance. */
941
- export declare interface OSProfile {
942
- /** Specifies the host OS name of the Azure Bare Metal instance. */
943
- computerName?: string;
944
- /**
945
- * This property allows you to specify the type of the OS.
946
- * NOTE: This property will not be serialized. It can only be populated by the server.
947
- */
948
- readonly osType?: string;
949
- /**
950
- * Specifies version of operating system.
951
- * NOTE: This property will not be serialized. It can only be populated by the server.
952
- */
953
- readonly version?: string;
954
- /** Specifies the SSH public key used to access the operating system. */
955
- sshPublicKey?: string;
956
- }
957
-
958
- /**
959
- * Defines values for ProvisioningState. \
960
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
961
- * this enum contains the known values that the service supports.
962
- * ### Known values supported by the service
963
- * **Accepted** \
964
- * **Creating** \
965
- * **Updating** \
966
- * **Failed** \
967
- * **Succeeded** \
968
- * **Deleting** \
969
- * **Canceled** \
970
- * **Migrating**
971
- */
972
- export declare type ProvisioningState = string;
973
-
974
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
975
- export declare interface Resource {
976
- /**
977
- * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
978
- * NOTE: This property will not be serialized. It can only be populated by the server.
979
- */
980
- readonly id?: string;
981
- /**
982
- * The name of the resource
983
- * NOTE: This property will not be serialized. It can only be populated by the server.
984
- */
985
- readonly name?: string;
986
- /**
987
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
988
- * NOTE: This property will not be serialized. It can only be populated by the server.
989
- */
990
- readonly type?: string;
991
- /**
992
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
993
- * NOTE: This property will not be serialized. It can only be populated by the server.
994
- */
995
- readonly systemData?: SystemData;
996
- }
997
-
998
- /** Describes the billing related details of the AzureBareMetalStorageInstance. */
999
- export declare interface StorageBillingProperties {
1000
- /** the billing mode for the storage instance */
1001
- billingMode?: string;
1002
- /** the SKU type that is provisioned */
1003
- azureBareMetalStorageInstanceSize?: string;
1004
- }
1005
-
1006
- /** Specifies the storage settings for the Azure Bare Metal instance disks. */
1007
- export declare interface StorageProfile {
1008
- /**
1009
- * IP Address to connect to storage.
1010
- * NOTE: This property will not be serialized. It can only be populated by the server.
1011
- */
1012
- readonly nfsIpAddress?: string;
1013
- /** Specifies information about the operating system disk used by bare metal instance. */
1014
- osDisks?: Disk[];
1015
- }
1016
-
1017
- /** described the storage properties of the azure bare metal storage instance */
1018
- export declare interface StorageProperties {
1019
- /** State of provisioning of the AzureBareMetalStorageInstance */
1020
- provisioningState?: ProvisioningState;
1021
- /** the offering type for which the resource is getting provisioned */
1022
- offeringType?: string;
1023
- /** the storage protocol for which the resource is getting provisioned */
1024
- storageType?: string;
1025
- /** the kind of storage instance */
1026
- generation?: string;
1027
- /** the hardware type of the storage instance */
1028
- hardwareType?: string;
1029
- /** the workload for which the resource is getting provisioned */
1030
- workloadType?: string;
1031
- /** the billing related information for the resource */
1032
- storageBillingProperties?: StorageBillingProperties;
1033
- }
1034
-
1035
- /** Metadata pertaining to creation and last modification of the resource. */
1036
- export declare interface SystemData {
1037
- /** The identity that created the resource. */
1038
- createdBy?: string;
1039
- /** The type of identity that created the resource. */
1040
- createdByType?: CreatedByType;
1041
- /** The timestamp of resource creation (UTC). */
1042
- createdAt?: Date;
1043
- /** The identity that last modified the resource. */
1044
- lastModifiedBy?: string;
1045
- /** The type of identity that last modified the resource. */
1046
- lastModifiedByType?: CreatedByType;
1047
- /** The timestamp of resource last modification (UTC) */
1048
- lastModifiedAt?: Date;
1049
- }
1050
-
1051
- /** Tags field of the AzureBareMetal/AzureBareMetaStorage instance. */
1052
- export declare interface Tags {
1053
- /** Tags field of the AzureBareMetal/AzureBareMetaStorage instance. */
1054
- tags?: {
1055
- [propertyName: string]: string;
1056
- };
1057
- }
1058
-
1059
- /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1060
- export declare interface TrackedResource extends Resource {
1061
- /** Resource tags. */
1062
- tags?: {
1063
- [propertyName: string]: string;
1064
- };
1065
- /** The geo-location where the resource lives */
1066
- location: string;
1067
- }
1068
-
1069
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ /** The OperationStatus object returns the state of an asynchronous operation. */
3
+ export interface OperationStatus {
4
+ /** Unique Operation Status Identifier. */
5
+ name?: string;
6
+ /** Status of the operation. */
7
+ status?: AsyncOperationStatus;
8
+ /** Start Time when the operation was initially executed. */
9
+ startTime?: string;
10
+ /** An error from the Azure Bare Metal Infrastructure service. */
11
+ error?: OperationStatusError;
12
+ }
13
+ /** An error from the Azure Bare Metal Infrastructure service. */
14
+ export interface OperationStatusError {
15
+ /** Server-defined set of error codes. */
16
+ code?: string;
17
+ /** Human-readable representation of the error. */
18
+ message?: string;
19
+ }
20
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
21
+ export interface ErrorResponse {
22
+ /** The error object. */
23
+ error?: ErrorDetail;
24
+ }
25
+ /** The error detail. */
26
+ export interface ErrorDetail {
27
+ /**
28
+ * The error code.
29
+ * NOTE: This property will not be serialized. It can only be populated by the server.
30
+ */
31
+ readonly code?: string;
32
+ /**
33
+ * The error message.
34
+ * NOTE: This property will not be serialized. It can only be populated by the server.
35
+ */
36
+ readonly message?: string;
37
+ /**
38
+ * The error target.
39
+ * NOTE: This property will not be serialized. It can only be populated by the server.
40
+ */
41
+ readonly target?: string;
42
+ /**
43
+ * The error details.
44
+ * NOTE: This property will not be serialized. It can only be populated by the server.
45
+ */
46
+ readonly details?: ErrorDetail[];
47
+ /**
48
+ * The error additional info.
49
+ * NOTE: This property will not be serialized. It can only be populated by the server.
50
+ */
51
+ readonly additionalInfo?: ErrorAdditionalInfo[];
52
+ }
53
+ /** The resource management error additional info. */
54
+ export interface ErrorAdditionalInfo {
55
+ /**
56
+ * The additional info type.
57
+ * NOTE: This property will not be serialized. It can only be populated by the server.
58
+ */
59
+ readonly type?: string;
60
+ /**
61
+ * The additional info.
62
+ * NOTE: This property will not be serialized. It can only be populated by the server.
63
+ */
64
+ readonly info?: Record<string, unknown>;
65
+ }
66
+ /** The active state empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server */
67
+ export interface ForceState {
68
+ /** Whether to force restart by shutting all processes. */
69
+ forceState?: AzureBareMetalInstanceForcePowerState;
70
+ }
71
+ /** The response from the List Azure Bare Metal Instances operation. */
72
+ export interface AzureBareMetalInstancesListResult {
73
+ /** The list of Azure Bare Metal Instances. */
74
+ value?: AzureBareMetalInstance[];
75
+ /** The URL to get the next set of Azure Bare Metal Instances. */
76
+ nextLink?: string;
77
+ }
78
+ /** Specifies the hardware settings for the Azure Bare Metal Instance. */
79
+ export interface HardwareProfile {
80
+ /**
81
+ * Name of the hardware type (vendor and/or their product name)
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
83
+ */
84
+ readonly hardwareType?: AzureBareMetalHardwareTypeNamesEnum;
85
+ /**
86
+ * Specifies the Azure Bare Metal Instance SKU.
87
+ * NOTE: This property will not be serialized. It can only be populated by the server.
88
+ */
89
+ readonly azureBareMetalInstanceSize?: AzureBareMetalInstanceSizeNamesEnum;
90
+ }
91
+ /** Specifies the storage settings for the Azure Bare Metal instance disks. */
92
+ export interface StorageProfile {
93
+ /**
94
+ * IP Address to connect to storage.
95
+ * NOTE: This property will not be serialized. It can only be populated by the server.
96
+ */
97
+ readonly nfsIpAddress?: string;
98
+ /** Specifies information about the operating system disk used by bare metal instance. */
99
+ osDisks?: Disk[];
100
+ }
101
+ /** Specifies the disk information fo the Azure Bare Metal Instance */
102
+ export interface Disk {
103
+ /** The disk name. */
104
+ name?: string;
105
+ /** Specifies the size of an empty data disk in gigabytes. */
106
+ diskSizeGB?: number;
107
+ /**
108
+ * Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
109
+ * NOTE: This property will not be serialized. It can only be populated by the server.
110
+ */
111
+ readonly lun?: number;
112
+ }
113
+ /** Specifies the operating system settings for the Azure Bare Metal instance. */
114
+ export interface OSProfile {
115
+ /** Specifies the host OS name of the Azure Bare Metal instance. */
116
+ computerName?: string;
117
+ /**
118
+ * This property allows you to specify the type of the OS.
119
+ * NOTE: This property will not be serialized. It can only be populated by the server.
120
+ */
121
+ readonly osType?: string;
122
+ /**
123
+ * Specifies version of operating system.
124
+ * NOTE: This property will not be serialized. It can only be populated by the server.
125
+ */
126
+ readonly version?: string;
127
+ /** Specifies the SSH public key used to access the operating system. */
128
+ sshPublicKey?: string;
129
+ }
130
+ /** Specifies the network settings for the Azure Bare Metal Instance disks. */
131
+ export interface NetworkProfile {
132
+ /** Specifies the network interfaces for the Azure Bare Metal Instance. */
133
+ networkInterfaces?: NetworkInterface[];
134
+ /**
135
+ * Specifies the circuit id for connecting to express route.
136
+ * NOTE: This property will not be serialized. It can only be populated by the server.
137
+ */
138
+ readonly circuitId?: string;
139
+ }
140
+ /** Specifies the network interfaces of a bare metal resource. */
141
+ export interface NetworkInterface {
142
+ /** Specifies the IP address of the network interface. */
143
+ ipAddress?: string;
144
+ }
145
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
146
+ export interface Resource {
147
+ /**
148
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
149
+ * NOTE: This property will not be serialized. It can only be populated by the server.
150
+ */
151
+ readonly id?: string;
152
+ /**
153
+ * The name of the resource
154
+ * NOTE: This property will not be serialized. It can only be populated by the server.
155
+ */
156
+ readonly name?: string;
157
+ /**
158
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
159
+ * NOTE: This property will not be serialized. It can only be populated by the server.
160
+ */
161
+ readonly type?: string;
162
+ /**
163
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
+ */
166
+ readonly systemData?: SystemData;
167
+ }
168
+ /** Metadata pertaining to creation and last modification of the resource. */
169
+ export interface SystemData {
170
+ /** The identity that created the resource. */
171
+ createdBy?: string;
172
+ /** The type of identity that created the resource. */
173
+ createdByType?: CreatedByType;
174
+ /** The timestamp of resource creation (UTC). */
175
+ createdAt?: Date;
176
+ /** The identity that last modified the resource. */
177
+ lastModifiedBy?: string;
178
+ /** The type of identity that last modified the resource. */
179
+ lastModifiedByType?: CreatedByType;
180
+ /** The timestamp of resource last modification (UTC) */
181
+ lastModifiedAt?: Date;
182
+ }
183
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
184
+ export interface OperationListResult {
185
+ /**
186
+ * List of operations supported by the resource provider
187
+ * NOTE: This property will not be serialized. It can only be populated by the server.
188
+ */
189
+ readonly value?: Operation[];
190
+ /**
191
+ * URL to get the next set of operation list results (if there are any).
192
+ * NOTE: This property will not be serialized. It can only be populated by the server.
193
+ */
194
+ readonly nextLink?: string;
195
+ }
196
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
197
+ export interface Operation {
198
+ /**
199
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
200
+ * NOTE: This property will not be serialized. It can only be populated by the server.
201
+ */
202
+ readonly name?: string;
203
+ /**
204
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
205
+ * NOTE: This property will not be serialized. It can only be populated by the server.
206
+ */
207
+ readonly isDataAction?: boolean;
208
+ /** Localized display information for this particular operation. */
209
+ display?: OperationDisplay;
210
+ /**
211
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
212
+ * NOTE: This property will not be serialized. It can only be populated by the server.
213
+ */
214
+ readonly origin?: Origin;
215
+ /**
216
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
217
+ * NOTE: This property will not be serialized. It can only be populated by the server.
218
+ */
219
+ readonly actionType?: ActionType;
220
+ }
221
+ /** Localized display information for this particular operation. */
222
+ export interface OperationDisplay {
223
+ /**
224
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
226
+ */
227
+ readonly provider?: string;
228
+ /**
229
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
230
+ * NOTE: This property will not be serialized. It can only be populated by the server.
231
+ */
232
+ readonly resource?: string;
233
+ /**
234
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
235
+ * NOTE: This property will not be serialized. It can only be populated by the server.
236
+ */
237
+ readonly operation?: string;
238
+ /**
239
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
240
+ * NOTE: This property will not be serialized. It can only be populated by the server.
241
+ */
242
+ readonly description?: string;
243
+ }
244
+ /** Tags field of the AzureBareMetal/AzureBareMetaStorage instance. */
245
+ export interface Tags {
246
+ /** Tags field of the AzureBareMetal/AzureBareMetaStorage instance. */
247
+ tags?: {
248
+ [propertyName: string]: string;
249
+ };
250
+ }
251
+ /** The response from the Get AzureBareMetalStorageInstances operation. */
252
+ export interface AzureBareMetalStorageInstancesListResult {
253
+ /** The list of AzureBareMetalStorage instances. */
254
+ value?: AzureBareMetalStorageInstance[];
255
+ /** The URL to get the next set of AzureBareMetalStorage instances. */
256
+ nextLink?: string;
257
+ }
258
+ /** described the storage properties of the azure bare metal storage instance */
259
+ export interface StorageProperties {
260
+ /** State of provisioning of the AzureBareMetalStorageInstance */
261
+ provisioningState?: ProvisioningState;
262
+ /** the offering type for which the resource is getting provisioned */
263
+ offeringType?: string;
264
+ /** the storage protocol for which the resource is getting provisioned */
265
+ storageType?: string;
266
+ /** the kind of storage instance */
267
+ generation?: string;
268
+ /** the hardware type of the storage instance */
269
+ hardwareType?: string;
270
+ /** the workload for which the resource is getting provisioned */
271
+ workloadType?: string;
272
+ /** the billing related information for the resource */
273
+ storageBillingProperties?: StorageBillingProperties;
274
+ }
275
+ /** Describes the billing related details of the AzureBareMetalStorageInstance. */
276
+ export interface StorageBillingProperties {
277
+ /** the billing mode for the storage instance */
278
+ billingMode?: string;
279
+ /** the SKU type that is provisioned */
280
+ azureBareMetalStorageInstanceSize?: string;
281
+ }
282
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
283
+ export interface TrackedResource extends Resource {
284
+ /** Resource tags. */
285
+ tags?: {
286
+ [propertyName: string]: string;
287
+ };
288
+ /** The geo-location where the resource lives */
289
+ location: string;
290
+ }
291
+ /** AzureBareMetal instance info on Azure (ARM properties and AzureBareMetal properties) */
292
+ export interface AzureBareMetalInstance extends TrackedResource {
293
+ /** Specifies the hardware settings for the Azure Bare Metal Instance. */
294
+ hardwareProfile?: HardwareProfile;
295
+ /** Specifies the storage settings for the Azure Bare Metal Instance disks. */
296
+ storageProfile?: StorageProfile;
297
+ /** Specifies the operating system settings for the Azure Bare Metal Instance. */
298
+ osProfile?: OSProfile;
299
+ /** Specifies the network settings for the Azure Bare Metal Instance. */
300
+ networkProfile?: NetworkProfile;
301
+ /**
302
+ * Specifies the Azure Bare Metal Instance unique ID.
303
+ * NOTE: This property will not be serialized. It can only be populated by the server.
304
+ */
305
+ readonly azureBareMetalInstanceId?: string;
306
+ /**
307
+ * Resource power state
308
+ * NOTE: This property will not be serialized. It can only be populated by the server.
309
+ */
310
+ readonly powerState?: AzureBareMetalInstancePowerStateEnum;
311
+ /**
312
+ * Resource proximity placement group
313
+ * NOTE: This property will not be serialized. It can only be populated by the server.
314
+ */
315
+ readonly proximityPlacementGroup?: string;
316
+ /**
317
+ * Hardware revision of an Azure Bare Metal Instance
318
+ * NOTE: This property will not be serialized. It can only be populated by the server.
319
+ */
320
+ readonly hwRevision?: string;
321
+ /** ARM ID of another AzureBareMetalInstance that will share a network with this AzureBareMetalInstance */
322
+ partnerNodeId?: string;
323
+ /**
324
+ * State of provisioning of the AzureBareMetalInstance
325
+ * NOTE: This property will not be serialized. It can only be populated by the server.
326
+ */
327
+ readonly provisioningState?: AzureBareMetalProvisioningStatesEnum;
328
+ }
329
+ /** AzureBareMetalStorageInstance info on Azure (ARM properties and AzureBareMetalStorage properties) */
330
+ export interface AzureBareMetalStorageInstance extends TrackedResource {
331
+ /** Specifies the AzureBareMetaStorageInstance unique ID. */
332
+ azureBareMetalStorageInstanceUniqueIdentifier?: string;
333
+ /** Specifies the storage properties for the AzureBareMetalStorage instance. */
334
+ storageProperties?: StorageProperties;
335
+ }
336
+ /** Defines headers for AzureBareMetalInstances_start operation. */
337
+ export interface AzureBareMetalInstancesStartHeaders {
338
+ /** URL to track the operation status of the Microsoft Bare Metal Infrastructure in the specified location. */
339
+ location?: string;
340
+ }
341
+ /** Defines headers for AzureBareMetalInstances_restart operation. */
342
+ export interface AzureBareMetalInstancesRestartHeaders {
343
+ /** URL to track the operation status of the Microsoft Bare Metal Infrastructure in the specified location. */
344
+ location?: string;
345
+ }
346
+ /** Defines headers for AzureBareMetalInstances_shutdown operation. */
347
+ export interface AzureBareMetalInstancesShutdownHeaders {
348
+ /** URL to track the operation status of the Microsoft Bare Metal Infrastructure in the specified location. */
349
+ location?: string;
350
+ }
351
+ /** Known values of {@link AsyncOperationStatus} that the service accepts. */
352
+ export declare enum KnownAsyncOperationStatus {
353
+ /** Requesting */
354
+ Requesting = "Requesting",
355
+ /** Executing */
356
+ Executing = "Executing",
357
+ /** Succeeded */
358
+ Succeeded = "Succeeded",
359
+ /** Failed */
360
+ Failed = "Failed"
361
+ }
362
+ /**
363
+ * Defines values for AsyncOperationStatus. \
364
+ * {@link KnownAsyncOperationStatus} can be used interchangeably with AsyncOperationStatus,
365
+ * this enum contains the known values that the service supports.
366
+ * ### Known values supported by the service
367
+ * **Requesting** \
368
+ * **Executing** \
369
+ * **Succeeded** \
370
+ * **Failed**
371
+ */
372
+ export type AsyncOperationStatus = string;
373
+ /** Known values of {@link AzureBareMetalInstanceForcePowerState} that the service accepts. */
374
+ export declare enum KnownAzureBareMetalInstanceForcePowerState {
375
+ /** Active */
376
+ Active = "active",
377
+ /** Inactive */
378
+ Inactive = "inactive"
379
+ }
380
+ /**
381
+ * Defines values for AzureBareMetalInstanceForcePowerState. \
382
+ * {@link KnownAzureBareMetalInstanceForcePowerState} can be used interchangeably with AzureBareMetalInstanceForcePowerState,
383
+ * this enum contains the known values that the service supports.
384
+ * ### Known values supported by the service
385
+ * **active** \
386
+ * **inactive**
387
+ */
388
+ export type AzureBareMetalInstanceForcePowerState = string;
389
+ /** Known values of {@link AzureBareMetalHardwareTypeNamesEnum} that the service accepts. */
390
+ export declare enum KnownAzureBareMetalHardwareTypeNamesEnum {
391
+ /** CiscoUCS */
392
+ CiscoUCS = "Cisco_UCS",
393
+ /** HPE */
394
+ HPE = "HPE",
395
+ /** Sdflex */
396
+ Sdflex = "SDFLEX"
397
+ }
398
+ /**
399
+ * Defines values for AzureBareMetalHardwareTypeNamesEnum. \
400
+ * {@link KnownAzureBareMetalHardwareTypeNamesEnum} can be used interchangeably with AzureBareMetalHardwareTypeNamesEnum,
401
+ * this enum contains the known values that the service supports.
402
+ * ### Known values supported by the service
403
+ * **Cisco_UCS** \
404
+ * **HPE** \
405
+ * **SDFLEX**
406
+ */
407
+ export type AzureBareMetalHardwareTypeNamesEnum = string;
408
+ /** Known values of {@link AzureBareMetalInstanceSizeNamesEnum} that the service accepts. */
409
+ export declare enum KnownAzureBareMetalInstanceSizeNamesEnum {
410
+ /** S72M */
411
+ S72M = "S72m",
412
+ /** S144M */
413
+ S144M = "S144m",
414
+ /** S72 */
415
+ S72 = "S72",
416
+ /** S144 */
417
+ S144 = "S144",
418
+ /** S192 */
419
+ S192 = "S192",
420
+ /** S192M */
421
+ S192M = "S192m",
422
+ /** S192Xm */
423
+ S192Xm = "S192xm",
424
+ /** S96 */
425
+ S96 = "S96",
426
+ /** S112 */
427
+ S112 = "S112",
428
+ /** S224 */
429
+ S224 = "S224",
430
+ /** S224M */
431
+ S224M = "S224m",
432
+ /** S224Om */
433
+ S224Om = "S224om",
434
+ /** S224Oo */
435
+ S224Oo = "S224oo",
436
+ /** S224Oom */
437
+ S224Oom = "S224oom",
438
+ /** S224Ooo */
439
+ S224Ooo = "S224ooo",
440
+ /** S384 */
441
+ S384 = "S384",
442
+ /** S384M */
443
+ S384M = "S384m",
444
+ /** S384Xm */
445
+ S384Xm = "S384xm",
446
+ /** S384Xxm */
447
+ S384Xxm = "S384xxm",
448
+ /** S448 */
449
+ S448 = "S448",
450
+ /** S448M */
451
+ S448M = "S448m",
452
+ /** S448Om */
453
+ S448Om = "S448om",
454
+ /** S448Oo */
455
+ S448Oo = "S448oo",
456
+ /** S448Oom */
457
+ S448Oom = "S448oom",
458
+ /** S448Ooo */
459
+ S448Ooo = "S448ooo",
460
+ /** S448Se */
461
+ S448Se = "S448se",
462
+ /** S576M */
463
+ S576M = "S576m",
464
+ /** S576Xm */
465
+ S576Xm = "S576xm",
466
+ /** S672 */
467
+ S672 = "S672",
468
+ /** S672M */
469
+ S672M = "S672m",
470
+ /** S672Om */
471
+ S672Om = "S672om",
472
+ /** S672Oo */
473
+ S672Oo = "S672oo",
474
+ /** S672Oom */
475
+ S672Oom = "S672oom",
476
+ /** S672Ooo */
477
+ S672Ooo = "S672ooo",
478
+ /** S768 */
479
+ S768 = "S768",
480
+ /** S768M */
481
+ S768M = "S768m",
482
+ /** S768Xm */
483
+ S768Xm = "S768xm",
484
+ /** S896 */
485
+ S896 = "S896",
486
+ /** S896M */
487
+ S896M = "S896m",
488
+ /** S896Om */
489
+ S896Om = "S896om",
490
+ /** S896Oo */
491
+ S896Oo = "S896oo",
492
+ /** S896Oom */
493
+ S896Oom = "S896oom",
494
+ /** S896Ooo */
495
+ S896Ooo = "S896ooo",
496
+ /** S960M */
497
+ S960M = "S960m"
498
+ }
499
+ /**
500
+ * Defines values for AzureBareMetalInstanceSizeNamesEnum. \
501
+ * {@link KnownAzureBareMetalInstanceSizeNamesEnum} can be used interchangeably with AzureBareMetalInstanceSizeNamesEnum,
502
+ * this enum contains the known values that the service supports.
503
+ * ### Known values supported by the service
504
+ * **S72m** \
505
+ * **S144m** \
506
+ * **S72** \
507
+ * **S144** \
508
+ * **S192** \
509
+ * **S192m** \
510
+ * **S192xm** \
511
+ * **S96** \
512
+ * **S112** \
513
+ * **S224** \
514
+ * **S224m** \
515
+ * **S224om** \
516
+ * **S224oo** \
517
+ * **S224oom** \
518
+ * **S224ooo** \
519
+ * **S384** \
520
+ * **S384m** \
521
+ * **S384xm** \
522
+ * **S384xxm** \
523
+ * **S448** \
524
+ * **S448m** \
525
+ * **S448om** \
526
+ * **S448oo** \
527
+ * **S448oom** \
528
+ * **S448ooo** \
529
+ * **S448se** \
530
+ * **S576m** \
531
+ * **S576xm** \
532
+ * **S672** \
533
+ * **S672m** \
534
+ * **S672om** \
535
+ * **S672oo** \
536
+ * **S672oom** \
537
+ * **S672ooo** \
538
+ * **S768** \
539
+ * **S768m** \
540
+ * **S768xm** \
541
+ * **S896** \
542
+ * **S896m** \
543
+ * **S896om** \
544
+ * **S896oo** \
545
+ * **S896oom** \
546
+ * **S896ooo** \
547
+ * **S960m**
548
+ */
549
+ export type AzureBareMetalInstanceSizeNamesEnum = string;
550
+ /** Known values of {@link AzureBareMetalInstancePowerStateEnum} that the service accepts. */
551
+ export declare enum KnownAzureBareMetalInstancePowerStateEnum {
552
+ /** Starting */
553
+ Starting = "starting",
554
+ /** Started */
555
+ Started = "started",
556
+ /** Stopping */
557
+ Stopping = "stopping",
558
+ /** Stopped */
559
+ Stopped = "stopped",
560
+ /** Restarting */
561
+ Restarting = "restarting",
562
+ /** Unknown */
563
+ Unknown = "unknown"
564
+ }
565
+ /**
566
+ * Defines values for AzureBareMetalInstancePowerStateEnum. \
567
+ * {@link KnownAzureBareMetalInstancePowerStateEnum} can be used interchangeably with AzureBareMetalInstancePowerStateEnum,
568
+ * this enum contains the known values that the service supports.
569
+ * ### Known values supported by the service
570
+ * **starting** \
571
+ * **started** \
572
+ * **stopping** \
573
+ * **stopped** \
574
+ * **restarting** \
575
+ * **unknown**
576
+ */
577
+ export type AzureBareMetalInstancePowerStateEnum = string;
578
+ /** Known values of {@link AzureBareMetalProvisioningStatesEnum} that the service accepts. */
579
+ export declare enum KnownAzureBareMetalProvisioningStatesEnum {
580
+ /** Accepted */
581
+ Accepted = "Accepted",
582
+ /** Creating */
583
+ Creating = "Creating",
584
+ /** Updating */
585
+ Updating = "Updating",
586
+ /** Failed */
587
+ Failed = "Failed",
588
+ /** Succeeded */
589
+ Succeeded = "Succeeded",
590
+ /** Deleting */
591
+ Deleting = "Deleting",
592
+ /** Migrating */
593
+ Migrating = "Migrating"
594
+ }
595
+ /**
596
+ * Defines values for AzureBareMetalProvisioningStatesEnum. \
597
+ * {@link KnownAzureBareMetalProvisioningStatesEnum} can be used interchangeably with AzureBareMetalProvisioningStatesEnum,
598
+ * this enum contains the known values that the service supports.
599
+ * ### Known values supported by the service
600
+ * **Accepted** \
601
+ * **Creating** \
602
+ * **Updating** \
603
+ * **Failed** \
604
+ * **Succeeded** \
605
+ * **Deleting** \
606
+ * **Migrating**
607
+ */
608
+ export type AzureBareMetalProvisioningStatesEnum = string;
609
+ /** Known values of {@link CreatedByType} that the service accepts. */
610
+ export declare enum KnownCreatedByType {
611
+ /** User */
612
+ User = "User",
613
+ /** Application */
614
+ Application = "Application",
615
+ /** ManagedIdentity */
616
+ ManagedIdentity = "ManagedIdentity",
617
+ /** Key */
618
+ Key = "Key"
619
+ }
620
+ /**
621
+ * Defines values for CreatedByType. \
622
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
623
+ * this enum contains the known values that the service supports.
624
+ * ### Known values supported by the service
625
+ * **User** \
626
+ * **Application** \
627
+ * **ManagedIdentity** \
628
+ * **Key**
629
+ */
630
+ export type CreatedByType = string;
631
+ /** Known values of {@link Origin} that the service accepts. */
632
+ export declare enum KnownOrigin {
633
+ /** User */
634
+ User = "user",
635
+ /** System */
636
+ System = "system",
637
+ /** UserSystem */
638
+ UserSystem = "user,system"
639
+ }
640
+ /**
641
+ * Defines values for Origin. \
642
+ * {@link KnownOrigin} can be used interchangeably with Origin,
643
+ * this enum contains the known values that the service supports.
644
+ * ### Known values supported by the service
645
+ * **user** \
646
+ * **system** \
647
+ * **user,system**
648
+ */
649
+ export type Origin = string;
650
+ /** Known values of {@link ActionType} that the service accepts. */
651
+ export declare enum KnownActionType {
652
+ /** Internal */
653
+ Internal = "Internal"
654
+ }
655
+ /**
656
+ * Defines values for ActionType. \
657
+ * {@link KnownActionType} can be used interchangeably with ActionType,
658
+ * this enum contains the known values that the service supports.
659
+ * ### Known values supported by the service
660
+ * **Internal**
661
+ */
662
+ export type ActionType = string;
663
+ /** Known values of {@link ProvisioningState} that the service accepts. */
664
+ export declare enum KnownProvisioningState {
665
+ /** Accepted */
666
+ Accepted = "Accepted",
667
+ /** Creating */
668
+ Creating = "Creating",
669
+ /** Updating */
670
+ Updating = "Updating",
671
+ /** Failed */
672
+ Failed = "Failed",
673
+ /** Succeeded */
674
+ Succeeded = "Succeeded",
675
+ /** Deleting */
676
+ Deleting = "Deleting",
677
+ /** Canceled */
678
+ Canceled = "Canceled",
679
+ /** Migrating */
680
+ Migrating = "Migrating"
681
+ }
682
+ /**
683
+ * Defines values for ProvisioningState. \
684
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
685
+ * this enum contains the known values that the service supports.
686
+ * ### Known values supported by the service
687
+ * **Accepted** \
688
+ * **Creating** \
689
+ * **Updating** \
690
+ * **Failed** \
691
+ * **Succeeded** \
692
+ * **Deleting** \
693
+ * **Canceled** \
694
+ * **Migrating**
695
+ */
696
+ export type ProvisioningState = string;
697
+ /** Optional parameters. */
698
+ export interface AzureBareMetalInstancesStartOptionalParams extends coreClient.OperationOptions {
699
+ /** Delay to wait until next poll, in milliseconds. */
700
+ updateIntervalInMs?: number;
701
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
702
+ resumeFrom?: string;
703
+ }
704
+ /** Contains response data for the start operation. */
705
+ export type AzureBareMetalInstancesStartResponse = OperationStatus;
706
+ /** Optional parameters. */
707
+ export interface AzureBareMetalInstancesRestartOptionalParams extends coreClient.OperationOptions {
708
+ /** When set to 'active', this parameter empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server */
709
+ forceParameter?: ForceState;
710
+ /** Delay to wait until next poll, in milliseconds. */
711
+ updateIntervalInMs?: number;
712
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
713
+ resumeFrom?: string;
714
+ }
715
+ /** Contains response data for the restart operation. */
716
+ export type AzureBareMetalInstancesRestartResponse = OperationStatus;
717
+ /** Optional parameters. */
718
+ export interface AzureBareMetalInstancesShutdownOptionalParams extends coreClient.OperationOptions {
719
+ /** Delay to wait until next poll, in milliseconds. */
720
+ updateIntervalInMs?: number;
721
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
722
+ resumeFrom?: string;
723
+ }
724
+ /** Contains response data for the shutdown operation. */
725
+ export type AzureBareMetalInstancesShutdownResponse = OperationStatus;
726
+ /** Optional parameters. */
727
+ export interface AzureBareMetalInstancesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
728
+ }
729
+ /** Contains response data for the listBySubscription operation. */
730
+ export type AzureBareMetalInstancesListBySubscriptionResponse = AzureBareMetalInstancesListResult;
731
+ /** Optional parameters. */
732
+ export interface AzureBareMetalInstancesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
733
+ }
734
+ /** Contains response data for the listByResourceGroup operation. */
735
+ export type AzureBareMetalInstancesListByResourceGroupResponse = AzureBareMetalInstancesListResult;
736
+ /** Optional parameters. */
737
+ export interface AzureBareMetalInstancesGetOptionalParams extends coreClient.OperationOptions {
738
+ }
739
+ /** Contains response data for the get operation. */
740
+ export type AzureBareMetalInstancesGetResponse = AzureBareMetalInstance;
741
+ /** Optional parameters. */
742
+ export interface AzureBareMetalInstancesUpdateOptionalParams extends coreClient.OperationOptions {
743
+ }
744
+ /** Contains response data for the update operation. */
745
+ export type AzureBareMetalInstancesUpdateResponse = AzureBareMetalInstance;
746
+ /** Optional parameters. */
747
+ export interface AzureBareMetalInstancesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
748
+ }
749
+ /** Contains response data for the listBySubscriptionNext operation. */
750
+ export type AzureBareMetalInstancesListBySubscriptionNextResponse = AzureBareMetalInstancesListResult;
751
+ /** Optional parameters. */
752
+ export interface AzureBareMetalInstancesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
753
+ }
754
+ /** Contains response data for the listByResourceGroupNext operation. */
755
+ export type AzureBareMetalInstancesListByResourceGroupNextResponse = AzureBareMetalInstancesListResult;
756
+ /** Optional parameters. */
757
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
758
+ }
759
+ /** Contains response data for the list operation. */
760
+ export type OperationsListResponse = OperationListResult;
761
+ /** Optional parameters. */
762
+ export interface AzureBareMetalStorageInstancesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
763
+ }
764
+ /** Contains response data for the listBySubscription operation. */
765
+ export type AzureBareMetalStorageInstancesListBySubscriptionResponse = AzureBareMetalStorageInstancesListResult;
766
+ /** Optional parameters. */
767
+ export interface AzureBareMetalStorageInstancesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
768
+ }
769
+ /** Contains response data for the listByResourceGroup operation. */
770
+ export type AzureBareMetalStorageInstancesListByResourceGroupResponse = AzureBareMetalStorageInstancesListResult;
771
+ /** Optional parameters. */
772
+ export interface AzureBareMetalStorageInstancesGetOptionalParams extends coreClient.OperationOptions {
773
+ }
774
+ /** Contains response data for the get operation. */
775
+ export type AzureBareMetalStorageInstancesGetResponse = AzureBareMetalStorageInstance;
776
+ /** Optional parameters. */
777
+ export interface AzureBareMetalStorageInstancesCreateOptionalParams extends coreClient.OperationOptions {
778
+ }
779
+ /** Contains response data for the create operation. */
780
+ export type AzureBareMetalStorageInstancesCreateResponse = AzureBareMetalStorageInstance;
781
+ /** Optional parameters. */
782
+ export interface AzureBareMetalStorageInstancesUpdateOptionalParams extends coreClient.OperationOptions {
783
+ }
784
+ /** Contains response data for the update operation. */
785
+ export type AzureBareMetalStorageInstancesUpdateResponse = AzureBareMetalStorageInstance;
786
+ /** Optional parameters. */
787
+ export interface AzureBareMetalStorageInstancesDeleteOptionalParams extends coreClient.OperationOptions {
788
+ }
789
+ /** Optional parameters. */
790
+ export interface AzureBareMetalStorageInstancesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
791
+ }
792
+ /** Contains response data for the listBySubscriptionNext operation. */
793
+ export type AzureBareMetalStorageInstancesListBySubscriptionNextResponse = AzureBareMetalStorageInstancesListResult;
794
+ /** Optional parameters. */
795
+ export interface AzureBareMetalStorageInstancesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
796
+ }
797
+ /** Contains response data for the listByResourceGroupNext operation. */
798
+ export type AzureBareMetalStorageInstancesListByResourceGroupNextResponse = AzureBareMetalStorageInstancesListResult;
799
+ /** Optional parameters. */
800
+ export interface BareMetalInfrastructureClientOptionalParams extends coreClient.ServiceClientOptions {
801
+ /** server parameter */
802
+ $host?: string;
803
+ /** Api Version */
804
+ apiVersion?: string;
805
+ /** Overrides client endpoint. */
806
+ endpoint?: string;
807
+ }
808
+ //# sourceMappingURL=index.d.ts.map