@azure/arm-dns 5.2.0-beta.1 → 5.2.0-beta.2

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 (409) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/{dist-esm/src → dist/browser}/dnsManagementClient.d.ts +2 -2
  5. package/dist/browser/dnsManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/dnsManagementClient.js +33 -24
  7. package/dist/browser/dnsManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  13. package/dist/browser/lroImpl.js +18 -0
  14. package/dist/browser/lroImpl.js.map +1 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/mappers.js +23 -11
  17. package/dist/browser/models/mappers.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  19. package/dist/browser/models/parameters.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/dnsResourceReferenceOperations.d.ts +3 -3
  21. package/dist/browser/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/dnsResourceReferenceOperations.js +3 -2
  23. package/dist/browser/operations/dnsResourceReferenceOperations.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/dnssecConfigs.d.ts +3 -3
  25. package/dist/browser/operations/dnssecConfigs.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/dnssecConfigs.js +109 -124
  27. package/dist/browser/operations/dnssecConfigs.js.map +1 -0
  28. package/dist/browser/operations/index.d.ts +5 -0
  29. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  30. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +4 -4
  31. package/dist/browser/operations/index.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/recordSets.d.ts +3 -3
  33. package/dist/browser/operations/recordSets.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/recordSets.js +70 -121
  35. package/dist/browser/operations/recordSets.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/zones.d.ts +3 -3
  37. package/dist/browser/operations/zones.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/zones.js +90 -123
  39. package/dist/browser/operations/zones.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/dnsResourceReferenceOperations.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/dnssecConfigs.d.ts +1 -1
  44. package/dist/browser/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
  45. package/dist/browser/operationsInterfaces/dnssecConfigs.js.map +1 -0
  46. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  48. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +4 -4
  49. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.d.ts +1 -1
  51. package/dist/browser/operationsInterfaces/recordSets.d.ts.map +1 -0
  52. package/dist/browser/operationsInterfaces/recordSets.js.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operationsInterfaces/zones.d.ts +1 -1
  54. package/dist/browser/operationsInterfaces/zones.d.ts.map +1 -0
  55. package/dist/browser/operationsInterfaces/zones.js.map +1 -0
  56. package/dist/browser/package.json +3 -0
  57. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  58. package/dist/browser/pagingHelper.js.map +1 -0
  59. package/dist/commonjs/dnsManagementClient.d.ts +23 -0
  60. package/dist/commonjs/dnsManagementClient.d.ts.map +1 -0
  61. package/dist/commonjs/dnsManagementClient.js +118 -0
  62. package/dist/commonjs/dnsManagementClient.js.map +1 -0
  63. package/dist/commonjs/index.d.ts +5 -0
  64. package/dist/commonjs/index.d.ts.map +1 -0
  65. package/dist/commonjs/index.js +19 -0
  66. package/dist/commonjs/index.js.map +1 -0
  67. package/dist/commonjs/lroImpl.d.ts +11 -0
  68. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  69. package/dist/commonjs/lroImpl.js +21 -0
  70. package/dist/commonjs/lroImpl.js.map +1 -0
  71. package/{types/arm-dns.d.ts → dist/commonjs/models/index.d.ts} +639 -932
  72. package/dist/commonjs/models/index.d.ts.map +1 -0
  73. package/dist/commonjs/models/index.js +23 -0
  74. package/dist/commonjs/models/index.js.map +1 -0
  75. package/dist/commonjs/models/mappers.d.ts +36 -0
  76. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  77. package/dist/commonjs/models/mappers.js +1180 -0
  78. package/dist/commonjs/models/mappers.js.map +1 -0
  79. package/dist/commonjs/models/parameters.d.ts +21 -0
  80. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  81. package/dist/commonjs/models/parameters.js +201 -0
  82. package/dist/commonjs/models/parameters.js.map +1 -0
  83. package/dist/commonjs/operations/dnsResourceReferenceOperations.d.ts +19 -0
  84. package/dist/commonjs/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
  85. package/dist/commonjs/operations/dnsResourceReferenceOperations.js +55 -0
  86. package/dist/commonjs/operations/dnsResourceReferenceOperations.js.map +1 -0
  87. package/dist/commonjs/operations/dnssecConfigs.d.ts +74 -0
  88. package/dist/commonjs/operations/dnssecConfigs.d.ts.map +1 -0
  89. package/dist/commonjs/operations/dnssecConfigs.js +338 -0
  90. package/dist/commonjs/operations/dnssecConfigs.js.map +1 -0
  91. package/dist/commonjs/operations/index.d.ts +5 -0
  92. package/dist/commonjs/operations/index.d.ts.map +1 -0
  93. package/dist/commonjs/operations/index.js +15 -0
  94. package/dist/commonjs/operations/index.js.map +1 -0
  95. package/dist/commonjs/operations/recordSets.d.ts +129 -0
  96. package/dist/commonjs/operations/recordSets.d.ts.map +1 -0
  97. package/dist/commonjs/operations/recordSets.js +550 -0
  98. package/dist/commonjs/operations/recordSets.js.map +1 -0
  99. package/dist/commonjs/operations/zones.d.ts +93 -0
  100. package/dist/commonjs/operations/zones.d.ts.map +1 -0
  101. package/dist/commonjs/operations/zones.js +417 -0
  102. package/dist/commonjs/operations/zones.js.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
  104. package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
  105. package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.js +10 -0
  106. package/dist/commonjs/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
  107. package/dist/commonjs/operationsInterfaces/dnssecConfigs.d.ts +49 -0
  108. package/dist/commonjs/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/dnssecConfigs.js +10 -0
  110. package/dist/commonjs/operationsInterfaces/dnssecConfigs.js.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  112. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  114. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/recordSets.d.ts +68 -0
  116. package/dist/commonjs/operationsInterfaces/recordSets.d.ts.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/recordSets.js +10 -0
  118. package/dist/commonjs/operationsInterfaces/recordSets.js.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/zones.d.ts +57 -0
  120. package/dist/commonjs/operationsInterfaces/zones.d.ts.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/zones.js +10 -0
  122. package/dist/commonjs/operationsInterfaces/zones.js.map +1 -0
  123. package/dist/commonjs/package.json +3 -0
  124. package/dist/commonjs/pagingHelper.d.ts +13 -0
  125. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  126. package/dist/commonjs/pagingHelper.js +34 -0
  127. package/dist/commonjs/pagingHelper.js.map +1 -0
  128. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  129. package/dist/esm/dnsManagementClient.d.ts +23 -0
  130. package/dist/esm/dnsManagementClient.d.ts.map +1 -0
  131. package/dist/esm/dnsManagementClient.js +113 -0
  132. package/dist/esm/dnsManagementClient.js.map +1 -0
  133. package/dist/esm/index.d.ts +5 -0
  134. package/dist/esm/index.d.ts.map +1 -0
  135. package/{src/index.ts → dist/esm/index.js} +5 -5
  136. package/dist/esm/index.js.map +1 -0
  137. package/dist/esm/lroImpl.d.ts +11 -0
  138. package/dist/esm/lroImpl.d.ts.map +1 -0
  139. package/dist/esm/lroImpl.js +18 -0
  140. package/dist/esm/lroImpl.js.map +1 -0
  141. package/dist/esm/models/index.d.ts +639 -0
  142. package/dist/esm/models/index.d.ts.map +1 -0
  143. package/dist/esm/models/index.js +20 -0
  144. package/dist/esm/models/index.js.map +1 -0
  145. package/dist/esm/models/mappers.d.ts +36 -0
  146. package/dist/esm/models/mappers.d.ts.map +1 -0
  147. package/dist/esm/models/mappers.js +1177 -0
  148. package/dist/esm/models/mappers.js.map +1 -0
  149. package/dist/esm/models/parameters.d.ts +21 -0
  150. package/dist/esm/models/parameters.d.ts.map +1 -0
  151. package/dist/esm/models/parameters.js +198 -0
  152. package/dist/esm/models/parameters.js.map +1 -0
  153. package/dist/esm/operations/dnsResourceReferenceOperations.d.ts +19 -0
  154. package/dist/esm/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
  155. package/dist/esm/operations/dnsResourceReferenceOperations.js +50 -0
  156. package/dist/esm/operations/dnsResourceReferenceOperations.js.map +1 -0
  157. package/dist/esm/operations/dnssecConfigs.d.ts +74 -0
  158. package/dist/esm/operations/dnssecConfigs.d.ts.map +1 -0
  159. package/dist/esm/operations/dnssecConfigs.js +333 -0
  160. package/dist/esm/operations/dnssecConfigs.js.map +1 -0
  161. package/dist/esm/operations/index.d.ts +5 -0
  162. package/dist/esm/operations/index.d.ts.map +1 -0
  163. package/dist/esm/operations/index.js +12 -0
  164. package/dist/esm/operations/index.js.map +1 -0
  165. package/dist/esm/operations/recordSets.d.ts +129 -0
  166. package/dist/esm/operations/recordSets.d.ts.map +1 -0
  167. package/dist/esm/operations/recordSets.js +545 -0
  168. package/dist/esm/operations/recordSets.js.map +1 -0
  169. package/dist/esm/operations/zones.d.ts +93 -0
  170. package/dist/esm/operations/zones.d.ts.map +1 -0
  171. package/dist/esm/operations/zones.js +412 -0
  172. package/dist/esm/operations/zones.js.map +1 -0
  173. package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
  174. package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
  175. package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.js +9 -0
  176. package/dist/esm/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
  177. package/dist/esm/operationsInterfaces/dnssecConfigs.d.ts +49 -0
  178. package/dist/esm/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
  179. package/dist/esm/operationsInterfaces/dnssecConfigs.js +9 -0
  180. package/dist/esm/operationsInterfaces/dnssecConfigs.js.map +1 -0
  181. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  182. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  183. package/dist/esm/operationsInterfaces/index.js +12 -0
  184. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  185. package/dist/esm/operationsInterfaces/recordSets.d.ts +68 -0
  186. package/dist/esm/operationsInterfaces/recordSets.d.ts.map +1 -0
  187. package/dist/esm/operationsInterfaces/recordSets.js +9 -0
  188. package/dist/esm/operationsInterfaces/recordSets.js.map +1 -0
  189. package/dist/esm/operationsInterfaces/zones.d.ts +57 -0
  190. package/dist/esm/operationsInterfaces/zones.d.ts.map +1 -0
  191. package/dist/esm/operationsInterfaces/zones.js +9 -0
  192. package/dist/esm/operationsInterfaces/zones.js.map +1 -0
  193. package/dist/esm/package.json +3 -0
  194. package/dist/esm/pagingHelper.d.ts +13 -0
  195. package/dist/esm/pagingHelper.d.ts.map +1 -0
  196. package/dist/esm/pagingHelper.js +30 -0
  197. package/dist/esm/pagingHelper.js.map +1 -0
  198. package/dist/react-native/dnsManagementClient.d.ts +23 -0
  199. package/dist/react-native/dnsManagementClient.d.ts.map +1 -0
  200. package/dist/react-native/dnsManagementClient.js +113 -0
  201. package/dist/react-native/dnsManagementClient.js.map +1 -0
  202. package/dist/react-native/index.d.ts +5 -0
  203. package/dist/react-native/index.d.ts.map +1 -0
  204. package/dist/react-native/index.js +13 -0
  205. package/dist/react-native/index.js.map +1 -0
  206. package/dist/react-native/lroImpl.d.ts +11 -0
  207. package/dist/react-native/lroImpl.d.ts.map +1 -0
  208. package/dist/react-native/lroImpl.js +18 -0
  209. package/dist/react-native/lroImpl.js.map +1 -0
  210. package/dist/react-native/models/index.d.ts +639 -0
  211. package/dist/react-native/models/index.d.ts.map +1 -0
  212. package/dist/react-native/models/index.js +20 -0
  213. package/dist/react-native/models/index.js.map +1 -0
  214. package/dist/react-native/models/mappers.d.ts +36 -0
  215. package/dist/react-native/models/mappers.d.ts.map +1 -0
  216. package/dist/react-native/models/mappers.js +1177 -0
  217. package/dist/react-native/models/mappers.js.map +1 -0
  218. package/dist/react-native/models/parameters.d.ts +21 -0
  219. package/dist/react-native/models/parameters.d.ts.map +1 -0
  220. package/dist/react-native/models/parameters.js +198 -0
  221. package/dist/react-native/models/parameters.js.map +1 -0
  222. package/dist/react-native/operations/dnsResourceReferenceOperations.d.ts +19 -0
  223. package/dist/react-native/operations/dnsResourceReferenceOperations.d.ts.map +1 -0
  224. package/dist/react-native/operations/dnsResourceReferenceOperations.js +50 -0
  225. package/dist/react-native/operations/dnsResourceReferenceOperations.js.map +1 -0
  226. package/dist/react-native/operations/dnssecConfigs.d.ts +74 -0
  227. package/dist/react-native/operations/dnssecConfigs.d.ts.map +1 -0
  228. package/dist/react-native/operations/dnssecConfigs.js +333 -0
  229. package/dist/react-native/operations/dnssecConfigs.js.map +1 -0
  230. package/dist/react-native/operations/index.d.ts +5 -0
  231. package/dist/react-native/operations/index.d.ts.map +1 -0
  232. package/dist/react-native/operations/index.js +12 -0
  233. package/dist/react-native/operations/index.js.map +1 -0
  234. package/dist/react-native/operations/recordSets.d.ts +129 -0
  235. package/dist/react-native/operations/recordSets.d.ts.map +1 -0
  236. package/dist/react-native/operations/recordSets.js +545 -0
  237. package/dist/react-native/operations/recordSets.js.map +1 -0
  238. package/dist/react-native/operations/zones.d.ts +93 -0
  239. package/dist/react-native/operations/zones.d.ts.map +1 -0
  240. package/dist/react-native/operations/zones.js +412 -0
  241. package/dist/react-native/operations/zones.js.map +1 -0
  242. package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.d.ts +11 -0
  243. package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +1 -0
  244. package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.js +9 -0
  245. package/dist/react-native/operationsInterfaces/dnsResourceReferenceOperations.js.map +1 -0
  246. package/dist/react-native/operationsInterfaces/dnssecConfigs.d.ts +49 -0
  247. package/dist/react-native/operationsInterfaces/dnssecConfigs.d.ts.map +1 -0
  248. package/dist/react-native/operationsInterfaces/dnssecConfigs.js +9 -0
  249. package/dist/react-native/operationsInterfaces/dnssecConfigs.js.map +1 -0
  250. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  251. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  252. package/dist/react-native/operationsInterfaces/index.js +12 -0
  253. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  254. package/dist/react-native/operationsInterfaces/recordSets.d.ts +68 -0
  255. package/dist/react-native/operationsInterfaces/recordSets.d.ts.map +1 -0
  256. package/dist/react-native/operationsInterfaces/recordSets.js +9 -0
  257. package/dist/react-native/operationsInterfaces/recordSets.js.map +1 -0
  258. package/dist/react-native/operationsInterfaces/zones.d.ts +57 -0
  259. package/dist/react-native/operationsInterfaces/zones.d.ts.map +1 -0
  260. package/dist/react-native/operationsInterfaces/zones.js +9 -0
  261. package/dist/react-native/operationsInterfaces/zones.js.map +1 -0
  262. package/dist/react-native/package.json +3 -0
  263. package/dist/react-native/pagingHelper.d.ts +13 -0
  264. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  265. package/dist/react-native/pagingHelper.js +30 -0
  266. package/dist/react-native/pagingHelper.js.map +1 -0
  267. package/package.json +87 -70
  268. package/dist/index.js +0 -3020
  269. package/dist/index.js.map +0 -1
  270. package/dist/index.min.js +0 -1
  271. package/dist/index.min.js.map +0 -1
  272. package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.d.ts +0 -2
  273. package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.d.ts.map +0 -1
  274. package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.js +0 -43
  275. package/dist-esm/samples-dev/dnsResourceReferenceGetByTargetResourcesSample.js.map +0 -1
  276. package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.d.ts +0 -2
  277. package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.d.ts.map +0 -1
  278. package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.js +0 -38
  279. package/dist-esm/samples-dev/dnssecConfigsCreateOrUpdateSample.js.map +0 -1
  280. package/dist-esm/samples-dev/dnssecConfigsDeleteSample.d.ts +0 -2
  281. package/dist-esm/samples-dev/dnssecConfigsDeleteSample.d.ts.map +0 -1
  282. package/dist-esm/samples-dev/dnssecConfigsDeleteSample.js +0 -38
  283. package/dist-esm/samples-dev/dnssecConfigsDeleteSample.js.map +0 -1
  284. package/dist-esm/samples-dev/dnssecConfigsGetSample.d.ts +0 -2
  285. package/dist-esm/samples-dev/dnssecConfigsGetSample.d.ts.map +0 -1
  286. package/dist-esm/samples-dev/dnssecConfigsGetSample.js +0 -38
  287. package/dist-esm/samples-dev/dnssecConfigsGetSample.js.map +0 -1
  288. package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.d.ts +0 -2
  289. package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.d.ts.map +0 -1
  290. package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.js +0 -54
  291. package/dist-esm/samples-dev/dnssecConfigsListByDnsZoneSample.js.map +0 -1
  292. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.d.ts +0 -2
  293. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.d.ts.map +0 -1
  294. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js +0 -432
  295. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js.map +0 -1
  296. package/dist-esm/samples-dev/recordSetsDeleteSample.d.ts +0 -2
  297. package/dist-esm/samples-dev/recordSetsDeleteSample.d.ts.map +0 -1
  298. package/dist-esm/samples-dev/recordSetsDeleteSample.js +0 -260
  299. package/dist-esm/samples-dev/recordSetsDeleteSample.js.map +0 -1
  300. package/dist-esm/samples-dev/recordSetsGetSample.d.ts +0 -2
  301. package/dist-esm/samples-dev/recordSetsGetSample.d.ts.map +0 -1
  302. package/dist-esm/samples-dev/recordSetsGetSample.js +0 -280
  303. package/dist-esm/samples-dev/recordSetsGetSample.js.map +0 -1
  304. package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.d.ts +0 -2
  305. package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.d.ts.map +0 -1
  306. package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.js +0 -54
  307. package/dist-esm/samples-dev/recordSetsListAllByDnsZoneSample.js.map +0 -1
  308. package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.d.ts +0 -2
  309. package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.d.ts.map +0 -1
  310. package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.js +0 -54
  311. package/dist-esm/samples-dev/recordSetsListByDnsZoneSample.js.map +0 -1
  312. package/dist-esm/samples-dev/recordSetsListByTypeSample.d.ts +0 -2
  313. package/dist-esm/samples-dev/recordSetsListByTypeSample.d.ts.map +0 -1
  314. package/dist-esm/samples-dev/recordSetsListByTypeSample.js +0 -475
  315. package/dist-esm/samples-dev/recordSetsListByTypeSample.js.map +0 -1
  316. package/dist-esm/samples-dev/recordSetsUpdateSample.d.ts +0 -2
  317. package/dist-esm/samples-dev/recordSetsUpdateSample.d.ts.map +0 -1
  318. package/dist-esm/samples-dev/recordSetsUpdateSample.js +0 -293
  319. package/dist-esm/samples-dev/recordSetsUpdateSample.js.map +0 -1
  320. package/dist-esm/samples-dev/zonesCreateOrUpdateSample.d.ts +0 -2
  321. package/dist-esm/samples-dev/zonesCreateOrUpdateSample.d.ts.map +0 -1
  322. package/dist-esm/samples-dev/zonesCreateOrUpdateSample.js +0 -39
  323. package/dist-esm/samples-dev/zonesCreateOrUpdateSample.js.map +0 -1
  324. package/dist-esm/samples-dev/zonesDeleteSample.d.ts +0 -2
  325. package/dist-esm/samples-dev/zonesDeleteSample.d.ts.map +0 -1
  326. package/dist-esm/samples-dev/zonesDeleteSample.js +0 -38
  327. package/dist-esm/samples-dev/zonesDeleteSample.js.map +0 -1
  328. package/dist-esm/samples-dev/zonesGetSample.d.ts +0 -2
  329. package/dist-esm/samples-dev/zonesGetSample.d.ts.map +0 -1
  330. package/dist-esm/samples-dev/zonesGetSample.js +0 -38
  331. package/dist-esm/samples-dev/zonesGetSample.js.map +0 -1
  332. package/dist-esm/samples-dev/zonesListByResourceGroupSample.d.ts +0 -2
  333. package/dist-esm/samples-dev/zonesListByResourceGroupSample.d.ts.map +0 -1
  334. package/dist-esm/samples-dev/zonesListByResourceGroupSample.js +0 -53
  335. package/dist-esm/samples-dev/zonesListByResourceGroupSample.js.map +0 -1
  336. package/dist-esm/samples-dev/zonesListSample.d.ts +0 -2
  337. package/dist-esm/samples-dev/zonesListSample.d.ts.map +0 -1
  338. package/dist-esm/samples-dev/zonesListSample.js +0 -52
  339. package/dist-esm/samples-dev/zonesListSample.js.map +0 -1
  340. package/dist-esm/samples-dev/zonesUpdateSample.d.ts +0 -2
  341. package/dist-esm/samples-dev/zonesUpdateSample.d.ts.map +0 -1
  342. package/dist-esm/samples-dev/zonesUpdateSample.js +0 -39
  343. package/dist-esm/samples-dev/zonesUpdateSample.js.map +0 -1
  344. package/dist-esm/src/dnsManagementClient.d.ts.map +0 -1
  345. package/dist-esm/src/dnsManagementClient.js.map +0 -1
  346. package/dist-esm/src/index.d.ts +0 -5
  347. package/dist-esm/src/index.js.map +0 -1
  348. package/dist-esm/src/lroImpl.js +0 -21
  349. package/dist-esm/src/lroImpl.js.map +0 -1
  350. package/dist-esm/src/models/index.js.map +0 -1
  351. package/dist-esm/src/models/mappers.js.map +0 -1
  352. package/dist-esm/src/models/parameters.js.map +0 -1
  353. package/dist-esm/src/operations/dnsResourceReferenceOperations.d.ts.map +0 -1
  354. package/dist-esm/src/operations/dnsResourceReferenceOperations.js.map +0 -1
  355. package/dist-esm/src/operations/dnssecConfigs.d.ts.map +0 -1
  356. package/dist-esm/src/operations/dnssecConfigs.js.map +0 -1
  357. package/dist-esm/src/operations/index.d.ts +0 -5
  358. package/dist-esm/src/operations/index.js.map +0 -1
  359. package/dist-esm/src/operations/recordSets.d.ts.map +0 -1
  360. package/dist-esm/src/operations/recordSets.js.map +0 -1
  361. package/dist-esm/src/operations/zones.d.ts.map +0 -1
  362. package/dist-esm/src/operations/zones.js.map +0 -1
  363. package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.d.ts.map +0 -1
  364. package/dist-esm/src/operationsInterfaces/dnsResourceReferenceOperations.js.map +0 -1
  365. package/dist-esm/src/operationsInterfaces/dnssecConfigs.d.ts.map +0 -1
  366. package/dist-esm/src/operationsInterfaces/dnssecConfigs.js.map +0 -1
  367. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  368. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  369. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +0 -1
  370. package/dist-esm/src/operationsInterfaces/recordSets.js.map +0 -1
  371. package/dist-esm/src/operationsInterfaces/zones.d.ts.map +0 -1
  372. package/dist-esm/src/operationsInterfaces/zones.js.map +0 -1
  373. package/dist-esm/src/pagingHelper.js.map +0 -1
  374. package/dist-esm/test/dns_operations_test.spec.d.ts +0 -4
  375. package/dist-esm/test/dns_operations_test.spec.d.ts.map +0 -1
  376. package/dist-esm/test/dns_operations_test.spec.js +0 -114
  377. package/dist-esm/test/dns_operations_test.spec.js.map +0 -1
  378. package/src/dnsManagementClient.ts +0 -158
  379. package/src/lroImpl.ts +0 -42
  380. package/src/models/index.ts +0 -746
  381. package/src/models/mappers.ts +0 -1212
  382. package/src/models/parameters.ts +0 -227
  383. package/src/operations/dnsResourceReferenceOperations.ts +0 -69
  384. package/src/operations/dnssecConfigs.ts +0 -468
  385. package/src/operations/index.ts +0 -12
  386. package/src/operations/recordSets.ts +0 -787
  387. package/src/operations/zones.ts +0 -545
  388. package/src/operationsInterfaces/dnsResourceReferenceOperations.ts +0 -26
  389. package/src/operationsInterfaces/dnssecConfigs.ts +0 -95
  390. package/src/operationsInterfaces/index.ts +0 -12
  391. package/src/operationsInterfaces/recordSets.ts +0 -129
  392. package/src/operationsInterfaces/zones.ts +0 -103
  393. package/src/pagingHelper.ts +0 -39
  394. package/tsconfig.json +0 -33
  395. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  396. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  397. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  398. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  399. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  400. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  401. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  402. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  403. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dnsResourceReferenceOperations.js +0 -0
  404. /package/{dist-esm/src → dist/browser}/operationsInterfaces/dnssecConfigs.js +0 -0
  405. /package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.js +0 -0
  406. /package/{dist-esm/src → dist/browser}/operationsInterfaces/zones.js +0 -0
  407. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  408. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  409. /package/review/{arm-dns.api.md → arm-dns-node.api.md} +0 -0
@@ -0,0 +1,93 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Zones } from "../operationsInterfaces/index.js";
3
+ import { DnsManagementClient } from "../dnsManagementClient.js";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import { Zone, ZonesListByResourceGroupOptionalParams, ZonesListOptionalParams, ZonesCreateOrUpdateOptionalParams, ZonesCreateOrUpdateResponse, ZonesDeleteOptionalParams, ZonesGetOptionalParams, ZonesGetResponse, ZoneUpdate, ZonesUpdateOptionalParams, ZonesUpdateResponse } from "../models/index.js";
6
+ /** Class containing Zones operations. */
7
+ export declare class ZonesImpl implements Zones {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class Zones class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: DnsManagementClient);
14
+ /**
15
+ * Lists the DNS zones within a resource group.
16
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
+ * @param options The options parameters.
18
+ */
19
+ listByResourceGroup(resourceGroupName: string, options?: ZonesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Zone>;
20
+ private listByResourceGroupPagingPage;
21
+ private listByResourceGroupPagingAll;
22
+ /**
23
+ * Lists the DNS zones in all resource groups in a subscription.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options?: ZonesListOptionalParams): PagedAsyncIterableIterator<Zone>;
27
+ private listPagingPage;
28
+ private listPagingAll;
29
+ /**
30
+ * Creates or updates a DNS zone. Does not modify DNS records within the zone.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param zoneName The name of the DNS zone (without a terminating dot).
33
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
34
+ * @param options The options parameters.
35
+ */
36
+ createOrUpdate(resourceGroupName: string, zoneName: string, parameters: Zone, options?: ZonesCreateOrUpdateOptionalParams): Promise<ZonesCreateOrUpdateResponse>;
37
+ /**
38
+ * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
39
+ * be undone.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param zoneName The name of the DNS zone (without a terminating dot).
42
+ * @param options The options parameters.
43
+ */
44
+ beginDelete(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
45
+ /**
46
+ * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
47
+ * be undone.
48
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
49
+ * @param zoneName The name of the DNS zone (without a terminating dot).
50
+ * @param options The options parameters.
51
+ */
52
+ beginDeleteAndWait(resourceGroupName: string, zoneName: string, options?: ZonesDeleteOptionalParams): Promise<void>;
53
+ /**
54
+ * Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.
55
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
56
+ * @param zoneName The name of the DNS zone (without a terminating dot).
57
+ * @param options The options parameters.
58
+ */
59
+ get(resourceGroupName: string, zoneName: string, options?: ZonesGetOptionalParams): Promise<ZonesGetResponse>;
60
+ /**
61
+ * Updates a DNS zone. Does not modify DNS records within the zone.
62
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
63
+ * @param zoneName The name of the DNS zone (without a terminating dot).
64
+ * @param parameters Parameters supplied to the Update operation.
65
+ * @param options The options parameters.
66
+ */
67
+ update(resourceGroupName: string, zoneName: string, parameters: ZoneUpdate, options?: ZonesUpdateOptionalParams): Promise<ZonesUpdateResponse>;
68
+ /**
69
+ * Lists the DNS zones within a resource group.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param options The options parameters.
72
+ */
73
+ private _listByResourceGroup;
74
+ /**
75
+ * Lists the DNS zones in all resource groups in a subscription.
76
+ * @param options The options parameters.
77
+ */
78
+ private _list;
79
+ /**
80
+ * ListByResourceGroupNext
81
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
82
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
83
+ * @param options The options parameters.
84
+ */
85
+ private _listByResourceGroupNext;
86
+ /**
87
+ * ListNext
88
+ * @param nextLink The nextLink from the previous successful call to the List method.
89
+ * @param options The options parameters.
90
+ */
91
+ private _listNext;
92
+ }
93
+ //# sourceMappingURL=zones.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zones.d.ts","sourceRoot":"","sources":["../../../src/operations/zones.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAIzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,IAAI,EAEJ,sCAAsC,EAGtC,uBAAuB,EAEvB,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,yBAAyB,EACzB,mBAAmB,EAGpB,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,qBAAa,S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AAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,417 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ZonesImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ const core_lro_1 = require("@azure/core-lro");
17
+ const lroImpl_js_1 = require("../lroImpl.js");
18
+ /// <reference lib="esnext.asynciterable" />
19
+ /** Class containing Zones operations. */
20
+ class ZonesImpl {
21
+ client;
22
+ /**
23
+ * Initialize a new instance of the class Zones class.
24
+ * @param client Reference to the service client
25
+ */
26
+ constructor(client) {
27
+ this.client = client;
28
+ }
29
+ /**
30
+ * Lists the DNS zones within a resource group.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param options The options parameters.
33
+ */
34
+ listByResourceGroup(resourceGroupName, options) {
35
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
36
+ return {
37
+ next() {
38
+ return iter.next();
39
+ },
40
+ [Symbol.asyncIterator]() {
41
+ return this;
42
+ },
43
+ byPage: (settings) => {
44
+ if (settings?.maxPageSize) {
45
+ throw new Error("maxPageSize is not supported by this operation.");
46
+ }
47
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
48
+ },
49
+ };
50
+ }
51
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
52
+ let result;
53
+ let continuationToken = settings?.continuationToken;
54
+ if (!continuationToken) {
55
+ result = await this._listByResourceGroup(resourceGroupName, options);
56
+ let page = result.value || [];
57
+ continuationToken = result.nextLink;
58
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
59
+ yield page;
60
+ }
61
+ while (continuationToken) {
62
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
63
+ continuationToken = result.nextLink;
64
+ let page = result.value || [];
65
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
66
+ yield page;
67
+ }
68
+ }
69
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
70
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
71
+ yield* page;
72
+ }
73
+ }
74
+ /**
75
+ * Lists the DNS zones in all resource groups in a subscription.
76
+ * @param options The options parameters.
77
+ */
78
+ list(options) {
79
+ const iter = this.listPagingAll(options);
80
+ return {
81
+ next() {
82
+ return iter.next();
83
+ },
84
+ [Symbol.asyncIterator]() {
85
+ return this;
86
+ },
87
+ byPage: (settings) => {
88
+ if (settings?.maxPageSize) {
89
+ throw new Error("maxPageSize is not supported by this operation.");
90
+ }
91
+ return this.listPagingPage(options, settings);
92
+ },
93
+ };
94
+ }
95
+ async *listPagingPage(options, settings) {
96
+ let result;
97
+ let continuationToken = settings?.continuationToken;
98
+ if (!continuationToken) {
99
+ result = await this._list(options);
100
+ let page = result.value || [];
101
+ continuationToken = result.nextLink;
102
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
103
+ yield page;
104
+ }
105
+ while (continuationToken) {
106
+ result = await this._listNext(continuationToken, options);
107
+ continuationToken = result.nextLink;
108
+ let page = result.value || [];
109
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
110
+ yield page;
111
+ }
112
+ }
113
+ async *listPagingAll(options) {
114
+ for await (const page of this.listPagingPage(options)) {
115
+ yield* page;
116
+ }
117
+ }
118
+ /**
119
+ * Creates or updates a DNS zone. Does not modify DNS records within the zone.
120
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
121
+ * @param zoneName The name of the DNS zone (without a terminating dot).
122
+ * @param parameters Parameters supplied to the CreateOrUpdate operation.
123
+ * @param options The options parameters.
124
+ */
125
+ createOrUpdate(resourceGroupName, zoneName, parameters, options) {
126
+ return this.client.sendOperationRequest({ resourceGroupName, zoneName, parameters, options }, createOrUpdateOperationSpec);
127
+ }
128
+ /**
129
+ * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
130
+ * be undone.
131
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
132
+ * @param zoneName The name of the DNS zone (without a terminating dot).
133
+ * @param options The options parameters.
134
+ */
135
+ async beginDelete(resourceGroupName, zoneName, options) {
136
+ const directSendOperation = async (args, spec) => {
137
+ return this.client.sendOperationRequest(args, spec);
138
+ };
139
+ const sendOperationFn = async (args, spec) => {
140
+ let currentRawResponse = undefined;
141
+ const providedCallback = args.options?.onResponse;
142
+ const callback = (rawResponse, flatResponse) => {
143
+ currentRawResponse = rawResponse;
144
+ providedCallback?.(rawResponse, flatResponse);
145
+ };
146
+ const updatedArgs = {
147
+ ...args,
148
+ options: {
149
+ ...args.options,
150
+ onResponse: callback,
151
+ },
152
+ };
153
+ const flatResponse = await directSendOperation(updatedArgs, spec);
154
+ return {
155
+ flatResponse,
156
+ rawResponse: {
157
+ statusCode: currentRawResponse.status,
158
+ body: currentRawResponse.parsedBody,
159
+ headers: currentRawResponse.headers.toJSON(),
160
+ },
161
+ };
162
+ };
163
+ const lro = (0, lroImpl_js_1.createLroSpec)({
164
+ sendOperationFn,
165
+ args: { resourceGroupName, zoneName, options },
166
+ spec: deleteOperationSpec,
167
+ });
168
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
169
+ restoreFrom: options?.resumeFrom,
170
+ intervalInMs: options?.updateIntervalInMs,
171
+ });
172
+ await poller.poll();
173
+ return poller;
174
+ }
175
+ /**
176
+ * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot
177
+ * be undone.
178
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
179
+ * @param zoneName The name of the DNS zone (without a terminating dot).
180
+ * @param options The options parameters.
181
+ */
182
+ async beginDeleteAndWait(resourceGroupName, zoneName, options) {
183
+ const poller = await this.beginDelete(resourceGroupName, zoneName, options);
184
+ return poller.pollUntilDone();
185
+ }
186
+ /**
187
+ * Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.
188
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
189
+ * @param zoneName The name of the DNS zone (without a terminating dot).
190
+ * @param options The options parameters.
191
+ */
192
+ get(resourceGroupName, zoneName, options) {
193
+ return this.client.sendOperationRequest({ resourceGroupName, zoneName, options }, getOperationSpec);
194
+ }
195
+ /**
196
+ * Updates a DNS zone. Does not modify DNS records within the zone.
197
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
198
+ * @param zoneName The name of the DNS zone (without a terminating dot).
199
+ * @param parameters Parameters supplied to the Update operation.
200
+ * @param options The options parameters.
201
+ */
202
+ update(resourceGroupName, zoneName, parameters, options) {
203
+ return this.client.sendOperationRequest({ resourceGroupName, zoneName, parameters, options }, updateOperationSpec);
204
+ }
205
+ /**
206
+ * Lists the DNS zones within a resource group.
207
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
208
+ * @param options The options parameters.
209
+ */
210
+ _listByResourceGroup(resourceGroupName, options) {
211
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
212
+ }
213
+ /**
214
+ * Lists the DNS zones in all resource groups in a subscription.
215
+ * @param options The options parameters.
216
+ */
217
+ _list(options) {
218
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
219
+ }
220
+ /**
221
+ * ListByResourceGroupNext
222
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
223
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
224
+ * @param options The options parameters.
225
+ */
226
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
227
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
228
+ }
229
+ /**
230
+ * ListNext
231
+ * @param nextLink The nextLink from the previous successful call to the List method.
232
+ * @param options The options parameters.
233
+ */
234
+ _listNext(nextLink, options) {
235
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
236
+ }
237
+ }
238
+ exports.ZonesImpl = ZonesImpl;
239
+ // Operation Specifications
240
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
241
+ const createOrUpdateOperationSpec = {
242
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
243
+ httpMethod: "PUT",
244
+ responses: {
245
+ 200: {
246
+ bodyMapper: Mappers.Zone,
247
+ },
248
+ 201: {
249
+ bodyMapper: Mappers.Zone,
250
+ },
251
+ default: {
252
+ bodyMapper: Mappers.CloudError,
253
+ },
254
+ },
255
+ requestBody: Parameters.parameters1,
256
+ queryParameters: [Parameters.apiVersion],
257
+ urlParameters: [
258
+ Parameters.$host,
259
+ Parameters.resourceGroupName,
260
+ Parameters.zoneName,
261
+ Parameters.subscriptionId,
262
+ ],
263
+ headerParameters: [
264
+ Parameters.accept,
265
+ Parameters.ifMatch,
266
+ Parameters.ifNoneMatch,
267
+ Parameters.contentType,
268
+ ],
269
+ mediaType: "json",
270
+ serializer,
271
+ };
272
+ const deleteOperationSpec = {
273
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
274
+ httpMethod: "DELETE",
275
+ responses: {
276
+ 200: {},
277
+ 201: {},
278
+ 202: {},
279
+ 204: {},
280
+ default: {
281
+ bodyMapper: Mappers.CloudError,
282
+ },
283
+ },
284
+ queryParameters: [Parameters.apiVersion],
285
+ urlParameters: [
286
+ Parameters.$host,
287
+ Parameters.resourceGroupName,
288
+ Parameters.zoneName,
289
+ Parameters.subscriptionId,
290
+ ],
291
+ headerParameters: [Parameters.accept, Parameters.ifMatch],
292
+ serializer,
293
+ };
294
+ const getOperationSpec = {
295
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
296
+ httpMethod: "GET",
297
+ responses: {
298
+ 200: {
299
+ bodyMapper: Mappers.Zone,
300
+ },
301
+ default: {
302
+ bodyMapper: Mappers.CloudError,
303
+ },
304
+ },
305
+ queryParameters: [Parameters.apiVersion],
306
+ urlParameters: [
307
+ Parameters.$host,
308
+ Parameters.resourceGroupName,
309
+ Parameters.zoneName,
310
+ Parameters.subscriptionId,
311
+ ],
312
+ headerParameters: [Parameters.accept],
313
+ serializer,
314
+ };
315
+ const updateOperationSpec = {
316
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}",
317
+ httpMethod: "PATCH",
318
+ responses: {
319
+ 200: {
320
+ bodyMapper: Mappers.Zone,
321
+ },
322
+ default: {
323
+ bodyMapper: Mappers.CloudError,
324
+ },
325
+ },
326
+ requestBody: Parameters.parameters2,
327
+ queryParameters: [Parameters.apiVersion],
328
+ urlParameters: [
329
+ Parameters.$host,
330
+ Parameters.resourceGroupName,
331
+ Parameters.zoneName,
332
+ Parameters.subscriptionId,
333
+ ],
334
+ headerParameters: [
335
+ Parameters.accept,
336
+ Parameters.ifMatch,
337
+ Parameters.contentType,
338
+ ],
339
+ mediaType: "json",
340
+ serializer,
341
+ };
342
+ const listByResourceGroupOperationSpec = {
343
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones",
344
+ httpMethod: "GET",
345
+ responses: {
346
+ 200: {
347
+ bodyMapper: Mappers.ZoneListResult,
348
+ },
349
+ default: {
350
+ bodyMapper: Mappers.CloudError,
351
+ },
352
+ },
353
+ queryParameters: [Parameters.apiVersion, Parameters.top],
354
+ urlParameters: [
355
+ Parameters.$host,
356
+ Parameters.resourceGroupName,
357
+ Parameters.subscriptionId,
358
+ ],
359
+ headerParameters: [Parameters.accept],
360
+ serializer,
361
+ };
362
+ const listOperationSpec = {
363
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones",
364
+ httpMethod: "GET",
365
+ responses: {
366
+ 200: {
367
+ bodyMapper: Mappers.ZoneListResult,
368
+ },
369
+ default: {
370
+ bodyMapper: Mappers.CloudError,
371
+ },
372
+ },
373
+ queryParameters: [Parameters.apiVersion, Parameters.top],
374
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
375
+ headerParameters: [Parameters.accept],
376
+ serializer,
377
+ };
378
+ const listByResourceGroupNextOperationSpec = {
379
+ path: "{nextLink}",
380
+ httpMethod: "GET",
381
+ responses: {
382
+ 200: {
383
+ bodyMapper: Mappers.ZoneListResult,
384
+ },
385
+ default: {
386
+ bodyMapper: Mappers.CloudError,
387
+ },
388
+ },
389
+ urlParameters: [
390
+ Parameters.$host,
391
+ Parameters.resourceGroupName,
392
+ Parameters.subscriptionId,
393
+ Parameters.nextLink,
394
+ ],
395
+ headerParameters: [Parameters.accept],
396
+ serializer,
397
+ };
398
+ const listNextOperationSpec = {
399
+ path: "{nextLink}",
400
+ httpMethod: "GET",
401
+ responses: {
402
+ 200: {
403
+ bodyMapper: Mappers.ZoneListResult,
404
+ },
405
+ default: {
406
+ bodyMapper: Mappers.CloudError,
407
+ },
408
+ },
409
+ urlParameters: [
410
+ Parameters.$host,
411
+ Parameters.subscriptionId,
412
+ Parameters.nextLink,
413
+ ],
414
+ headerParameters: [Parameters.accept],
415
+ serializer,
416
+ };
417
+ //# sourceMappingURL=zones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zones.js","sourceRoot":"","sources":["../../../src/operations/zones.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA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U,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Zones } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DnsManagementClient } from \"../dnsManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Zone,\n ZonesListByResourceGroupNextOptionalParams,\n ZonesListByResourceGroupOptionalParams,\n ZonesListByResourceGroupResponse,\n ZonesListNextOptionalParams,\n ZonesListOptionalParams,\n ZonesListResponse,\n ZonesCreateOrUpdateOptionalParams,\n ZonesCreateOrUpdateResponse,\n ZonesDeleteOptionalParams,\n ZonesGetOptionalParams,\n ZonesGetResponse,\n ZoneUpdate,\n ZonesUpdateOptionalParams,\n ZonesUpdateResponse,\n ZonesListByResourceGroupNextResponse,\n ZonesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Zones operations. */\nexport class ZonesImpl implements Zones {\n private readonly client: DnsManagementClient;\n\n /**\n * Initialize a new instance of the class Zones class.\n * @param client Reference to the service client\n */\n constructor(client: DnsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the DNS zones within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ZonesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Zone> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ZonesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Zone[]> {\n let result: ZonesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ZonesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<Zone> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the DNS zones in all resource groups in a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ZonesListOptionalParams,\n ): PagedAsyncIterableIterator<Zone> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ZonesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Zone[]> {\n let result: ZonesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ZonesListOptionalParams,\n ): AsyncIterableIterator<Zone> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates a DNS zone. Does not modify DNS records within the zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n zoneName: string,\n parameters: Zone,\n options?: ZonesCreateOrUpdateOptionalParams,\n ): Promise<ZonesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot\n * be undone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n zoneName: string,\n options?: ZonesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, zoneName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot\n * be undone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n zoneName: string,\n options?: ZonesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, zoneName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n zoneName: string,\n options?: ZonesGetOptionalParams,\n ): Promise<ZonesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates a DNS zone. Does not modify DNS records within the zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n zoneName: string,\n parameters: ZoneUpdate,\n options?: ZonesUpdateOptionalParams,\n ): Promise<ZonesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Lists the DNS zones within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ZonesListByResourceGroupOptionalParams,\n ): Promise<ZonesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Lists the DNS zones in all resource groups in a subscription.\n * @param options The options parameters.\n */\n private _list(options?: ZonesListOptionalParams): Promise<ZonesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ZonesListByResourceGroupNextOptionalParams,\n ): Promise<ZonesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ZonesListNextOptionalParams,\n ): Promise<ZonesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Zone,\n },\n 201: {\n bodyMapper: Mappers.Zone,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Zone,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Zone,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ZoneListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ZoneListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.top],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ZoneListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ZoneListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,11 @@
1
+ import { DnsResourceReferenceRequest, DnsResourceReferenceGetByTargetResourcesOptionalParams, DnsResourceReferenceGetByTargetResourcesResponse } from "../models/index.js";
2
+ /** Interface representing a DnsResourceReferenceOperations. */
3
+ export interface DnsResourceReferenceOperations {
4
+ /**
5
+ * Returns the DNS records specified by the referencing targetResourceIds.
6
+ * @param parameters Properties for dns resource reference request.
7
+ * @param options The options parameters.
8
+ */
9
+ getByTargetResources(parameters: DnsResourceReferenceRequest, options?: DnsResourceReferenceGetByTargetResourcesOptionalParams): Promise<DnsResourceReferenceGetByTargetResourcesResponse>;
10
+ }
11
+ //# sourceMappingURL=dnsResourceReferenceOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnsResourceReferenceOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/dnsResourceReferenceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,2BAA2B,EAC3B,sDAAsD,EACtD,gDAAgD,EACjD,MAAM,oBAAoB,CAAC;AAE5B,+DAA+D;AAC/D,MAAM,WAAW,8BAA8B;IAC7C;;;;OAIG;IACH,oBAAoB,CAClB,UAAU,EAAE,2BAA2B,EACvC,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;CAC9D"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=dnsResourceReferenceOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnsResourceReferenceOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/dnsResourceReferenceOperations.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 {\n DnsResourceReferenceRequest,\n DnsResourceReferenceGetByTargetResourcesOptionalParams,\n DnsResourceReferenceGetByTargetResourcesResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a DnsResourceReferenceOperations. */\nexport interface DnsResourceReferenceOperations {\n /**\n * Returns the DNS records specified by the referencing targetResourceIds.\n * @param parameters Properties for dns resource reference request.\n * @param options The options parameters.\n */\n getByTargetResources(\n parameters: DnsResourceReferenceRequest,\n options?: DnsResourceReferenceGetByTargetResourcesOptionalParams,\n ): Promise<DnsResourceReferenceGetByTargetResourcesResponse>;\n}\n"]}
@@ -0,0 +1,49 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { DnssecConfig, DnssecConfigsListByDnsZoneOptionalParams, DnssecConfigsCreateOrUpdateOptionalParams, DnssecConfigsCreateOrUpdateResponse, DnssecConfigsDeleteOptionalParams, DnssecConfigsGetOptionalParams, DnssecConfigsGetResponse } from "../models/index.js";
4
+ /** Interface representing a DnssecConfigs. */
5
+ export interface DnssecConfigs {
6
+ /**
7
+ * Lists the DNSSEC configurations in a DNS zone.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param zoneName The name of the DNS zone (without a terminating dot).
10
+ * @param options The options parameters.
11
+ */
12
+ listByDnsZone(resourceGroupName: string, zoneName: string, options?: DnssecConfigsListByDnsZoneOptionalParams): PagedAsyncIterableIterator<DnssecConfig>;
13
+ /**
14
+ * Creates or updates the DNSSEC configuration on a DNS zone.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param zoneName The name of the DNS zone (without a terminating dot).
17
+ * @param options The options parameters.
18
+ */
19
+ beginCreateOrUpdate(resourceGroupName: string, zoneName: string, options?: DnssecConfigsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DnssecConfigsCreateOrUpdateResponse>, DnssecConfigsCreateOrUpdateResponse>>;
20
+ /**
21
+ * Creates or updates the DNSSEC configuration on a DNS zone.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param zoneName The name of the DNS zone (without a terminating dot).
24
+ * @param options The options parameters.
25
+ */
26
+ beginCreateOrUpdateAndWait(resourceGroupName: string, zoneName: string, options?: DnssecConfigsCreateOrUpdateOptionalParams): Promise<DnssecConfigsCreateOrUpdateResponse>;
27
+ /**
28
+ * Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.
29
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
+ * @param zoneName The name of the DNS zone (without a terminating dot).
31
+ * @param options The options parameters.
32
+ */
33
+ beginDelete(resourceGroupName: string, zoneName: string, options?: DnssecConfigsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
34
+ /**
35
+ * Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param zoneName The name of the DNS zone (without a terminating dot).
38
+ * @param options The options parameters.
39
+ */
40
+ beginDeleteAndWait(resourceGroupName: string, zoneName: string, options?: DnssecConfigsDeleteOptionalParams): Promise<void>;
41
+ /**
42
+ * Gets the DNSSEC configuration.
43
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
+ * @param zoneName The name of the DNS zone (without a terminating dot).
45
+ * @param options The options parameters.
46
+ */
47
+ get(resourceGroupName: string, zoneName: string, options?: DnssecConfigsGetOptionalParams): Promise<DnssecConfigsGetResponse>;
48
+ }
49
+ //# sourceMappingURL=dnssecConfigs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnssecConfigs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/dnssecConfigs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,YAAY,EACZ,wCAAwC,EACxC,yCAAyC,EACzC,mCAAmC,EACnC,iCAAiC,EACjC,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,mCAAmC,CAAC,EACnD,mCAAmC,CACpC,CACF,CAAC;IACF;;;;;OAKG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,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