@azure/arm-privatedns 3.3.1-alpha.20250218.1 → 3.3.1-alpha.20250220.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 (363) hide show
  1. package/README.md +21 -12
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js.map +1 -0
  7. package/dist/browser/models/index.js.map +1 -0
  8. package/dist/browser/models/mappers.js.map +1 -0
  9. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  10. package/dist/browser/models/parameters.js.map +1 -0
  11. package/dist/browser/operations/index.d.ts +4 -0
  12. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  13. package/{dist-esm/src → dist/browser}/operations/index.js +3 -3
  14. package/dist/browser/operations/index.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/privateZones.d.ts +3 -3
  16. package/dist/browser/operations/privateZones.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/privateZones.js +113 -125
  18. package/dist/browser/operations/privateZones.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/recordSets.d.ts +3 -3
  20. package/dist/browser/operations/recordSets.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/recordSets.js +3 -3
  22. package/dist/browser/operations/recordSets.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/virtualNetworkLinks.d.ts +3 -3
  24. package/dist/browser/operations/virtualNetworkLinks.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/virtualNetworkLinks.js +127 -139
  26. package/dist/browser/operations/virtualNetworkLinks.js.map +1 -0
  27. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  28. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  29. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +3 -3
  30. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateZones.d.ts +1 -1
  32. package/dist/browser/operationsInterfaces/privateZones.d.ts.map +1 -0
  33. package/dist/browser/operationsInterfaces/privateZones.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.d.ts +1 -1
  35. package/dist/browser/operationsInterfaces/recordSets.d.ts.map +1 -0
  36. package/dist/browser/operationsInterfaces/recordSets.js.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operationsInterfaces/virtualNetworkLinks.d.ts +1 -1
  38. package/dist/browser/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  39. package/dist/browser/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  40. package/dist/browser/package.json +3 -0
  41. package/dist/browser/pagingHelper.js.map +1 -0
  42. package/{dist-esm/src → dist/browser}/privateDnsManagementClient.d.ts +2 -2
  43. package/dist/browser/privateDnsManagementClient.d.ts.map +1 -0
  44. package/{dist-esm/src → dist/browser}/privateDnsManagementClient.js +15 -18
  45. package/dist/browser/privateDnsManagementClient.js.map +1 -0
  46. package/dist/commonjs/index.d.ts +5 -0
  47. package/dist/commonjs/index.d.ts.map +1 -0
  48. package/dist/commonjs/index.js +19 -0
  49. package/dist/commonjs/index.js.map +1 -0
  50. package/dist/commonjs/lroImpl.d.ts +11 -0
  51. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  52. package/dist/commonjs/lroImpl.js +17 -0
  53. package/dist/commonjs/lroImpl.js.map +1 -0
  54. package/dist/commonjs/models/index.d.ts +483 -0
  55. package/dist/commonjs/models/index.d.ts.map +1 -0
  56. package/dist/commonjs/models/index.js +43 -0
  57. package/dist/commonjs/models/index.js.map +1 -0
  58. package/dist/commonjs/models/mappers.d.ts +22 -0
  59. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  60. package/dist/commonjs/models/mappers.js +603 -0
  61. package/dist/commonjs/models/mappers.js.map +1 -0
  62. package/dist/commonjs/models/parameters.d.ts +20 -0
  63. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  64. package/dist/commonjs/models/parameters.js +177 -0
  65. package/dist/commonjs/models/parameters.js.map +1 -0
  66. package/dist/commonjs/operations/index.d.ts +4 -0
  67. package/dist/commonjs/operations/index.d.ts.map +1 -0
  68. package/dist/commonjs/operations/index.js +14 -0
  69. package/dist/commonjs/operations/index.js.map +1 -0
  70. package/dist/commonjs/operations/privateZones.d.ts +114 -0
  71. package/dist/commonjs/operations/privateZones.d.ts.map +1 -0
  72. package/dist/commonjs/operations/privateZones.js +551 -0
  73. package/dist/commonjs/operations/privateZones.js.map +1 -0
  74. package/dist/commonjs/operations/recordSets.d.ts +105 -0
  75. package/dist/commonjs/operations/recordSets.d.ts.map +1 -0
  76. package/dist/commonjs/operations/recordSets.js +472 -0
  77. package/dist/commonjs/operations/recordSets.js.map +1 -0
  78. package/dist/commonjs/operations/virtualNetworkLinks.d.ts +103 -0
  79. package/dist/commonjs/operations/virtualNetworkLinks.d.ts.map +1 -0
  80. package/dist/commonjs/operations/virtualNetworkLinks.js +470 -0
  81. package/dist/commonjs/operations/virtualNetworkLinks.js.map +1 -0
  82. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  83. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  84. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  85. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/privateZones.d.ts +78 -0
  87. package/dist/commonjs/operationsInterfaces/privateZones.d.ts.map +1 -0
  88. package/dist/commonjs/operationsInterfaces/privateZones.js +10 -0
  89. package/dist/commonjs/operationsInterfaces/privateZones.js.map +1 -0
  90. package/dist/commonjs/operationsInterfaces/recordSets.d.ts +61 -0
  91. package/dist/commonjs/operationsInterfaces/recordSets.d.ts.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/recordSets.js +10 -0
  93. package/dist/commonjs/operationsInterfaces/recordSets.js.map +1 -0
  94. package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  95. package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.js +10 -0
  97. package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  98. package/dist/commonjs/package.json +3 -0
  99. package/dist/commonjs/pagingHelper.d.ts +13 -0
  100. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  101. package/dist/commonjs/pagingHelper.js +36 -0
  102. package/dist/commonjs/pagingHelper.js.map +1 -0
  103. package/dist/commonjs/privateDnsManagementClient.d.ts +23 -0
  104. package/dist/commonjs/privateDnsManagementClient.d.ts.map +1 -0
  105. package/dist/commonjs/privateDnsManagementClient.js +105 -0
  106. package/dist/commonjs/privateDnsManagementClient.js.map +1 -0
  107. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  108. package/dist/esm/index.d.ts +5 -0
  109. package/dist/esm/index.d.ts.map +1 -0
  110. package/{src/index.ts → dist/esm/index.js} +5 -5
  111. package/dist/esm/index.js.map +1 -0
  112. package/dist/esm/lroImpl.d.ts +11 -0
  113. package/dist/esm/lroImpl.d.ts.map +1 -0
  114. package/dist/esm/lroImpl.js +14 -0
  115. package/dist/esm/lroImpl.js.map +1 -0
  116. package/dist/esm/models/index.d.ts +483 -0
  117. package/dist/esm/models/index.d.ts.map +1 -0
  118. package/dist/esm/models/index.js +40 -0
  119. package/dist/esm/models/index.js.map +1 -0
  120. package/dist/esm/models/mappers.d.ts +22 -0
  121. package/dist/esm/models/mappers.d.ts.map +1 -0
  122. package/dist/esm/models/mappers.js +600 -0
  123. package/dist/esm/models/mappers.js.map +1 -0
  124. package/dist/esm/models/parameters.d.ts +20 -0
  125. package/dist/esm/models/parameters.d.ts.map +1 -0
  126. package/dist/esm/models/parameters.js +174 -0
  127. package/dist/esm/models/parameters.js.map +1 -0
  128. package/dist/esm/operations/index.d.ts +4 -0
  129. package/dist/esm/operations/index.d.ts.map +1 -0
  130. package/dist/esm/operations/index.js +11 -0
  131. package/dist/esm/operations/index.js.map +1 -0
  132. package/dist/esm/operations/privateZones.d.ts +114 -0
  133. package/dist/esm/operations/privateZones.d.ts.map +1 -0
  134. package/dist/esm/operations/privateZones.js +547 -0
  135. package/dist/esm/operations/privateZones.js.map +1 -0
  136. package/dist/esm/operations/recordSets.d.ts +105 -0
  137. package/dist/esm/operations/recordSets.d.ts.map +1 -0
  138. package/dist/esm/operations/recordSets.js +468 -0
  139. package/dist/esm/operations/recordSets.js.map +1 -0
  140. package/dist/esm/operations/virtualNetworkLinks.d.ts +103 -0
  141. package/dist/esm/operations/virtualNetworkLinks.d.ts.map +1 -0
  142. package/dist/esm/operations/virtualNetworkLinks.js +466 -0
  143. package/dist/esm/operations/virtualNetworkLinks.js.map +1 -0
  144. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  145. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  146. package/dist/esm/operationsInterfaces/index.js +11 -0
  147. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  148. package/dist/esm/operationsInterfaces/privateZones.d.ts +78 -0
  149. package/dist/esm/operationsInterfaces/privateZones.d.ts.map +1 -0
  150. package/{src/operations/index.ts → dist/esm/operationsInterfaces/privateZones.js} +2 -4
  151. package/dist/esm/operationsInterfaces/privateZones.js.map +1 -0
  152. package/dist/esm/operationsInterfaces/recordSets.d.ts +61 -0
  153. package/dist/esm/operationsInterfaces/recordSets.d.ts.map +1 -0
  154. package/dist/esm/operationsInterfaces/recordSets.js +9 -0
  155. package/dist/esm/operationsInterfaces/recordSets.js.map +1 -0
  156. package/dist/esm/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  157. package/dist/esm/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  158. package/dist/esm/operationsInterfaces/virtualNetworkLinks.js +9 -0
  159. package/dist/esm/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  160. package/dist/esm/package.json +3 -0
  161. package/dist/esm/pagingHelper.d.ts +13 -0
  162. package/dist/esm/pagingHelper.d.ts.map +1 -0
  163. package/dist/esm/pagingHelper.js +32 -0
  164. package/dist/esm/pagingHelper.js.map +1 -0
  165. package/dist/esm/privateDnsManagementClient.d.ts +23 -0
  166. package/dist/esm/privateDnsManagementClient.d.ts.map +1 -0
  167. package/dist/esm/privateDnsManagementClient.js +100 -0
  168. package/dist/esm/privateDnsManagementClient.js.map +1 -0
  169. package/dist/react-native/index.d.ts +5 -0
  170. package/dist/react-native/index.d.ts.map +1 -0
  171. package/dist/react-native/index.js +13 -0
  172. package/dist/react-native/index.js.map +1 -0
  173. package/dist/react-native/lroImpl.d.ts +11 -0
  174. package/dist/react-native/lroImpl.d.ts.map +1 -0
  175. package/dist/react-native/lroImpl.js +14 -0
  176. package/dist/react-native/lroImpl.js.map +1 -0
  177. package/dist/react-native/models/index.d.ts +483 -0
  178. package/dist/react-native/models/index.d.ts.map +1 -0
  179. package/dist/react-native/models/index.js +40 -0
  180. package/dist/react-native/models/index.js.map +1 -0
  181. package/dist/react-native/models/mappers.d.ts +22 -0
  182. package/dist/react-native/models/mappers.d.ts.map +1 -0
  183. package/dist/react-native/models/mappers.js +600 -0
  184. package/dist/react-native/models/mappers.js.map +1 -0
  185. package/dist/react-native/models/parameters.d.ts +20 -0
  186. package/dist/react-native/models/parameters.d.ts.map +1 -0
  187. package/dist/react-native/models/parameters.js +174 -0
  188. package/dist/react-native/models/parameters.js.map +1 -0
  189. package/dist/react-native/operations/index.d.ts +4 -0
  190. package/dist/react-native/operations/index.d.ts.map +1 -0
  191. package/dist/react-native/operations/index.js +11 -0
  192. package/dist/react-native/operations/index.js.map +1 -0
  193. package/dist/react-native/operations/privateZones.d.ts +114 -0
  194. package/dist/react-native/operations/privateZones.d.ts.map +1 -0
  195. package/dist/react-native/operations/privateZones.js +547 -0
  196. package/dist/react-native/operations/privateZones.js.map +1 -0
  197. package/dist/react-native/operations/recordSets.d.ts +105 -0
  198. package/dist/react-native/operations/recordSets.d.ts.map +1 -0
  199. package/dist/react-native/operations/recordSets.js +468 -0
  200. package/dist/react-native/operations/recordSets.js.map +1 -0
  201. package/dist/react-native/operations/virtualNetworkLinks.d.ts +103 -0
  202. package/dist/react-native/operations/virtualNetworkLinks.d.ts.map +1 -0
  203. package/dist/react-native/operations/virtualNetworkLinks.js +466 -0
  204. package/dist/react-native/operations/virtualNetworkLinks.js.map +1 -0
  205. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  206. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  207. package/dist/react-native/operationsInterfaces/index.js +11 -0
  208. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  209. package/dist/react-native/operationsInterfaces/privateZones.d.ts +78 -0
  210. package/dist/react-native/operationsInterfaces/privateZones.d.ts.map +1 -0
  211. package/dist/react-native/operationsInterfaces/privateZones.js +9 -0
  212. package/dist/react-native/operationsInterfaces/privateZones.js.map +1 -0
  213. package/dist/react-native/operationsInterfaces/recordSets.d.ts +61 -0
  214. package/dist/react-native/operationsInterfaces/recordSets.d.ts.map +1 -0
  215. package/dist/react-native/operationsInterfaces/recordSets.js +9 -0
  216. package/dist/react-native/operationsInterfaces/recordSets.js.map +1 -0
  217. package/dist/react-native/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  218. package/dist/react-native/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  219. package/dist/react-native/operationsInterfaces/virtualNetworkLinks.js +9 -0
  220. package/dist/react-native/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  221. package/dist/react-native/package.json +3 -0
  222. package/dist/react-native/pagingHelper.d.ts +13 -0
  223. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  224. package/dist/react-native/pagingHelper.js +32 -0
  225. package/dist/react-native/pagingHelper.js.map +1 -0
  226. package/dist/react-native/privateDnsManagementClient.d.ts +23 -0
  227. package/dist/react-native/privateDnsManagementClient.d.ts.map +1 -0
  228. package/dist/react-native/privateDnsManagementClient.js +100 -0
  229. package/dist/react-native/privateDnsManagementClient.js.map +1 -0
  230. package/package.json +66 -36
  231. package/dist/index.js +0 -2499
  232. package/dist/index.js.map +0 -1
  233. package/dist/index.min.js +0 -1
  234. package/dist/index.min.js.map +0 -1
  235. package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.d.ts +0 -2
  236. package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.d.ts.map +0 -1
  237. package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.js +0 -33
  238. package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.js.map +0 -1
  239. package/dist-esm/samples-dev/privateZonesDeleteSample.d.ts +0 -2
  240. package/dist-esm/samples-dev/privateZonesDeleteSample.d.ts.map +0 -1
  241. package/dist-esm/samples-dev/privateZonesDeleteSample.js +0 -36
  242. package/dist-esm/samples-dev/privateZonesDeleteSample.js.map +0 -1
  243. package/dist-esm/samples-dev/privateZonesGetSample.d.ts +0 -2
  244. package/dist-esm/samples-dev/privateZonesGetSample.d.ts.map +0 -1
  245. package/dist-esm/samples-dev/privateZonesGetSample.js +0 -36
  246. package/dist-esm/samples-dev/privateZonesGetSample.js.map +0 -1
  247. package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.d.ts +0 -2
  248. package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.d.ts.map +0 -1
  249. package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.js +0 -51
  250. package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.js.map +0 -1
  251. package/dist-esm/samples-dev/privateZonesListSample.d.ts +0 -2
  252. package/dist-esm/samples-dev/privateZonesListSample.d.ts.map +0 -1
  253. package/dist-esm/samples-dev/privateZonesListSample.js +0 -50
  254. package/dist-esm/samples-dev/privateZonesListSample.js.map +0 -1
  255. package/dist-esm/samples-dev/privateZonesUpdateSample.d.ts +0 -2
  256. package/dist-esm/samples-dev/privateZonesUpdateSample.d.ts.map +0 -1
  257. package/dist-esm/samples-dev/privateZonesUpdateSample.js +0 -30
  258. package/dist-esm/samples-dev/privateZonesUpdateSample.js.map +0 -1
  259. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.d.ts +0 -2
  260. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.d.ts.map +0 -1
  261. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js +0 -219
  262. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js.map +0 -1
  263. package/dist-esm/samples-dev/recordSetsDeleteSample.d.ts +0 -2
  264. package/dist-esm/samples-dev/recordSetsDeleteSample.d.ts.map +0 -1
  265. package/dist-esm/samples-dev/recordSetsDeleteSample.js +0 -158
  266. package/dist-esm/samples-dev/recordSetsDeleteSample.js.map +0 -1
  267. package/dist-esm/samples-dev/recordSetsGetSample.d.ts +0 -2
  268. package/dist-esm/samples-dev/recordSetsGetSample.d.ts.map +0 -1
  269. package/dist-esm/samples-dev/recordSetsGetSample.js +0 -178
  270. package/dist-esm/samples-dev/recordSetsGetSample.js.map +0 -1
  271. package/dist-esm/samples-dev/recordSetsListByTypeSample.d.ts +0 -2
  272. package/dist-esm/samples-dev/recordSetsListByTypeSample.d.ts.map +0 -1
  273. package/dist-esm/samples-dev/recordSetsListByTypeSample.js +0 -298
  274. package/dist-esm/samples-dev/recordSetsListByTypeSample.js.map +0 -1
  275. package/dist-esm/samples-dev/recordSetsListSample.d.ts +0 -2
  276. package/dist-esm/samples-dev/recordSetsListSample.d.ts.map +0 -1
  277. package/dist-esm/samples-dev/recordSetsListSample.js +0 -52
  278. package/dist-esm/samples-dev/recordSetsListSample.js.map +0 -1
  279. package/dist-esm/samples-dev/recordSetsUpdateSample.d.ts +0 -2
  280. package/dist-esm/samples-dev/recordSetsUpdateSample.d.ts.map +0 -1
  281. package/dist-esm/samples-dev/recordSetsUpdateSample.js +0 -179
  282. package/dist-esm/samples-dev/recordSetsUpdateSample.js.map +0 -1
  283. package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.d.ts +0 -2
  284. package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.d.ts.map +0 -1
  285. package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.js +0 -38
  286. package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.js.map +0 -1
  287. package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.d.ts +0 -2
  288. package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.d.ts.map +0 -1
  289. package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.js +0 -37
  290. package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.js.map +0 -1
  291. package/dist-esm/samples-dev/virtualNetworkLinksGetSample.d.ts +0 -2
  292. package/dist-esm/samples-dev/virtualNetworkLinksGetSample.d.ts.map +0 -1
  293. package/dist-esm/samples-dev/virtualNetworkLinksGetSample.js +0 -37
  294. package/dist-esm/samples-dev/virtualNetworkLinksGetSample.js.map +0 -1
  295. package/dist-esm/samples-dev/virtualNetworkLinksListSample.d.ts +0 -2
  296. package/dist-esm/samples-dev/virtualNetworkLinksListSample.d.ts.map +0 -1
  297. package/dist-esm/samples-dev/virtualNetworkLinksListSample.js +0 -52
  298. package/dist-esm/samples-dev/virtualNetworkLinksListSample.js.map +0 -1
  299. package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.d.ts +0 -2
  300. package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.d.ts.map +0 -1
  301. package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.js +0 -35
  302. package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.js.map +0 -1
  303. package/dist-esm/src/index.d.ts +0 -5
  304. package/dist-esm/src/index.js.map +0 -1
  305. package/dist-esm/src/lroImpl.js.map +0 -1
  306. package/dist-esm/src/models/index.js.map +0 -1
  307. package/dist-esm/src/models/mappers.js.map +0 -1
  308. package/dist-esm/src/models/parameters.js.map +0 -1
  309. package/dist-esm/src/operations/index.d.ts +0 -4
  310. package/dist-esm/src/operations/index.js.map +0 -1
  311. package/dist-esm/src/operations/privateZones.d.ts.map +0 -1
  312. package/dist-esm/src/operations/privateZones.js.map +0 -1
  313. package/dist-esm/src/operations/recordSets.d.ts.map +0 -1
  314. package/dist-esm/src/operations/recordSets.js.map +0 -1
  315. package/dist-esm/src/operations/virtualNetworkLinks.d.ts.map +0 -1
  316. package/dist-esm/src/operations/virtualNetworkLinks.js.map +0 -1
  317. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  318. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  319. package/dist-esm/src/operationsInterfaces/privateZones.d.ts.map +0 -1
  320. package/dist-esm/src/operationsInterfaces/privateZones.js.map +0 -1
  321. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +0 -1
  322. package/dist-esm/src/operationsInterfaces/recordSets.js.map +0 -1
  323. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts.map +0 -1
  324. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js.map +0 -1
  325. package/dist-esm/src/pagingHelper.js.map +0 -1
  326. package/dist-esm/src/privateDnsManagementClient.d.ts.map +0 -1
  327. package/dist-esm/src/privateDnsManagementClient.js.map +0 -1
  328. package/dist-esm/test/privatedns_operations_test.spec.d.ts +0 -4
  329. package/dist-esm/test/privatedns_operations_test.spec.d.ts.map +0 -1
  330. package/dist-esm/test/privatedns_operations_test.spec.js +0 -112
  331. package/dist-esm/test/privatedns_operations_test.spec.js.map +0 -1
  332. package/src/lroImpl.ts +0 -38
  333. package/src/models/index.ts +0 -576
  334. package/src/models/mappers.ts +0 -663
  335. package/src/models/parameters.ts +0 -201
  336. package/src/operations/privateZones.ts +0 -720
  337. package/src/operations/recordSets.ts +0 -617
  338. package/src/operations/virtualNetworkLinks.ts +0 -654
  339. package/src/operationsInterfaces/index.ts +0 -11
  340. package/src/operationsInterfaces/privateZones.ts +0 -145
  341. package/src/operationsInterfaces/recordSets.ts +0 -117
  342. package/src/operationsInterfaces/virtualNetworkLinks.ts +0 -150
  343. package/src/pagingHelper.ts +0 -39
  344. package/src/privateDnsManagementClient.ts +0 -154
  345. package/tsconfig.json +0 -33
  346. package/types/arm-privatedns.d.ts +0 -794
  347. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  348. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  349. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  350. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  351. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  352. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  353. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  354. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  355. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  356. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  357. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  358. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateZones.js +0 -0
  359. /package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.js +0 -0
  360. /package/{dist-esm/src → dist/browser}/operationsInterfaces/virtualNetworkLinks.js +0 -0
  361. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  362. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  363. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
package/README.md CHANGED
@@ -48,20 +48,28 @@ Set the values of the client ID, tenant ID, and client secret of the AAD applica
48
48
 
49
49
  For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
50
 
51
- ```javascript
52
- const { PrivateDnsManagementClient } = require("@azure/arm-privatedns");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
51
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52
+
53
+ ```ts snippet:ReadmeSampleCreateClient_Node
54
+ import { PrivateDnsManagementClient } from "@azure/arm-privatedns";
55
+ import { DefaultAzureCredential } from "@azure/identity";
55
56
 
56
57
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
58
  const client = new PrivateDnsManagementClient(new DefaultAzureCredential(), subscriptionId);
59
+ ```
60
+
61
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
58
62
 
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new PrivateDnsManagementClient(credential, subscriptionId);
63
+ ```ts snippet:ReadmeSampleCreateClient_Browser
64
+ import { InteractiveBrowserCredential } from "@azure/identity";
65
+ import { PrivateDnsManagementClient } from "@azure/arm-privatedns";
66
+
67
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
68
+ const credential = new InteractiveBrowserCredential({
69
+ tenantId: "<YOUR_TENANT_ID>",
70
+ clientId: "<YOUR_CLIENT_ID>",
71
+ });
72
+ const client = new PrivateDnsManagementClient(credential, subscriptionId);
65
73
  ```
66
74
 
67
75
  ### JavaScript Bundle
@@ -80,8 +88,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
88
 
81
89
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
90
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
91
+ ```ts snippet:SetLogLevel
92
+ import { setLogLevel } from "@azure/logger";
93
+
85
94
  setLogLevel("info");
86
95
  ```
87
96
 
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { PrivateDnsManagementClient } from "./privateDnsManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { PrivateDnsManagementClient } from "./privateDnsManagementClient";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { PrivateDnsManagementClient } from "./privateDnsManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { PrivateDnsManagementClient } from \"./privateDnsManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAuQH,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBAaX;AAbD,WAAY,sBAAsB;IAChC,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,gBAAgB;IAChB,iDAAuB,CAAA;IACvB,aAAa;IACb,2CAAiB,CAAA;IACjB,eAAe;IACf,+CAAqB,CAAA;AACvB,CAAC,EAbW,sBAAsB,KAAtB,sBAAsB,QAajC;AAgBD,yEAAyE;AACzE,MAAM,CAAN,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC/B,cAAc;IACd,4CAAmB,CAAA;IACnB,uBAAuB;IACvB,8DAAqC,CAAA;AACvC,CAAC,EALW,qBAAqB,KAArB,qBAAqB,QAKhC;AAYD,gFAAgF;AAChF,MAAM,CAAN,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACtC,iBAAiB;IACjB,yDAAyB,CAAA;IACzB,gBAAgB;IAChB,uDAAuB,CAAA;AACzB,CAAC,EALW,4BAA4B,KAA5B,4BAA4B,QAKvC","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 * as coreClient from \"@azure/core-client\";\n\n/** The core properties of ARM resources */\nexport interface Resource {\n /**\n * Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** An error response from the service. */\nexport interface CloudError {\n /** Cloud error body. */\n error?: CloudErrorBody;\n}\n\n/** An error response from the service. */\nexport interface CloudErrorBody {\n /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */\n code?: string;\n /** A message describing the error, intended to be suitable for display in a user interface. */\n message?: string;\n /** The target of the particular error. For example, the name of the property in error. */\n target?: string;\n /** A list of additional details about the error. */\n details?: CloudErrorBody[];\n}\n\n/** The response to a Private DNS zone list operation. */\nexport interface PrivateZoneListResult {\n /** Information about the Private DNS zones. */\n value?: PrivateZone[];\n /**\n * The continuation token for the next page of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Reference to another subresource. */\nexport interface SubResource {\n /** Resource ID. */\n id?: string;\n}\n\n/** The response to a list virtual network link to Private DNS zone operation. */\nexport interface VirtualNetworkLinkListResult {\n /** Information about the virtual network links to the Private DNS zones. */\n value?: VirtualNetworkLink[];\n /**\n * The continuation token for the next page of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** An A record. */\nexport interface ARecord {\n /** The IPv4 address of this A record. */\n ipv4Address?: string;\n}\n\n/** An AAAA record. */\nexport interface AaaaRecord {\n /** The IPv6 address of this AAAA record. */\n ipv6Address?: string;\n}\n\n/** A CNAME record. */\nexport interface CnameRecord {\n /** The canonical name for this CNAME record. */\n cname?: string;\n}\n\n/** An MX record. */\nexport interface MxRecord {\n /** The preference value for this MX record. */\n preference?: number;\n /** The domain name of the mail host for this MX record. */\n exchange?: string;\n}\n\n/** A PTR record. */\nexport interface PtrRecord {\n /** The PTR target domain name for this PTR record. */\n ptrdname?: string;\n}\n\n/** An SOA record. */\nexport interface SoaRecord {\n /** The domain name of the authoritative name server for this SOA record. */\n host?: string;\n /** The email contact for this SOA record. */\n email?: string;\n /** The serial number for this SOA record. */\n serialNumber?: number;\n /** The refresh value for this SOA record. */\n refreshTime?: number;\n /** The retry time for this SOA record. */\n retryTime?: number;\n /** The expire time for this SOA record. */\n expireTime?: number;\n /** The minimum value for this SOA record. By convention this is used to determine the negative caching duration. */\n minimumTtl?: number;\n}\n\n/** An SRV record. */\nexport interface SrvRecord {\n /** The priority value for this SRV record. */\n priority?: number;\n /** The weight value for this SRV record. */\n weight?: number;\n /** The port value for this SRV record. */\n port?: number;\n /** The target domain name for this SRV record. */\n target?: string;\n}\n\n/** A TXT record. */\nexport interface TxtRecord {\n /** The text value of this TXT record. */\n value?: string[];\n}\n\n/** The response to a record set list operation. */\nexport interface RecordSetListResult {\n /** Information about the record sets in the response. */\n value?: RecordSet[];\n /**\n * The continuation token for the next page of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** The resource model definition for a ARM tracked top level resource */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The Azure Region where the resource lives */\n location?: string;\n}\n\n/** The resource model definition for an ARM proxy resource. */\nexport interface ProxyResource extends Resource {}\n\n/** Describes a Private DNS zone. */\nexport interface PrivateZone extends TrackedResource {\n /** The ETag of the zone. */\n etag?: string;\n /**\n * The maximum number of record sets that can be created in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maxNumberOfRecordSets?: number;\n /**\n * The current number of record sets in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly numberOfRecordSets?: number;\n /**\n * The maximum number of virtual networks that can be linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maxNumberOfVirtualNetworkLinks?: number;\n /**\n * The current number of virtual networks that are linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly numberOfVirtualNetworkLinks?: number;\n /**\n * The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maxNumberOfVirtualNetworkLinksWithRegistration?: number;\n /**\n * The current number of virtual networks that are linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly numberOfVirtualNetworkLinksWithRegistration?: number;\n /**\n * The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n /**\n * Private zone internal Id\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly internalId?: string;\n}\n\n/** Describes a link to virtual network for a Private DNS zone. */\nexport interface VirtualNetworkLink extends TrackedResource {\n /** The ETag of the virtual network link. */\n etag?: string;\n /** The reference of the virtual network. */\n virtualNetwork?: SubResource;\n /** Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? */\n registrationEnabled?: boolean;\n /** The resolution policy on the virtual network link. Only applicable for virtual network links to privatelink zones, and for A,AAAA,CNAME queries. When set to 'NxDomainRedirect', Azure DNS resolver falls back to public resolution if private dns query resolution results in non-existent domain response. */\n resolutionPolicy?: ResolutionPolicy;\n /**\n * The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly virtualNetworkLinkState?: VirtualNetworkLinkState;\n /**\n * The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n}\n\n/** Describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone. */\nexport interface RecordSet extends ProxyResource {\n /** The ETag of the record set. */\n etag?: string;\n /** The metadata attached to the record set. */\n metadata?: { [propertyName: string]: string };\n /** The TTL (time-to-live) of the records in the record set. */\n ttl?: number;\n /**\n * Fully qualified domain name of the record set.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly fqdn?: string;\n /**\n * Is the record set auto-registered in the Private DNS zone through a virtual network link?\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isAutoRegistered?: boolean;\n /** The list of A records in the record set. */\n aRecords?: ARecord[];\n /** The list of AAAA records in the record set. */\n aaaaRecords?: AaaaRecord[];\n /** The CNAME record in the record set. */\n cnameRecord?: CnameRecord;\n /** The list of MX records in the record set. */\n mxRecords?: MxRecord[];\n /** The list of PTR records in the record set. */\n ptrRecords?: PtrRecord[];\n /** The SOA record in the record set. */\n soaRecord?: SoaRecord;\n /** The list of SRV records in the record set. */\n srvRecords?: SrvRecord[];\n /** The list of TXT records in the record set. */\n txtRecords?: TxtRecord[];\n}\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Creating */\n Creating = \"Creating\",\n /** Updating */\n Updating = \"Updating\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Creating** \\\n * **Updating** \\\n * **Deleting** \\\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link ResolutionPolicy} that the service accepts. */\nexport enum KnownResolutionPolicy {\n /** Default */\n Default = \"Default\",\n /** NxDomainRedirect */\n NxDomainRedirect = \"NxDomainRedirect\",\n}\n\n/**\n * Defines values for ResolutionPolicy. \\\n * {@link KnownResolutionPolicy} can be used interchangeably with ResolutionPolicy,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Default** \\\n * **NxDomainRedirect**\n */\nexport type ResolutionPolicy = string;\n\n/** Known values of {@link VirtualNetworkLinkState} that the service accepts. */\nexport enum KnownVirtualNetworkLinkState {\n /** InProgress */\n InProgress = \"InProgress\",\n /** Completed */\n Completed = \"Completed\",\n}\n\n/**\n * Defines values for VirtualNetworkLinkState. \\\n * {@link KnownVirtualNetworkLinkState} can be used interchangeably with VirtualNetworkLinkState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **InProgress** \\\n * **Completed**\n */\nexport type VirtualNetworkLinkState = string;\n/** Defines values for RecordType. */\nexport type RecordType =\n | \"A\"\n | \"AAAA\"\n | \"CNAME\"\n | \"MX\"\n | \"PTR\"\n | \"SOA\"\n | \"SRV\"\n | \"TXT\";\n\n/** Optional parameters. */\nexport interface PrivateZonesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new Private DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored. */\n ifNoneMatch?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type PrivateZonesCreateOrUpdateResponse = PrivateZone;\n\n/** Optional parameters. */\nexport interface PrivateZonesUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The ETag of the Private DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */\n ifMatch?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the update operation. */\nexport type PrivateZonesUpdateResponse = PrivateZone;\n\n/** Optional parameters. */\nexport interface PrivateZonesDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** The ETag of the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes. */\n ifMatch?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface PrivateZonesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type PrivateZonesGetResponse = PrivateZone;\n\n/** Optional parameters. */\nexport interface PrivateZonesListOptionalParams\n extends coreClient.OperationOptions {\n /** The maximum number of Private DNS zones to return. If not specified, returns up to 100 zones. */\n top?: number;\n}\n\n/** Contains response data for the list operation. */\nexport type PrivateZonesListResponse = PrivateZoneListResult;\n\n/** Optional parameters. */\nexport interface PrivateZonesListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {\n /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */\n top?: number;\n}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type PrivateZonesListByResourceGroupResponse = PrivateZoneListResult;\n\n/** Optional parameters. */\nexport interface PrivateZonesListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type PrivateZonesListNextResponse = PrivateZoneListResult;\n\n/** Optional parameters. */\nexport interface PrivateZonesListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type PrivateZonesListByResourceGroupNextResponse = PrivateZoneListResult;\n\n/** Optional parameters. */\nexport interface VirtualNetworkLinksCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored. */\n ifNoneMatch?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type VirtualNetworkLinksCreateOrUpdateResponse = VirtualNetworkLink;\n\n/** Optional parameters. */\nexport interface VirtualNetworkLinksUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */\n ifMatch?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the update operation. */\nexport type VirtualNetworkLinksUpdateResponse = VirtualNetworkLink;\n\n/** Optional parameters. */\nexport interface VirtualNetworkLinksDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** The ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes. */\n ifMatch?: string;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface VirtualNetworkLinksGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type VirtualNetworkLinksGetResponse = VirtualNetworkLink;\n\n/** Optional parameters. */\nexport interface VirtualNetworkLinksListOptionalParams\n extends coreClient.OperationOptions {\n /** The maximum number of virtual network links to return. If not specified, returns up to 100 virtual network links. */\n top?: number;\n}\n\n/** Contains response data for the list operation. */\nexport type VirtualNetworkLinksListResponse = VirtualNetworkLinkListResult;\n\n/** Optional parameters. */\nexport interface VirtualNetworkLinksListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type VirtualNetworkLinksListNextResponse = VirtualNetworkLinkListResult;\n\n/** Optional parameters. */\nexport interface RecordSetsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. */\n ifMatch?: string;\n /** Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will be ignored. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type RecordSetsCreateOrUpdateResponse = RecordSet;\n\n/** Optional parameters. */\nexport interface RecordSetsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** The ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. */\n ifMatch?: string;\n}\n\n/** Contains response data for the update operation. */\nexport type RecordSetsUpdateResponse = RecordSet;\n\n/** Optional parameters. */\nexport interface RecordSetsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** The ETag of the record set. Omit this value to always delete the current record set. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes. */\n ifMatch?: string;\n}\n\n/** Optional parameters. */\nexport interface RecordSetsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type RecordSetsGetResponse = RecordSet;\n\n/** Optional parameters. */\nexport interface RecordSetsListByTypeOptionalParams\n extends coreClient.OperationOptions {\n /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */\n top?: number;\n /** The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with \".<recordsetnamesuffix>\". */\n recordsetnamesuffix?: string;\n}\n\n/** Contains response data for the listByType operation. */\nexport type RecordSetsListByTypeResponse = RecordSetListResult;\n\n/** Optional parameters. */\nexport interface RecordSetsListOptionalParams\n extends coreClient.OperationOptions {\n /** The maximum number of record sets to return. If not specified, returns up to 100 record sets. */\n top?: number;\n /** The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with \".<recordsetnamesuffix>\". */\n recordsetnamesuffix?: string;\n}\n\n/** Contains response data for the list operation. */\nexport type RecordSetsListResponse = RecordSetListResult;\n\n/** Optional parameters. */\nexport interface RecordSetsListByTypeNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByTypeNext operation. */\nexport type RecordSetsListByTypeNextResponse = RecordSetListResult;\n\n/** Optional parameters. */\nexport interface RecordSetsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type RecordSetsListNextResponse = RecordSetListResult;\n\n/** Optional parameters. */\nexport interface PrivateDnsManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,QAAQ,GAA+B;IAClD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,UAAU;QACrB,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,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,EAAE,wBAAwB;gBACxC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,aAAa;iBACzB;aACF,EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,UAAU;yBACtB;qBACF;iBACF;aACF,EACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF,EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,WAAW;iBACvB;aACF,EACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF,EACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF,GACF;KACF;CACF,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 * as coreClient from \"@azure/core-client\";\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n },\n },\n },\n },\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const PrivateZoneListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PrivateZoneListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PrivateZone\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SubResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SubResource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const VirtualNetworkLinkListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VirtualNetworkLinkListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"VirtualNetworkLink\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ARecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ARecord\",\n modelProperties: {\n ipv4Address: {\n serializedName: \"ipv4Address\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const AaaaRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AaaaRecord\",\n modelProperties: {\n ipv6Address: {\n serializedName: \"ipv6Address\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CnameRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CnameRecord\",\n modelProperties: {\n cname: {\n serializedName: \"cname\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MxRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MxRecord\",\n modelProperties: {\n preference: {\n serializedName: \"preference\",\n type: {\n name: \"Number\",\n },\n },\n exchange: {\n serializedName: \"exchange\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const PtrRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PtrRecord\",\n modelProperties: {\n ptrdname: {\n serializedName: \"ptrdname\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SoaRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SoaRecord\",\n modelProperties: {\n host: {\n serializedName: \"host\",\n type: {\n name: \"String\",\n },\n },\n email: {\n serializedName: \"email\",\n type: {\n name: \"String\",\n },\n },\n serialNumber: {\n serializedName: \"serialNumber\",\n type: {\n name: \"Number\",\n },\n },\n refreshTime: {\n serializedName: \"refreshTime\",\n type: {\n name: \"Number\",\n },\n },\n retryTime: {\n serializedName: \"retryTime\",\n type: {\n name: \"Number\",\n },\n },\n expireTime: {\n serializedName: \"expireTime\",\n type: {\n name: \"Number\",\n },\n },\n minimumTtl: {\n serializedName: \"minimumTtl\",\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const SrvRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SrvRecord\",\n modelProperties: {\n priority: {\n serializedName: \"priority\",\n type: {\n name: \"Number\",\n },\n },\n weight: {\n serializedName: \"weight\",\n type: {\n name: \"Number\",\n },\n },\n port: {\n serializedName: \"port\",\n type: {\n name: \"Number\",\n },\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const TxtRecord: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TxtRecord\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const RecordSetListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RecordSetListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RecordSet\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n },\n },\n};\n\nexport const PrivateZone: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PrivateZone\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\",\n },\n },\n maxNumberOfRecordSets: {\n serializedName: \"properties.maxNumberOfRecordSets\",\n readOnly: true,\n type: {\n name: \"Number\",\n },\n },\n numberOfRecordSets: {\n serializedName: \"properties.numberOfRecordSets\",\n readOnly: true,\n type: {\n name: \"Number\",\n },\n },\n maxNumberOfVirtualNetworkLinks: {\n serializedName: \"properties.maxNumberOfVirtualNetworkLinks\",\n readOnly: true,\n type: {\n name: \"Number\",\n },\n },\n numberOfVirtualNetworkLinks: {\n serializedName: \"properties.numberOfVirtualNetworkLinks\",\n readOnly: true,\n type: {\n name: \"Number\",\n },\n },\n maxNumberOfVirtualNetworkLinksWithRegistration: {\n serializedName:\n \"properties.maxNumberOfVirtualNetworkLinksWithRegistration\",\n readOnly: true,\n type: {\n name: \"Number\",\n },\n },\n numberOfVirtualNetworkLinksWithRegistration: {\n serializedName:\n \"properties.numberOfVirtualNetworkLinksWithRegistration\",\n readOnly: true,\n type: {\n name: \"Number\",\n },\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n internalId: {\n serializedName: \"properties.internalId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const VirtualNetworkLink: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VirtualNetworkLink\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\",\n },\n },\n virtualNetwork: {\n serializedName: \"properties.virtualNetwork\",\n type: {\n name: \"Composite\",\n className: \"SubResource\",\n },\n },\n registrationEnabled: {\n serializedName: \"properties.registrationEnabled\",\n type: {\n name: \"Boolean\",\n },\n },\n resolutionPolicy: {\n serializedName: \"properties.resolutionPolicy\",\n type: {\n name: \"String\",\n },\n },\n virtualNetworkLinkState: {\n serializedName: \"properties.virtualNetworkLinkState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const RecordSet: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RecordSet\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\",\n },\n },\n metadata: {\n serializedName: \"properties.metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n ttl: {\n serializedName: \"properties.ttl\",\n type: {\n name: \"Number\",\n },\n },\n fqdn: {\n serializedName: \"properties.fqdn\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n isAutoRegistered: {\n serializedName: \"properties.isAutoRegistered\",\n readOnly: true,\n type: {\n name: \"Boolean\",\n },\n },\n aRecords: {\n serializedName: \"properties.aRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ARecord\",\n },\n },\n },\n },\n aaaaRecords: {\n serializedName: \"properties.aaaaRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AaaaRecord\",\n },\n },\n },\n },\n cnameRecord: {\n serializedName: \"properties.cnameRecord\",\n type: {\n name: \"Composite\",\n className: \"CnameRecord\",\n },\n },\n mxRecords: {\n serializedName: \"properties.mxRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MxRecord\",\n },\n },\n },\n },\n ptrRecords: {\n serializedName: \"properties.ptrRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PtrRecord\",\n },\n },\n },\n },\n soaRecord: {\n serializedName: \"properties.soaRecord\",\n type: {\n name: \"Composite\",\n className: \"SoaRecord\",\n },\n },\n srvRecords: {\n serializedName: \"properties.srvRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SrvRecord\",\n },\n },\n },\n },\n txtRecords: {\n serializedName: \"properties.txtRecords\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TxtRecord\",\n },\n },\n },\n },\n },\n },\n};\n"]}
@@ -5,7 +5,7 @@
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 { PrivateZone as PrivateZoneMapper, VirtualNetworkLink as VirtualNetworkLinkMapper, RecordSet as RecordSetMapper, } from "../models/mappers";
8
+ import { PrivateZone as PrivateZoneMapper, VirtualNetworkLink as VirtualNetworkLinkMapper, RecordSet as RecordSetMapper, } from "../models/mappers.js";
9
9
  export const contentType = {
10
10
  parameterPath: ["options", "contentType"],
11
11
  mapper: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,WAAW,IAAI,iBAAiB,EAChC,kBAAkB,IAAI,wBAAwB,EAC9C,SAAS,IAAI,eAAe,GAC7B,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,iBAAiB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IA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C,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;SACxE;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAA0B;IAC1D,aAAa,EAAE,uBAAuB;IACtC,MAAM,EAAE;QACN,cAAc,EAAE,uBAAuB;QACvC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAA4B;IAC1D,aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,CAAC;IACjD,MAAM,EAAE;QACN,cAAc,EAAE,sBAAsB;QACtC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n PrivateZone as PrivateZoneMapper,\n VirtualNetworkLink as VirtualNetworkLinkMapper,\n RecordSet as RecordSetMapper,\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateZoneMapper,\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const privateZoneName: OperationURLParameter = {\n parameterPath: \"privateZoneName\",\n mapper: {\n serializedName: \"privateZoneName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-06-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: VirtualNetworkLinkMapper,\n};\n\nexport const virtualNetworkLinkName: OperationURLParameter = {\n parameterPath: \"virtualNetworkLinkName\",\n mapper: {\n serializedName: \"virtualNetworkLinkName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: RecordSetMapper,\n};\n\nexport const recordType: OperationURLParameter = {\n parameterPath: \"recordType\",\n mapper: {\n serializedName: \"recordType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"A\", \"AAAA\", \"CNAME\", \"MX\", \"PTR\", \"SOA\", \"SRV\", \"TXT\"],\n },\n },\n};\n\nexport const relativeRecordSetName: OperationURLParameter = {\n parameterPath: \"relativeRecordSetName\",\n mapper: {\n serializedName: \"relativeRecordSetName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const recordsetnamesuffix: OperationQueryParameter = {\n parameterPath: [\"options\", \"recordsetnamesuffix\"],\n mapper: {\n serializedName: \"$recordsetnamesuffix\",\n type: {\n name: \"String\",\n },\n },\n};\n"]}
@@ -0,0 +1,4 @@
1
+ export * from "./privateZones.js";
2
+ export * from "./virtualNetworkLinks.js";
3
+ export * from "./recordSets.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC"}
@@ -5,7 +5,7 @@
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 "./privateZones";
9
- export * from "./virtualNetworkLinks";
10
- export * from "./recordSets";
8
+ export * from "./privateZones.js";
9
+ export * from "./virtualNetworkLinks.js";
10
+ export * from "./recordSets.js";
11
11
  //# 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,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,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 \"./privateZones.js\";\nexport * from \"./virtualNetworkLinks.js\";\nexport * from \"./recordSets.js\";\n"]}
@@ -1,8 +1,8 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { PrivateZones } from "../operationsInterfaces";
3
- import { PrivateDnsManagementClient } from "../privateDnsManagementClient";
2
+ import { PrivateZones } from "../operationsInterfaces/index.js";
3
+ import { PrivateDnsManagementClient } from "../privateDnsManagementClient.js";
4
4
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { PrivateZone, PrivateZonesListOptionalParams, PrivateZonesListByResourceGroupOptionalParams, PrivateZonesCreateOrUpdateOptionalParams, PrivateZonesCreateOrUpdateResponse, PrivateZonesUpdateOptionalParams, PrivateZonesUpdateResponse, PrivateZonesDeleteOptionalParams, PrivateZonesGetOptionalParams, PrivateZonesGetResponse } from "../models";
5
+ import { PrivateZone, PrivateZonesListOptionalParams, PrivateZonesListByResourceGroupOptionalParams, PrivateZonesCreateOrUpdateOptionalParams, PrivateZonesCreateOrUpdateResponse, PrivateZonesUpdateOptionalParams, PrivateZonesUpdateResponse, PrivateZonesDeleteOptionalParams, PrivateZonesGetOptionalParams, PrivateZonesGetResponse } from "../models/index.js";
6
6
  /** Class containing PrivateZones operations. */
7
7
  export declare class PrivateZonesImpl implements PrivateZones {
8
8
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateZones.d.ts","sourceRoot":"","sources":["../../../src/operations/privateZones.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAA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,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,0BAA0B,CAAC,EAC1C,0BAA0B,CAC3B,CACF;IAuDD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAUtC;;;;;;;OAOG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAoDxD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC;IAShB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAOnC;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -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 PrivateZones operations. */
17
17
  export class PrivateZonesImpl {
@@ -153,42 +153,40 @@ export class PrivateZonesImpl {
153
153
  * @param parameters Parameters supplied to the CreateOrUpdate operation.
154
154
  * @param options The options parameters.
155
155
  */
156
- beginCreateOrUpdate(resourceGroupName, privateZoneName, parameters, options) {
157
- return __awaiter(this, void 0, void 0, function* () {
158
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
159
- return this.client.sendOperationRequest(args, spec);
160
- });
161
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
162
- var _a;
163
- let currentRawResponse = undefined;
164
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
165
- const callback = (rawResponse, flatResponse) => {
166
- currentRawResponse = rawResponse;
167
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
168
- };
169
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
170
- const flatResponse = yield directSendOperation(updatedArgs, spec);
171
- return {
172
- flatResponse,
173
- rawResponse: {
174
- statusCode: currentRawResponse.status,
175
- body: currentRawResponse.parsedBody,
176
- headers: currentRawResponse.headers.toJSON(),
177
- },
178
- };
179
- });
180
- const lro = createLroSpec({
181
- sendOperationFn,
182
- args: { resourceGroupName, privateZoneName, parameters, options },
183
- spec: createOrUpdateOperationSpec,
184
- });
185
- const poller = yield createHttpPoller(lro, {
186
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
187
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
188
- });
189
- yield poller.poll();
190
- return poller;
156
+ async beginCreateOrUpdate(resourceGroupName, privateZoneName, parameters, options) {
157
+ const directSendOperation = async (args, spec) => {
158
+ return this.client.sendOperationRequest(args, spec);
159
+ };
160
+ const sendOperationFn = async (args, spec) => {
161
+ var _a;
162
+ let currentRawResponse = undefined;
163
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
164
+ const callback = (rawResponse, flatResponse) => {
165
+ currentRawResponse = rawResponse;
166
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
167
+ };
168
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
169
+ const flatResponse = await directSendOperation(updatedArgs, spec);
170
+ return {
171
+ flatResponse,
172
+ rawResponse: {
173
+ statusCode: currentRawResponse.status,
174
+ body: currentRawResponse.parsedBody,
175
+ headers: currentRawResponse.headers.toJSON(),
176
+ },
177
+ };
178
+ };
179
+ const lro = createLroSpec({
180
+ sendOperationFn,
181
+ args: { resourceGroupName, privateZoneName, parameters, options },
182
+ spec: createOrUpdateOperationSpec,
183
+ });
184
+ const poller = await createHttpPoller(lro, {
185
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
186
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
191
187
  });
188
+ await poller.poll();
189
+ return poller;
192
190
  }
193
191
  /**
194
192
  * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
@@ -198,11 +196,9 @@ export class PrivateZonesImpl {
198
196
  * @param parameters Parameters supplied to the CreateOrUpdate operation.
199
197
  * @param options The options parameters.
200
198
  */
201
- beginCreateOrUpdateAndWait(resourceGroupName, privateZoneName, parameters, options) {
202
- return __awaiter(this, void 0, void 0, function* () {
203
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, privateZoneName, parameters, options);
204
- return poller.pollUntilDone();
205
- });
199
+ async beginCreateOrUpdateAndWait(resourceGroupName, privateZoneName, parameters, options) {
200
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, privateZoneName, parameters, options);
201
+ return poller.pollUntilDone();
206
202
  }
207
203
  /**
208
204
  * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
@@ -211,42 +207,40 @@ export class PrivateZonesImpl {
211
207
  * @param parameters Parameters supplied to the Update operation.
212
208
  * @param options The options parameters.
213
209
  */
214
- beginUpdate(resourceGroupName, privateZoneName, parameters, options) {
215
- return __awaiter(this, void 0, void 0, function* () {
216
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
217
- return this.client.sendOperationRequest(args, spec);
218
- });
219
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
220
- var _a;
221
- let currentRawResponse = undefined;
222
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
223
- const callback = (rawResponse, flatResponse) => {
224
- currentRawResponse = rawResponse;
225
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
226
- };
227
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
228
- const flatResponse = yield directSendOperation(updatedArgs, spec);
229
- return {
230
- flatResponse,
231
- rawResponse: {
232
- statusCode: currentRawResponse.status,
233
- body: currentRawResponse.parsedBody,
234
- headers: currentRawResponse.headers.toJSON(),
235
- },
236
- };
237
- });
238
- const lro = createLroSpec({
239
- sendOperationFn,
240
- args: { resourceGroupName, privateZoneName, parameters, options },
241
- spec: updateOperationSpec,
242
- });
243
- const poller = yield createHttpPoller(lro, {
244
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
245
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
246
- });
247
- yield poller.poll();
248
- return poller;
210
+ async beginUpdate(resourceGroupName, privateZoneName, parameters, options) {
211
+ const directSendOperation = async (args, spec) => {
212
+ return this.client.sendOperationRequest(args, spec);
213
+ };
214
+ const sendOperationFn = async (args, spec) => {
215
+ var _a;
216
+ let currentRawResponse = undefined;
217
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
218
+ const callback = (rawResponse, flatResponse) => {
219
+ currentRawResponse = rawResponse;
220
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
221
+ };
222
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
223
+ const flatResponse = await directSendOperation(updatedArgs, spec);
224
+ return {
225
+ flatResponse,
226
+ rawResponse: {
227
+ statusCode: currentRawResponse.status,
228
+ body: currentRawResponse.parsedBody,
229
+ headers: currentRawResponse.headers.toJSON(),
230
+ },
231
+ };
232
+ };
233
+ const lro = createLroSpec({
234
+ sendOperationFn,
235
+ args: { resourceGroupName, privateZoneName, parameters, options },
236
+ spec: updateOperationSpec,
249
237
  });
238
+ const poller = await createHttpPoller(lro, {
239
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
240
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
241
+ });
242
+ await poller.poll();
243
+ return poller;
250
244
  }
251
245
  /**
252
246
  * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
@@ -255,11 +249,9 @@ export class PrivateZonesImpl {
255
249
  * @param parameters Parameters supplied to the Update operation.
256
250
  * @param options The options parameters.
257
251
  */
258
- beginUpdateAndWait(resourceGroupName, privateZoneName, parameters, options) {
259
- return __awaiter(this, void 0, void 0, function* () {
260
- const poller = yield this.beginUpdate(resourceGroupName, privateZoneName, parameters, options);
261
- return poller.pollUntilDone();
262
- });
252
+ async beginUpdateAndWait(resourceGroupName, privateZoneName, parameters, options) {
253
+ const poller = await this.beginUpdate(resourceGroupName, privateZoneName, parameters, options);
254
+ return poller.pollUntilDone();
263
255
  }
264
256
  /**
265
257
  * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
@@ -269,42 +261,40 @@ export class PrivateZonesImpl {
269
261
  * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
270
262
  * @param options The options parameters.
271
263
  */
272
- beginDelete(resourceGroupName, privateZoneName, options) {
273
- return __awaiter(this, void 0, void 0, function* () {
274
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
275
- return this.client.sendOperationRequest(args, spec);
276
- });
277
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
278
- var _a;
279
- let currentRawResponse = undefined;
280
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
281
- const callback = (rawResponse, flatResponse) => {
282
- currentRawResponse = rawResponse;
283
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
284
- };
285
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
286
- const flatResponse = yield directSendOperation(updatedArgs, spec);
287
- return {
288
- flatResponse,
289
- rawResponse: {
290
- statusCode: currentRawResponse.status,
291
- body: currentRawResponse.parsedBody,
292
- headers: currentRawResponse.headers.toJSON(),
293
- },
294
- };
295
- });
296
- const lro = createLroSpec({
297
- sendOperationFn,
298
- args: { resourceGroupName, privateZoneName, options },
299
- spec: deleteOperationSpec,
300
- });
301
- const poller = yield createHttpPoller(lro, {
302
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
303
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
304
- });
305
- yield poller.poll();
306
- return poller;
264
+ async beginDelete(resourceGroupName, privateZoneName, options) {
265
+ const directSendOperation = async (args, spec) => {
266
+ return this.client.sendOperationRequest(args, spec);
267
+ };
268
+ const sendOperationFn = async (args, spec) => {
269
+ var _a;
270
+ let currentRawResponse = undefined;
271
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
272
+ const callback = (rawResponse, flatResponse) => {
273
+ currentRawResponse = rawResponse;
274
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
275
+ };
276
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
277
+ const flatResponse = await directSendOperation(updatedArgs, spec);
278
+ return {
279
+ flatResponse,
280
+ rawResponse: {
281
+ statusCode: currentRawResponse.status,
282
+ body: currentRawResponse.parsedBody,
283
+ headers: currentRawResponse.headers.toJSON(),
284
+ },
285
+ };
286
+ };
287
+ const lro = createLroSpec({
288
+ sendOperationFn,
289
+ args: { resourceGroupName, privateZoneName, options },
290
+ spec: deleteOperationSpec,
291
+ });
292
+ const poller = await createHttpPoller(lro, {
293
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
294
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
307
295
  });
296
+ await poller.poll();
297
+ return poller;
308
298
  }
309
299
  /**
310
300
  * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
@@ -314,11 +304,9 @@ export class PrivateZonesImpl {
314
304
  * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
315
305
  * @param options The options parameters.
316
306
  */
317
- beginDeleteAndWait(resourceGroupName, privateZoneName, options) {
318
- return __awaiter(this, void 0, void 0, function* () {
319
- const poller = yield this.beginDelete(resourceGroupName, privateZoneName, options);
320
- return poller.pollUntilDone();
321
- });
307
+ async beginDeleteAndWait(resourceGroupName, privateZoneName, options) {
308
+ const poller = await this.beginDelete(resourceGroupName, privateZoneName, options);
309
+ return poller.pollUntilDone();
322
310
  }
323
311
  /**
324
312
  * Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the