@azure/arm-domainservices 4.1.1-alpha.20250124.1 → 4.1.1-alpha.20250128.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. package/{dist-esm/src → dist/browser}/domainServicesResourceProvider.d.ts +2 -2
  2. package/dist/browser/domainServicesResourceProvider.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/domainServicesResourceProvider.js +15 -18
  4. package/dist/browser/domainServicesResourceProvider.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 +25 -0
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/dist/browser/models/mappers.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  14. package/dist/browser/models/parameters.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/domainServiceOperations.d.ts +3 -3
  16. package/dist/browser/operations/domainServiceOperations.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/domainServiceOperations.js +3 -3
  18. package/dist/browser/operations/domainServiceOperations.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/domainServices.d.ts +3 -3
  20. package/dist/browser/operations/domainServices.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/domainServices.js +101 -113
  22. package/dist/browser/operations/domainServices.js.map +1 -0
  23. package/dist/browser/operations/index.d.ts +5 -0
  24. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  25. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
  26. package/dist/browser/operations/index.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/ouContainerOperationGrp.d.ts +3 -3
  28. package/dist/browser/operations/ouContainerOperationGrp.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/ouContainerOperationGrp.js +113 -125
  30. package/dist/browser/operations/ouContainerOperationGrp.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/ouContainerOperations.d.ts +3 -3
  32. package/dist/browser/operations/ouContainerOperations.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/ouContainerOperations.js +3 -3
  34. package/dist/browser/operations/ouContainerOperations.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operationsInterfaces/domainServiceOperations.d.ts +1 -1
  36. package/dist/browser/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
  37. package/dist/browser/operationsInterfaces/domainServiceOperations.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/domainServices.d.ts +1 -1
  39. package/dist/browser/operationsInterfaces/domainServices.d.ts.map +1 -0
  40. package/dist/browser/operationsInterfaces/domainServices.js.map +1 -0
  41. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  43. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
  44. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operationsInterfaces/ouContainerOperationGrp.d.ts +1 -1
  46. package/dist/browser/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
  47. package/dist/browser/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/ouContainerOperations.d.ts +1 -1
  49. package/dist/browser/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
  50. package/dist/browser/operationsInterfaces/ouContainerOperations.js.map +1 -0
  51. package/dist/browser/package.json +3 -0
  52. package/dist/browser/pagingHelper.js.map +1 -0
  53. package/dist/commonjs/domainServicesResourceProvider.d.ts +24 -0
  54. package/dist/commonjs/domainServicesResourceProvider.d.ts.map +1 -0
  55. package/dist/commonjs/domainServicesResourceProvider.js +106 -0
  56. package/dist/commonjs/domainServicesResourceProvider.js.map +1 -0
  57. package/dist/commonjs/index.d.ts +5 -0
  58. package/dist/commonjs/index.d.ts.map +1 -0
  59. package/dist/commonjs/index.js +19 -0
  60. package/dist/commonjs/index.js.map +1 -0
  61. package/dist/commonjs/lroImpl.d.ts +16 -0
  62. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  63. package/dist/commonjs/lroImpl.js +29 -0
  64. package/dist/commonjs/lroImpl.js.map +1 -0
  65. package/{types/arm-domainservices.d.ts → dist/commonjs/models/index.d.ts} +802 -1107
  66. package/dist/commonjs/models/index.d.ts.map +1 -0
  67. package/dist/commonjs/models/index.js +135 -0
  68. package/dist/commonjs/models/index.js.map +1 -0
  69. package/dist/commonjs/models/mappers.d.ts +27 -0
  70. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  71. package/dist/commonjs/models/mappers.js +1018 -0
  72. package/dist/commonjs/models/mappers.js.map +1 -0
  73. package/dist/commonjs/models/parameters.d.ts +13 -0
  74. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  75. package/dist/commonjs/models/parameters.js +120 -0
  76. package/dist/commonjs/models/parameters.js.map +1 -0
  77. package/dist/commonjs/operations/domainServiceOperations.d.ts +32 -0
  78. package/dist/commonjs/operations/domainServiceOperations.d.ts.map +1 -0
  79. package/dist/commonjs/operations/domainServiceOperations.js +138 -0
  80. package/dist/commonjs/operations/domainServiceOperations.js.map +1 -0
  81. package/dist/commonjs/operations/domainServices.d.ts +127 -0
  82. package/dist/commonjs/operations/domainServices.d.ts.map +1 -0
  83. package/dist/commonjs/operations/domainServices.js +545 -0
  84. package/dist/commonjs/operations/domainServices.js.map +1 -0
  85. package/dist/commonjs/operations/index.d.ts +5 -0
  86. package/dist/commonjs/operations/index.d.ts.map +1 -0
  87. package/dist/commonjs/operations/index.js +15 -0
  88. package/dist/commonjs/operations/index.js.map +1 -0
  89. package/dist/commonjs/operations/ouContainerOperationGrp.d.ts +111 -0
  90. package/dist/commonjs/operations/ouContainerOperationGrp.d.ts.map +1 -0
  91. package/dist/commonjs/operations/ouContainerOperationGrp.js +453 -0
  92. package/dist/commonjs/operations/ouContainerOperationGrp.js.map +1 -0
  93. package/dist/commonjs/operations/ouContainerOperations.d.ts +32 -0
  94. package/dist/commonjs/operations/ouContainerOperations.d.ts.map +1 -0
  95. package/dist/commonjs/operations/ouContainerOperations.js +138 -0
  96. package/dist/commonjs/operations/ouContainerOperations.js.map +1 -0
  97. package/dist/commonjs/operationsInterfaces/domainServiceOperations.d.ts +11 -0
  98. package/dist/commonjs/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
  99. package/dist/commonjs/operationsInterfaces/domainServiceOperations.js +10 -0
  100. package/dist/commonjs/operationsInterfaces/domainServiceOperations.js.map +1 -0
  101. package/dist/commonjs/operationsInterfaces/domainServices.d.ts +87 -0
  102. package/dist/commonjs/operationsInterfaces/domainServices.d.ts.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/domainServices.js +10 -0
  104. package/dist/commonjs/operationsInterfaces/domainServices.js.map +1 -0
  105. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  106. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  107. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  108. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
  110. package/dist/commonjs/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/ouContainerOperationGrp.js +10 -0
  112. package/dist/commonjs/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/ouContainerOperations.d.ts +11 -0
  114. package/dist/commonjs/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/ouContainerOperations.js +10 -0
  116. package/dist/commonjs/operationsInterfaces/ouContainerOperations.js.map +1 -0
  117. package/dist/commonjs/package.json +3 -0
  118. package/dist/commonjs/pagingHelper.d.ts +13 -0
  119. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  120. package/dist/commonjs/pagingHelper.js +36 -0
  121. package/dist/commonjs/pagingHelper.js.map +1 -0
  122. package/dist/esm/domainServicesResourceProvider.d.ts +24 -0
  123. package/dist/esm/domainServicesResourceProvider.d.ts.map +1 -0
  124. package/dist/esm/domainServicesResourceProvider.js +101 -0
  125. package/dist/esm/domainServicesResourceProvider.js.map +1 -0
  126. package/dist/esm/index.d.ts +5 -0
  127. package/dist/esm/index.d.ts.map +1 -0
  128. package/{src/index.ts → dist/esm/index.js} +5 -5
  129. package/dist/esm/index.js.map +1 -0
  130. package/dist/esm/lroImpl.d.ts +16 -0
  131. package/dist/esm/lroImpl.d.ts.map +1 -0
  132. package/dist/esm/lroImpl.js +25 -0
  133. package/dist/esm/lroImpl.js.map +1 -0
  134. package/dist/esm/models/index.d.ts +802 -0
  135. package/dist/esm/models/index.d.ts.map +1 -0
  136. package/dist/esm/models/index.js +132 -0
  137. package/dist/esm/models/index.js.map +1 -0
  138. package/dist/esm/models/mappers.d.ts +27 -0
  139. package/dist/esm/models/mappers.d.ts.map +1 -0
  140. package/dist/esm/models/mappers.js +1015 -0
  141. package/dist/esm/models/mappers.js.map +1 -0
  142. package/dist/esm/models/parameters.d.ts +13 -0
  143. package/dist/esm/models/parameters.d.ts.map +1 -0
  144. package/dist/esm/models/parameters.js +117 -0
  145. package/dist/esm/models/parameters.js.map +1 -0
  146. package/dist/esm/operations/domainServiceOperations.d.ts +32 -0
  147. package/dist/esm/operations/domainServiceOperations.d.ts.map +1 -0
  148. package/dist/esm/operations/domainServiceOperations.js +134 -0
  149. package/dist/esm/operations/domainServiceOperations.js.map +1 -0
  150. package/dist/esm/operations/domainServices.d.ts +127 -0
  151. package/dist/esm/operations/domainServices.d.ts.map +1 -0
  152. package/dist/esm/operations/domainServices.js +541 -0
  153. package/dist/esm/operations/domainServices.js.map +1 -0
  154. package/dist/esm/operations/index.d.ts +5 -0
  155. package/dist/esm/operations/index.d.ts.map +1 -0
  156. package/dist/esm/operations/index.js +12 -0
  157. package/dist/esm/operations/index.js.map +1 -0
  158. package/dist/esm/operations/ouContainerOperationGrp.d.ts +111 -0
  159. package/dist/esm/operations/ouContainerOperationGrp.d.ts.map +1 -0
  160. package/dist/esm/operations/ouContainerOperationGrp.js +449 -0
  161. package/dist/esm/operations/ouContainerOperationGrp.js.map +1 -0
  162. package/dist/esm/operations/ouContainerOperations.d.ts +32 -0
  163. package/dist/esm/operations/ouContainerOperations.d.ts.map +1 -0
  164. package/dist/esm/operations/ouContainerOperations.js +134 -0
  165. package/dist/esm/operations/ouContainerOperations.js.map +1 -0
  166. package/dist/esm/operationsInterfaces/domainServiceOperations.d.ts +11 -0
  167. package/dist/esm/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
  168. package/dist/esm/operationsInterfaces/domainServiceOperations.js +9 -0
  169. package/dist/esm/operationsInterfaces/domainServiceOperations.js.map +1 -0
  170. package/dist/esm/operationsInterfaces/domainServices.d.ts +87 -0
  171. package/dist/esm/operationsInterfaces/domainServices.d.ts.map +1 -0
  172. package/dist/esm/operationsInterfaces/domainServices.js +9 -0
  173. package/dist/esm/operationsInterfaces/domainServices.js.map +1 -0
  174. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  175. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  176. package/dist/esm/operationsInterfaces/index.js +12 -0
  177. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  178. package/dist/esm/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
  179. package/dist/esm/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
  180. package/dist/esm/operationsInterfaces/ouContainerOperationGrp.js +9 -0
  181. package/dist/esm/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
  182. package/dist/esm/operationsInterfaces/ouContainerOperations.d.ts +11 -0
  183. package/dist/esm/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
  184. package/dist/esm/operationsInterfaces/ouContainerOperations.js +9 -0
  185. package/dist/esm/operationsInterfaces/ouContainerOperations.js.map +1 -0
  186. package/dist/esm/package.json +3 -0
  187. package/dist/esm/pagingHelper.d.ts +13 -0
  188. package/dist/esm/pagingHelper.d.ts.map +1 -0
  189. package/dist/esm/pagingHelper.js +32 -0
  190. package/dist/esm/pagingHelper.js.map +1 -0
  191. package/dist/react-native/domainServicesResourceProvider.d.ts +24 -0
  192. package/dist/react-native/domainServicesResourceProvider.d.ts.map +1 -0
  193. package/dist/react-native/domainServicesResourceProvider.js +101 -0
  194. package/dist/react-native/domainServicesResourceProvider.js.map +1 -0
  195. package/dist/react-native/index.d.ts +5 -0
  196. package/dist/react-native/index.d.ts.map +1 -0
  197. package/dist/react-native/index.js +13 -0
  198. package/dist/react-native/index.js.map +1 -0
  199. package/dist/react-native/lroImpl.d.ts +16 -0
  200. package/dist/react-native/lroImpl.d.ts.map +1 -0
  201. package/dist/react-native/lroImpl.js +25 -0
  202. package/dist/react-native/lroImpl.js.map +1 -0
  203. package/dist/react-native/models/index.d.ts +802 -0
  204. package/dist/react-native/models/index.d.ts.map +1 -0
  205. package/dist/react-native/models/index.js +132 -0
  206. package/dist/react-native/models/index.js.map +1 -0
  207. package/dist/react-native/models/mappers.d.ts +27 -0
  208. package/dist/react-native/models/mappers.d.ts.map +1 -0
  209. package/dist/react-native/models/mappers.js +1015 -0
  210. package/dist/react-native/models/mappers.js.map +1 -0
  211. package/dist/react-native/models/parameters.d.ts +13 -0
  212. package/dist/react-native/models/parameters.d.ts.map +1 -0
  213. package/dist/react-native/models/parameters.js +117 -0
  214. package/dist/react-native/models/parameters.js.map +1 -0
  215. package/dist/react-native/operations/domainServiceOperations.d.ts +32 -0
  216. package/dist/react-native/operations/domainServiceOperations.d.ts.map +1 -0
  217. package/dist/react-native/operations/domainServiceOperations.js +134 -0
  218. package/dist/react-native/operations/domainServiceOperations.js.map +1 -0
  219. package/dist/react-native/operations/domainServices.d.ts +127 -0
  220. package/dist/react-native/operations/domainServices.d.ts.map +1 -0
  221. package/dist/react-native/operations/domainServices.js +541 -0
  222. package/dist/react-native/operations/domainServices.js.map +1 -0
  223. package/dist/react-native/operations/index.d.ts +5 -0
  224. package/dist/react-native/operations/index.d.ts.map +1 -0
  225. package/dist/react-native/operations/index.js +12 -0
  226. package/dist/react-native/operations/index.js.map +1 -0
  227. package/dist/react-native/operations/ouContainerOperationGrp.d.ts +111 -0
  228. package/dist/react-native/operations/ouContainerOperationGrp.d.ts.map +1 -0
  229. package/dist/react-native/operations/ouContainerOperationGrp.js +449 -0
  230. package/dist/react-native/operations/ouContainerOperationGrp.js.map +1 -0
  231. package/dist/react-native/operations/ouContainerOperations.d.ts +32 -0
  232. package/dist/react-native/operations/ouContainerOperations.d.ts.map +1 -0
  233. package/dist/react-native/operations/ouContainerOperations.js +134 -0
  234. package/dist/react-native/operations/ouContainerOperations.js.map +1 -0
  235. package/dist/react-native/operationsInterfaces/domainServiceOperations.d.ts +11 -0
  236. package/dist/react-native/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
  237. package/dist/react-native/operationsInterfaces/domainServiceOperations.js +9 -0
  238. package/dist/react-native/operationsInterfaces/domainServiceOperations.js.map +1 -0
  239. package/dist/react-native/operationsInterfaces/domainServices.d.ts +87 -0
  240. package/dist/react-native/operationsInterfaces/domainServices.d.ts.map +1 -0
  241. package/dist/react-native/operationsInterfaces/domainServices.js +9 -0
  242. package/dist/react-native/operationsInterfaces/domainServices.js.map +1 -0
  243. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  244. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  245. package/dist/react-native/operationsInterfaces/index.js +12 -0
  246. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  247. package/dist/react-native/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
  248. package/dist/react-native/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
  249. package/dist/react-native/operationsInterfaces/ouContainerOperationGrp.js +9 -0
  250. package/dist/react-native/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
  251. package/dist/react-native/operationsInterfaces/ouContainerOperations.d.ts +11 -0
  252. package/dist/react-native/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
  253. package/dist/react-native/operationsInterfaces/ouContainerOperations.js +9 -0
  254. package/dist/react-native/operationsInterfaces/ouContainerOperations.js.map +1 -0
  255. package/dist/react-native/package.json +3 -0
  256. package/dist/react-native/pagingHelper.d.ts +13 -0
  257. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  258. package/dist/react-native/pagingHelper.js +32 -0
  259. package/dist/react-native/pagingHelper.js.map +1 -0
  260. package/package.json +65 -35
  261. package/dist/index.js +0 -2742
  262. package/dist/index.js.map +0 -1
  263. package/dist/index.min.js +0 -1
  264. package/dist/index.min.js.map +0 -1
  265. package/dist-esm/samples-dev/domainServiceOperationsListSample.d.ts +0 -2
  266. package/dist-esm/samples-dev/domainServiceOperationsListSample.d.ts.map +0 -1
  267. package/dist-esm/samples-dev/domainServiceOperationsListSample.js +0 -45
  268. package/dist-esm/samples-dev/domainServiceOperationsListSample.js.map +0 -1
  269. package/dist-esm/samples-dev/domainServicesCreateOrUpdateSample.d.ts +0 -2
  270. package/dist-esm/samples-dev/domainServicesCreateOrUpdateSample.d.ts.map +0 -1
  271. package/dist-esm/samples-dev/domainServicesCreateOrUpdateSample.js +0 -57
  272. package/dist-esm/samples-dev/domainServicesCreateOrUpdateSample.js.map +0 -1
  273. package/dist-esm/samples-dev/domainServicesDeleteSample.d.ts +0 -2
  274. package/dist-esm/samples-dev/domainServicesDeleteSample.d.ts.map +0 -1
  275. package/dist-esm/samples-dev/domainServicesDeleteSample.js +0 -31
  276. package/dist-esm/samples-dev/domainServicesDeleteSample.js.map +0 -1
  277. package/dist-esm/samples-dev/domainServicesGetSample.d.ts +0 -2
  278. package/dist-esm/samples-dev/domainServicesGetSample.d.ts.map +0 -1
  279. package/dist-esm/samples-dev/domainServicesGetSample.js +0 -31
  280. package/dist-esm/samples-dev/domainServicesGetSample.js.map +0 -1
  281. package/dist-esm/samples-dev/domainServicesListByResourceGroupSample.d.ts +0 -2
  282. package/dist-esm/samples-dev/domainServicesListByResourceGroupSample.d.ts.map +0 -1
  283. package/dist-esm/samples-dev/domainServicesListByResourceGroupSample.js +0 -46
  284. package/dist-esm/samples-dev/domainServicesListByResourceGroupSample.js.map +0 -1
  285. package/dist-esm/samples-dev/domainServicesListSample.d.ts +0 -2
  286. package/dist-esm/samples-dev/domainServicesListSample.d.ts.map +0 -1
  287. package/dist-esm/samples-dev/domainServicesListSample.js +0 -45
  288. package/dist-esm/samples-dev/domainServicesListSample.js.map +0 -1
  289. package/dist-esm/samples-dev/domainServicesUpdateSample.d.ts +0 -2
  290. package/dist-esm/samples-dev/domainServicesUpdateSample.d.ts.map +0 -1
  291. package/dist-esm/samples-dev/domainServicesUpdateSample.js +0 -71
  292. package/dist-esm/samples-dev/domainServicesUpdateSample.js.map +0 -1
  293. package/dist-esm/samples-dev/ouContainerCreateSample.d.ts +0 -2
  294. package/dist-esm/samples-dev/ouContainerCreateSample.d.ts.map +0 -1
  295. package/dist-esm/samples-dev/ouContainerCreateSample.js +0 -37
  296. package/dist-esm/samples-dev/ouContainerCreateSample.js.map +0 -1
  297. package/dist-esm/samples-dev/ouContainerDeleteSample.d.ts +0 -2
  298. package/dist-esm/samples-dev/ouContainerDeleteSample.d.ts.map +0 -1
  299. package/dist-esm/samples-dev/ouContainerDeleteSample.js +0 -32
  300. package/dist-esm/samples-dev/ouContainerDeleteSample.js.map +0 -1
  301. package/dist-esm/samples-dev/ouContainerGetSample.d.ts +0 -2
  302. package/dist-esm/samples-dev/ouContainerGetSample.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/ouContainerGetSample.js +0 -32
  304. package/dist-esm/samples-dev/ouContainerGetSample.js.map +0 -1
  305. package/dist-esm/samples-dev/ouContainerListSample.d.ts +0 -2
  306. package/dist-esm/samples-dev/ouContainerListSample.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/ouContainerListSample.js +0 -47
  308. package/dist-esm/samples-dev/ouContainerListSample.js.map +0 -1
  309. package/dist-esm/samples-dev/ouContainerOperationsListSample.d.ts +0 -2
  310. package/dist-esm/samples-dev/ouContainerOperationsListSample.d.ts.map +0 -1
  311. package/dist-esm/samples-dev/ouContainerOperationsListSample.js +0 -45
  312. package/dist-esm/samples-dev/ouContainerOperationsListSample.js.map +0 -1
  313. package/dist-esm/samples-dev/ouContainerUpdateSample.d.ts +0 -2
  314. package/dist-esm/samples-dev/ouContainerUpdateSample.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/ouContainerUpdateSample.js +0 -37
  316. package/dist-esm/samples-dev/ouContainerUpdateSample.js.map +0 -1
  317. package/dist-esm/src/domainServicesResourceProvider.d.ts.map +0 -1
  318. package/dist-esm/src/domainServicesResourceProvider.js.map +0 -1
  319. package/dist-esm/src/index.d.ts +0 -5
  320. package/dist-esm/src/index.js.map +0 -1
  321. package/dist-esm/src/lroImpl.js +0 -29
  322. package/dist-esm/src/lroImpl.js.map +0 -1
  323. package/dist-esm/src/models/index.js.map +0 -1
  324. package/dist-esm/src/models/mappers.js.map +0 -1
  325. package/dist-esm/src/models/parameters.js.map +0 -1
  326. package/dist-esm/src/operations/domainServiceOperations.d.ts.map +0 -1
  327. package/dist-esm/src/operations/domainServiceOperations.js.map +0 -1
  328. package/dist-esm/src/operations/domainServices.d.ts.map +0 -1
  329. package/dist-esm/src/operations/domainServices.js.map +0 -1
  330. package/dist-esm/src/operations/index.d.ts +0 -5
  331. package/dist-esm/src/operations/index.js.map +0 -1
  332. package/dist-esm/src/operations/ouContainerOperationGrp.d.ts.map +0 -1
  333. package/dist-esm/src/operations/ouContainerOperationGrp.js.map +0 -1
  334. package/dist-esm/src/operations/ouContainerOperations.d.ts.map +0 -1
  335. package/dist-esm/src/operations/ouContainerOperations.js.map +0 -1
  336. package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts.map +0 -1
  337. package/dist-esm/src/operationsInterfaces/domainServiceOperations.js.map +0 -1
  338. package/dist-esm/src/operationsInterfaces/domainServices.d.ts.map +0 -1
  339. package/dist-esm/src/operationsInterfaces/domainServices.js.map +0 -1
  340. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  341. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  342. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts.map +0 -1
  343. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js.map +0 -1
  344. package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts.map +0 -1
  345. package/dist-esm/src/operationsInterfaces/ouContainerOperations.js.map +0 -1
  346. package/dist-esm/src/pagingHelper.js.map +0 -1
  347. package/dist-esm/test/sampleTest.d.ts +0 -2
  348. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  349. package/dist-esm/test/sampleTest.js +0 -42
  350. package/dist-esm/test/sampleTest.js.map +0 -1
  351. package/src/domainServicesResourceProvider.ts +0 -157
  352. package/src/lroImpl.ts +0 -34
  353. package/src/models/index.ts +0 -902
  354. package/src/models/mappers.ts +0 -1069
  355. package/src/models/parameters.ts +0 -136
  356. package/src/operations/domainServiceOperations.ts +0 -150
  357. package/src/operations/domainServices.ts +0 -725
  358. package/src/operations/index.ts +0 -12
  359. package/src/operations/ouContainerOperationGrp.ts +0 -648
  360. package/src/operations/ouContainerOperations.ts +0 -150
  361. package/src/operationsInterfaces/domainServiceOperations.ts +0 -25
  362. package/src/operationsInterfaces/domainServices.ts +0 -154
  363. package/src/operationsInterfaces/index.ts +0 -12
  364. package/src/operationsInterfaces/ouContainerOperationGrp.ts +0 -157
  365. package/src/operationsInterfaces/ouContainerOperations.ts +0 -25
  366. package/src/pagingHelper.ts +0 -39
  367. package/tsconfig.json +0 -33
  368. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  369. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  370. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  371. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  372. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  373. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  374. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  375. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  376. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  377. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  378. /package/{dist-esm/src → dist/browser}/operationsInterfaces/domainServiceOperations.js +0 -0
  379. /package/{dist-esm/src → dist/browser}/operationsInterfaces/domainServices.js +0 -0
  380. /package/{dist-esm/src → dist/browser}/operationsInterfaces/ouContainerOperationGrp.js +0 -0
  381. /package/{dist-esm/src → dist/browser}/operationsInterfaces/ouContainerOperations.js +0 -0
  382. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  383. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  384. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  385. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,111 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { OuContainerOperationGrp } from "../operationsInterfaces/index.js";
3
+ import { DomainServicesResourceProvider } from "../domainServicesResourceProvider.js";
4
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
5
+ import { OuContainer, OuContainerListOptionalParams, OuContainerGetOptionalParams, OuContainerGetResponse, ContainerAccount, OuContainerCreateOptionalParams, OuContainerCreateResponse, OuContainerDeleteOptionalParams, OuContainerUpdateOptionalParams, OuContainerUpdateResponse } from "../models/index.js";
6
+ /** Class containing OuContainerOperationGrp operations. */
7
+ export declare class OuContainerOperationGrpImpl implements OuContainerOperationGrp {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class OuContainerOperationGrp class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: DomainServicesResourceProvider);
14
+ /**
15
+ * The List of OuContainers in DomainService instance.
16
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
17
+ * case insensitive.
18
+ * @param domainServiceName The name of the domain service.
19
+ * @param options The options parameters.
20
+ */
21
+ list(resourceGroupName: string, domainServiceName: string, options?: OuContainerListOptionalParams): PagedAsyncIterableIterator<OuContainer>;
22
+ private listPagingPage;
23
+ private listPagingAll;
24
+ /**
25
+ * The List of OuContainers in DomainService instance.
26
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
27
+ * case insensitive.
28
+ * @param domainServiceName The name of the domain service.
29
+ * @param options The options parameters.
30
+ */
31
+ private _list;
32
+ /**
33
+ * Get OuContainer in DomainService instance.
34
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
35
+ * case insensitive.
36
+ * @param domainServiceName The name of the domain service.
37
+ * @param ouContainerName The name of the OuContainer.
38
+ * @param options The options parameters.
39
+ */
40
+ get(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerGetOptionalParams): Promise<OuContainerGetResponse>;
41
+ /**
42
+ * The Create OuContainer operation creates a new OuContainer under the specified Domain Service
43
+ * instance.
44
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
45
+ * case insensitive.
46
+ * @param domainServiceName The name of the domain service.
47
+ * @param ouContainerName The name of the OuContainer.
48
+ * @param containerAccount Container Account Description.
49
+ * @param options The options parameters.
50
+ */
51
+ beginCreate(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerCreateOptionalParams): Promise<PollerLike<PollOperationState<OuContainerCreateResponse>, OuContainerCreateResponse>>;
52
+ /**
53
+ * The Create OuContainer operation creates a new OuContainer under the specified Domain Service
54
+ * instance.
55
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
56
+ * case insensitive.
57
+ * @param domainServiceName The name of the domain service.
58
+ * @param ouContainerName The name of the OuContainer.
59
+ * @param containerAccount Container Account Description.
60
+ * @param options The options parameters.
61
+ */
62
+ beginCreateAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerCreateOptionalParams): Promise<OuContainerCreateResponse>;
63
+ /**
64
+ * The Delete OuContainer operation deletes specified OuContainer.
65
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
66
+ * case insensitive.
67
+ * @param domainServiceName The name of the domain service.
68
+ * @param ouContainerName The name of the OuContainer.
69
+ * @param options The options parameters.
70
+ */
71
+ beginDelete(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
72
+ /**
73
+ * The Delete OuContainer operation deletes specified OuContainer.
74
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
75
+ * case insensitive.
76
+ * @param domainServiceName The name of the domain service.
77
+ * @param ouContainerName The name of the OuContainer.
78
+ * @param options The options parameters.
79
+ */
80
+ beginDeleteAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerDeleteOptionalParams): Promise<void>;
81
+ /**
82
+ * The Update OuContainer operation can be used to update the existing OuContainers.
83
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
84
+ * case insensitive.
85
+ * @param domainServiceName The name of the domain service.
86
+ * @param ouContainerName The name of the OuContainer.
87
+ * @param containerAccount Container Account Description.
88
+ * @param options The options parameters.
89
+ */
90
+ beginUpdate(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerUpdateOptionalParams): Promise<PollerLike<PollOperationState<OuContainerUpdateResponse>, OuContainerUpdateResponse>>;
91
+ /**
92
+ * The Update OuContainer operation can be used to update the existing OuContainers.
93
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
94
+ * case insensitive.
95
+ * @param domainServiceName The name of the domain service.
96
+ * @param ouContainerName The name of the OuContainer.
97
+ * @param containerAccount Container Account Description.
98
+ * @param options The options parameters.
99
+ */
100
+ beginUpdateAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerUpdateOptionalParams): Promise<OuContainerUpdateResponse>;
101
+ /**
102
+ * ListNext
103
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
104
+ * case insensitive.
105
+ * @param domainServiceName The name of the domain service.
106
+ * @param nextLink The nextLink from the previous successful call to the List method.
107
+ * @param options The options parameters.
108
+ */
109
+ private _listNext;
110
+ }
111
+ //# sourceMappingURL=ouContainerOperationGrp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ouContainerOperationGrp.d.ts","sourceRoot":"","sources":["../../../src/operations/ouContainerOperationGrp.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAI3E,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,WAAW,EAEX,6BAA6B,EAE7B,4BAA4B,EAC5B,sBAAsB,EACtB,gBAAgB,EAChB,+BAA+B,EAC/B,yBAAyB,EACzB,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EAE1B,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,qBAAa,2BAA4B,YAAW,uBAAuB;IACzE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;OAMG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,WAAW,CAAC;YA2B3B,cAAc;YA6Bd,aAAa;IAc5B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK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CAAC,yBAAyB,CAAC,EAC7C,yBAAyB,CAC1B,CACF;IA2DD;;;;;;;;OAQG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAWrC;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -0,0 +1,453 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.OuContainerOperationGrpImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ const core_lro_1 = require("@azure/core-lro");
17
+ const lroImpl_js_1 = require("../lroImpl.js");
18
+ /// <reference lib="esnext.asynciterable" />
19
+ /** Class containing OuContainerOperationGrp operations. */
20
+ class OuContainerOperationGrpImpl {
21
+ /**
22
+ * Initialize a new instance of the class OuContainerOperationGrp class.
23
+ * @param client Reference to the service client
24
+ */
25
+ constructor(client) {
26
+ this.client = client;
27
+ }
28
+ /**
29
+ * The List of OuContainers in DomainService instance.
30
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
31
+ * case insensitive.
32
+ * @param domainServiceName The name of the domain service.
33
+ * @param options The options parameters.
34
+ */
35
+ list(resourceGroupName, domainServiceName, options) {
36
+ const iter = this.listPagingAll(resourceGroupName, domainServiceName, options);
37
+ return {
38
+ next() {
39
+ return iter.next();
40
+ },
41
+ [Symbol.asyncIterator]() {
42
+ return this;
43
+ },
44
+ byPage: (settings) => {
45
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
46
+ throw new Error("maxPageSize is not supported by this operation.");
47
+ }
48
+ return this.listPagingPage(resourceGroupName, domainServiceName, options, settings);
49
+ }
50
+ };
51
+ }
52
+ listPagingPage(resourceGroupName, domainServiceName, options, settings) {
53
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
54
+ let result;
55
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
56
+ if (!continuationToken) {
57
+ result = yield tslib_1.__await(this._list(resourceGroupName, domainServiceName, options));
58
+ let page = result.value || [];
59
+ continuationToken = result.nextLink;
60
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
61
+ yield yield tslib_1.__await(page);
62
+ }
63
+ while (continuationToken) {
64
+ result = yield tslib_1.__await(this._listNext(resourceGroupName, domainServiceName, continuationToken, options));
65
+ continuationToken = result.nextLink;
66
+ let page = result.value || [];
67
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
68
+ yield yield tslib_1.__await(page);
69
+ }
70
+ });
71
+ }
72
+ listPagingAll(resourceGroupName, domainServiceName, options) {
73
+ return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
74
+ var _a, e_1, _b, _c;
75
+ try {
76
+ for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, domainServiceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
77
+ _c = _f.value;
78
+ _d = false;
79
+ const page = _c;
80
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
81
+ }
82
+ }
83
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
84
+ finally {
85
+ try {
86
+ if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
87
+ }
88
+ finally { if (e_1) throw e_1.error; }
89
+ }
90
+ });
91
+ }
92
+ /**
93
+ * The List of OuContainers in DomainService instance.
94
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
95
+ * case insensitive.
96
+ * @param domainServiceName The name of the domain service.
97
+ * @param options The options parameters.
98
+ */
99
+ _list(resourceGroupName, domainServiceName, options) {
100
+ return this.client.sendOperationRequest({ resourceGroupName, domainServiceName, options }, listOperationSpec);
101
+ }
102
+ /**
103
+ * Get OuContainer in DomainService instance.
104
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
105
+ * case insensitive.
106
+ * @param domainServiceName The name of the domain service.
107
+ * @param ouContainerName The name of the OuContainer.
108
+ * @param options The options parameters.
109
+ */
110
+ get(resourceGroupName, domainServiceName, ouContainerName, options) {
111
+ return this.client.sendOperationRequest({ resourceGroupName, domainServiceName, ouContainerName, options }, getOperationSpec);
112
+ }
113
+ /**
114
+ * The Create OuContainer operation creates a new OuContainer under the specified Domain Service
115
+ * instance.
116
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
117
+ * case insensitive.
118
+ * @param domainServiceName The name of the domain service.
119
+ * @param ouContainerName The name of the OuContainer.
120
+ * @param containerAccount Container Account Description.
121
+ * @param options The options parameters.
122
+ */
123
+ async beginCreate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
124
+ const directSendOperation = async (args, spec) => {
125
+ return this.client.sendOperationRequest(args, spec);
126
+ };
127
+ const sendOperation = async (args, spec) => {
128
+ var _a;
129
+ let currentRawResponse = undefined;
130
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
131
+ const callback = (rawResponse, flatResponse) => {
132
+ currentRawResponse = rawResponse;
133
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
134
+ };
135
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
136
+ const flatResponse = await directSendOperation(updatedArgs, spec);
137
+ return {
138
+ flatResponse,
139
+ rawResponse: {
140
+ statusCode: currentRawResponse.status,
141
+ body: currentRawResponse.parsedBody,
142
+ headers: currentRawResponse.headers.toJSON()
143
+ }
144
+ };
145
+ };
146
+ const lro = new lroImpl_js_1.LroImpl(sendOperation, {
147
+ resourceGroupName,
148
+ domainServiceName,
149
+ ouContainerName,
150
+ containerAccount,
151
+ options
152
+ }, createOperationSpec);
153
+ const poller = new core_lro_1.LroEngine(lro, {
154
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
155
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
156
+ });
157
+ await poller.poll();
158
+ return poller;
159
+ }
160
+ /**
161
+ * The Create OuContainer operation creates a new OuContainer under the specified Domain Service
162
+ * instance.
163
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
164
+ * case insensitive.
165
+ * @param domainServiceName The name of the domain service.
166
+ * @param ouContainerName The name of the OuContainer.
167
+ * @param containerAccount Container Account Description.
168
+ * @param options The options parameters.
169
+ */
170
+ async beginCreateAndWait(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
171
+ const poller = await this.beginCreate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options);
172
+ return poller.pollUntilDone();
173
+ }
174
+ /**
175
+ * The Delete OuContainer operation deletes specified OuContainer.
176
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
177
+ * case insensitive.
178
+ * @param domainServiceName The name of the domain service.
179
+ * @param ouContainerName The name of the OuContainer.
180
+ * @param options The options parameters.
181
+ */
182
+ async beginDelete(resourceGroupName, domainServiceName, ouContainerName, options) {
183
+ const directSendOperation = async (args, spec) => {
184
+ return this.client.sendOperationRequest(args, spec);
185
+ };
186
+ const sendOperation = async (args, spec) => {
187
+ var _a;
188
+ let currentRawResponse = undefined;
189
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
190
+ const callback = (rawResponse, flatResponse) => {
191
+ currentRawResponse = rawResponse;
192
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
193
+ };
194
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
195
+ const flatResponse = await directSendOperation(updatedArgs, spec);
196
+ return {
197
+ flatResponse,
198
+ rawResponse: {
199
+ statusCode: currentRawResponse.status,
200
+ body: currentRawResponse.parsedBody,
201
+ headers: currentRawResponse.headers.toJSON()
202
+ }
203
+ };
204
+ };
205
+ const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, domainServiceName, ouContainerName, options }, deleteOperationSpec);
206
+ const poller = new core_lro_1.LroEngine(lro, {
207
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
208
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
209
+ });
210
+ await poller.poll();
211
+ return poller;
212
+ }
213
+ /**
214
+ * The Delete OuContainer operation deletes specified OuContainer.
215
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
216
+ * case insensitive.
217
+ * @param domainServiceName The name of the domain service.
218
+ * @param ouContainerName The name of the OuContainer.
219
+ * @param options The options parameters.
220
+ */
221
+ async beginDeleteAndWait(resourceGroupName, domainServiceName, ouContainerName, options) {
222
+ const poller = await this.beginDelete(resourceGroupName, domainServiceName, ouContainerName, options);
223
+ return poller.pollUntilDone();
224
+ }
225
+ /**
226
+ * The Update OuContainer operation can be used to update the existing OuContainers.
227
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
228
+ * case insensitive.
229
+ * @param domainServiceName The name of the domain service.
230
+ * @param ouContainerName The name of the OuContainer.
231
+ * @param containerAccount Container Account Description.
232
+ * @param options The options parameters.
233
+ */
234
+ async beginUpdate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
235
+ const directSendOperation = async (args, spec) => {
236
+ return this.client.sendOperationRequest(args, spec);
237
+ };
238
+ const sendOperation = async (args, spec) => {
239
+ var _a;
240
+ let currentRawResponse = undefined;
241
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
242
+ const callback = (rawResponse, flatResponse) => {
243
+ currentRawResponse = rawResponse;
244
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
245
+ };
246
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
247
+ const flatResponse = await directSendOperation(updatedArgs, spec);
248
+ return {
249
+ flatResponse,
250
+ rawResponse: {
251
+ statusCode: currentRawResponse.status,
252
+ body: currentRawResponse.parsedBody,
253
+ headers: currentRawResponse.headers.toJSON()
254
+ }
255
+ };
256
+ };
257
+ const lro = new lroImpl_js_1.LroImpl(sendOperation, {
258
+ resourceGroupName,
259
+ domainServiceName,
260
+ ouContainerName,
261
+ containerAccount,
262
+ options
263
+ }, updateOperationSpec);
264
+ const poller = new core_lro_1.LroEngine(lro, {
265
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
266
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
267
+ });
268
+ await poller.poll();
269
+ return poller;
270
+ }
271
+ /**
272
+ * The Update OuContainer operation can be used to update the existing OuContainers.
273
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
274
+ * case insensitive.
275
+ * @param domainServiceName The name of the domain service.
276
+ * @param ouContainerName The name of the OuContainer.
277
+ * @param containerAccount Container Account Description.
278
+ * @param options The options parameters.
279
+ */
280
+ async beginUpdateAndWait(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
281
+ const poller = await this.beginUpdate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options);
282
+ return poller.pollUntilDone();
283
+ }
284
+ /**
285
+ * ListNext
286
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
287
+ * case insensitive.
288
+ * @param domainServiceName The name of the domain service.
289
+ * @param nextLink The nextLink from the previous successful call to the List method.
290
+ * @param options The options parameters.
291
+ */
292
+ _listNext(resourceGroupName, domainServiceName, nextLink, options) {
293
+ return this.client.sendOperationRequest({ resourceGroupName, domainServiceName, nextLink, options }, listNextOperationSpec);
294
+ }
295
+ }
296
+ exports.OuContainerOperationGrpImpl = OuContainerOperationGrpImpl;
297
+ // Operation Specifications
298
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
299
+ const listOperationSpec = {
300
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer",
301
+ httpMethod: "GET",
302
+ responses: {
303
+ 200: {
304
+ bodyMapper: Mappers.OuContainerListResult
305
+ },
306
+ default: {
307
+ bodyMapper: Mappers.CloudError
308
+ }
309
+ },
310
+ queryParameters: [Parameters.apiVersion],
311
+ urlParameters: [
312
+ Parameters.$host,
313
+ Parameters.subscriptionId,
314
+ Parameters.resourceGroupName,
315
+ Parameters.domainServiceName
316
+ ],
317
+ headerParameters: [Parameters.accept],
318
+ serializer
319
+ };
320
+ const getOperationSpec = {
321
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
322
+ httpMethod: "GET",
323
+ responses: {
324
+ 200: {
325
+ bodyMapper: Mappers.OuContainer
326
+ },
327
+ default: {
328
+ bodyMapper: Mappers.CloudError
329
+ }
330
+ },
331
+ queryParameters: [Parameters.apiVersion],
332
+ urlParameters: [
333
+ Parameters.$host,
334
+ Parameters.subscriptionId,
335
+ Parameters.resourceGroupName,
336
+ Parameters.domainServiceName,
337
+ Parameters.ouContainerName
338
+ ],
339
+ headerParameters: [Parameters.accept],
340
+ serializer
341
+ };
342
+ const createOperationSpec = {
343
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
344
+ httpMethod: "PUT",
345
+ responses: {
346
+ 200: {
347
+ bodyMapper: Mappers.OuContainer
348
+ },
349
+ 201: {
350
+ bodyMapper: Mappers.OuContainer
351
+ },
352
+ 202: {
353
+ bodyMapper: Mappers.OuContainer
354
+ },
355
+ 204: {
356
+ bodyMapper: Mappers.OuContainer
357
+ },
358
+ default: {
359
+ bodyMapper: Mappers.CloudError
360
+ }
361
+ },
362
+ requestBody: Parameters.containerAccount,
363
+ queryParameters: [Parameters.apiVersion],
364
+ urlParameters: [
365
+ Parameters.$host,
366
+ Parameters.subscriptionId,
367
+ Parameters.resourceGroupName,
368
+ Parameters.domainServiceName,
369
+ Parameters.ouContainerName
370
+ ],
371
+ headerParameters: [Parameters.accept, Parameters.contentType],
372
+ mediaType: "json",
373
+ serializer
374
+ };
375
+ const deleteOperationSpec = {
376
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
377
+ httpMethod: "DELETE",
378
+ responses: {
379
+ 200: {},
380
+ 201: {},
381
+ 202: {},
382
+ 204: {},
383
+ default: {
384
+ bodyMapper: Mappers.CloudError
385
+ }
386
+ },
387
+ queryParameters: [Parameters.apiVersion],
388
+ urlParameters: [
389
+ Parameters.$host,
390
+ Parameters.subscriptionId,
391
+ Parameters.resourceGroupName,
392
+ Parameters.domainServiceName,
393
+ Parameters.ouContainerName
394
+ ],
395
+ headerParameters: [Parameters.accept],
396
+ serializer
397
+ };
398
+ const updateOperationSpec = {
399
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
400
+ httpMethod: "PATCH",
401
+ responses: {
402
+ 200: {
403
+ bodyMapper: Mappers.OuContainer
404
+ },
405
+ 201: {
406
+ bodyMapper: Mappers.OuContainer
407
+ },
408
+ 202: {
409
+ bodyMapper: Mappers.OuContainer
410
+ },
411
+ 204: {
412
+ bodyMapper: Mappers.OuContainer
413
+ },
414
+ default: {
415
+ bodyMapper: Mappers.CloudError
416
+ }
417
+ },
418
+ requestBody: Parameters.containerAccount,
419
+ queryParameters: [Parameters.apiVersion],
420
+ urlParameters: [
421
+ Parameters.$host,
422
+ Parameters.subscriptionId,
423
+ Parameters.resourceGroupName,
424
+ Parameters.domainServiceName,
425
+ Parameters.ouContainerName
426
+ ],
427
+ headerParameters: [Parameters.accept, Parameters.contentType],
428
+ mediaType: "json",
429
+ serializer
430
+ };
431
+ const listNextOperationSpec = {
432
+ path: "{nextLink}",
433
+ httpMethod: "GET",
434
+ responses: {
435
+ 200: {
436
+ bodyMapper: Mappers.OuContainerListResult
437
+ },
438
+ default: {
439
+ bodyMapper: Mappers.CloudError
440
+ }
441
+ },
442
+ queryParameters: [Parameters.apiVersion],
443
+ urlParameters: [
444
+ Parameters.$host,
445
+ Parameters.nextLink,
446
+ Parameters.subscriptionId,
447
+ Parameters.resourceGroupName,
448
+ Parameters.domainServiceName
449
+ ],
450
+ headerParameters: [Parameters.accept],
451
+ serializer
452
+ };
453
+ //# sourceMappingURL=ouContainerOperationGrp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ouContainerOperationGrp.js","sourceRoot":"","sources":["../../../src/operations/ouContainerOperationGrp.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAiBxC,4CAA4C;AAC5C,2DAA2D;AAC3D,MAAa,2BAA2B;IAGtC;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,iBAAyB,EACzB,iBAAyB,EACzB,OAAuC;QAEvC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,C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AC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { OuContainerOperationGrp } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DomainServicesResourceProvider } from \"../domainServicesResourceProvider.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n OuContainer,\n OuContainerListNextOptionalParams,\n OuContainerListOptionalParams,\n OuContainerListResponse,\n OuContainerGetOptionalParams,\n OuContainerGetResponse,\n ContainerAccount,\n OuContainerCreateOptionalParams,\n OuContainerCreateResponse,\n OuContainerDeleteOptionalParams,\n OuContainerUpdateOptionalParams,\n OuContainerUpdateResponse,\n OuContainerListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing OuContainerOperationGrp operations. */\nexport class OuContainerOperationGrpImpl implements OuContainerOperationGrp {\n private readonly client: DomainServicesResourceProvider;\n\n /**\n * Initialize a new instance of the class OuContainerOperationGrp class.\n * @param client Reference to the service client\n */\n constructor(client: DomainServicesResourceProvider) {\n this.client = client;\n }\n\n /**\n * The List of OuContainers in DomainService instance.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n domainServiceName: string,\n options?: OuContainerListOptionalParams\n ): PagedAsyncIterableIterator<OuContainer> {\n const iter = this.listPagingAll(\n resourceGroupName,\n domainServiceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n domainServiceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n domainServiceName: string,\n options?: OuContainerListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<OuContainer[]> {\n let result: OuContainerListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, domainServiceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n domainServiceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n domainServiceName: string,\n options?: OuContainerListOptionalParams\n ): AsyncIterableIterator<OuContainer> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n domainServiceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The List of OuContainers in DomainService instance.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n domainServiceName: string,\n options?: OuContainerListOptionalParams\n ): Promise<OuContainerListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, domainServiceName, options },\n listOperationSpec\n );\n }\n\n /**\n * Get OuContainer in DomainService instance.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n options?: OuContainerGetOptionalParams\n ): Promise<OuContainerGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, domainServiceName, ouContainerName, options },\n getOperationSpec\n );\n }\n\n /**\n * The Create OuContainer operation creates a new OuContainer under the specified Domain Service\n * instance.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param containerAccount Container Account Description.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n containerAccount: ContainerAccount,\n options?: OuContainerCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<OuContainerCreateResponse>,\n OuContainerCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<OuContainerCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n domainServiceName,\n ouContainerName,\n containerAccount,\n options\n },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The Create OuContainer operation creates a new OuContainer under the specified Domain Service\n * instance.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param containerAccount Container Account Description.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n containerAccount: ContainerAccount,\n options?: OuContainerCreateOptionalParams\n ): Promise<OuContainerCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n domainServiceName,\n ouContainerName,\n containerAccount,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The Delete OuContainer operation deletes specified OuContainer.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n options?: OuContainerDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, domainServiceName, ouContainerName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The Delete OuContainer operation deletes specified OuContainer.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n options?: OuContainerDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n domainServiceName,\n ouContainerName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The Update OuContainer operation can be used to update the existing OuContainers.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param containerAccount Container Account Description.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n containerAccount: ContainerAccount,\n options?: OuContainerUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<OuContainerUpdateResponse>,\n OuContainerUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<OuContainerUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n domainServiceName,\n ouContainerName,\n containerAccount,\n options\n },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The Update OuContainer operation can be used to update the existing OuContainers.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param ouContainerName The name of the OuContainer.\n * @param containerAccount Container Account Description.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n domainServiceName: string,\n ouContainerName: string,\n containerAccount: ContainerAccount,\n options?: OuContainerUpdateOptionalParams\n ): Promise<OuContainerUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n domainServiceName,\n ouContainerName,\n containerAccount,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param domainServiceName The name of the domain service.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n domainServiceName: string,\n nextLink: string,\n options?: OuContainerListNextOptionalParams\n ): Promise<OuContainerListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, domainServiceName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OuContainerListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OuContainer\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName,\n Parameters.ouContainerName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.OuContainer\n },\n 201: {\n bodyMapper: Mappers.OuContainer\n },\n 202: {\n bodyMapper: Mappers.OuContainer\n },\n 204: {\n bodyMapper: Mappers.OuContainer\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.containerAccount,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName,\n Parameters.ouContainerName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName,\n Parameters.ouContainerName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.OuContainer\n },\n 201: {\n bodyMapper: Mappers.OuContainer\n },\n 202: {\n bodyMapper: Mappers.OuContainer\n },\n 204: {\n bodyMapper: Mappers.OuContainer\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.containerAccount,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName,\n Parameters.ouContainerName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OuContainerListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.domainServiceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}