@azure/arm-databricks 3.0.1-alpha.20241227.1 → 3.0.1-alpha.20250108.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (545) hide show
  1. package/{dist-esm/src → dist/browser}/azureDatabricksManagementClient.d.ts +2 -2
  2. package/dist/browser/azureDatabricksManagementClient.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/azureDatabricksManagementClient.js +1 -1
  4. package/dist/browser/azureDatabricksManagementClient.js.map +1 -0
  5. package/dist/browser/index.d.ts +5 -0
  6. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  7. package/{dist-esm/src → dist/browser}/index.js +4 -4
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/lroImpl.js.map +1 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/dist/browser/models/mappers.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  13. package/dist/browser/models/parameters.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/accessConnectors.d.ts +3 -3
  15. package/dist/browser/operations/accessConnectors.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/accessConnectors.js +113 -125
  17. package/dist/browser/operations/accessConnectors.js.map +1 -0
  18. package/dist/browser/operations/index.d.ts +8 -0
  19. package/dist/browser/operations/index.d.ts.map +1 -0
  20. package/dist/browser/operations/index.js +15 -0
  21. package/dist/browser/operations/index.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  23. package/dist/browser/operations/operations.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  25. package/dist/browser/operations/operations.js.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/outboundNetworkDependenciesEndpoints.d.ts +3 -3
  27. package/dist/browser/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/outboundNetworkDependenciesEndpoints.js +2 -2
  29. package/dist/browser/operations/outboundNetworkDependenciesEndpoints.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  31. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +88 -96
  33. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
  35. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +3 -3
  37. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/vNetPeering.d.ts +3 -3
  39. package/dist/browser/operations/vNetPeering.d.ts.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/vNetPeering.js +83 -91
  41. package/dist/browser/operations/vNetPeering.js.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +3 -3
  43. package/dist/browser/operations/workspaces.d.ts.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/workspaces.js +113 -125
  45. package/dist/browser/operations/workspaces.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/accessConnectors.d.ts +1 -1
  47. package/dist/browser/operationsInterfaces/accessConnectors.d.ts.map +1 -0
  48. package/dist/browser/operationsInterfaces/accessConnectors.js.map +1 -0
  49. package/dist/browser/operationsInterfaces/index.d.ts +8 -0
  50. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  51. package/dist/browser/operationsInterfaces/index.js +15 -0
  52. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  55. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts +1 -1
  57. package/dist/browser/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  58. package/dist/browser/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +1 -0
  59. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  60. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  61. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  63. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  64. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  65. package/{dist-esm/src → dist/browser}/operationsInterfaces/vNetPeering.d.ts +1 -1
  66. package/dist/browser/operationsInterfaces/vNetPeering.d.ts.map +1 -0
  67. package/dist/browser/operationsInterfaces/vNetPeering.js.map +1 -0
  68. package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +1 -1
  69. package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
  70. package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
  71. package/dist/browser/package.json +3 -0
  72. package/dist/browser/pagingHelper.js.map +1 -0
  73. package/dist/commonjs/azureDatabricksManagementClient.d.ts +23 -0
  74. package/dist/commonjs/azureDatabricksManagementClient.d.ts.map +1 -0
  75. package/dist/commonjs/azureDatabricksManagementClient.js +81 -0
  76. package/dist/commonjs/azureDatabricksManagementClient.js.map +1 -0
  77. package/dist/commonjs/index.d.ts +5 -0
  78. package/dist/commonjs/index.d.ts.map +1 -0
  79. package/dist/commonjs/index.js +19 -0
  80. package/dist/commonjs/index.js.map +1 -0
  81. package/dist/commonjs/lroImpl.d.ts +11 -0
  82. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  83. package/dist/commonjs/lroImpl.js +24 -0
  84. package/dist/commonjs/lroImpl.js.map +1 -0
  85. package/{types/arm-databricks.d.ts → dist/commonjs/models/index.d.ts} +1049 -1500
  86. package/dist/commonjs/models/index.d.ts.map +1 -0
  87. package/dist/commonjs/models/index.js +151 -0
  88. package/dist/commonjs/models/index.js.map +1 -0
  89. package/dist/commonjs/models/mappers.d.ts +52 -0
  90. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  91. package/dist/commonjs/models/mappers.js +1542 -0
  92. package/dist/commonjs/models/mappers.js.map +1 -0
  93. package/dist/commonjs/models/parameters.d.ts +21 -0
  94. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  95. package/dist/commonjs/models/parameters.js +185 -0
  96. package/dist/commonjs/models/parameters.js.map +1 -0
  97. package/dist/commonjs/operations/accessConnectors.d.ts +107 -0
  98. package/dist/commonjs/operations/accessConnectors.d.ts.map +1 -0
  99. package/dist/commonjs/operations/accessConnectors.js +535 -0
  100. package/dist/commonjs/operations/accessConnectors.js.map +1 -0
  101. package/dist/commonjs/operations/index.d.ts +8 -0
  102. package/dist/commonjs/operations/index.d.ts.map +1 -0
  103. package/dist/commonjs/operations/index.js +18 -0
  104. package/dist/commonjs/operations/index.js.map +1 -0
  105. package/dist/commonjs/operations/operations.d.ts +32 -0
  106. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  107. package/dist/commonjs/operations/operations.js +137 -0
  108. package/dist/commonjs/operations/operations.js.map +1 -0
  109. package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.d.ts +22 -0
  110. package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  111. package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.js +70 -0
  112. package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.js.map +1 -0
  113. package/dist/commonjs/operations/privateEndpointConnections.d.ts +81 -0
  114. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  115. package/dist/commonjs/operations/privateEndpointConnections.js +368 -0
  116. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  117. package/dist/commonjs/operations/privateLinkResources.d.ts +46 -0
  118. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  119. package/dist/commonjs/operations/privateLinkResources.js +186 -0
  120. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  121. package/dist/commonjs/operations/vNetPeering.d.ts +81 -0
  122. package/dist/commonjs/operations/vNetPeering.d.ts.map +1 -0
  123. package/dist/commonjs/operations/vNetPeering.js +359 -0
  124. package/dist/commonjs/operations/vNetPeering.js.map +1 -0
  125. package/dist/commonjs/operations/workspaces.d.ts +107 -0
  126. package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
  127. package/dist/commonjs/operations/workspaces.js +535 -0
  128. package/dist/commonjs/operations/workspaces.js.map +1 -0
  129. package/dist/commonjs/operationsInterfaces/accessConnectors.d.ts +71 -0
  130. package/dist/commonjs/operationsInterfaces/accessConnectors.d.ts.map +1 -0
  131. package/dist/commonjs/operationsInterfaces/accessConnectors.js +10 -0
  132. package/dist/commonjs/operationsInterfaces/accessConnectors.js.map +1 -0
  133. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  134. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  135. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  136. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  137. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  138. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  139. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  140. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts +14 -0
  142. package/dist/commonjs/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +10 -0
  144. package/dist/commonjs/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  146. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  148. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +21 -0
  150. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  152. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/vNetPeering.d.ts +56 -0
  154. package/dist/commonjs/operationsInterfaces/vNetPeering.d.ts.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/vNetPeering.js +10 -0
  156. package/dist/commonjs/operationsInterfaces/vNetPeering.js.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/workspaces.d.ts +71 -0
  158. package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
  160. package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
  161. package/dist/commonjs/package.json +3 -0
  162. package/dist/commonjs/pagingHelper.d.ts +13 -0
  163. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  164. package/dist/commonjs/pagingHelper.js +36 -0
  165. package/dist/commonjs/pagingHelper.js.map +1 -0
  166. package/dist/esm/azureDatabricksManagementClient.d.ts +23 -0
  167. package/dist/esm/azureDatabricksManagementClient.d.ts.map +1 -0
  168. package/dist/esm/azureDatabricksManagementClient.js +76 -0
  169. package/dist/esm/azureDatabricksManagementClient.js.map +1 -0
  170. package/dist/esm/index.d.ts +5 -0
  171. package/dist/esm/index.d.ts.map +1 -0
  172. package/{src/index.ts → dist/esm/index.js} +5 -5
  173. package/dist/esm/index.js.map +1 -0
  174. package/dist/esm/lroImpl.d.ts +11 -0
  175. package/dist/esm/lroImpl.d.ts.map +1 -0
  176. package/dist/esm/lroImpl.js +21 -0
  177. package/dist/esm/lroImpl.js.map +1 -0
  178. package/dist/esm/models/index.d.ts +1049 -0
  179. package/dist/esm/models/index.d.ts.map +1 -0
  180. package/dist/esm/models/index.js +148 -0
  181. package/dist/esm/models/index.js.map +1 -0
  182. package/dist/esm/models/mappers.d.ts +52 -0
  183. package/dist/esm/models/mappers.d.ts.map +1 -0
  184. package/dist/esm/models/mappers.js +1539 -0
  185. package/dist/esm/models/mappers.js.map +1 -0
  186. package/dist/esm/models/parameters.d.ts +21 -0
  187. package/dist/esm/models/parameters.d.ts.map +1 -0
  188. package/dist/esm/models/parameters.js +182 -0
  189. package/dist/esm/models/parameters.js.map +1 -0
  190. package/dist/esm/operations/accessConnectors.d.ts +107 -0
  191. package/dist/esm/operations/accessConnectors.d.ts.map +1 -0
  192. package/dist/esm/operations/accessConnectors.js +531 -0
  193. package/dist/esm/operations/accessConnectors.js.map +1 -0
  194. package/dist/esm/operations/index.d.ts +8 -0
  195. package/dist/esm/operations/index.d.ts.map +1 -0
  196. package/dist/esm/operations/index.js +15 -0
  197. package/dist/esm/operations/index.js.map +1 -0
  198. package/dist/esm/operations/operations.d.ts +32 -0
  199. package/dist/esm/operations/operations.d.ts.map +1 -0
  200. package/dist/esm/operations/operations.js +133 -0
  201. package/dist/esm/operations/operations.js.map +1 -0
  202. package/dist/esm/operations/outboundNetworkDependenciesEndpoints.d.ts +22 -0
  203. package/dist/esm/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  204. package/dist/esm/operations/outboundNetworkDependenciesEndpoints.js +65 -0
  205. package/dist/esm/operations/outboundNetworkDependenciesEndpoints.js.map +1 -0
  206. package/dist/esm/operations/privateEndpointConnections.d.ts +81 -0
  207. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  208. package/dist/esm/operations/privateEndpointConnections.js +364 -0
  209. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  210. package/dist/esm/operations/privateLinkResources.d.ts +46 -0
  211. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  212. package/dist/esm/operations/privateLinkResources.js +182 -0
  213. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  214. package/dist/esm/operations/vNetPeering.d.ts +81 -0
  215. package/dist/esm/operations/vNetPeering.d.ts.map +1 -0
  216. package/dist/esm/operations/vNetPeering.js +355 -0
  217. package/dist/esm/operations/vNetPeering.js.map +1 -0
  218. package/dist/esm/operations/workspaces.d.ts +107 -0
  219. package/dist/esm/operations/workspaces.d.ts.map +1 -0
  220. package/dist/esm/operations/workspaces.js +531 -0
  221. package/dist/esm/operations/workspaces.js.map +1 -0
  222. package/dist/esm/operationsInterfaces/accessConnectors.d.ts +71 -0
  223. package/dist/esm/operationsInterfaces/accessConnectors.d.ts.map +1 -0
  224. package/dist/esm/operationsInterfaces/accessConnectors.js +9 -0
  225. package/dist/esm/operationsInterfaces/accessConnectors.js.map +1 -0
  226. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  227. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  228. package/dist/esm/operationsInterfaces/index.js +15 -0
  229. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  230. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  231. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  232. package/dist/esm/operationsInterfaces/operations.js +9 -0
  233. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  234. package/dist/esm/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts +14 -0
  235. package/dist/esm/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  236. package/dist/esm/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +9 -0
  237. package/dist/esm/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +1 -0
  238. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  239. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  240. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  241. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  242. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +21 -0
  243. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  244. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  245. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  246. package/dist/esm/operationsInterfaces/vNetPeering.d.ts +56 -0
  247. package/dist/esm/operationsInterfaces/vNetPeering.d.ts.map +1 -0
  248. package/dist/esm/operationsInterfaces/vNetPeering.js +9 -0
  249. package/dist/esm/operationsInterfaces/vNetPeering.js.map +1 -0
  250. package/dist/esm/operationsInterfaces/workspaces.d.ts +71 -0
  251. package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
  252. package/dist/esm/operationsInterfaces/workspaces.js +9 -0
  253. package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
  254. package/dist/esm/package.json +3 -0
  255. package/dist/esm/pagingHelper.d.ts +13 -0
  256. package/dist/esm/pagingHelper.d.ts.map +1 -0
  257. package/dist/esm/pagingHelper.js +32 -0
  258. package/dist/esm/pagingHelper.js.map +1 -0
  259. package/dist/react-native/azureDatabricksManagementClient.d.ts +23 -0
  260. package/dist/react-native/azureDatabricksManagementClient.d.ts.map +1 -0
  261. package/dist/react-native/azureDatabricksManagementClient.js +76 -0
  262. package/dist/react-native/azureDatabricksManagementClient.js.map +1 -0
  263. package/dist/react-native/index.d.ts +5 -0
  264. package/dist/react-native/index.d.ts.map +1 -0
  265. package/dist/react-native/index.js +13 -0
  266. package/dist/react-native/index.js.map +1 -0
  267. package/dist/react-native/lroImpl.d.ts +11 -0
  268. package/dist/react-native/lroImpl.d.ts.map +1 -0
  269. package/dist/react-native/lroImpl.js +21 -0
  270. package/dist/react-native/lroImpl.js.map +1 -0
  271. package/dist/react-native/models/index.d.ts +1049 -0
  272. package/dist/react-native/models/index.d.ts.map +1 -0
  273. package/dist/react-native/models/index.js +148 -0
  274. package/dist/react-native/models/index.js.map +1 -0
  275. package/dist/react-native/models/mappers.d.ts +52 -0
  276. package/dist/react-native/models/mappers.d.ts.map +1 -0
  277. package/dist/react-native/models/mappers.js +1539 -0
  278. package/dist/react-native/models/mappers.js.map +1 -0
  279. package/dist/react-native/models/parameters.d.ts +21 -0
  280. package/dist/react-native/models/parameters.d.ts.map +1 -0
  281. package/dist/react-native/models/parameters.js +182 -0
  282. package/dist/react-native/models/parameters.js.map +1 -0
  283. package/dist/react-native/operations/accessConnectors.d.ts +107 -0
  284. package/dist/react-native/operations/accessConnectors.d.ts.map +1 -0
  285. package/dist/react-native/operations/accessConnectors.js +531 -0
  286. package/dist/react-native/operations/accessConnectors.js.map +1 -0
  287. package/dist/react-native/operations/index.d.ts +8 -0
  288. package/dist/react-native/operations/index.d.ts.map +1 -0
  289. package/dist/react-native/operations/index.js +15 -0
  290. package/dist/react-native/operations/index.js.map +1 -0
  291. package/dist/react-native/operations/operations.d.ts +32 -0
  292. package/dist/react-native/operations/operations.d.ts.map +1 -0
  293. package/dist/react-native/operations/operations.js +133 -0
  294. package/dist/react-native/operations/operations.js.map +1 -0
  295. package/dist/react-native/operations/outboundNetworkDependenciesEndpoints.d.ts +22 -0
  296. package/dist/react-native/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  297. package/dist/react-native/operations/outboundNetworkDependenciesEndpoints.js +65 -0
  298. package/dist/react-native/operations/outboundNetworkDependenciesEndpoints.js.map +1 -0
  299. package/dist/react-native/operations/privateEndpointConnections.d.ts +81 -0
  300. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  301. package/dist/react-native/operations/privateEndpointConnections.js +364 -0
  302. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  303. package/dist/react-native/operations/privateLinkResources.d.ts +46 -0
  304. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  305. package/dist/react-native/operations/privateLinkResources.js +182 -0
  306. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  307. package/dist/react-native/operations/vNetPeering.d.ts +81 -0
  308. package/dist/react-native/operations/vNetPeering.d.ts.map +1 -0
  309. package/dist/react-native/operations/vNetPeering.js +355 -0
  310. package/dist/react-native/operations/vNetPeering.js.map +1 -0
  311. package/dist/react-native/operations/workspaces.d.ts +107 -0
  312. package/dist/react-native/operations/workspaces.d.ts.map +1 -0
  313. package/dist/react-native/operations/workspaces.js +531 -0
  314. package/dist/react-native/operations/workspaces.js.map +1 -0
  315. package/dist/react-native/operationsInterfaces/accessConnectors.d.ts +71 -0
  316. package/dist/react-native/operationsInterfaces/accessConnectors.d.ts.map +1 -0
  317. package/dist/react-native/operationsInterfaces/accessConnectors.js +9 -0
  318. package/dist/react-native/operationsInterfaces/accessConnectors.js.map +1 -0
  319. package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
  320. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  321. package/dist/react-native/operationsInterfaces/index.js +15 -0
  322. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  323. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  324. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  325. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  326. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  327. package/dist/react-native/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts +14 -0
  328. package/dist/react-native/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  329. package/dist/react-native/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +9 -0
  330. package/dist/react-native/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +1 -0
  331. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  332. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  333. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  334. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  335. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +21 -0
  336. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  337. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  338. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  339. package/dist/react-native/operationsInterfaces/vNetPeering.d.ts +56 -0
  340. package/dist/react-native/operationsInterfaces/vNetPeering.d.ts.map +1 -0
  341. package/dist/react-native/operationsInterfaces/vNetPeering.js +9 -0
  342. package/dist/react-native/operationsInterfaces/vNetPeering.js.map +1 -0
  343. package/dist/react-native/operationsInterfaces/workspaces.d.ts +71 -0
  344. package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
  345. package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
  346. package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
  347. package/dist/react-native/package.json +3 -0
  348. package/dist/react-native/pagingHelper.d.ts +13 -0
  349. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  350. package/dist/react-native/pagingHelper.js +32 -0
  351. package/dist/react-native/pagingHelper.js.map +1 -0
  352. package/package.json +58 -28
  353. package/dist/index.js +0 -4239
  354. package/dist/index.js.map +0 -1
  355. package/dist/index.min.js +0 -1
  356. package/dist/index.min.js.map +0 -1
  357. package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.d.ts +0 -2
  358. package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.d.ts.map +0 -1
  359. package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.js +0 -58
  360. package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.js.map +0 -1
  361. package/dist-esm/samples-dev/accessConnectorsDeleteSample.d.ts +0 -2
  362. package/dist-esm/samples-dev/accessConnectorsDeleteSample.d.ts.map +0 -1
  363. package/dist-esm/samples-dev/accessConnectorsDeleteSample.js +0 -38
  364. package/dist-esm/samples-dev/accessConnectorsDeleteSample.js.map +0 -1
  365. package/dist-esm/samples-dev/accessConnectorsGetSample.d.ts +0 -2
  366. package/dist-esm/samples-dev/accessConnectorsGetSample.d.ts.map +0 -1
  367. package/dist-esm/samples-dev/accessConnectorsGetSample.js +0 -38
  368. package/dist-esm/samples-dev/accessConnectorsGetSample.js.map +0 -1
  369. package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.d.ts +0 -2
  370. package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.d.ts.map +0 -1
  371. package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.js +0 -53
  372. package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.js.map +0 -1
  373. package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.d.ts +0 -2
  374. package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.d.ts.map +0 -1
  375. package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.js +0 -52
  376. package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.js.map +0 -1
  377. package/dist-esm/samples-dev/accessConnectorsUpdateSample.d.ts +0 -2
  378. package/dist-esm/samples-dev/accessConnectorsUpdateSample.d.ts.map +0 -1
  379. package/dist-esm/samples-dev/accessConnectorsUpdateSample.js +0 -39
  380. package/dist-esm/samples-dev/accessConnectorsUpdateSample.js.map +0 -1
  381. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  382. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  383. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  384. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  385. package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.d.ts +0 -2
  386. package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.d.ts.map +0 -1
  387. package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js +0 -39
  388. package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js.map +0 -1
  389. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts +0 -2
  390. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts.map +0 -1
  391. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +0 -48
  392. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +0 -1
  393. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  394. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -40
  396. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  397. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  398. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -40
  400. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  401. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  402. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -55
  404. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  405. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +0 -2
  406. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +0 -40
  408. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +0 -1
  409. package/dist-esm/samples-dev/privateLinkResourcesListSample.d.ts +0 -2
  410. package/dist-esm/samples-dev/privateLinkResourcesListSample.d.ts.map +0 -1
  411. package/dist-esm/samples-dev/privateLinkResourcesListSample.js +0 -55
  412. package/dist-esm/samples-dev/privateLinkResourcesListSample.js.map +0 -1
  413. package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.d.ts +0 -2
  414. package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.d.ts.map +0 -1
  415. package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.js +0 -48
  416. package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.js.map +0 -1
  417. package/dist-esm/samples-dev/vNetPeeringDeleteSample.d.ts +0 -2
  418. package/dist-esm/samples-dev/vNetPeeringDeleteSample.d.ts.map +0 -1
  419. package/dist-esm/samples-dev/vNetPeeringDeleteSample.js +0 -39
  420. package/dist-esm/samples-dev/vNetPeeringDeleteSample.js.map +0 -1
  421. package/dist-esm/samples-dev/vNetPeeringGetSample.d.ts +0 -2
  422. package/dist-esm/samples-dev/vNetPeeringGetSample.d.ts.map +0 -1
  423. package/dist-esm/samples-dev/vNetPeeringGetSample.js +0 -39
  424. package/dist-esm/samples-dev/vNetPeeringGetSample.js.map +0 -1
  425. package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.d.ts +0 -2
  426. package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.d.ts.map +0 -1
  427. package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.js +0 -54
  428. package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.js.map +0 -1
  429. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +0 -2
  430. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +0 -1
  431. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +0 -221
  432. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +0 -1
  433. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
  434. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
  435. package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -38
  436. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
  437. package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
  438. package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
  439. package/dist-esm/samples-dev/workspacesGetSample.js +0 -74
  440. package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
  441. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +0 -2
  442. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +0 -1
  443. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +0 -53
  444. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +0 -1
  445. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +0 -2
  446. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +0 -1
  447. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +0 -52
  448. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +0 -1
  449. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +0 -2
  450. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +0 -1
  451. package/dist-esm/samples-dev/workspacesUpdateSample.js +0 -39
  452. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +0 -1
  453. package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +0 -1
  454. package/dist-esm/src/azureDatabricksManagementClient.js.map +0 -1
  455. package/dist-esm/src/index.d.ts +0 -5
  456. package/dist-esm/src/index.js.map +0 -1
  457. package/dist-esm/src/lroImpl.js.map +0 -1
  458. package/dist-esm/src/models/index.js.map +0 -1
  459. package/dist-esm/src/models/mappers.js.map +0 -1
  460. package/dist-esm/src/models/parameters.js.map +0 -1
  461. package/dist-esm/src/operations/accessConnectors.d.ts.map +0 -1
  462. package/dist-esm/src/operations/accessConnectors.js.map +0 -1
  463. package/dist-esm/src/operations/index.d.ts +0 -8
  464. package/dist-esm/src/operations/index.d.ts.map +0 -1
  465. package/dist-esm/src/operations/index.js +0 -15
  466. package/dist-esm/src/operations/index.js.map +0 -1
  467. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  468. package/dist-esm/src/operations/operations.js.map +0 -1
  469. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts.map +0 -1
  470. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js.map +0 -1
  471. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  472. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  473. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  474. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  475. package/dist-esm/src/operations/vNetPeering.d.ts.map +0 -1
  476. package/dist-esm/src/operations/vNetPeering.js.map +0 -1
  477. package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
  478. package/dist-esm/src/operations/workspaces.js.map +0 -1
  479. package/dist-esm/src/operationsInterfaces/accessConnectors.d.ts.map +0 -1
  480. package/dist-esm/src/operationsInterfaces/accessConnectors.js.map +0 -1
  481. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  482. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  483. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  484. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  485. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  486. package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +0 -1
  487. package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +0 -1
  488. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  489. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  490. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  491. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  492. package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts.map +0 -1
  493. package/dist-esm/src/operationsInterfaces/vNetPeering.js.map +0 -1
  494. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
  495. package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
  496. package/dist-esm/src/pagingHelper.js.map +0 -1
  497. package/dist-esm/test/databricks_examples.d.ts +0 -4
  498. package/dist-esm/test/databricks_examples.d.ts.map +0 -1
  499. package/dist-esm/test/databricks_examples.js +0 -107
  500. package/dist-esm/test/databricks_examples.js.map +0 -1
  501. package/src/azureDatabricksManagementClient.ts +0 -134
  502. package/src/lroImpl.ts +0 -42
  503. package/src/models/index.ts +0 -1194
  504. package/src/models/mappers.ts +0 -1624
  505. package/src/models/parameters.ts +0 -213
  506. package/src/operations/accessConnectors.ts +0 -717
  507. package/src/operations/index.ts +0 -15
  508. package/src/operations/operations.ts +0 -149
  509. package/src/operations/outboundNetworkDependenciesEndpoints.ts +0 -85
  510. package/src/operations/privateEndpointConnections.ts +0 -509
  511. package/src/operations/privateLinkResources.ts +0 -238
  512. package/src/operations/vNetPeering.ts +0 -507
  513. package/src/operations/workspaces.ts +0 -717
  514. package/src/operationsInterfaces/accessConnectors.ts +0 -139
  515. package/src/operationsInterfaces/index.ts +0 -15
  516. package/src/operationsInterfaces/operations.ts +0 -22
  517. package/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.ts +0 -29
  518. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -109
  519. package/src/operationsInterfaces/privateLinkResources.ts +0 -44
  520. package/src/operationsInterfaces/vNetPeering.ts +0 -109
  521. package/src/operationsInterfaces/workspaces.ts +0 -139
  522. package/src/pagingHelper.ts +0 -39
  523. package/tsconfig.json +0 -33
  524. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  525. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  526. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  527. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  528. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  529. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  530. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  531. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  532. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  533. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  534. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  535. /package/{dist-esm/src → dist/browser}/operationsInterfaces/accessConnectors.js +0 -0
  536. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  537. /package/{dist-esm/src → dist/browser}/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +0 -0
  538. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  539. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  540. /package/{dist-esm/src → dist/browser}/operationsInterfaces/vNetPeering.js +0 -0
  541. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
  542. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  543. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  544. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  545. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -1,717 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { Workspaces } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { AzureDatabricksManagementClient } from "../azureDatabricksManagementClient";
16
- import {
17
- SimplePollerLike,
18
- OperationState,
19
- createHttpPoller
20
- } from "@azure/core-lro";
21
- import { createLroSpec } from "../lroImpl";
22
- import {
23
- Workspace,
24
- WorkspacesListByResourceGroupNextOptionalParams,
25
- WorkspacesListByResourceGroupOptionalParams,
26
- WorkspacesListByResourceGroupResponse,
27
- WorkspacesListBySubscriptionNextOptionalParams,
28
- WorkspacesListBySubscriptionOptionalParams,
29
- WorkspacesListBySubscriptionResponse,
30
- WorkspacesGetOptionalParams,
31
- WorkspacesGetResponse,
32
- WorkspacesDeleteOptionalParams,
33
- WorkspacesCreateOrUpdateOptionalParams,
34
- WorkspacesCreateOrUpdateResponse,
35
- WorkspaceUpdate,
36
- WorkspacesUpdateOptionalParams,
37
- WorkspacesUpdateResponse,
38
- WorkspacesListByResourceGroupNextResponse,
39
- WorkspacesListBySubscriptionNextResponse
40
- } from "../models";
41
-
42
- /// <reference lib="esnext.asynciterable" />
43
- /** Class containing Workspaces operations. */
44
- export class WorkspacesImpl implements Workspaces {
45
- private readonly client: AzureDatabricksManagementClient;
46
-
47
- /**
48
- * Initialize a new instance of the class Workspaces class.
49
- * @param client Reference to the service client
50
- */
51
- constructor(client: AzureDatabricksManagementClient) {
52
- this.client = client;
53
- }
54
-
55
- /**
56
- * Gets all the workspaces within a resource group.
57
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
58
- * @param options The options parameters.
59
- */
60
- public listByResourceGroup(
61
- resourceGroupName: string,
62
- options?: WorkspacesListByResourceGroupOptionalParams
63
- ): PagedAsyncIterableIterator<Workspace> {
64
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
65
- return {
66
- next() {
67
- return iter.next();
68
- },
69
- [Symbol.asyncIterator]() {
70
- return this;
71
- },
72
- byPage: (settings?: PageSettings) => {
73
- if (settings?.maxPageSize) {
74
- throw new Error("maxPageSize is not supported by this operation.");
75
- }
76
- return this.listByResourceGroupPagingPage(
77
- resourceGroupName,
78
- options,
79
- settings
80
- );
81
- }
82
- };
83
- }
84
-
85
- private async *listByResourceGroupPagingPage(
86
- resourceGroupName: string,
87
- options?: WorkspacesListByResourceGroupOptionalParams,
88
- settings?: PageSettings
89
- ): AsyncIterableIterator<Workspace[]> {
90
- let result: WorkspacesListByResourceGroupResponse;
91
- let continuationToken = settings?.continuationToken;
92
- if (!continuationToken) {
93
- result = await this._listByResourceGroup(resourceGroupName, options);
94
- let page = result.value || [];
95
- continuationToken = result.nextLink;
96
- setContinuationToken(page, continuationToken);
97
- yield page;
98
- }
99
- while (continuationToken) {
100
- result = await this._listByResourceGroupNext(
101
- resourceGroupName,
102
- continuationToken,
103
- options
104
- );
105
- continuationToken = result.nextLink;
106
- let page = result.value || [];
107
- setContinuationToken(page, continuationToken);
108
- yield page;
109
- }
110
- }
111
-
112
- private async *listByResourceGroupPagingAll(
113
- resourceGroupName: string,
114
- options?: WorkspacesListByResourceGroupOptionalParams
115
- ): AsyncIterableIterator<Workspace> {
116
- for await (const page of this.listByResourceGroupPagingPage(
117
- resourceGroupName,
118
- options
119
- )) {
120
- yield* page;
121
- }
122
- }
123
-
124
- /**
125
- * Gets all the workspaces within a subscription.
126
- * @param options The options parameters.
127
- */
128
- public listBySubscription(
129
- options?: WorkspacesListBySubscriptionOptionalParams
130
- ): PagedAsyncIterableIterator<Workspace> {
131
- const iter = this.listBySubscriptionPagingAll(options);
132
- return {
133
- next() {
134
- return iter.next();
135
- },
136
- [Symbol.asyncIterator]() {
137
- return this;
138
- },
139
- byPage: (settings?: PageSettings) => {
140
- if (settings?.maxPageSize) {
141
- throw new Error("maxPageSize is not supported by this operation.");
142
- }
143
- return this.listBySubscriptionPagingPage(options, settings);
144
- }
145
- };
146
- }
147
-
148
- private async *listBySubscriptionPagingPage(
149
- options?: WorkspacesListBySubscriptionOptionalParams,
150
- settings?: PageSettings
151
- ): AsyncIterableIterator<Workspace[]> {
152
- let result: WorkspacesListBySubscriptionResponse;
153
- let continuationToken = settings?.continuationToken;
154
- if (!continuationToken) {
155
- result = await this._listBySubscription(options);
156
- let page = result.value || [];
157
- continuationToken = result.nextLink;
158
- setContinuationToken(page, continuationToken);
159
- yield page;
160
- }
161
- while (continuationToken) {
162
- result = await this._listBySubscriptionNext(continuationToken, options);
163
- continuationToken = result.nextLink;
164
- let page = result.value || [];
165
- setContinuationToken(page, continuationToken);
166
- yield page;
167
- }
168
- }
169
-
170
- private async *listBySubscriptionPagingAll(
171
- options?: WorkspacesListBySubscriptionOptionalParams
172
- ): AsyncIterableIterator<Workspace> {
173
- for await (const page of this.listBySubscriptionPagingPage(options)) {
174
- yield* page;
175
- }
176
- }
177
-
178
- /**
179
- * Gets the workspace.
180
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
181
- * @param workspaceName The name of the workspace.
182
- * @param options The options parameters.
183
- */
184
- get(
185
- resourceGroupName: string,
186
- workspaceName: string,
187
- options?: WorkspacesGetOptionalParams
188
- ): Promise<WorkspacesGetResponse> {
189
- return this.client.sendOperationRequest(
190
- { resourceGroupName, workspaceName, options },
191
- getOperationSpec
192
- );
193
- }
194
-
195
- /**
196
- * Deletes the workspace.
197
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
198
- * @param workspaceName The name of the workspace.
199
- * @param options The options parameters.
200
- */
201
- async beginDelete(
202
- resourceGroupName: string,
203
- workspaceName: string,
204
- options?: WorkspacesDeleteOptionalParams
205
- ): Promise<SimplePollerLike<OperationState<void>, void>> {
206
- const directSendOperation = async (
207
- args: coreClient.OperationArguments,
208
- spec: coreClient.OperationSpec
209
- ): Promise<void> => {
210
- return this.client.sendOperationRequest(args, spec);
211
- };
212
- const sendOperationFn = async (
213
- args: coreClient.OperationArguments,
214
- spec: coreClient.OperationSpec
215
- ) => {
216
- let currentRawResponse:
217
- | coreClient.FullOperationResponse
218
- | undefined = undefined;
219
- const providedCallback = args.options?.onResponse;
220
- const callback: coreClient.RawResponseCallback = (
221
- rawResponse: coreClient.FullOperationResponse,
222
- flatResponse: unknown
223
- ) => {
224
- currentRawResponse = rawResponse;
225
- providedCallback?.(rawResponse, flatResponse);
226
- };
227
- const updatedArgs = {
228
- ...args,
229
- options: {
230
- ...args.options,
231
- onResponse: callback
232
- }
233
- };
234
- const flatResponse = await directSendOperation(updatedArgs, spec);
235
- return {
236
- flatResponse,
237
- rawResponse: {
238
- statusCode: currentRawResponse!.status,
239
- body: currentRawResponse!.parsedBody,
240
- headers: currentRawResponse!.headers.toJSON()
241
- }
242
- };
243
- };
244
-
245
- const lro = createLroSpec({
246
- sendOperationFn,
247
- args: { resourceGroupName, workspaceName, options },
248
- spec: deleteOperationSpec
249
- });
250
- const poller = await createHttpPoller<void, OperationState<void>>(lro, {
251
- restoreFrom: options?.resumeFrom,
252
- intervalInMs: options?.updateIntervalInMs
253
- });
254
- await poller.poll();
255
- return poller;
256
- }
257
-
258
- /**
259
- * Deletes the workspace.
260
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
261
- * @param workspaceName The name of the workspace.
262
- * @param options The options parameters.
263
- */
264
- async beginDeleteAndWait(
265
- resourceGroupName: string,
266
- workspaceName: string,
267
- options?: WorkspacesDeleteOptionalParams
268
- ): Promise<void> {
269
- const poller = await this.beginDelete(
270
- resourceGroupName,
271
- workspaceName,
272
- options
273
- );
274
- return poller.pollUntilDone();
275
- }
276
-
277
- /**
278
- * Creates a new workspace.
279
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
280
- * @param workspaceName The name of the workspace.
281
- * @param parameters Parameters supplied to the create or update a workspace.
282
- * @param options The options parameters.
283
- */
284
- async beginCreateOrUpdate(
285
- resourceGroupName: string,
286
- workspaceName: string,
287
- parameters: Workspace,
288
- options?: WorkspacesCreateOrUpdateOptionalParams
289
- ): Promise<
290
- SimplePollerLike<
291
- OperationState<WorkspacesCreateOrUpdateResponse>,
292
- WorkspacesCreateOrUpdateResponse
293
- >
294
- > {
295
- const directSendOperation = async (
296
- args: coreClient.OperationArguments,
297
- spec: coreClient.OperationSpec
298
- ): Promise<WorkspacesCreateOrUpdateResponse> => {
299
- return this.client.sendOperationRequest(args, spec);
300
- };
301
- const sendOperationFn = async (
302
- args: coreClient.OperationArguments,
303
- spec: coreClient.OperationSpec
304
- ) => {
305
- let currentRawResponse:
306
- | coreClient.FullOperationResponse
307
- | undefined = undefined;
308
- const providedCallback = args.options?.onResponse;
309
- const callback: coreClient.RawResponseCallback = (
310
- rawResponse: coreClient.FullOperationResponse,
311
- flatResponse: unknown
312
- ) => {
313
- currentRawResponse = rawResponse;
314
- providedCallback?.(rawResponse, flatResponse);
315
- };
316
- const updatedArgs = {
317
- ...args,
318
- options: {
319
- ...args.options,
320
- onResponse: callback
321
- }
322
- };
323
- const flatResponse = await directSendOperation(updatedArgs, spec);
324
- return {
325
- flatResponse,
326
- rawResponse: {
327
- statusCode: currentRawResponse!.status,
328
- body: currentRawResponse!.parsedBody,
329
- headers: currentRawResponse!.headers.toJSON()
330
- }
331
- };
332
- };
333
-
334
- const lro = createLroSpec({
335
- sendOperationFn,
336
- args: { resourceGroupName, workspaceName, parameters, options },
337
- spec: createOrUpdateOperationSpec
338
- });
339
- const poller = await createHttpPoller<
340
- WorkspacesCreateOrUpdateResponse,
341
- OperationState<WorkspacesCreateOrUpdateResponse>
342
- >(lro, {
343
- restoreFrom: options?.resumeFrom,
344
- intervalInMs: options?.updateIntervalInMs
345
- });
346
- await poller.poll();
347
- return poller;
348
- }
349
-
350
- /**
351
- * Creates a new workspace.
352
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
353
- * @param workspaceName The name of the workspace.
354
- * @param parameters Parameters supplied to the create or update a workspace.
355
- * @param options The options parameters.
356
- */
357
- async beginCreateOrUpdateAndWait(
358
- resourceGroupName: string,
359
- workspaceName: string,
360
- parameters: Workspace,
361
- options?: WorkspacesCreateOrUpdateOptionalParams
362
- ): Promise<WorkspacesCreateOrUpdateResponse> {
363
- const poller = await this.beginCreateOrUpdate(
364
- resourceGroupName,
365
- workspaceName,
366
- parameters,
367
- options
368
- );
369
- return poller.pollUntilDone();
370
- }
371
-
372
- /**
373
- * Updates a workspace.
374
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
375
- * @param workspaceName The name of the workspace.
376
- * @param parameters The update to the workspace.
377
- * @param options The options parameters.
378
- */
379
- async beginUpdate(
380
- resourceGroupName: string,
381
- workspaceName: string,
382
- parameters: WorkspaceUpdate,
383
- options?: WorkspacesUpdateOptionalParams
384
- ): Promise<
385
- SimplePollerLike<
386
- OperationState<WorkspacesUpdateResponse>,
387
- WorkspacesUpdateResponse
388
- >
389
- > {
390
- const directSendOperation = async (
391
- args: coreClient.OperationArguments,
392
- spec: coreClient.OperationSpec
393
- ): Promise<WorkspacesUpdateResponse> => {
394
- return this.client.sendOperationRequest(args, spec);
395
- };
396
- const sendOperationFn = async (
397
- args: coreClient.OperationArguments,
398
- spec: coreClient.OperationSpec
399
- ) => {
400
- let currentRawResponse:
401
- | coreClient.FullOperationResponse
402
- | undefined = undefined;
403
- const providedCallback = args.options?.onResponse;
404
- const callback: coreClient.RawResponseCallback = (
405
- rawResponse: coreClient.FullOperationResponse,
406
- flatResponse: unknown
407
- ) => {
408
- currentRawResponse = rawResponse;
409
- providedCallback?.(rawResponse, flatResponse);
410
- };
411
- const updatedArgs = {
412
- ...args,
413
- options: {
414
- ...args.options,
415
- onResponse: callback
416
- }
417
- };
418
- const flatResponse = await directSendOperation(updatedArgs, spec);
419
- return {
420
- flatResponse,
421
- rawResponse: {
422
- statusCode: currentRawResponse!.status,
423
- body: currentRawResponse!.parsedBody,
424
- headers: currentRawResponse!.headers.toJSON()
425
- }
426
- };
427
- };
428
-
429
- const lro = createLroSpec({
430
- sendOperationFn,
431
- args: { resourceGroupName, workspaceName, parameters, options },
432
- spec: updateOperationSpec
433
- });
434
- const poller = await createHttpPoller<
435
- WorkspacesUpdateResponse,
436
- OperationState<WorkspacesUpdateResponse>
437
- >(lro, {
438
- restoreFrom: options?.resumeFrom,
439
- intervalInMs: options?.updateIntervalInMs
440
- });
441
- await poller.poll();
442
- return poller;
443
- }
444
-
445
- /**
446
- * Updates a workspace.
447
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
448
- * @param workspaceName The name of the workspace.
449
- * @param parameters The update to the workspace.
450
- * @param options The options parameters.
451
- */
452
- async beginUpdateAndWait(
453
- resourceGroupName: string,
454
- workspaceName: string,
455
- parameters: WorkspaceUpdate,
456
- options?: WorkspacesUpdateOptionalParams
457
- ): Promise<WorkspacesUpdateResponse> {
458
- const poller = await this.beginUpdate(
459
- resourceGroupName,
460
- workspaceName,
461
- parameters,
462
- options
463
- );
464
- return poller.pollUntilDone();
465
- }
466
-
467
- /**
468
- * Gets all the workspaces within a resource group.
469
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
470
- * @param options The options parameters.
471
- */
472
- private _listByResourceGroup(
473
- resourceGroupName: string,
474
- options?: WorkspacesListByResourceGroupOptionalParams
475
- ): Promise<WorkspacesListByResourceGroupResponse> {
476
- return this.client.sendOperationRequest(
477
- { resourceGroupName, options },
478
- listByResourceGroupOperationSpec
479
- );
480
- }
481
-
482
- /**
483
- * Gets all the workspaces within a subscription.
484
- * @param options The options parameters.
485
- */
486
- private _listBySubscription(
487
- options?: WorkspacesListBySubscriptionOptionalParams
488
- ): Promise<WorkspacesListBySubscriptionResponse> {
489
- return this.client.sendOperationRequest(
490
- { options },
491
- listBySubscriptionOperationSpec
492
- );
493
- }
494
-
495
- /**
496
- * ListByResourceGroupNext
497
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
498
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
499
- * @param options The options parameters.
500
- */
501
- private _listByResourceGroupNext(
502
- resourceGroupName: string,
503
- nextLink: string,
504
- options?: WorkspacesListByResourceGroupNextOptionalParams
505
- ): Promise<WorkspacesListByResourceGroupNextResponse> {
506
- return this.client.sendOperationRequest(
507
- { resourceGroupName, nextLink, options },
508
- listByResourceGroupNextOperationSpec
509
- );
510
- }
511
-
512
- /**
513
- * ListBySubscriptionNext
514
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
515
- * @param options The options parameters.
516
- */
517
- private _listBySubscriptionNext(
518
- nextLink: string,
519
- options?: WorkspacesListBySubscriptionNextOptionalParams
520
- ): Promise<WorkspacesListBySubscriptionNextResponse> {
521
- return this.client.sendOperationRequest(
522
- { nextLink, options },
523
- listBySubscriptionNextOperationSpec
524
- );
525
- }
526
- }
527
- // Operation Specifications
528
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
529
-
530
- const getOperationSpec: coreClient.OperationSpec = {
531
- path:
532
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
533
- httpMethod: "GET",
534
- responses: {
535
- 200: {
536
- bodyMapper: Mappers.Workspace
537
- },
538
- default: {
539
- bodyMapper: Mappers.ErrorResponse
540
- }
541
- },
542
- queryParameters: [Parameters.apiVersion],
543
- urlParameters: [
544
- Parameters.$host,
545
- Parameters.resourceGroupName,
546
- Parameters.workspaceName,
547
- Parameters.subscriptionId
548
- ],
549
- headerParameters: [Parameters.accept],
550
- serializer
551
- };
552
- const deleteOperationSpec: coreClient.OperationSpec = {
553
- path:
554
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
555
- httpMethod: "DELETE",
556
- responses: {
557
- 200: {},
558
- 201: {},
559
- 202: {},
560
- 204: {},
561
- default: {
562
- bodyMapper: Mappers.ErrorResponse
563
- }
564
- },
565
- queryParameters: [Parameters.apiVersion],
566
- urlParameters: [
567
- Parameters.$host,
568
- Parameters.resourceGroupName,
569
- Parameters.workspaceName,
570
- Parameters.subscriptionId
571
- ],
572
- headerParameters: [Parameters.accept],
573
- serializer
574
- };
575
- const createOrUpdateOperationSpec: coreClient.OperationSpec = {
576
- path:
577
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
578
- httpMethod: "PUT",
579
- responses: {
580
- 200: {
581
- bodyMapper: Mappers.Workspace
582
- },
583
- 201: {
584
- bodyMapper: Mappers.Workspace
585
- },
586
- 202: {
587
- bodyMapper: Mappers.Workspace
588
- },
589
- 204: {
590
- bodyMapper: Mappers.Workspace
591
- },
592
- default: {
593
- bodyMapper: Mappers.ErrorResponse
594
- }
595
- },
596
- requestBody: Parameters.parameters,
597
- queryParameters: [Parameters.apiVersion],
598
- urlParameters: [
599
- Parameters.$host,
600
- Parameters.resourceGroupName,
601
- Parameters.workspaceName,
602
- Parameters.subscriptionId
603
- ],
604
- headerParameters: [Parameters.accept, Parameters.contentType],
605
- mediaType: "json",
606
- serializer
607
- };
608
- const updateOperationSpec: coreClient.OperationSpec = {
609
- path:
610
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
611
- httpMethod: "PATCH",
612
- responses: {
613
- 200: {
614
- bodyMapper: Mappers.Workspace
615
- },
616
- 201: {
617
- bodyMapper: Mappers.Workspace
618
- },
619
- 202: {
620
- bodyMapper: Mappers.Workspace
621
- },
622
- 204: {
623
- bodyMapper: Mappers.Workspace
624
- },
625
- default: {
626
- bodyMapper: Mappers.ErrorResponse
627
- }
628
- },
629
- requestBody: Parameters.parameters1,
630
- queryParameters: [Parameters.apiVersion],
631
- urlParameters: [
632
- Parameters.$host,
633
- Parameters.resourceGroupName,
634
- Parameters.workspaceName,
635
- Parameters.subscriptionId
636
- ],
637
- headerParameters: [Parameters.accept, Parameters.contentType],
638
- mediaType: "json",
639
- serializer
640
- };
641
- const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
642
- path:
643
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces",
644
- httpMethod: "GET",
645
- responses: {
646
- 200: {
647
- bodyMapper: Mappers.WorkspaceListResult
648
- },
649
- default: {
650
- bodyMapper: Mappers.ErrorResponse
651
- }
652
- },
653
- queryParameters: [Parameters.apiVersion],
654
- urlParameters: [
655
- Parameters.$host,
656
- Parameters.resourceGroupName,
657
- Parameters.subscriptionId
658
- ],
659
- headerParameters: [Parameters.accept],
660
- serializer
661
- };
662
- const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
663
- path:
664
- "/subscriptions/{subscriptionId}/providers/Microsoft.Databricks/workspaces",
665
- httpMethod: "GET",
666
- responses: {
667
- 200: {
668
- bodyMapper: Mappers.WorkspaceListResult
669
- },
670
- default: {
671
- bodyMapper: Mappers.ErrorResponse
672
- }
673
- },
674
- queryParameters: [Parameters.apiVersion],
675
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
676
- headerParameters: [Parameters.accept],
677
- serializer
678
- };
679
- const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
680
- path: "{nextLink}",
681
- httpMethod: "GET",
682
- responses: {
683
- 200: {
684
- bodyMapper: Mappers.WorkspaceListResult
685
- },
686
- default: {
687
- bodyMapper: Mappers.ErrorResponse
688
- }
689
- },
690
- urlParameters: [
691
- Parameters.$host,
692
- Parameters.resourceGroupName,
693
- Parameters.subscriptionId,
694
- Parameters.nextLink
695
- ],
696
- headerParameters: [Parameters.accept],
697
- serializer
698
- };
699
- const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
700
- path: "{nextLink}",
701
- httpMethod: "GET",
702
- responses: {
703
- 200: {
704
- bodyMapper: Mappers.WorkspaceListResult
705
- },
706
- default: {
707
- bodyMapper: Mappers.ErrorResponse
708
- }
709
- },
710
- urlParameters: [
711
- Parameters.$host,
712
- Parameters.subscriptionId,
713
- Parameters.nextLink
714
- ],
715
- headerParameters: [Parameters.accept],
716
- serializer
717
- };