@azure/arm-privatedns 3.3.1-alpha.20250217.1 → 3.3.1-alpha.20250219.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
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./privateZones.js";
9
+ export * from "./virtualNetworkLinks.js";
10
+ export * from "./recordSets.js";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/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"]}
@@ -0,0 +1,78 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { PrivateZone, PrivateZonesListOptionalParams, PrivateZonesListByResourceGroupOptionalParams, PrivateZonesCreateOrUpdateOptionalParams, PrivateZonesCreateOrUpdateResponse, PrivateZonesUpdateOptionalParams, PrivateZonesUpdateResponse, PrivateZonesDeleteOptionalParams, PrivateZonesGetOptionalParams, PrivateZonesGetResponse } from "../models/index.js";
4
+ /** Interface representing a PrivateZones. */
5
+ export interface PrivateZones {
6
+ /**
7
+ * Lists the Private DNS zones in all resource groups in a subscription.
8
+ * @param options The options parameters.
9
+ */
10
+ list(options?: PrivateZonesListOptionalParams): PagedAsyncIterableIterator<PrivateZone>;
11
+ /**
12
+ * Lists the Private DNS zones within a resource group.
13
+ * @param resourceGroupName The name of the resource group.
14
+ * @param options The options parameters.
15
+ */
16
+ listByResourceGroup(resourceGroupName: string, options?: PrivateZonesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PrivateZone>;
17
+ /**
18
+ * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
19
+ * within the zone.
20
+ * @param resourceGroupName The name of the resource group.
21
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
22
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
23
+ * @param options The options parameters.
24
+ */
25
+ beginCreateOrUpdate(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateZonesCreateOrUpdateResponse>, PrivateZonesCreateOrUpdateResponse>>;
26
+ /**
27
+ * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
28
+ * within the zone.
29
+ * @param resourceGroupName The name of the resource group.
30
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
31
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
32
+ * @param options The options parameters.
33
+ */
34
+ beginCreateOrUpdateAndWait(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesCreateOrUpdateOptionalParams): Promise<PrivateZonesCreateOrUpdateResponse>;
35
+ /**
36
+ * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
37
+ * @param resourceGroupName The name of the resource group.
38
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
39
+ * @param parameters Parameters supplied to the Update operation.
40
+ * @param options The options parameters.
41
+ */
42
+ beginUpdate(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateZonesUpdateResponse>, PrivateZonesUpdateResponse>>;
43
+ /**
44
+ * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
45
+ * @param resourceGroupName The name of the resource group.
46
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
47
+ * @param parameters Parameters supplied to the Update operation.
48
+ * @param options The options parameters.
49
+ */
50
+ beginUpdateAndWait(resourceGroupName: string, privateZoneName: string, parameters: PrivateZone, options?: PrivateZonesUpdateOptionalParams): Promise<PrivateZonesUpdateResponse>;
51
+ /**
52
+ * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
53
+ * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
54
+ * it are removed.
55
+ * @param resourceGroupName The name of the resource group.
56
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
57
+ * @param options The options parameters.
58
+ */
59
+ beginDelete(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
60
+ /**
61
+ * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
62
+ * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
63
+ * it are removed.
64
+ * @param resourceGroupName The name of the resource group.
65
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
66
+ * @param options The options parameters.
67
+ */
68
+ beginDeleteAndWait(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesDeleteOptionalParams): Promise<void>;
69
+ /**
70
+ * Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the
71
+ * record sets within the zone.
72
+ * @param resourceGroupName The name of the resource group.
73
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
74
+ * @param options The options parameters.
75
+ */
76
+ get(resourceGroupName: string, privateZoneName: string, options?: PrivateZonesGetOptionalParams): Promise<PrivateZonesGetResponse>;
77
+ }
78
+ //# sourceMappingURL=privateZones.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateZones.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateZones.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,WAAW,EACX,8BAA8B,EAC9B,6CAA6C,EAC7C,wCAAwC,EACxC,kCAAkC,EAClC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,8BAA8B,GACvC,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6CAA6C,GACtD,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,kCAAkC,CAAC,EAClD,kCAAkC,CACnC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,0BAA0B,CAAC,EAC1C,0BAA0B,CAC3B,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;OAOG;IACH,WAAW,CACT,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,CAAC;IACzD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC"}
@@ -5,7 +5,5 @@
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
-
9
- export * from "./privateZones";
10
- export * from "./virtualNetworkLinks";
11
- export * from "./recordSets";
8
+ export {};
9
+ //# sourceMappingURL=privateZones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateZones.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateZones.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n PrivateZone,\n PrivateZonesListOptionalParams,\n PrivateZonesListByResourceGroupOptionalParams,\n PrivateZonesCreateOrUpdateOptionalParams,\n PrivateZonesCreateOrUpdateResponse,\n PrivateZonesUpdateOptionalParams,\n PrivateZonesUpdateResponse,\n PrivateZonesDeleteOptionalParams,\n PrivateZonesGetOptionalParams,\n PrivateZonesGetResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateZones. */\nexport interface PrivateZones {\n /**\n * Lists the Private DNS zones in all resource groups in a subscription.\n * @param options The options parameters.\n */\n list(\n options?: PrivateZonesListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateZone>;\n /**\n * Lists the Private DNS zones within a resource group.\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: PrivateZonesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<PrivateZone>;\n /**\n * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records\n * within the zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n privateZoneName: string,\n parameters: PrivateZone,\n options?: PrivateZonesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateZonesCreateOrUpdateResponse>,\n PrivateZonesCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records\n * within the zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n parameters: PrivateZone,\n options?: PrivateZonesCreateOrUpdateOptionalParams,\n ): Promise<PrivateZonesCreateOrUpdateResponse>;\n /**\n * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n privateZoneName: string,\n parameters: PrivateZone,\n options?: PrivateZonesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateZonesUpdateResponse>,\n PrivateZonesUpdateResponse\n >\n >;\n /**\n * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n parameters: PrivateZone,\n options?: PrivateZonesUpdateOptionalParams,\n ): Promise<PrivateZonesUpdateResponse>;\n /**\n * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This\n * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to\n * it are removed.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n privateZoneName: string,\n options?: PrivateZonesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This\n * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to\n * it are removed.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n options?: PrivateZonesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the\n * record sets within the zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n privateZoneName: string,\n options?: PrivateZonesGetOptionalParams,\n ): Promise<PrivateZonesGetResponse>;\n}\n"]}
@@ -0,0 +1,61 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { RecordSet, RecordType, RecordSetsListByTypeOptionalParams, RecordSetsListOptionalParams, RecordSetsCreateOrUpdateOptionalParams, RecordSetsCreateOrUpdateResponse, RecordSetsUpdateOptionalParams, RecordSetsUpdateResponse, RecordSetsDeleteOptionalParams, RecordSetsGetOptionalParams, RecordSetsGetResponse } from "../models/index.js";
3
+ /** Interface representing a RecordSets. */
4
+ export interface RecordSets {
5
+ /**
6
+ * Lists the record sets of a specified type in a Private DNS zone.
7
+ * @param resourceGroupName The name of the resource group.
8
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
9
+ * @param recordType The type of record sets to enumerate.
10
+ * @param options The options parameters.
11
+ */
12
+ listByType(resourceGroupName: string, privateZoneName: string, recordType: RecordType, options?: RecordSetsListByTypeOptionalParams): PagedAsyncIterableIterator<RecordSet>;
13
+ /**
14
+ * Lists all record sets in a Private DNS zone.
15
+ * @param resourceGroupName The name of the resource group.
16
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
17
+ * @param options The options parameters.
18
+ */
19
+ list(resourceGroupName: string, privateZoneName: string, options?: RecordSetsListOptionalParams): PagedAsyncIterableIterator<RecordSet>;
20
+ /**
21
+ * Creates or updates a record set within a Private DNS zone.
22
+ * @param resourceGroupName The name of the resource group.
23
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
24
+ * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated
25
+ * but not created (they are created when the Private DNS zone is created).
26
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
27
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
28
+ * @param options The options parameters.
29
+ */
30
+ createOrUpdate(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, parameters: RecordSet, options?: RecordSetsCreateOrUpdateOptionalParams): Promise<RecordSetsCreateOrUpdateResponse>;
31
+ /**
32
+ * Updates a record set within a Private DNS zone.
33
+ * @param resourceGroupName The name of the resource group.
34
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
35
+ * @param recordType The type of DNS record in this record set.
36
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
37
+ * @param parameters Parameters supplied to the Update operation.
38
+ * @param options The options parameters.
39
+ */
40
+ update(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, parameters: RecordSet, options?: RecordSetsUpdateOptionalParams): Promise<RecordSetsUpdateResponse>;
41
+ /**
42
+ * Deletes a record set from a Private DNS zone. This operation cannot be undone.
43
+ * @param resourceGroupName The name of the resource group.
44
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
45
+ * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be
46
+ * deleted (they are deleted when the Private DNS zone is deleted).
47
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
48
+ * @param options The options parameters.
49
+ */
50
+ delete(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, options?: RecordSetsDeleteOptionalParams): Promise<void>;
51
+ /**
52
+ * Gets a record set.
53
+ * @param resourceGroupName The name of the resource group.
54
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
55
+ * @param recordType The type of DNS record in this record set.
56
+ * @param relativeRecordSetName The name of the record set, relative to the name of the zone.
57
+ * @param options The options parameters.
58
+ */
59
+ get(resourceGroupName: string, privateZoneName: string, recordType: RecordType, relativeRecordSetName: string, options?: RecordSetsGetOptionalParams): Promise<RecordSetsGetResponse>;
60
+ }
61
+ //# sourceMappingURL=recordSets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordSets.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/recordSets.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,UAAU,EACV,kCAAkC,EAClC,4BAA4B,EAC5B,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACnC"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=recordSets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/recordSets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n RecordSet,\n RecordType,\n RecordSetsListByTypeOptionalParams,\n RecordSetsListOptionalParams,\n RecordSetsCreateOrUpdateOptionalParams,\n RecordSetsCreateOrUpdateResponse,\n RecordSetsUpdateOptionalParams,\n RecordSetsUpdateResponse,\n RecordSetsDeleteOptionalParams,\n RecordSetsGetOptionalParams,\n RecordSetsGetResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a RecordSets. */\nexport interface RecordSets {\n /**\n * Lists the record sets of a specified type in a Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param recordType The type of record sets to enumerate.\n * @param options The options parameters.\n */\n listByType(\n resourceGroupName: string,\n privateZoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet>;\n /**\n * Lists all record sets in a Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n privateZoneName: string,\n options?: RecordSetsListOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet>;\n /**\n * Creates or updates a record set within a Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set. Record sets of type SOA can be updated\n * but not created (they are created when the Private DNS zone is created).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n privateZoneName: string,\n recordType: RecordType,\n relativeRecordSetName: string,\n parameters: RecordSet,\n options?: RecordSetsCreateOrUpdateOptionalParams,\n ): Promise<RecordSetsCreateOrUpdateResponse>;\n /**\n * Updates a record set within a Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n privateZoneName: string,\n recordType: RecordType,\n relativeRecordSetName: string,\n parameters: RecordSet,\n options?: RecordSetsUpdateOptionalParams,\n ): Promise<RecordSetsUpdateResponse>;\n /**\n * Deletes a record set from a Private DNS zone. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set. Record sets of type SOA cannot be\n * deleted (they are deleted when the Private DNS zone is deleted).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n privateZoneName: string,\n recordType: RecordType,\n relativeRecordSetName: string,\n options?: RecordSetsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Gets a record set.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n privateZoneName: string,\n recordType: RecordType,\n relativeRecordSetName: string,\n options?: RecordSetsGetOptionalParams,\n ): Promise<RecordSetsGetResponse>;\n}\n"]}
@@ -0,0 +1,78 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { VirtualNetworkLink, VirtualNetworkLinksListOptionalParams, VirtualNetworkLinksCreateOrUpdateOptionalParams, VirtualNetworkLinksCreateOrUpdateResponse, VirtualNetworkLinksUpdateOptionalParams, VirtualNetworkLinksUpdateResponse, VirtualNetworkLinksDeleteOptionalParams, VirtualNetworkLinksGetOptionalParams, VirtualNetworkLinksGetResponse } from "../models/index.js";
4
+ /** Interface representing a VirtualNetworkLinks. */
5
+ export interface VirtualNetworkLinks {
6
+ /**
7
+ * Lists the virtual network links to the specified Private DNS zone.
8
+ * @param resourceGroupName The name of the resource group.
9
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
10
+ * @param options The options parameters.
11
+ */
12
+ list(resourceGroupName: string, privateZoneName: string, options?: VirtualNetworkLinksListOptionalParams): PagedAsyncIterableIterator<VirtualNetworkLink>;
13
+ /**
14
+ * Creates or updates a virtual network link to the specified Private DNS zone.
15
+ * @param resourceGroupName The name of the resource group.
16
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
17
+ * @param virtualNetworkLinkName The name of the virtual network link.
18
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
19
+ * @param options The options parameters.
20
+ */
21
+ beginCreateOrUpdate(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworkLinksCreateOrUpdateResponse>, VirtualNetworkLinksCreateOrUpdateResponse>>;
22
+ /**
23
+ * Creates or updates a virtual network link to the specified Private DNS zone.
24
+ * @param resourceGroupName The name of the resource group.
25
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
26
+ * @param virtualNetworkLinkName The name of the virtual network link.
27
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
28
+ * @param options The options parameters.
29
+ */
30
+ beginCreateOrUpdateAndWait(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<VirtualNetworkLinksCreateOrUpdateResponse>;
31
+ /**
32
+ * Updates a virtual network link to the specified Private DNS zone.
33
+ * @param resourceGroupName The name of the resource group.
34
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
35
+ * @param virtualNetworkLinkName The name of the virtual network link.
36
+ * @param parameters Parameters supplied to the Update operation.
37
+ * @param options The options parameters.
38
+ */
39
+ beginUpdate(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworkLinksUpdateResponse>, VirtualNetworkLinksUpdateResponse>>;
40
+ /**
41
+ * Updates a virtual network link to the specified Private DNS zone.
42
+ * @param resourceGroupName The name of the resource group.
43
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
44
+ * @param virtualNetworkLinkName The name of the virtual network link.
45
+ * @param parameters Parameters supplied to the Update operation.
46
+ * @param options The options parameters.
47
+ */
48
+ beginUpdateAndWait(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<VirtualNetworkLinksUpdateResponse>;
49
+ /**
50
+ * Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration
51
+ * virtual network, all auto-registered DNS records in the zone for the virtual network will also be
52
+ * deleted. This operation cannot be undone.
53
+ * @param resourceGroupName The name of the resource group.
54
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
55
+ * @param virtualNetworkLinkName The name of the virtual network link.
56
+ * @param options The options parameters.
57
+ */
58
+ beginDelete(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
59
+ /**
60
+ * Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration
61
+ * virtual network, all auto-registered DNS records in the zone for the virtual network will also be
62
+ * deleted. This operation cannot be undone.
63
+ * @param resourceGroupName The name of the resource group.
64
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
65
+ * @param virtualNetworkLinkName The name of the virtual network link.
66
+ * @param options The options parameters.
67
+ */
68
+ beginDeleteAndWait(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<void>;
69
+ /**
70
+ * Gets a virtual network link to the specified Private DNS zone.
71
+ * @param resourceGroupName The name of the resource group.
72
+ * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
73
+ * @param virtualNetworkLinkName The name of the virtual network link.
74
+ * @param options The options parameters.
75
+ */
76
+ get(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksGetOptionalParams): Promise<VirtualNetworkLinksGetResponse>;
77
+ }
78
+ //# sourceMappingURL=virtualNetworkLinks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtualNetworkLinks.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/virtualNetworkLinks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,kBAAkB,EAClB,qCAAqC,EACrC,+CAA+C,EAC/C,yCAAyC,EACzC,uCAAuC,EACvC,iCAAiC,EACjC,uCAAuC,EACvC,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,oDAAoD;AACpD,MAAM,WAAW,mBAAmB;IAClC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,yCAAyC,CAAC,EACzD,yCAAyC,CAC1C,CACF,CAAC;IACF;;;;;;;OAOG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACtD;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,sBAAsB,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=virtualNetworkLinks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtualNetworkLinks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/virtualNetworkLinks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n VirtualNetworkLink,\n VirtualNetworkLinksListOptionalParams,\n VirtualNetworkLinksCreateOrUpdateOptionalParams,\n VirtualNetworkLinksCreateOrUpdateResponse,\n VirtualNetworkLinksUpdateOptionalParams,\n VirtualNetworkLinksUpdateResponse,\n VirtualNetworkLinksDeleteOptionalParams,\n VirtualNetworkLinksGetOptionalParams,\n VirtualNetworkLinksGetResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a VirtualNetworkLinks. */\nexport interface VirtualNetworkLinks {\n /**\n * Lists the virtual network links to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n privateZoneName: string,\n options?: VirtualNetworkLinksListOptionalParams,\n ): PagedAsyncIterableIterator<VirtualNetworkLink>;\n /**\n * Creates or updates a virtual network link to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n parameters: VirtualNetworkLink,\n options?: VirtualNetworkLinksCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<VirtualNetworkLinksCreateOrUpdateResponse>,\n VirtualNetworkLinksCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates a virtual network link to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n parameters: VirtualNetworkLink,\n options?: VirtualNetworkLinksCreateOrUpdateOptionalParams,\n ): Promise<VirtualNetworkLinksCreateOrUpdateResponse>;\n /**\n * Updates a virtual network link to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n parameters: VirtualNetworkLink,\n options?: VirtualNetworkLinksUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<VirtualNetworkLinksUpdateResponse>,\n VirtualNetworkLinksUpdateResponse\n >\n >;\n /**\n * Updates a virtual network link to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n parameters: VirtualNetworkLink,\n options?: VirtualNetworkLinksUpdateOptionalParams,\n ): Promise<VirtualNetworkLinksUpdateResponse>;\n /**\n * Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration\n * virtual network, all auto-registered DNS records in the zone for the virtual network will also be\n * deleted. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n options?: VirtualNetworkLinksDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration\n * virtual network, all auto-registered DNS records in the zone for the virtual network will also be\n * deleted. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n options?: VirtualNetworkLinksDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Gets a virtual network link to the specified Private DNS zone.\n * @param resourceGroupName The name of the resource group.\n * @param privateZoneName The name of the Private DNS zone (without a terminating dot).\n * @param virtualNetworkLinkName The name of the virtual network link.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n privateZoneName: string,\n virtualNetworkLinkName: string,\n options?: VirtualNetworkLinksGetOptionalParams,\n ): Promise<VirtualNetworkLinksGetResponse>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ const pageMap = new WeakMap();
9
+ /**
10
+ * Given the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
15
+ */
16
+ export function getContinuationToken(page) {
17
+ var _a;
18
+ if (typeof page !== "object" || page === null) {
19
+ return undefined;
20
+ }
21
+ return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
22
+ }
23
+ export function setContinuationToken(page, continuationToken) {
24
+ var _a;
25
+ if (typeof page !== "object" || page === null || !continuationToken) {
26
+ return;
27
+ }
28
+ const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
29
+ pageInfo.continuationToken = continuationToken;
30
+ pageMap.set(page, pageInfo);
31
+ }
32
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -0,0 +1,23 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { PrivateZones, VirtualNetworkLinks, RecordSets } from "./operationsInterfaces/index.js";
4
+ import { PrivateDnsManagementClientOptionalParams } from "./models/index.js";
5
+ export declare class PrivateDnsManagementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the PrivateDnsManagementClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
13
+ * subscription. The subscription ID forms part of the URI for every service call.
14
+ * @param options The parameter options
15
+ */
16
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PrivateDnsManagementClientOptionalParams);
17
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
18
+ private addCustomApiVersionPolicy;
19
+ privateZones: PrivateZones;
20
+ virtualNetworkLinks: VirtualNetworkLinks;
21
+ recordSets: RecordSets;
22
+ }
23
+ //# sourceMappingURL=privateDnsManagementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateDnsManagementClient.d.ts","sourceRoot":"","sources":["../../src/privateDnsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAM7C,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,UAAU,EACX,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,wCAAwC,EAAE,MAAM,mBAAmB,CAAC;AAE7E,qBAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC;IA+EpD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,YAAY,EAAE,YAAY,CAAC;IAC3B,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,UAAU,EAAE,UAAU,CAAC;CACxB"}
@@ -0,0 +1,100 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { PrivateZonesImpl, VirtualNetworkLinksImpl, RecordSetsImpl, } from "./operations/index.js";
11
+ export class PrivateDnsManagementClient extends coreClient.ServiceClient {
12
+ /**
13
+ * Initializes a new instance of the PrivateDnsManagementClient class.
14
+ * @param credentials Subscription credentials which uniquely identify client subscription.
15
+ * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure
16
+ * subscription. The subscription ID forms part of the URI for every service call.
17
+ * @param options The parameter options
18
+ */
19
+ constructor(credentials, subscriptionId, options) {
20
+ var _a, _b, _c;
21
+ if (credentials === undefined) {
22
+ throw new Error("'credentials' cannot be null");
23
+ }
24
+ if (subscriptionId === undefined) {
25
+ throw new Error("'subscriptionId' cannot be null");
26
+ }
27
+ // Initializing default values for options
28
+ if (!options) {
29
+ options = {};
30
+ }
31
+ const defaults = {
32
+ requestContentType: "application/json; charset=utf-8",
33
+ credential: credentials,
34
+ };
35
+ const packageDetails = `azsdk-js-arm-privatedns/3.3.1`;
36
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
+ : `${packageDetails}`;
39
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
40
+ userAgentPrefix,
41
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
42
+ super(optionsWithDefaults);
43
+ let bearerTokenAuthenticationPolicyFound = false;
44
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
45
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
46
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
47
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
48
+ }
49
+ if (!options ||
50
+ !options.pipeline ||
51
+ options.pipeline.getOrderedPolicies().length == 0 ||
52
+ !bearerTokenAuthenticationPolicyFound) {
53
+ this.pipeline.removePolicy({
54
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
55
+ });
56
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
57
+ credential: credentials,
58
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
59
+ challengeCallbacks: {
60
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
61
+ },
62
+ }));
63
+ }
64
+ // Parameter assignments
65
+ this.subscriptionId = subscriptionId;
66
+ // Assigning values to Constant parameters
67
+ this.$host = options.$host || "https://management.azure.com";
68
+ this.apiVersion = options.apiVersion || "2024-06-01";
69
+ this.privateZones = new PrivateZonesImpl(this);
70
+ this.virtualNetworkLinks = new VirtualNetworkLinksImpl(this);
71
+ this.recordSets = new RecordSetsImpl(this);
72
+ this.addCustomApiVersionPolicy(options.apiVersion);
73
+ }
74
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
75
+ addCustomApiVersionPolicy(apiVersion) {
76
+ if (!apiVersion) {
77
+ return;
78
+ }
79
+ const apiVersionPolicy = {
80
+ name: "CustomApiVersionPolicy",
81
+ async sendRequest(request, next) {
82
+ const param = request.url.split("?");
83
+ if (param.length > 1) {
84
+ const newParams = param[1].split("&").map((item) => {
85
+ if (item.indexOf("api-version") > -1) {
86
+ return "api-version=" + apiVersion;
87
+ }
88
+ else {
89
+ return item;
90
+ }
91
+ });
92
+ request.url = param[0] + "?" + newParams.join("&");
93
+ }
94
+ return next(request);
95
+ },
96
+ };
97
+ this.pipeline.addPolicy(apiVersionPolicy);
98
+ }
99
+ }
100
+ //# sourceMappingURL=privateDnsManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateDnsManagementClient.js","sourceRoot":"","sources":["../../src/privateDnsManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,GACf,MAAM,uBAAuB,CAAC;AAQ/B,MAAM,OAAO,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IAKtE;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAkD;;QAElD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA6C;YACzD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,+BAA+B,CAAC;QACvD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EACN,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,GACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GAAY,KAAK,CAAC;QAC1D,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,KAAI,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1E,MAAM,gBAAgB,GACpB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;YACxC,oCAAoC,GAAG,gBAAgB,CAAC,IAAI,CAC1D,CAAC,cAAc,EAAE,EAAE,CACjB,cAAc,CAAC,IAAI;gBACnB,gBAAgB,CAAC,mCAAmC,CACvD,CAAC;QACJ,CAAC;QACD,IACE,CAAC,OAAO;YACR,CAAC,OAAO,CAAC,QAAQ;YACjB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,IAAI,CAAC;YACjD,CAAC,oCAAoC,EACrC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;gBACzB,IAAI,EAAE,gBAAgB,CAAC,mCAAmC;aAC3D,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,SAAS,CACrB,gBAAgB,CAAC,+BAA+B,CAAC;gBAC/C,UAAU,EAAE,WAAW;gBACvB,MAAM,EACJ,MAAA,mBAAmB,CAAC,gBAAgB,mCACpC,GAAG,mBAAmB,CAAC,QAAQ,WAAW;gBAC5C,kBAAkB,EAAE;oBAClB,2BAA2B,EACzB,UAAU,CAAC,gCAAgC;iBAC9C;aACF,CAAC,CACH,CAAC;QACJ,CAAC;QACD,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,YAAY,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,mBAAmB,GAAG,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAKF","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\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n PrivateZonesImpl,\n VirtualNetworkLinksImpl,\n RecordSetsImpl,\n} from \"./operations/index.js\";\nimport {\n PrivateZones,\n VirtualNetworkLinks,\n RecordSets,\n} from \"./operationsInterfaces/index.js\";\nimport { PrivateDnsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class PrivateDnsManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the PrivateDnsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure\n * subscription. The subscription ID forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PrivateDnsManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PrivateDnsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-privatedns/3.3.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-06-01\";\n this.privateZones = new PrivateZonesImpl(this);\n this.virtualNetworkLinks = new VirtualNetworkLinksImpl(this);\n this.recordSets = new RecordSetsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n privateZones: PrivateZones;\n virtualNetworkLinks: VirtualNetworkLinks;\n recordSets: RecordSets;\n}\n"]}
@@ -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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,13 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ /// <reference lib="esnext.asynciterable" />
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
+ //# 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,11 @@
1
+ import { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
+ export declare function createLroSpec<T>(inputs: {
3
+ sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
4
+ args: Record<string, unknown>;
5
+ spec: {
6
+ readonly requestBody?: unknown;
7
+ readonly path?: string;
8
+ readonly httpMethod: string;
9
+ } & Record<string, any>;
10
+ }): LongRunningOperation<T>;
11
+ //# sourceMappingURL=lroImpl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
@@ -0,0 +1,14 @@
1
+ import { __rest } from "tslib";
2
+ export function createLroSpec(inputs) {
3
+ const { args, spec, sendOperationFn } = inputs;
4
+ return {
5
+ requestMethod: spec.httpMethod,
6
+ requestPath: spec.path,
7
+ sendInitialRequest: () => sendOperationFn(args, spec),
8
+ sendPollRequest: (path, options) => {
9
+ const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
10
+ return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
11
+ },
12
+ };
13
+ }
14
+ //# sourceMappingURL=lroImpl.js.map