@azure/arm-domainservices 4.1.1-alpha.20250123.1 → 4.1.1-alpha.20250127.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,449 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
+ import { LroEngine } from "@azure/core-lro";
14
+ import { LroImpl } from "../lroImpl.js";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing OuContainerOperationGrp operations. */
17
+ export class OuContainerOperationGrpImpl {
18
+ /**
19
+ * Initialize a new instance of the class OuContainerOperationGrp class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * The List of OuContainers in DomainService instance.
27
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
28
+ * case insensitive.
29
+ * @param domainServiceName The name of the domain service.
30
+ * @param options The options parameters.
31
+ */
32
+ list(resourceGroupName, domainServiceName, options) {
33
+ const iter = this.listPagingAll(resourceGroupName, domainServiceName, options);
34
+ return {
35
+ next() {
36
+ return iter.next();
37
+ },
38
+ [Symbol.asyncIterator]() {
39
+ return this;
40
+ },
41
+ byPage: (settings) => {
42
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
+ throw new Error("maxPageSize is not supported by this operation.");
44
+ }
45
+ return this.listPagingPage(resourceGroupName, domainServiceName, options, settings);
46
+ }
47
+ };
48
+ }
49
+ listPagingPage(resourceGroupName, domainServiceName, options, settings) {
50
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
51
+ let result;
52
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
+ if (!continuationToken) {
54
+ result = yield __await(this._list(resourceGroupName, domainServiceName, options));
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ setContinuationToken(page, continuationToken);
58
+ yield yield __await(page);
59
+ }
60
+ while (continuationToken) {
61
+ result = yield __await(this._listNext(resourceGroupName, domainServiceName, continuationToken, options));
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ setContinuationToken(page, continuationToken);
65
+ yield yield __await(page);
66
+ }
67
+ });
68
+ }
69
+ listPagingAll(resourceGroupName, domainServiceName, options) {
70
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
71
+ var _a, e_1, _b, _c;
72
+ try {
73
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, domainServiceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
74
+ _c = _f.value;
75
+ _d = false;
76
+ const page = _c;
77
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
78
+ }
79
+ }
80
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
+ finally {
82
+ try {
83
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
84
+ }
85
+ finally { if (e_1) throw e_1.error; }
86
+ }
87
+ });
88
+ }
89
+ /**
90
+ * The List of OuContainers in DomainService instance.
91
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
92
+ * case insensitive.
93
+ * @param domainServiceName The name of the domain service.
94
+ * @param options The options parameters.
95
+ */
96
+ _list(resourceGroupName, domainServiceName, options) {
97
+ return this.client.sendOperationRequest({ resourceGroupName, domainServiceName, options }, listOperationSpec);
98
+ }
99
+ /**
100
+ * Get OuContainer in DomainService instance.
101
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
102
+ * case insensitive.
103
+ * @param domainServiceName The name of the domain service.
104
+ * @param ouContainerName The name of the OuContainer.
105
+ * @param options The options parameters.
106
+ */
107
+ get(resourceGroupName, domainServiceName, ouContainerName, options) {
108
+ return this.client.sendOperationRequest({ resourceGroupName, domainServiceName, ouContainerName, options }, getOperationSpec);
109
+ }
110
+ /**
111
+ * The Create OuContainer operation creates a new OuContainer under the specified Domain Service
112
+ * instance.
113
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
114
+ * case insensitive.
115
+ * @param domainServiceName The name of the domain service.
116
+ * @param ouContainerName The name of the OuContainer.
117
+ * @param containerAccount Container Account Description.
118
+ * @param options The options parameters.
119
+ */
120
+ async beginCreate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
121
+ const directSendOperation = async (args, spec) => {
122
+ return this.client.sendOperationRequest(args, spec);
123
+ };
124
+ const sendOperation = async (args, spec) => {
125
+ var _a;
126
+ let currentRawResponse = undefined;
127
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
128
+ const callback = (rawResponse, flatResponse) => {
129
+ currentRawResponse = rawResponse;
130
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
131
+ };
132
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
133
+ const flatResponse = await directSendOperation(updatedArgs, spec);
134
+ return {
135
+ flatResponse,
136
+ rawResponse: {
137
+ statusCode: currentRawResponse.status,
138
+ body: currentRawResponse.parsedBody,
139
+ headers: currentRawResponse.headers.toJSON()
140
+ }
141
+ };
142
+ };
143
+ const lro = new LroImpl(sendOperation, {
144
+ resourceGroupName,
145
+ domainServiceName,
146
+ ouContainerName,
147
+ containerAccount,
148
+ options
149
+ }, createOperationSpec);
150
+ const poller = new LroEngine(lro, {
151
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
152
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
153
+ });
154
+ await poller.poll();
155
+ return poller;
156
+ }
157
+ /**
158
+ * The Create OuContainer operation creates a new OuContainer under the specified Domain Service
159
+ * instance.
160
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
161
+ * case insensitive.
162
+ * @param domainServiceName The name of the domain service.
163
+ * @param ouContainerName The name of the OuContainer.
164
+ * @param containerAccount Container Account Description.
165
+ * @param options The options parameters.
166
+ */
167
+ async beginCreateAndWait(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
168
+ const poller = await this.beginCreate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options);
169
+ return poller.pollUntilDone();
170
+ }
171
+ /**
172
+ * The Delete OuContainer operation deletes specified OuContainer.
173
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
174
+ * case insensitive.
175
+ * @param domainServiceName The name of the domain service.
176
+ * @param ouContainerName The name of the OuContainer.
177
+ * @param options The options parameters.
178
+ */
179
+ async beginDelete(resourceGroupName, domainServiceName, ouContainerName, options) {
180
+ const directSendOperation = async (args, spec) => {
181
+ return this.client.sendOperationRequest(args, spec);
182
+ };
183
+ const sendOperation = async (args, spec) => {
184
+ var _a;
185
+ let currentRawResponse = undefined;
186
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
187
+ const callback = (rawResponse, flatResponse) => {
188
+ currentRawResponse = rawResponse;
189
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
190
+ };
191
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
192
+ const flatResponse = await directSendOperation(updatedArgs, spec);
193
+ return {
194
+ flatResponse,
195
+ rawResponse: {
196
+ statusCode: currentRawResponse.status,
197
+ body: currentRawResponse.parsedBody,
198
+ headers: currentRawResponse.headers.toJSON()
199
+ }
200
+ };
201
+ };
202
+ const lro = new LroImpl(sendOperation, { resourceGroupName, domainServiceName, ouContainerName, options }, deleteOperationSpec);
203
+ const poller = new LroEngine(lro, {
204
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
205
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
206
+ });
207
+ await poller.poll();
208
+ return poller;
209
+ }
210
+ /**
211
+ * The Delete OuContainer operation deletes specified OuContainer.
212
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
213
+ * case insensitive.
214
+ * @param domainServiceName The name of the domain service.
215
+ * @param ouContainerName The name of the OuContainer.
216
+ * @param options The options parameters.
217
+ */
218
+ async beginDeleteAndWait(resourceGroupName, domainServiceName, ouContainerName, options) {
219
+ const poller = await this.beginDelete(resourceGroupName, domainServiceName, ouContainerName, options);
220
+ return poller.pollUntilDone();
221
+ }
222
+ /**
223
+ * The Update OuContainer operation can be used to update the existing OuContainers.
224
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
225
+ * case insensitive.
226
+ * @param domainServiceName The name of the domain service.
227
+ * @param ouContainerName The name of the OuContainer.
228
+ * @param containerAccount Container Account Description.
229
+ * @param options The options parameters.
230
+ */
231
+ async beginUpdate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
232
+ const directSendOperation = async (args, spec) => {
233
+ return this.client.sendOperationRequest(args, spec);
234
+ };
235
+ const sendOperation = async (args, spec) => {
236
+ var _a;
237
+ let currentRawResponse = undefined;
238
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
239
+ const callback = (rawResponse, flatResponse) => {
240
+ currentRawResponse = rawResponse;
241
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
242
+ };
243
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
244
+ const flatResponse = await directSendOperation(updatedArgs, spec);
245
+ return {
246
+ flatResponse,
247
+ rawResponse: {
248
+ statusCode: currentRawResponse.status,
249
+ body: currentRawResponse.parsedBody,
250
+ headers: currentRawResponse.headers.toJSON()
251
+ }
252
+ };
253
+ };
254
+ const lro = new LroImpl(sendOperation, {
255
+ resourceGroupName,
256
+ domainServiceName,
257
+ ouContainerName,
258
+ containerAccount,
259
+ options
260
+ }, updateOperationSpec);
261
+ const poller = new LroEngine(lro, {
262
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
263
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
264
+ });
265
+ await poller.poll();
266
+ return poller;
267
+ }
268
+ /**
269
+ * The Update OuContainer operation can be used to update the existing OuContainers.
270
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
271
+ * case insensitive.
272
+ * @param domainServiceName The name of the domain service.
273
+ * @param ouContainerName The name of the OuContainer.
274
+ * @param containerAccount Container Account Description.
275
+ * @param options The options parameters.
276
+ */
277
+ async beginUpdateAndWait(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options) {
278
+ const poller = await this.beginUpdate(resourceGroupName, domainServiceName, ouContainerName, containerAccount, options);
279
+ return poller.pollUntilDone();
280
+ }
281
+ /**
282
+ * ListNext
283
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
284
+ * case insensitive.
285
+ * @param domainServiceName The name of the domain service.
286
+ * @param nextLink The nextLink from the previous successful call to the List method.
287
+ * @param options The options parameters.
288
+ */
289
+ _listNext(resourceGroupName, domainServiceName, nextLink, options) {
290
+ return this.client.sendOperationRequest({ resourceGroupName, domainServiceName, nextLink, options }, listNextOperationSpec);
291
+ }
292
+ }
293
+ // Operation Specifications
294
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
295
+ const listOperationSpec = {
296
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer",
297
+ httpMethod: "GET",
298
+ responses: {
299
+ 200: {
300
+ bodyMapper: Mappers.OuContainerListResult
301
+ },
302
+ default: {
303
+ bodyMapper: Mappers.CloudError
304
+ }
305
+ },
306
+ queryParameters: [Parameters.apiVersion],
307
+ urlParameters: [
308
+ Parameters.$host,
309
+ Parameters.subscriptionId,
310
+ Parameters.resourceGroupName,
311
+ Parameters.domainServiceName
312
+ ],
313
+ headerParameters: [Parameters.accept],
314
+ serializer
315
+ };
316
+ const getOperationSpec = {
317
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
318
+ httpMethod: "GET",
319
+ responses: {
320
+ 200: {
321
+ bodyMapper: Mappers.OuContainer
322
+ },
323
+ default: {
324
+ bodyMapper: Mappers.CloudError
325
+ }
326
+ },
327
+ queryParameters: [Parameters.apiVersion],
328
+ urlParameters: [
329
+ Parameters.$host,
330
+ Parameters.subscriptionId,
331
+ Parameters.resourceGroupName,
332
+ Parameters.domainServiceName,
333
+ Parameters.ouContainerName
334
+ ],
335
+ headerParameters: [Parameters.accept],
336
+ serializer
337
+ };
338
+ const createOperationSpec = {
339
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
340
+ httpMethod: "PUT",
341
+ responses: {
342
+ 200: {
343
+ bodyMapper: Mappers.OuContainer
344
+ },
345
+ 201: {
346
+ bodyMapper: Mappers.OuContainer
347
+ },
348
+ 202: {
349
+ bodyMapper: Mappers.OuContainer
350
+ },
351
+ 204: {
352
+ bodyMapper: Mappers.OuContainer
353
+ },
354
+ default: {
355
+ bodyMapper: Mappers.CloudError
356
+ }
357
+ },
358
+ requestBody: Parameters.containerAccount,
359
+ queryParameters: [Parameters.apiVersion],
360
+ urlParameters: [
361
+ Parameters.$host,
362
+ Parameters.subscriptionId,
363
+ Parameters.resourceGroupName,
364
+ Parameters.domainServiceName,
365
+ Parameters.ouContainerName
366
+ ],
367
+ headerParameters: [Parameters.accept, Parameters.contentType],
368
+ mediaType: "json",
369
+ serializer
370
+ };
371
+ const deleteOperationSpec = {
372
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
373
+ httpMethod: "DELETE",
374
+ responses: {
375
+ 200: {},
376
+ 201: {},
377
+ 202: {},
378
+ 204: {},
379
+ default: {
380
+ bodyMapper: Mappers.CloudError
381
+ }
382
+ },
383
+ queryParameters: [Parameters.apiVersion],
384
+ urlParameters: [
385
+ Parameters.$host,
386
+ Parameters.subscriptionId,
387
+ Parameters.resourceGroupName,
388
+ Parameters.domainServiceName,
389
+ Parameters.ouContainerName
390
+ ],
391
+ headerParameters: [Parameters.accept],
392
+ serializer
393
+ };
394
+ const updateOperationSpec = {
395
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}",
396
+ httpMethod: "PATCH",
397
+ responses: {
398
+ 200: {
399
+ bodyMapper: Mappers.OuContainer
400
+ },
401
+ 201: {
402
+ bodyMapper: Mappers.OuContainer
403
+ },
404
+ 202: {
405
+ bodyMapper: Mappers.OuContainer
406
+ },
407
+ 204: {
408
+ bodyMapper: Mappers.OuContainer
409
+ },
410
+ default: {
411
+ bodyMapper: Mappers.CloudError
412
+ }
413
+ },
414
+ requestBody: Parameters.containerAccount,
415
+ queryParameters: [Parameters.apiVersion],
416
+ urlParameters: [
417
+ Parameters.$host,
418
+ Parameters.subscriptionId,
419
+ Parameters.resourceGroupName,
420
+ Parameters.domainServiceName,
421
+ Parameters.ouContainerName
422
+ ],
423
+ headerParameters: [Parameters.accept, Parameters.contentType],
424
+ mediaType: "json",
425
+ serializer
426
+ };
427
+ const listNextOperationSpec = {
428
+ path: "{nextLink}",
429
+ httpMethod: "GET",
430
+ responses: {
431
+ 200: {
432
+ bodyMapper: Mappers.OuContainerListResult
433
+ },
434
+ default: {
435
+ bodyMapper: Mappers.CloudError
436
+ }
437
+ },
438
+ queryParameters: [Parameters.apiVersion],
439
+ urlParameters: [
440
+ Parameters.$host,
441
+ Parameters.nextLink,
442
+ Parameters.subscriptionId,
443
+ Parameters.resourceGroupName,
444
+ Parameters.domainServiceName
445
+ ],
446
+ headerParameters: [Parameters.accept],
447
+ serializer
448
+ };
449
+ //# sourceMappingURL=ouContainerOperationGrp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ouContainerOperationGrp.js","sourceRoot":"","sources":["../../../src/operations/ouContainerOperationGrp.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAiBxC,4CAA4C;AAC5C,2DAA2D;AAC3D,MAAM,OAAO,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,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ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;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,gBAAgB;IACxC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;KAC7B;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"]}