@azure/arm-dns 5.2.0-alpha.20250124.1 → 5.2.0-alpha.20250127.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (404) hide show
  1. package/{dist-esm/src → dist/browser}/dnsManagementClient.d.ts +2 -2
  2. package/dist/browser/dnsManagementClient.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/dnsManagementClient.js +15 -18
  4. package/dist/browser/dnsManagementClient.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-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  10. package/{dist-esm/src → dist/browser}/lroImpl.js +0 -7
  11. package/dist/browser/lroImpl.js.map +1 -0
  12. package/dist/browser/models/index.js.map +1 -0
  13. package/dist/browser/models/mappers.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  15. package/dist/browser/models/parameters.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/dnsResourceReferenceOperations.d.ts +3 -3
  17. package/dist/browser/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/dnsResourceReferenceOperations.js +2 -2
  19. package/dist/browser/operations/dnsResourceReferenceOperations.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/dnssecConfigs.d.ts +3 -3
  21. package/dist/browser/operations/dnssecConfigs.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/dnssecConfigs.js +77 -85
  23. package/dist/browser/operations/dnssecConfigs.js.map +1 -0
  24. package/dist/browser/operations/index.d.ts +5 -0
  25. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  26. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
  27. package/dist/browser/operations/index.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/recordSets.d.ts +3 -3
  29. package/dist/browser/operations/recordSets.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/recordSets.js +3 -3
  31. package/dist/browser/operations/recordSets.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/zones.d.ts +3 -3
  33. package/dist/browser/operations/zones.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/zones.js +41 -45
  35. package/dist/browser/operations/zones.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operationsInterfaces/dnsResourceReferenceOperations.d.ts +1 -1
  37. package/dist/browser/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
  38. package/dist/browser/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operationsInterfaces/dnssecConfigs.d.ts +1 -1
  40. package/dist/browser/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
  41. package/dist/browser/operationsInterfaces/dnssecConfigs.js.map +1 -0
  42. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  44. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
  45. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.d.ts +1 -1
  47. package/dist/browser/operationsInterfaces/recordSets.d.ts.map +1 -0
  48. package/dist/browser/operationsInterfaces/recordSets.js.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operationsInterfaces/zones.d.ts +1 -1
  50. package/dist/browser/operationsInterfaces/zones.d.ts.map +1 -0
  51. package/dist/browser/operationsInterfaces/zones.js.map +1 -0
  52. package/dist/browser/package.json +3 -0
  53. package/dist/browser/pagingHelper.js.map +1 -0
  54. package/dist/commonjs/dnsManagementClient.d.ts +23 -0
  55. package/dist/commonjs/dnsManagementClient.d.ts.map +1 -0
  56. package/dist/commonjs/dnsManagementClient.js +106 -0
  57. package/dist/commonjs/dnsManagementClient.js.map +1 -0
  58. package/dist/commonjs/index.d.ts +5 -0
  59. package/dist/commonjs/index.d.ts.map +1 -0
  60. package/dist/commonjs/index.js +19 -0
  61. package/dist/commonjs/index.js.map +1 -0
  62. package/dist/commonjs/lroImpl.d.ts +11 -0
  63. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  64. package/dist/commonjs/lroImpl.js +17 -0
  65. package/dist/commonjs/lroImpl.js.map +1 -0
  66. package/{types/arm-dns.d.ts → dist/commonjs/models/index.d.ts} +639 -932
  67. package/dist/commonjs/models/index.d.ts.map +1 -0
  68. package/dist/commonjs/models/index.js +23 -0
  69. package/dist/commonjs/models/index.js.map +1 -0
  70. package/dist/commonjs/models/mappers.d.ts +36 -0
  71. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  72. package/dist/commonjs/models/mappers.js +1168 -0
  73. package/dist/commonjs/models/mappers.js.map +1 -0
  74. package/dist/commonjs/models/parameters.d.ts +21 -0
  75. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  76. package/dist/commonjs/models/parameters.js +201 -0
  77. package/dist/commonjs/models/parameters.js.map +1 -0
  78. package/dist/commonjs/operations/dnsResourceReferenceOperations.d.ts +19 -0
  79. package/dist/commonjs/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
  80. package/dist/commonjs/operations/dnsResourceReferenceOperations.js +54 -0
  81. package/dist/commonjs/operations/dnsResourceReferenceOperations.js.map +1 -0
  82. package/dist/commonjs/operations/dnssecConfigs.d.ts +74 -0
  83. package/dist/commonjs/operations/dnssecConfigs.d.ts.map +1 -0
  84. package/dist/commonjs/operations/dnssecConfigs.js +344 -0
  85. package/dist/commonjs/operations/dnssecConfigs.js.map +1 -0
  86. package/dist/commonjs/operations/index.d.ts +5 -0
  87. package/dist/commonjs/operations/index.d.ts.map +1 -0
  88. package/dist/commonjs/operations/index.js +15 -0
  89. package/dist/commonjs/operations/index.js.map +1 -0
  90. package/dist/commonjs/operations/recordSets.d.ts +129 -0
  91. package/dist/commonjs/operations/recordSets.d.ts.map +1 -0
  92. package/dist/commonjs/operations/recordSets.js +600 -0
  93. package/dist/commonjs/operations/recordSets.js.map +1 -0
  94. package/dist/commonjs/operations/zones.d.ts +93 -0
  95. package/dist/commonjs/operations/zones.d.ts.map +1 -0
  96. package/dist/commonjs/operations/zones.js +445 -0
  97. package/dist/commonjs/operations/zones.js.map +1 -0
  98. package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
  99. package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
  100. package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.js +10 -0
  101. package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
  102. package/dist/commonjs/operationsInterfaces/dnssecConfigs.d.ts +49 -0
  103. package/dist/commonjs/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
  104. package/dist/commonjs/operationsInterfaces/dnssecConfigs.js +10 -0
  105. package/dist/commonjs/operationsInterfaces/dnssecConfigs.js.map +1 -0
  106. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  107. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  108. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  109. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/recordSets.d.ts +68 -0
  111. package/dist/commonjs/operationsInterfaces/recordSets.d.ts.map +1 -0
  112. package/dist/commonjs/operationsInterfaces/recordSets.js +10 -0
  113. package/dist/commonjs/operationsInterfaces/recordSets.js.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/zones.d.ts +57 -0
  115. package/dist/commonjs/operationsInterfaces/zones.d.ts.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/zones.js +10 -0
  117. package/dist/commonjs/operationsInterfaces/zones.js.map +1 -0
  118. package/dist/commonjs/package.json +3 -0
  119. package/dist/commonjs/pagingHelper.d.ts +13 -0
  120. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  121. package/dist/commonjs/pagingHelper.js +36 -0
  122. package/dist/commonjs/pagingHelper.js.map +1 -0
  123. package/dist/esm/dnsManagementClient.d.ts +23 -0
  124. package/dist/esm/dnsManagementClient.d.ts.map +1 -0
  125. package/dist/esm/dnsManagementClient.js +101 -0
  126. package/dist/esm/dnsManagementClient.js.map +1 -0
  127. package/dist/esm/index.d.ts +5 -0
  128. package/dist/esm/index.d.ts.map +1 -0
  129. package/{src/index.ts → dist/esm/index.js} +5 -5
  130. package/dist/esm/index.js.map +1 -0
  131. package/dist/esm/lroImpl.d.ts +11 -0
  132. package/dist/esm/lroImpl.d.ts.map +1 -0
  133. package/dist/esm/lroImpl.js +14 -0
  134. package/dist/esm/lroImpl.js.map +1 -0
  135. package/dist/esm/models/index.d.ts +639 -0
  136. package/dist/esm/models/index.d.ts.map +1 -0
  137. package/dist/esm/models/index.js +20 -0
  138. package/dist/esm/models/index.js.map +1 -0
  139. package/dist/esm/models/mappers.d.ts +36 -0
  140. package/dist/esm/models/mappers.d.ts.map +1 -0
  141. package/dist/esm/models/mappers.js +1165 -0
  142. package/dist/esm/models/mappers.js.map +1 -0
  143. package/dist/esm/models/parameters.d.ts +21 -0
  144. package/dist/esm/models/parameters.d.ts.map +1 -0
  145. package/dist/esm/models/parameters.js +198 -0
  146. package/dist/esm/models/parameters.js.map +1 -0
  147. package/dist/esm/operations/dnsResourceReferenceOperations.d.ts +19 -0
  148. package/dist/esm/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
  149. package/dist/esm/operations/dnsResourceReferenceOperations.js +49 -0
  150. package/dist/esm/operations/dnsResourceReferenceOperations.js.map +1 -0
  151. package/dist/esm/operations/dnssecConfigs.d.ts +74 -0
  152. package/dist/esm/operations/dnssecConfigs.d.ts.map +1 -0
  153. package/dist/esm/operations/dnssecConfigs.js +340 -0
  154. package/dist/esm/operations/dnssecConfigs.js.map +1 -0
  155. package/dist/esm/operations/index.d.ts +5 -0
  156. package/dist/esm/operations/index.d.ts.map +1 -0
  157. package/dist/esm/operations/index.js +12 -0
  158. package/dist/esm/operations/index.js.map +1 -0
  159. package/dist/esm/operations/recordSets.d.ts +129 -0
  160. package/dist/esm/operations/recordSets.d.ts.map +1 -0
  161. package/dist/esm/operations/recordSets.js +596 -0
  162. package/dist/esm/operations/recordSets.js.map +1 -0
  163. package/dist/esm/operations/zones.d.ts +93 -0
  164. package/dist/esm/operations/zones.d.ts.map +1 -0
  165. package/dist/esm/operations/zones.js +441 -0
  166. package/dist/esm/operations/zones.js.map +1 -0
  167. package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
  168. package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
  169. package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.js +9 -0
  170. package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
  171. package/dist/esm/operationsInterfaces/dnssecConfigs.d.ts +49 -0
  172. package/dist/esm/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
  173. package/dist/esm/operationsInterfaces/dnssecConfigs.js +9 -0
  174. package/dist/esm/operationsInterfaces/dnssecConfigs.js.map +1 -0
  175. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  176. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  177. package/dist/esm/operationsInterfaces/index.js +12 -0
  178. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  179. package/dist/esm/operationsInterfaces/recordSets.d.ts +68 -0
  180. package/dist/esm/operationsInterfaces/recordSets.d.ts.map +1 -0
  181. package/dist/esm/operationsInterfaces/recordSets.js +9 -0
  182. package/dist/esm/operationsInterfaces/recordSets.js.map +1 -0
  183. package/dist/esm/operationsInterfaces/zones.d.ts +57 -0
  184. package/dist/esm/operationsInterfaces/zones.d.ts.map +1 -0
  185. package/dist/esm/operationsInterfaces/zones.js +9 -0
  186. package/dist/esm/operationsInterfaces/zones.js.map +1 -0
  187. package/dist/esm/package.json +3 -0
  188. package/dist/esm/pagingHelper.d.ts +13 -0
  189. package/dist/esm/pagingHelper.d.ts.map +1 -0
  190. package/dist/esm/pagingHelper.js +32 -0
  191. package/dist/esm/pagingHelper.js.map +1 -0
  192. package/dist/react-native/dnsManagementClient.d.ts +23 -0
  193. package/dist/react-native/dnsManagementClient.d.ts.map +1 -0
  194. package/dist/react-native/dnsManagementClient.js +101 -0
  195. package/dist/react-native/dnsManagementClient.js.map +1 -0
  196. package/dist/react-native/index.d.ts +5 -0
  197. package/dist/react-native/index.d.ts.map +1 -0
  198. package/dist/react-native/index.js +13 -0
  199. package/dist/react-native/index.js.map +1 -0
  200. package/dist/react-native/lroImpl.d.ts +11 -0
  201. package/dist/react-native/lroImpl.d.ts.map +1 -0
  202. package/dist/react-native/lroImpl.js +14 -0
  203. package/dist/react-native/lroImpl.js.map +1 -0
  204. package/dist/react-native/models/index.d.ts +639 -0
  205. package/dist/react-native/models/index.d.ts.map +1 -0
  206. package/dist/react-native/models/index.js +20 -0
  207. package/dist/react-native/models/index.js.map +1 -0
  208. package/dist/react-native/models/mappers.d.ts +36 -0
  209. package/dist/react-native/models/mappers.d.ts.map +1 -0
  210. package/dist/react-native/models/mappers.js +1165 -0
  211. package/dist/react-native/models/mappers.js.map +1 -0
  212. package/dist/react-native/models/parameters.d.ts +21 -0
  213. package/dist/react-native/models/parameters.d.ts.map +1 -0
  214. package/dist/react-native/models/parameters.js +198 -0
  215. package/dist/react-native/models/parameters.js.map +1 -0
  216. package/dist/react-native/operations/dnsResourceReferenceOperations.d.ts +19 -0
  217. package/dist/react-native/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
  218. package/dist/react-native/operations/dnsResourceReferenceOperations.js +49 -0
  219. package/dist/react-native/operations/dnsResourceReferenceOperations.js.map +1 -0
  220. package/dist/react-native/operations/dnssecConfigs.d.ts +74 -0
  221. package/dist/react-native/operations/dnssecConfigs.d.ts.map +1 -0
  222. package/dist/react-native/operations/dnssecConfigs.js +340 -0
  223. package/dist/react-native/operations/dnssecConfigs.js.map +1 -0
  224. package/dist/react-native/operations/index.d.ts +5 -0
  225. package/dist/react-native/operations/index.d.ts.map +1 -0
  226. package/dist/react-native/operations/index.js +12 -0
  227. package/dist/react-native/operations/index.js.map +1 -0
  228. package/dist/react-native/operations/recordSets.d.ts +129 -0
  229. package/dist/react-native/operations/recordSets.d.ts.map +1 -0
  230. package/dist/react-native/operations/recordSets.js +596 -0
  231. package/dist/react-native/operations/recordSets.js.map +1 -0
  232. package/dist/react-native/operations/zones.d.ts +93 -0
  233. package/dist/react-native/operations/zones.d.ts.map +1 -0
  234. package/dist/react-native/operations/zones.js +441 -0
  235. package/dist/react-native/operations/zones.js.map +1 -0
  236. package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
  237. package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
  238. package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.js +9 -0
  239. package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
  240. package/dist/react-native/operationsInterfaces/dnssecConfigs.d.ts +49 -0
  241. package/dist/react-native/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
  242. package/dist/react-native/operationsInterfaces/dnssecConfigs.js +9 -0
  243. package/dist/react-native/operationsInterfaces/dnssecConfigs.js.map +1 -0
  244. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  245. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  246. package/dist/react-native/operationsInterfaces/index.js +12 -0
  247. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  248. package/dist/react-native/operationsInterfaces/recordSets.d.ts +68 -0
  249. package/dist/react-native/operationsInterfaces/recordSets.d.ts.map +1 -0
  250. package/dist/react-native/operationsInterfaces/recordSets.js +9 -0
  251. package/dist/react-native/operationsInterfaces/recordSets.js.map +1 -0
  252. package/dist/react-native/operationsInterfaces/zones.d.ts +57 -0
  253. package/dist/react-native/operationsInterfaces/zones.d.ts.map +1 -0
  254. package/dist/react-native/operationsInterfaces/zones.js +9 -0
  255. package/dist/react-native/operationsInterfaces/zones.js.map +1 -0
  256. package/dist/react-native/package.json +3 -0
  257. package/dist/react-native/pagingHelper.d.ts +13 -0
  258. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  259. package/dist/react-native/pagingHelper.js +32 -0
  260. package/dist/react-native/pagingHelper.js.map +1 -0
  261. package/package.json +74 -44
  262. package/dist/index.js +0 -3020
  263. package/dist/index.js.map +0 -1
  264. package/dist/index.min.js +0 -1
  265. package/dist/index.min.js.map +0 -1
  266. package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.d.ts +0 -2
  267. package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.d.ts.map +0 -1
  268. package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.js +0 -43
  269. package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.js.map +0 -1
  270. package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.d.ts +0 -2
  271. package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.d.ts.map +0 -1
  272. package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.js +0 -38
  273. package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.js.map +0 -1
  274. package/dist-esm/samples-dev/dnssecConfigsDeleteSample.d.ts +0 -2
  275. package/dist-esm/samples-dev/dnssecConfigsDeleteSample.d.ts.map +0 -1
  276. package/dist-esm/samples-dev/dnssecConfigsDeleteSample.js +0 -38
  277. package/dist-esm/samples-dev/dnssecConfigsDeleteSample.js.map +0 -1
  278. package/dist-esm/samples-dev/dnssecConfigsGetSample.d.ts +0 -2
  279. package/dist-esm/samples-dev/dnssecConfigsGetSample.d.ts.map +0 -1
  280. package/dist-esm/samples-dev/dnssecConfigsGetSample.js +0 -38
  281. package/dist-esm/samples-dev/dnssecConfigsGetSample.js.map +0 -1
  282. package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.d.ts +0 -2
  283. package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.d.ts.map +0 -1
  284. package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.js +0 -54
  285. package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.js.map +0 -1
  286. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.d.ts +0 -2
  287. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.d.ts.map +0 -1
  288. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js +0 -432
  289. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js.map +0 -1
  290. package/dist-esm/samples-dev/recordSetsDeleteSample.d.ts +0 -2
  291. package/dist-esm/samples-dev/recordSetsDeleteSample.d.ts.map +0 -1
  292. package/dist-esm/samples-dev/recordSetsDeleteSample.js +0 -260
  293. package/dist-esm/samples-dev/recordSetsDeleteSample.js.map +0 -1
  294. package/dist-esm/samples-dev/recordSetsGetSample.d.ts +0 -2
  295. package/dist-esm/samples-dev/recordSetsGetSample.d.ts.map +0 -1
  296. package/dist-esm/samples-dev/recordSetsGetSample.js +0 -280
  297. package/dist-esm/samples-dev/recordSetsGetSample.js.map +0 -1
  298. package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.d.ts +0 -2
  299. package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.d.ts.map +0 -1
  300. package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.js +0 -54
  301. package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.js.map +0 -1
  302. package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.d.ts +0 -2
  303. package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.d.ts.map +0 -1
  304. package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.js +0 -54
  305. package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.js.map +0 -1
  306. package/dist-esm/samples-dev/recordSetsListByTypeSample.d.ts +0 -2
  307. package/dist-esm/samples-dev/recordSetsListByTypeSample.d.ts.map +0 -1
  308. package/dist-esm/samples-dev/recordSetsListByTypeSample.js +0 -475
  309. package/dist-esm/samples-dev/recordSetsListByTypeSample.js.map +0 -1
  310. package/dist-esm/samples-dev/recordSetsUpdateSample.d.ts +0 -2
  311. package/dist-esm/samples-dev/recordSetsUpdateSample.d.ts.map +0 -1
  312. package/dist-esm/samples-dev/recordSetsUpdateSample.js +0 -293
  313. package/dist-esm/samples-dev/recordSetsUpdateSample.js.map +0 -1
  314. package/dist-esm/samples-dev/zonesCreateOrUpdateSample.d.ts +0 -2
  315. package/dist-esm/samples-dev/zonesCreateOrUpdateSample.d.ts.map +0 -1
  316. package/dist-esm/samples-dev/zonesCreateOrUpdateSample.js +0 -39
  317. package/dist-esm/samples-dev/zonesCreateOrUpdateSample.js.map +0 -1
  318. package/dist-esm/samples-dev/zonesDeleteSample.d.ts +0 -2
  319. package/dist-esm/samples-dev/zonesDeleteSample.d.ts.map +0 -1
  320. package/dist-esm/samples-dev/zonesDeleteSample.js +0 -38
  321. package/dist-esm/samples-dev/zonesDeleteSample.js.map +0 -1
  322. package/dist-esm/samples-dev/zonesGetSample.d.ts +0 -2
  323. package/dist-esm/samples-dev/zonesGetSample.d.ts.map +0 -1
  324. package/dist-esm/samples-dev/zonesGetSample.js +0 -38
  325. package/dist-esm/samples-dev/zonesGetSample.js.map +0 -1
  326. package/dist-esm/samples-dev/zonesListByResourceGroupSample.d.ts +0 -2
  327. package/dist-esm/samples-dev/zonesListByResourceGroupSample.d.ts.map +0 -1
  328. package/dist-esm/samples-dev/zonesListByResourceGroupSample.js +0 -53
  329. package/dist-esm/samples-dev/zonesListByResourceGroupSample.js.map +0 -1
  330. package/dist-esm/samples-dev/zonesListSample.d.ts +0 -2
  331. package/dist-esm/samples-dev/zonesListSample.d.ts.map +0 -1
  332. package/dist-esm/samples-dev/zonesListSample.js +0 -52
  333. package/dist-esm/samples-dev/zonesListSample.js.map +0 -1
  334. package/dist-esm/samples-dev/zonesUpdateSample.d.ts +0 -2
  335. package/dist-esm/samples-dev/zonesUpdateSample.d.ts.map +0 -1
  336. package/dist-esm/samples-dev/zonesUpdateSample.js +0 -39
  337. package/dist-esm/samples-dev/zonesUpdateSample.js.map +0 -1
  338. package/dist-esm/src/dnsManagementClient.d.ts.map +0 -1
  339. package/dist-esm/src/dnsManagementClient.js.map +0 -1
  340. package/dist-esm/src/index.d.ts +0 -5
  341. package/dist-esm/src/index.js.map +0 -1
  342. package/dist-esm/src/lroImpl.js.map +0 -1
  343. package/dist-esm/src/models/index.js.map +0 -1
  344. package/dist-esm/src/models/mappers.js.map +0 -1
  345. package/dist-esm/src/models/parameters.js.map +0 -1
  346. package/dist-esm/src/operations/dnsResourceReferenceOperations.d.ts.map +0 -1
  347. package/dist-esm/src/operations/dnsResourceReferenceOperations.js.map +0 -1
  348. package/dist-esm/src/operations/dnssecConfigs.d.ts.map +0 -1
  349. package/dist-esm/src/operations/dnssecConfigs.js.map +0 -1
  350. package/dist-esm/src/operations/index.d.ts +0 -5
  351. package/dist-esm/src/operations/index.js.map +0 -1
  352. package/dist-esm/src/operations/recordSets.d.ts.map +0 -1
  353. package/dist-esm/src/operations/recordSets.js.map +0 -1
  354. package/dist-esm/src/operations/zones.d.ts.map +0 -1
  355. package/dist-esm/src/operations/zones.js.map +0 -1
  356. package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +0 -1
  357. package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.js.map +0 -1
  358. package/dist-esm/src/operationsInterfaces/dnssecConfigs.d.ts.map +0 -1
  359. package/dist-esm/src/operationsInterfaces/dnssecConfigs.js.map +0 -1
  360. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  361. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  362. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +0 -1
  363. package/dist-esm/src/operationsInterfaces/recordSets.js.map +0 -1
  364. package/dist-esm/src/operationsInterfaces/zones.d.ts.map +0 -1
  365. package/dist-esm/src/operationsInterfaces/zones.js.map +0 -1
  366. package/dist-esm/src/pagingHelper.js.map +0 -1
  367. package/dist-esm/test/dns_operations_test.spec.d.ts +0 -4
  368. package/dist-esm/test/dns_operations_test.spec.d.ts.map +0 -1
  369. package/dist-esm/test/dns_operations_test.spec.js +0 -114
  370. package/dist-esm/test/dns_operations_test.spec.js.map +0 -1
  371. package/src/dnsManagementClient.ts +0 -158
  372. package/src/lroImpl.ts +0 -42
  373. package/src/models/index.ts +0 -746
  374. package/src/models/mappers.ts +0 -1212
  375. package/src/models/parameters.ts +0 -227
  376. package/src/operations/dnsResourceReferenceOperations.ts +0 -69
  377. package/src/operations/dnssecConfigs.ts +0 -468
  378. package/src/operations/index.ts +0 -12
  379. package/src/operations/recordSets.ts +0 -787
  380. package/src/operations/zones.ts +0 -545
  381. package/src/operationsInterfaces/dnsResourceReferenceOperations.ts +0 -26
  382. package/src/operationsInterfaces/dnssecConfigs.ts +0 -95
  383. package/src/operationsInterfaces/index.ts +0 -12
  384. package/src/operationsInterfaces/recordSets.ts +0 -129
  385. package/src/operationsInterfaces/zones.ts +0 -103
  386. package/src/pagingHelper.ts +0 -39
  387. package/tsconfig.json +0 -33
  388. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  389. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  390. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  391. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  392. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  393. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  394. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  395. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  396. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  397. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dnsResourceReferenceOperations.js +0 -0
  398. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dnssecConfigs.js +0 -0
  399. /package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.js +0 -0
  400. /package/{dist-esm/src → dist/browser}/operationsInterfaces/zones.js +0 -0
  401. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  402. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  403. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  404. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -5,13 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  import { createHttpPoller, } from "@azure/core-lro";
14
- import { createLroSpec } from "../lroImpl";
14
+ import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing DnssecConfigs operations. */
17
17
  export class DnssecConfigsImpl {
@@ -91,42 +91,40 @@ export class DnssecConfigsImpl {
91
91
  * @param zoneName The name of the DNS zone (without a terminating dot).
92
92
  * @param options The options parameters.
93
93
  */
94
- beginCreateOrUpdate(resourceGroupName, zoneName, options) {
95
- return __awaiter(this, void 0, void 0, function* () {
96
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
97
- return this.client.sendOperationRequest(args, spec);
98
- });
99
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
100
- var _a;
101
- let currentRawResponse = undefined;
102
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
103
- const callback = (rawResponse, flatResponse) => {
104
- currentRawResponse = rawResponse;
105
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
106
- };
107
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
108
- const flatResponse = yield directSendOperation(updatedArgs, spec);
109
- return {
110
- flatResponse,
111
- rawResponse: {
112
- statusCode: currentRawResponse.status,
113
- body: currentRawResponse.parsedBody,
114
- headers: currentRawResponse.headers.toJSON(),
115
- },
116
- };
117
- });
118
- const lro = createLroSpec({
119
- sendOperationFn,
120
- args: { resourceGroupName, zoneName, options },
121
- spec: createOrUpdateOperationSpec,
122
- });
123
- const poller = yield createHttpPoller(lro, {
124
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
125
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
126
- });
127
- yield poller.poll();
128
- return poller;
94
+ async beginCreateOrUpdate(resourceGroupName, zoneName, options) {
95
+ const directSendOperation = async (args, spec) => {
96
+ return this.client.sendOperationRequest(args, spec);
97
+ };
98
+ const sendOperationFn = async (args, spec) => {
99
+ var _a;
100
+ let currentRawResponse = undefined;
101
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
102
+ const callback = (rawResponse, flatResponse) => {
103
+ currentRawResponse = rawResponse;
104
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
105
+ };
106
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
107
+ const flatResponse = await directSendOperation(updatedArgs, spec);
108
+ return {
109
+ flatResponse,
110
+ rawResponse: {
111
+ statusCode: currentRawResponse.status,
112
+ body: currentRawResponse.parsedBody,
113
+ headers: currentRawResponse.headers.toJSON(),
114
+ },
115
+ };
116
+ };
117
+ const lro = createLroSpec({
118
+ sendOperationFn,
119
+ args: { resourceGroupName, zoneName, options },
120
+ spec: createOrUpdateOperationSpec,
129
121
  });
122
+ const poller = await createHttpPoller(lro, {
123
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
124
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
125
+ });
126
+ await poller.poll();
127
+ return poller;
130
128
  }
131
129
  /**
132
130
  * Creates or updates the DNSSEC configuration on a DNS zone.
@@ -134,11 +132,9 @@ export class DnssecConfigsImpl {
134
132
  * @param zoneName The name of the DNS zone (without a terminating dot).
135
133
  * @param options The options parameters.
136
134
  */
137
- beginCreateOrUpdateAndWait(resourceGroupName, zoneName, options) {
138
- return __awaiter(this, void 0, void 0, function* () {
139
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, zoneName, options);
140
- return poller.pollUntilDone();
141
- });
135
+ async beginCreateOrUpdateAndWait(resourceGroupName, zoneName, options) {
136
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, zoneName, options);
137
+ return poller.pollUntilDone();
142
138
  }
143
139
  /**
144
140
  * Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.
@@ -146,42 +142,40 @@ export class DnssecConfigsImpl {
146
142
  * @param zoneName The name of the DNS zone (without a terminating dot).
147
143
  * @param options The options parameters.
148
144
  */
149
- beginDelete(resourceGroupName, zoneName, options) {
150
- return __awaiter(this, void 0, void 0, function* () {
151
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
152
- return this.client.sendOperationRequest(args, spec);
153
- });
154
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
155
- var _a;
156
- let currentRawResponse = undefined;
157
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
158
- const callback = (rawResponse, flatResponse) => {
159
- currentRawResponse = rawResponse;
160
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
161
- };
162
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
163
- const flatResponse = yield directSendOperation(updatedArgs, spec);
164
- return {
165
- flatResponse,
166
- rawResponse: {
167
- statusCode: currentRawResponse.status,
168
- body: currentRawResponse.parsedBody,
169
- headers: currentRawResponse.headers.toJSON(),
170
- },
171
- };
172
- });
173
- const lro = createLroSpec({
174
- sendOperationFn,
175
- args: { resourceGroupName, zoneName, options },
176
- spec: deleteOperationSpec,
177
- });
178
- const poller = yield createHttpPoller(lro, {
179
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
180
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
181
- });
182
- yield poller.poll();
183
- return poller;
145
+ async beginDelete(resourceGroupName, zoneName, options) {
146
+ const directSendOperation = async (args, spec) => {
147
+ return this.client.sendOperationRequest(args, spec);
148
+ };
149
+ const sendOperationFn = async (args, spec) => {
150
+ var _a;
151
+ let currentRawResponse = undefined;
152
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
153
+ const callback = (rawResponse, flatResponse) => {
154
+ currentRawResponse = rawResponse;
155
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
156
+ };
157
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
158
+ const flatResponse = await directSendOperation(updatedArgs, spec);
159
+ return {
160
+ flatResponse,
161
+ rawResponse: {
162
+ statusCode: currentRawResponse.status,
163
+ body: currentRawResponse.parsedBody,
164
+ headers: currentRawResponse.headers.toJSON(),
165
+ },
166
+ };
167
+ };
168
+ const lro = createLroSpec({
169
+ sendOperationFn,
170
+ args: { resourceGroupName, zoneName, options },
171
+ spec: deleteOperationSpec,
184
172
  });
173
+ const poller = await createHttpPoller(lro, {
174
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
175
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
176
+ });
177
+ await poller.poll();
178
+ return poller;
185
179
  }
186
180
  /**
187
181
  * Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.
@@ -189,11 +183,9 @@ export class DnssecConfigsImpl {
189
183
  * @param zoneName The name of the DNS zone (without a terminating dot).
190
184
  * @param options The options parameters.
191
185
  */
192
- beginDeleteAndWait(resourceGroupName, zoneName, options) {
193
- return __awaiter(this, void 0, void 0, function* () {
194
- const poller = yield this.beginDelete(resourceGroupName, zoneName, options);
195
- return poller.pollUntilDone();
196
- });
186
+ async beginDeleteAndWait(resourceGroupName, zoneName, options) {
187
+ const poller = await this.beginDelete(resourceGroupName, zoneName, options);
188
+ return poller.pollUntilDone();
197
189
  }
198
190
  /**
199
191
  * Gets the DNSSEC configuration.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnssecConfigs.js","sourceRoot":"","sources":["../../../src/operations/dnssecConfigs.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,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAc9C,4CAA4C;AAC5C,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,QAAgB,EAChB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAs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AE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EAAE,kIAAkI;IACxI,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;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,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;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 { DnssecConfigs } 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 { DnsManagementClient } from \"../dnsManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n DnssecConfig,\n DnssecConfigsListByDnsZoneNextOptionalParams,\n DnssecConfigsListByDnsZoneOptionalParams,\n DnssecConfigsListByDnsZoneResponse,\n DnssecConfigsCreateOrUpdateOptionalParams,\n DnssecConfigsCreateOrUpdateResponse,\n DnssecConfigsDeleteOptionalParams,\n DnssecConfigsGetOptionalParams,\n DnssecConfigsGetResponse,\n DnssecConfigsListByDnsZoneNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DnssecConfigs operations. */\nexport class DnssecConfigsImpl implements DnssecConfigs {\n private readonly client: DnsManagementClient;\n\n /**\n * Initialize a new instance of the class DnssecConfigs class.\n * @param client Reference to the service client\n */\n constructor(client: DnsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the DNSSEC configurations in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n public listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n ): PagedAsyncIterableIterator<DnssecConfig> {\n const iter = this.listByDnsZonePagingAll(\n resourceGroupName,\n zoneName,\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.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByDnsZonePagingPage(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DnssecConfig[]> {\n let result: DnssecConfigsListByDnsZoneResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByDnsZone(resourceGroupName, zoneName, 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._listByDnsZoneNext(\n resourceGroupName,\n zoneName,\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 *listByDnsZonePagingAll(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n ): AsyncIterableIterator<DnssecConfig> {\n for await (const page of this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates the DNSSEC configuration on a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DnssecConfigsCreateOrUpdateResponse>,\n DnssecConfigsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DnssecConfigsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, zoneName, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n DnssecConfigsCreateOrUpdateResponse,\n OperationState<DnssecConfigsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates the DNSSEC configuration on a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsCreateOrUpdateOptionalParams,\n ): Promise<DnssecConfigsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n zoneName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, zoneName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, zoneName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the DNSSEC configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsGetOptionalParams,\n ): Promise<DnssecConfigsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists the DNSSEC configurations in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n private _listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n ): Promise<DnssecConfigsListByDnsZoneResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n listByDnsZoneOperationSpec,\n );\n }\n\n /**\n * ListByDnsZoneNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param nextLink The nextLink from the previous successful call to the ListByDnsZone method.\n * @param options The options parameters.\n */\n private _listByDnsZoneNext(\n resourceGroupName: string,\n zoneName: string,\n nextLink: string,\n options?: DnssecConfigsListByDnsZoneNextOptionalParams,\n ): Promise<DnssecConfigsListByDnsZoneNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, nextLink, options },\n listByDnsZoneNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfig,\n },\n 201: {\n bodyMapper: Mappers.DnssecConfig,\n },\n 202: {\n bodyMapper: Mappers.DnssecConfig,\n },\n 204: {\n bodyMapper: Mappers.DnssecConfig,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default\",\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.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfig,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfigListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfigListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,5 @@
1
+ export * from "./dnssecConfigs.js";
2
+ export * from "./recordSets.js";
3
+ export * from "./zones.js";
4
+ export * from "./dnsResourceReferenceOperations.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,qCAAqC,CAAC"}
@@ -5,8 +5,8 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./dnssecConfigs";
9
- export * from "./recordSets";
10
- export * from "./zones";
11
- export * from "./dnsResourceReferenceOperations";
8
+ export * from "./dnssecConfigs.js";
9
+ export * from "./recordSets.js";
10
+ export * from "./zones.js";
11
+ export * from "./dnsResourceReferenceOperations.js";
12
12
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,qCAAqC,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\nexport * from \"./dnssecConfigs.js\";\nexport * from \"./recordSets.js\";\nexport * from \"./zones.js\";\nexport * from \"./dnsResourceReferenceOperations.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { RecordSets } from "../operationsInterfaces";
3
- import { DnsManagementClient } from "../dnsManagementClient";
4
- import { RecordSet, RecordType, RecordSetsListByTypeOptionalParams, RecordSetsListByDnsZoneOptionalParams, RecordSetsListAllByDnsZoneOptionalParams, RecordSetsUpdateOptionalParams, RecordSetsUpdateResponse, RecordSetsCreateOrUpdateOptionalParams, RecordSetsCreateOrUpdateResponse, RecordSetsDeleteOptionalParams, RecordSetsGetOptionalParams, RecordSetsGetResponse } from "../models";
2
+ import { RecordSets } from "../operationsInterfaces/index.js";
3
+ import { DnsManagementClient } from "../dnsManagementClient.js";
4
+ import { RecordSet, RecordType, RecordSetsListByTypeOptionalParams, RecordSetsListByDnsZoneOptionalParams, RecordSetsListAllByDnsZoneOptionalParams, RecordSetsUpdateOptionalParams, RecordSetsUpdateResponse, RecordSetsCreateOrUpdateOptionalParams, RecordSetsCreateOrUpdateResponse, RecordSetsDeleteOptionalParams, RecordSetsGetOptionalParams, RecordSetsGetResponse } from "../models/index.js";
5
5
  /** Class containing RecordSets operations. */
6
6
  export declare class RecordSetsImpl implements RecordSets {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordSets.d.ts","sourceRoot":"","sources":["../../../src/operations/recordSets.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,SAAS,EACT,UAAU,EAEV,kCAAkC,EAGlC,qCAAqC,EAGrC,wCAAwC,EAExC,8BAA8B,EAC9B,wBAAwB,EACxB,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EA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MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC;IAahB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAajC;;;;;;OAMG;IACH,OAAO,CAAC,WAAW;IAYnB;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAWzB;;;;;;;OAOG;IACH,OAAO,CAAC,eAAe;IAavB;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;IAY1B;;;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;CAW9B"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing RecordSets operations. */
15
15
  export class RecordSetsImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../../src/operations/recordSets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,M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;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;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 { RecordSets } 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 { DnsManagementClient } from \"../dnsManagementClient.js\";\nimport {\n RecordSet,\n RecordType,\n RecordSetsListByTypeNextOptionalParams,\n RecordSetsListByTypeOptionalParams,\n RecordSetsListByTypeResponse,\n RecordSetsListByDnsZoneNextOptionalParams,\n RecordSetsListByDnsZoneOptionalParams,\n RecordSetsListByDnsZoneResponse,\n RecordSetsListAllByDnsZoneNextOptionalParams,\n RecordSetsListAllByDnsZoneOptionalParams,\n RecordSetsListAllByDnsZoneResponse,\n RecordSetsUpdateOptionalParams,\n RecordSetsUpdateResponse,\n RecordSetsCreateOrUpdateOptionalParams,\n RecordSetsCreateOrUpdateResponse,\n RecordSetsDeleteOptionalParams,\n RecordSetsGetOptionalParams,\n RecordSetsGetResponse,\n RecordSetsListByTypeNextResponse,\n RecordSetsListByDnsZoneNextResponse,\n RecordSetsListAllByDnsZoneNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing RecordSets operations. */\nexport class RecordSetsImpl implements RecordSets {\n private readonly client: DnsManagementClient;\n\n /**\n * Initialize a new instance of the class RecordSets class.\n * @param client Reference to the service client\n */\n constructor(client: DnsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the record sets of a specified type in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n public listByType(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listByTypePagingAll(\n resourceGroupName,\n zoneName,\n recordType,\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.listByTypePagingPage(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByTypePagingPage(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListByTypeResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByType(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByTypeNext(\n resourceGroupName,\n zoneName,\n recordType,\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 *listByTypePagingAll(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listByTypePagingPage(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n public listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listByDnsZonePagingAll(\n resourceGroupName,\n zoneName,\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.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByDnsZonePagingPage(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListByDnsZoneResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByDnsZone(resourceGroupName, zoneName, 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._listByDnsZoneNext(\n resourceGroupName,\n zoneName,\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 *listByDnsZonePagingAll(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n public listAllByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listAllByDnsZonePagingAll(\n resourceGroupName,\n zoneName,\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.listAllByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listAllByDnsZonePagingPage(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListAllByDnsZoneResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAllByDnsZone(\n resourceGroupName,\n zoneName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAllByDnsZoneNext(\n resourceGroupName,\n zoneName,\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 *listAllByDnsZonePagingAll(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listAllByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Updates a record set within a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n parameters: RecordSet,\n options?: RecordSetsUpdateOptionalParams,\n ): Promise<RecordSetsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n parameters,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Creates or updates a record set within a DNS zone. Record sets of type SOA can be updated but not\n * created (they are created when the DNS zone is created).\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n parameters: RecordSet,\n options?: RecordSetsCreateOrUpdateOptionalParams,\n ): Promise<RecordSetsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes a record set from a DNS zone. This operation cannot be undone. Record sets of type SOA\n * cannot be deleted (they are deleted when the DNS zone is deleted).\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n options?: RecordSetsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n options,\n },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets a record set.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n options?: RecordSetsGetOptionalParams,\n ): Promise<RecordSetsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Lists the record sets of a specified type in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n private _listByType(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): Promise<RecordSetsListByTypeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, recordType, options },\n listByTypeOperationSpec,\n );\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n private _listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n ): Promise<RecordSetsListByDnsZoneResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n listByDnsZoneOperationSpec,\n );\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n private _listAllByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n ): Promise<RecordSetsListAllByDnsZoneResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n listAllByDnsZoneOperationSpec,\n );\n }\n\n /**\n * ListByTypeNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param nextLink The nextLink from the previous successful call to the ListByType method.\n * @param options The options parameters.\n */\n private _listByTypeNext(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n nextLink: string,\n options?: RecordSetsListByTypeNextOptionalParams,\n ): Promise<RecordSetsListByTypeNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, recordType, nextLink, options },\n listByTypeNextOperationSpec,\n );\n }\n\n /**\n * ListByDnsZoneNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param nextLink The nextLink from the previous successful call to the ListByDnsZone method.\n * @param options The options parameters.\n */\n private _listByDnsZoneNext(\n resourceGroupName: string,\n zoneName: string,\n nextLink: string,\n options?: RecordSetsListByDnsZoneNextOptionalParams,\n ): Promise<RecordSetsListByDnsZoneNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, nextLink, options },\n listByDnsZoneNextOperationSpec,\n );\n }\n\n /**\n * ListAllByDnsZoneNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param nextLink The nextLink from the previous successful call to the ListAllByDnsZone method.\n * @param options The options parameters.\n */\n private _listAllByDnsZoneNext(\n resourceGroupName: string,\n zoneName: string,\n nextLink: string,\n options?: RecordSetsListAllByDnsZoneNextOptionalParams,\n ): Promise<RecordSetsListAllByDnsZoneNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, nextLink, options },\n listAllByDnsZoneNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet,\n },\n 201: {\n bodyMapper: Mappers.RecordSet,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByTypeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordsetnamesuffix,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/recordsets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordsetnamesuffix,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAllByDnsZoneOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/all\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordSetNameSuffix,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByTypeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAllByDnsZoneNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,8 +1,8 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Zones } from "../operationsInterfaces";
3
- import { DnsManagementClient } from "../dnsManagementClient";
2
+ import { Zones } from "../operationsInterfaces/index.js";
3
+ import { DnsManagementClient } from "../dnsManagementClient.js";
4
4
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { Zone, ZonesListByResourceGroupOptionalParams, ZonesListOptionalParams, ZonesCreateOrUpdateOptionalParams, ZonesCreateOrUpdateResponse, ZonesDeleteOptionalParams, ZonesGetOptionalParams, ZonesGetResponse, ZoneUpdate, ZonesUpdateOptionalParams, ZonesUpdateResponse } from "../models";
5
+ import { Zone, ZonesListByResourceGroupOptionalParams, ZonesListOptionalParams, ZonesCreateOrUpdateOptionalParams, ZonesCreateOrUpdateResponse, ZonesDeleteOptionalParams, ZonesGetOptionalParams, ZonesGetResponse, ZoneUpdate, ZonesUpdateOptionalParams, ZonesUpdateResponse } from "../models/index.js";
6
6
  /** Class containing Zones operations. */
7
7
  export declare class ZonesImpl implements Zones {
8
8
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zones.d.ts","sourceRoot":"","sources":["../../../src/operations/zones.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAIzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,IAAI,EAEJ,sCAAsC,EAGtC,uBAAuB,EAEvB,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,yBAAyB,EACzB,mBAAmB,EAGpB,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,qBAAa,SAAU,YAAW,KAAK;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C;;;OAGG;gBACS,MAAM,EAAE,mBAAmB;IAIvC;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EA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 -5,13 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  import { createHttpPoller, } from "@azure/core-lro";
14
- import { createLroSpec } from "../lroImpl";
14
+ import { createLroSpec } from "../lroImpl.js";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing Zones operations. */
17
17
  export class ZonesImpl {
@@ -162,42 +162,40 @@ export class ZonesImpl {
162
162
  * @param zoneName The name of the DNS zone (without a terminating dot).
163
163
  * @param options The options parameters.
164
164
  */
165
- beginDelete(resourceGroupName, zoneName, options) {
166
- return __awaiter(this, void 0, void 0, function* () {
167
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
168
- return this.client.sendOperationRequest(args, spec);
169
- });
170
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
171
- var _a;
172
- let currentRawResponse = undefined;
173
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
174
- const callback = (rawResponse, flatResponse) => {
175
- currentRawResponse = rawResponse;
176
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
177
- };
178
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
179
- const flatResponse = yield directSendOperation(updatedArgs, spec);
180
- return {
181
- flatResponse,
182
- rawResponse: {
183
- statusCode: currentRawResponse.status,
184
- body: currentRawResponse.parsedBody,
185
- headers: currentRawResponse.headers.toJSON(),
186
- },
187
- };
188
- });
189
- const lro = createLroSpec({
190
- sendOperationFn,
191
- args: { resourceGroupName, zoneName, options },
192
- spec: deleteOperationSpec,
193
- });
194
- const poller = yield createHttpPoller(lro, {
195
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
196
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
197
- });
198
- yield poller.poll();
199
- return poller;
165
+ async beginDelete(resourceGroupName, zoneName, options) {
166
+ const directSendOperation = async (args, spec) => {
167
+ return this.client.sendOperationRequest(args, spec);
168
+ };
169
+ const sendOperationFn = async (args, spec) => {
170
+ var _a;
171
+ let currentRawResponse = undefined;
172
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
173
+ const callback = (rawResponse, flatResponse) => {
174
+ currentRawResponse = rawResponse;
175
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
176
+ };
177
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
178
+ const flatResponse = await directSendOperation(updatedArgs, spec);
179
+ return {
180
+ flatResponse,
181
+ rawResponse: {
182
+ statusCode: currentRawResponse.status,
183
+ body: currentRawResponse.parsedBody,
184
+ headers: currentRawResponse.headers.toJSON(),
185
+ },
186
+ };
187
+ };
188
+ const lro = createLroSpec({
189
+ sendOperationFn,
190
+ args: { resourceGroupName, zoneName, options },
191
+ spec: deleteOperationSpec,
200
192
  });
193
+ const poller = await createHttpPoller(lro, {
194
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
195
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
196
+ });
197
+ await poller.poll();
198
+ return poller;
201
199
  }
202
200
  /**
203
201
  * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
@@ -206,11 +204,9 @@ export class ZonesImpl {
206
204
  * @param zoneName The name of the DNS zone (without a terminating dot).
207
205
  * @param options The options parameters.
208
206
  */
209
- beginDeleteAndWait(resourceGroupName, zoneName, options) {
210
- return __awaiter(this, void 0, void 0, function* () {
211
- const poller = yield this.beginDelete(resourceGroupName, zoneName, options);
212
- return poller.pollUntilDone();
213
- });
207
+ async beginDeleteAndWait(resourceGroupName, zoneName, options) {
208
+ const poller = await this.beginDelete(resourceGroupName, zoneName, options);
209
+ return poller.pollUntilDone();
214
210
  }
215
211
  /**
216
212
  * Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.