@azure/arm-privatedns 3.3.1-alpha.20250218.1 → 3.3.1-alpha.20250220.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/README.md +21 -12
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js.map +1 -0
  7. package/dist/browser/models/index.js.map +1 -0
  8. package/dist/browser/models/mappers.js.map +1 -0
  9. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  10. package/dist/browser/models/parameters.js.map +1 -0
  11. package/dist/browser/operations/index.d.ts +4 -0
  12. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  13. package/{dist-esm/src → dist/browser}/operations/index.js +3 -3
  14. package/dist/browser/operations/index.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/privateZones.d.ts +3 -3
  16. package/dist/browser/operations/privateZones.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/privateZones.js +113 -125
  18. package/dist/browser/operations/privateZones.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/recordSets.d.ts +3 -3
  20. package/dist/browser/operations/recordSets.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/recordSets.js +3 -3
  22. package/dist/browser/operations/recordSets.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/virtualNetworkLinks.d.ts +3 -3
  24. package/dist/browser/operations/virtualNetworkLinks.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/virtualNetworkLinks.js +127 -139
  26. package/dist/browser/operations/virtualNetworkLinks.js.map +1 -0
  27. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  28. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  29. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +3 -3
  30. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateZones.d.ts +1 -1
  32. package/dist/browser/operationsInterfaces/privateZones.d.ts.map +1 -0
  33. package/dist/browser/operationsInterfaces/privateZones.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.d.ts +1 -1
  35. package/dist/browser/operationsInterfaces/recordSets.d.ts.map +1 -0
  36. package/dist/browser/operationsInterfaces/recordSets.js.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operationsInterfaces/virtualNetworkLinks.d.ts +1 -1
  38. package/dist/browser/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  39. package/dist/browser/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  40. package/dist/browser/package.json +3 -0
  41. package/dist/browser/pagingHelper.js.map +1 -0
  42. package/{dist-esm/src → dist/browser}/privateDnsManagementClient.d.ts +2 -2
  43. package/dist/browser/privateDnsManagementClient.d.ts.map +1 -0
  44. package/{dist-esm/src → dist/browser}/privateDnsManagementClient.js +15 -18
  45. package/dist/browser/privateDnsManagementClient.js.map +1 -0
  46. package/dist/commonjs/index.d.ts +5 -0
  47. package/dist/commonjs/index.d.ts.map +1 -0
  48. package/dist/commonjs/index.js +19 -0
  49. package/dist/commonjs/index.js.map +1 -0
  50. package/dist/commonjs/lroImpl.d.ts +11 -0
  51. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  52. package/dist/commonjs/lroImpl.js +17 -0
  53. package/dist/commonjs/lroImpl.js.map +1 -0
  54. package/dist/commonjs/models/index.d.ts +483 -0
  55. package/dist/commonjs/models/index.d.ts.map +1 -0
  56. package/dist/commonjs/models/index.js +43 -0
  57. package/dist/commonjs/models/index.js.map +1 -0
  58. package/dist/commonjs/models/mappers.d.ts +22 -0
  59. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  60. package/dist/commonjs/models/mappers.js +603 -0
  61. package/dist/commonjs/models/mappers.js.map +1 -0
  62. package/dist/commonjs/models/parameters.d.ts +20 -0
  63. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  64. package/dist/commonjs/models/parameters.js +177 -0
  65. package/dist/commonjs/models/parameters.js.map +1 -0
  66. package/dist/commonjs/operations/index.d.ts +4 -0
  67. package/dist/commonjs/operations/index.d.ts.map +1 -0
  68. package/dist/commonjs/operations/index.js +14 -0
  69. package/dist/commonjs/operations/index.js.map +1 -0
  70. package/dist/commonjs/operations/privateZones.d.ts +114 -0
  71. package/dist/commonjs/operations/privateZones.d.ts.map +1 -0
  72. package/dist/commonjs/operations/privateZones.js +551 -0
  73. package/dist/commonjs/operations/privateZones.js.map +1 -0
  74. package/dist/commonjs/operations/recordSets.d.ts +105 -0
  75. package/dist/commonjs/operations/recordSets.d.ts.map +1 -0
  76. package/dist/commonjs/operations/recordSets.js +472 -0
  77. package/dist/commonjs/operations/recordSets.js.map +1 -0
  78. package/dist/commonjs/operations/virtualNetworkLinks.d.ts +103 -0
  79. package/dist/commonjs/operations/virtualNetworkLinks.d.ts.map +1 -0
  80. package/dist/commonjs/operations/virtualNetworkLinks.js +470 -0
  81. package/dist/commonjs/operations/virtualNetworkLinks.js.map +1 -0
  82. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  83. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  84. package/dist/commonjs/operationsInterfaces/index.js +14 -0
  85. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/privateZones.d.ts +78 -0
  87. package/dist/commonjs/operationsInterfaces/privateZones.d.ts.map +1 -0
  88. package/dist/commonjs/operationsInterfaces/privateZones.js +10 -0
  89. package/dist/commonjs/operationsInterfaces/privateZones.js.map +1 -0
  90. package/dist/commonjs/operationsInterfaces/recordSets.d.ts +61 -0
  91. package/dist/commonjs/operationsInterfaces/recordSets.d.ts.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/recordSets.js +10 -0
  93. package/dist/commonjs/operationsInterfaces/recordSets.js.map +1 -0
  94. package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  95. package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.js +10 -0
  97. package/dist/commonjs/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  98. package/dist/commonjs/package.json +3 -0
  99. package/dist/commonjs/pagingHelper.d.ts +13 -0
  100. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  101. package/dist/commonjs/pagingHelper.js +36 -0
  102. package/dist/commonjs/pagingHelper.js.map +1 -0
  103. package/dist/commonjs/privateDnsManagementClient.d.ts +23 -0
  104. package/dist/commonjs/privateDnsManagementClient.d.ts.map +1 -0
  105. package/dist/commonjs/privateDnsManagementClient.js +105 -0
  106. package/dist/commonjs/privateDnsManagementClient.js.map +1 -0
  107. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  108. package/dist/esm/index.d.ts +5 -0
  109. package/dist/esm/index.d.ts.map +1 -0
  110. package/{src/index.ts → dist/esm/index.js} +5 -5
  111. package/dist/esm/index.js.map +1 -0
  112. package/dist/esm/lroImpl.d.ts +11 -0
  113. package/dist/esm/lroImpl.d.ts.map +1 -0
  114. package/dist/esm/lroImpl.js +14 -0
  115. package/dist/esm/lroImpl.js.map +1 -0
  116. package/dist/esm/models/index.d.ts +483 -0
  117. package/dist/esm/models/index.d.ts.map +1 -0
  118. package/dist/esm/models/index.js +40 -0
  119. package/dist/esm/models/index.js.map +1 -0
  120. package/dist/esm/models/mappers.d.ts +22 -0
  121. package/dist/esm/models/mappers.d.ts.map +1 -0
  122. package/dist/esm/models/mappers.js +600 -0
  123. package/dist/esm/models/mappers.js.map +1 -0
  124. package/dist/esm/models/parameters.d.ts +20 -0
  125. package/dist/esm/models/parameters.d.ts.map +1 -0
  126. package/dist/esm/models/parameters.js +174 -0
  127. package/dist/esm/models/parameters.js.map +1 -0
  128. package/dist/esm/operations/index.d.ts +4 -0
  129. package/dist/esm/operations/index.d.ts.map +1 -0
  130. package/dist/esm/operations/index.js +11 -0
  131. package/dist/esm/operations/index.js.map +1 -0
  132. package/dist/esm/operations/privateZones.d.ts +114 -0
  133. package/dist/esm/operations/privateZones.d.ts.map +1 -0
  134. package/dist/esm/operations/privateZones.js +547 -0
  135. package/dist/esm/operations/privateZones.js.map +1 -0
  136. package/dist/esm/operations/recordSets.d.ts +105 -0
  137. package/dist/esm/operations/recordSets.d.ts.map +1 -0
  138. package/dist/esm/operations/recordSets.js +468 -0
  139. package/dist/esm/operations/recordSets.js.map +1 -0
  140. package/dist/esm/operations/virtualNetworkLinks.d.ts +103 -0
  141. package/dist/esm/operations/virtualNetworkLinks.d.ts.map +1 -0
  142. package/dist/esm/operations/virtualNetworkLinks.js +466 -0
  143. package/dist/esm/operations/virtualNetworkLinks.js.map +1 -0
  144. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  145. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  146. package/dist/esm/operationsInterfaces/index.js +11 -0
  147. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  148. package/dist/esm/operationsInterfaces/privateZones.d.ts +78 -0
  149. package/dist/esm/operationsInterfaces/privateZones.d.ts.map +1 -0
  150. package/{src/operations/index.ts → dist/esm/operationsInterfaces/privateZones.js} +2 -4
  151. package/dist/esm/operationsInterfaces/privateZones.js.map +1 -0
  152. package/dist/esm/operationsInterfaces/recordSets.d.ts +61 -0
  153. package/dist/esm/operationsInterfaces/recordSets.d.ts.map +1 -0
  154. package/dist/esm/operationsInterfaces/recordSets.js +9 -0
  155. package/dist/esm/operationsInterfaces/recordSets.js.map +1 -0
  156. package/dist/esm/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  157. package/dist/esm/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  158. package/dist/esm/operationsInterfaces/virtualNetworkLinks.js +9 -0
  159. package/dist/esm/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  160. package/dist/esm/package.json +3 -0
  161. package/dist/esm/pagingHelper.d.ts +13 -0
  162. package/dist/esm/pagingHelper.d.ts.map +1 -0
  163. package/dist/esm/pagingHelper.js +32 -0
  164. package/dist/esm/pagingHelper.js.map +1 -0
  165. package/dist/esm/privateDnsManagementClient.d.ts +23 -0
  166. package/dist/esm/privateDnsManagementClient.d.ts.map +1 -0
  167. package/dist/esm/privateDnsManagementClient.js +100 -0
  168. package/dist/esm/privateDnsManagementClient.js.map +1 -0
  169. package/dist/react-native/index.d.ts +5 -0
  170. package/dist/react-native/index.d.ts.map +1 -0
  171. package/dist/react-native/index.js +13 -0
  172. package/dist/react-native/index.js.map +1 -0
  173. package/dist/react-native/lroImpl.d.ts +11 -0
  174. package/dist/react-native/lroImpl.d.ts.map +1 -0
  175. package/dist/react-native/lroImpl.js +14 -0
  176. package/dist/react-native/lroImpl.js.map +1 -0
  177. package/dist/react-native/models/index.d.ts +483 -0
  178. package/dist/react-native/models/index.d.ts.map +1 -0
  179. package/dist/react-native/models/index.js +40 -0
  180. package/dist/react-native/models/index.js.map +1 -0
  181. package/dist/react-native/models/mappers.d.ts +22 -0
  182. package/dist/react-native/models/mappers.d.ts.map +1 -0
  183. package/dist/react-native/models/mappers.js +600 -0
  184. package/dist/react-native/models/mappers.js.map +1 -0
  185. package/dist/react-native/models/parameters.d.ts +20 -0
  186. package/dist/react-native/models/parameters.d.ts.map +1 -0
  187. package/dist/react-native/models/parameters.js +174 -0
  188. package/dist/react-native/models/parameters.js.map +1 -0
  189. package/dist/react-native/operations/index.d.ts +4 -0
  190. package/dist/react-native/operations/index.d.ts.map +1 -0
  191. package/dist/react-native/operations/index.js +11 -0
  192. package/dist/react-native/operations/index.js.map +1 -0
  193. package/dist/react-native/operations/privateZones.d.ts +114 -0
  194. package/dist/react-native/operations/privateZones.d.ts.map +1 -0
  195. package/dist/react-native/operations/privateZones.js +547 -0
  196. package/dist/react-native/operations/privateZones.js.map +1 -0
  197. package/dist/react-native/operations/recordSets.d.ts +105 -0
  198. package/dist/react-native/operations/recordSets.d.ts.map +1 -0
  199. package/dist/react-native/operations/recordSets.js +468 -0
  200. package/dist/react-native/operations/recordSets.js.map +1 -0
  201. package/dist/react-native/operations/virtualNetworkLinks.d.ts +103 -0
  202. package/dist/react-native/operations/virtualNetworkLinks.d.ts.map +1 -0
  203. package/dist/react-native/operations/virtualNetworkLinks.js +466 -0
  204. package/dist/react-native/operations/virtualNetworkLinks.js.map +1 -0
  205. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  206. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  207. package/dist/react-native/operationsInterfaces/index.js +11 -0
  208. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  209. package/dist/react-native/operationsInterfaces/privateZones.d.ts +78 -0
  210. package/dist/react-native/operationsInterfaces/privateZones.d.ts.map +1 -0
  211. package/dist/react-native/operationsInterfaces/privateZones.js +9 -0
  212. package/dist/react-native/operationsInterfaces/privateZones.js.map +1 -0
  213. package/dist/react-native/operationsInterfaces/recordSets.d.ts +61 -0
  214. package/dist/react-native/operationsInterfaces/recordSets.d.ts.map +1 -0
  215. package/dist/react-native/operationsInterfaces/recordSets.js +9 -0
  216. package/dist/react-native/operationsInterfaces/recordSets.js.map +1 -0
  217. package/dist/react-native/operationsInterfaces/virtualNetworkLinks.d.ts +78 -0
  218. package/dist/react-native/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
  219. package/dist/react-native/operationsInterfaces/virtualNetworkLinks.js +9 -0
  220. package/dist/react-native/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
  221. package/dist/react-native/package.json +3 -0
  222. package/dist/react-native/pagingHelper.d.ts +13 -0
  223. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  224. package/dist/react-native/pagingHelper.js +32 -0
  225. package/dist/react-native/pagingHelper.js.map +1 -0
  226. package/dist/react-native/privateDnsManagementClient.d.ts +23 -0
  227. package/dist/react-native/privateDnsManagementClient.d.ts.map +1 -0
  228. package/dist/react-native/privateDnsManagementClient.js +100 -0
  229. package/dist/react-native/privateDnsManagementClient.js.map +1 -0
  230. package/package.json +66 -36
  231. package/dist/index.js +0 -2499
  232. package/dist/index.js.map +0 -1
  233. package/dist/index.min.js +0 -1
  234. package/dist/index.min.js.map +0 -1
  235. package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.d.ts +0 -2
  236. package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.d.ts.map +0 -1
  237. package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.js +0 -33
  238. package/dist-esm/samples-dev/privateZonesCreateOrUpdateSample.js.map +0 -1
  239. package/dist-esm/samples-dev/privateZonesDeleteSample.d.ts +0 -2
  240. package/dist-esm/samples-dev/privateZonesDeleteSample.d.ts.map +0 -1
  241. package/dist-esm/samples-dev/privateZonesDeleteSample.js +0 -36
  242. package/dist-esm/samples-dev/privateZonesDeleteSample.js.map +0 -1
  243. package/dist-esm/samples-dev/privateZonesGetSample.d.ts +0 -2
  244. package/dist-esm/samples-dev/privateZonesGetSample.d.ts.map +0 -1
  245. package/dist-esm/samples-dev/privateZonesGetSample.js +0 -36
  246. package/dist-esm/samples-dev/privateZonesGetSample.js.map +0 -1
  247. package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.d.ts +0 -2
  248. package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.d.ts.map +0 -1
  249. package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.js +0 -51
  250. package/dist-esm/samples-dev/privateZonesListByResourceGroupSample.js.map +0 -1
  251. package/dist-esm/samples-dev/privateZonesListSample.d.ts +0 -2
  252. package/dist-esm/samples-dev/privateZonesListSample.d.ts.map +0 -1
  253. package/dist-esm/samples-dev/privateZonesListSample.js +0 -50
  254. package/dist-esm/samples-dev/privateZonesListSample.js.map +0 -1
  255. package/dist-esm/samples-dev/privateZonesUpdateSample.d.ts +0 -2
  256. package/dist-esm/samples-dev/privateZonesUpdateSample.d.ts.map +0 -1
  257. package/dist-esm/samples-dev/privateZonesUpdateSample.js +0 -30
  258. package/dist-esm/samples-dev/privateZonesUpdateSample.js.map +0 -1
  259. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.d.ts +0 -2
  260. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.d.ts.map +0 -1
  261. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js +0 -219
  262. package/dist-esm/samples-dev/recordSetsCreateOrUpdateSample.js.map +0 -1
  263. package/dist-esm/samples-dev/recordSetsDeleteSample.d.ts +0 -2
  264. package/dist-esm/samples-dev/recordSetsDeleteSample.d.ts.map +0 -1
  265. package/dist-esm/samples-dev/recordSetsDeleteSample.js +0 -158
  266. package/dist-esm/samples-dev/recordSetsDeleteSample.js.map +0 -1
  267. package/dist-esm/samples-dev/recordSetsGetSample.d.ts +0 -2
  268. package/dist-esm/samples-dev/recordSetsGetSample.d.ts.map +0 -1
  269. package/dist-esm/samples-dev/recordSetsGetSample.js +0 -178
  270. package/dist-esm/samples-dev/recordSetsGetSample.js.map +0 -1
  271. package/dist-esm/samples-dev/recordSetsListByTypeSample.d.ts +0 -2
  272. package/dist-esm/samples-dev/recordSetsListByTypeSample.d.ts.map +0 -1
  273. package/dist-esm/samples-dev/recordSetsListByTypeSample.js +0 -298
  274. package/dist-esm/samples-dev/recordSetsListByTypeSample.js.map +0 -1
  275. package/dist-esm/samples-dev/recordSetsListSample.d.ts +0 -2
  276. package/dist-esm/samples-dev/recordSetsListSample.d.ts.map +0 -1
  277. package/dist-esm/samples-dev/recordSetsListSample.js +0 -52
  278. package/dist-esm/samples-dev/recordSetsListSample.js.map +0 -1
  279. package/dist-esm/samples-dev/recordSetsUpdateSample.d.ts +0 -2
  280. package/dist-esm/samples-dev/recordSetsUpdateSample.d.ts.map +0 -1
  281. package/dist-esm/samples-dev/recordSetsUpdateSample.js +0 -179
  282. package/dist-esm/samples-dev/recordSetsUpdateSample.js.map +0 -1
  283. package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.d.ts +0 -2
  284. package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.d.ts.map +0 -1
  285. package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.js +0 -38
  286. package/dist-esm/samples-dev/virtualNetworkLinksCreateOrUpdateSample.js.map +0 -1
  287. package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.d.ts +0 -2
  288. package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.d.ts.map +0 -1
  289. package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.js +0 -37
  290. package/dist-esm/samples-dev/virtualNetworkLinksDeleteSample.js.map +0 -1
  291. package/dist-esm/samples-dev/virtualNetworkLinksGetSample.d.ts +0 -2
  292. package/dist-esm/samples-dev/virtualNetworkLinksGetSample.d.ts.map +0 -1
  293. package/dist-esm/samples-dev/virtualNetworkLinksGetSample.js +0 -37
  294. package/dist-esm/samples-dev/virtualNetworkLinksGetSample.js.map +0 -1
  295. package/dist-esm/samples-dev/virtualNetworkLinksListSample.d.ts +0 -2
  296. package/dist-esm/samples-dev/virtualNetworkLinksListSample.d.ts.map +0 -1
  297. package/dist-esm/samples-dev/virtualNetworkLinksListSample.js +0 -52
  298. package/dist-esm/samples-dev/virtualNetworkLinksListSample.js.map +0 -1
  299. package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.d.ts +0 -2
  300. package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.d.ts.map +0 -1
  301. package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.js +0 -35
  302. package/dist-esm/samples-dev/virtualNetworkLinksUpdateSample.js.map +0 -1
  303. package/dist-esm/src/index.d.ts +0 -5
  304. package/dist-esm/src/index.js.map +0 -1
  305. package/dist-esm/src/lroImpl.js.map +0 -1
  306. package/dist-esm/src/models/index.js.map +0 -1
  307. package/dist-esm/src/models/mappers.js.map +0 -1
  308. package/dist-esm/src/models/parameters.js.map +0 -1
  309. package/dist-esm/src/operations/index.d.ts +0 -4
  310. package/dist-esm/src/operations/index.js.map +0 -1
  311. package/dist-esm/src/operations/privateZones.d.ts.map +0 -1
  312. package/dist-esm/src/operations/privateZones.js.map +0 -1
  313. package/dist-esm/src/operations/recordSets.d.ts.map +0 -1
  314. package/dist-esm/src/operations/recordSets.js.map +0 -1
  315. package/dist-esm/src/operations/virtualNetworkLinks.d.ts.map +0 -1
  316. package/dist-esm/src/operations/virtualNetworkLinks.js.map +0 -1
  317. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
  318. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  319. package/dist-esm/src/operationsInterfaces/privateZones.d.ts.map +0 -1
  320. package/dist-esm/src/operationsInterfaces/privateZones.js.map +0 -1
  321. package/dist-esm/src/operationsInterfaces/recordSets.d.ts.map +0 -1
  322. package/dist-esm/src/operationsInterfaces/recordSets.js.map +0 -1
  323. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts.map +0 -1
  324. package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js.map +0 -1
  325. package/dist-esm/src/pagingHelper.js.map +0 -1
  326. package/dist-esm/src/privateDnsManagementClient.d.ts.map +0 -1
  327. package/dist-esm/src/privateDnsManagementClient.js.map +0 -1
  328. package/dist-esm/test/privatedns_operations_test.spec.d.ts +0 -4
  329. package/dist-esm/test/privatedns_operations_test.spec.d.ts.map +0 -1
  330. package/dist-esm/test/privatedns_operations_test.spec.js +0 -112
  331. package/dist-esm/test/privatedns_operations_test.spec.js.map +0 -1
  332. package/src/lroImpl.ts +0 -38
  333. package/src/models/index.ts +0 -576
  334. package/src/models/mappers.ts +0 -663
  335. package/src/models/parameters.ts +0 -201
  336. package/src/operations/privateZones.ts +0 -720
  337. package/src/operations/recordSets.ts +0 -617
  338. package/src/operations/virtualNetworkLinks.ts +0 -654
  339. package/src/operationsInterfaces/index.ts +0 -11
  340. package/src/operationsInterfaces/privateZones.ts +0 -145
  341. package/src/operationsInterfaces/recordSets.ts +0 -117
  342. package/src/operationsInterfaces/virtualNetworkLinks.ts +0 -150
  343. package/src/pagingHelper.ts +0 -39
  344. package/src/privateDnsManagementClient.ts +0 -154
  345. package/tsconfig.json +0 -33
  346. package/types/arm-privatedns.d.ts +0 -794
  347. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  348. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  349. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  350. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  351. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  352. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  353. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  354. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  355. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  356. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  357. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  358. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateZones.js +0 -0
  359. /package/{dist-esm/src → dist/browser}/operationsInterfaces/recordSets.js +0 -0
  360. /package/{dist-esm/src → dist/browser}/operationsInterfaces/virtualNetworkLinks.js +0 -0
  361. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  362. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  363. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
@@ -1,720 +0,0 @@
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
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { PrivateZones } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { PrivateDnsManagementClient } from "../privateDnsManagementClient";
16
- import {
17
- SimplePollerLike,
18
- OperationState,
19
- createHttpPoller,
20
- } from "@azure/core-lro";
21
- import { createLroSpec } from "../lroImpl";
22
- import {
23
- PrivateZone,
24
- PrivateZonesListNextOptionalParams,
25
- PrivateZonesListOptionalParams,
26
- PrivateZonesListResponse,
27
- PrivateZonesListByResourceGroupNextOptionalParams,
28
- PrivateZonesListByResourceGroupOptionalParams,
29
- PrivateZonesListByResourceGroupResponse,
30
- PrivateZonesCreateOrUpdateOptionalParams,
31
- PrivateZonesCreateOrUpdateResponse,
32
- PrivateZonesUpdateOptionalParams,
33
- PrivateZonesUpdateResponse,
34
- PrivateZonesDeleteOptionalParams,
35
- PrivateZonesGetOptionalParams,
36
- PrivateZonesGetResponse,
37
- PrivateZonesListNextResponse,
38
- PrivateZonesListByResourceGroupNextResponse,
39
- } from "../models";
40
-
41
- /// <reference lib="esnext.asynciterable" />
42
- /** Class containing PrivateZones operations. */
43
- export class PrivateZonesImpl implements PrivateZones {
44
- private readonly client: PrivateDnsManagementClient;
45
-
46
- /**
47
- * Initialize a new instance of the class PrivateZones class.
48
- * @param client Reference to the service client
49
- */
50
- constructor(client: PrivateDnsManagementClient) {
51
- this.client = client;
52
- }
53
-
54
- /**
55
- * Lists the Private DNS zones in all resource groups in a subscription.
56
- * @param options The options parameters.
57
- */
58
- public list(
59
- options?: PrivateZonesListOptionalParams,
60
- ): PagedAsyncIterableIterator<PrivateZone> {
61
- const iter = this.listPagingAll(options);
62
- return {
63
- next() {
64
- return iter.next();
65
- },
66
- [Symbol.asyncIterator]() {
67
- return this;
68
- },
69
- byPage: (settings?: PageSettings) => {
70
- if (settings?.maxPageSize) {
71
- throw new Error("maxPageSize is not supported by this operation.");
72
- }
73
- return this.listPagingPage(options, settings);
74
- },
75
- };
76
- }
77
-
78
- private async *listPagingPage(
79
- options?: PrivateZonesListOptionalParams,
80
- settings?: PageSettings,
81
- ): AsyncIterableIterator<PrivateZone[]> {
82
- let result: PrivateZonesListResponse;
83
- let continuationToken = settings?.continuationToken;
84
- if (!continuationToken) {
85
- result = await this._list(options);
86
- let page = result.value || [];
87
- continuationToken = result.nextLink;
88
- setContinuationToken(page, continuationToken);
89
- yield page;
90
- }
91
- while (continuationToken) {
92
- result = await this._listNext(continuationToken, options);
93
- continuationToken = result.nextLink;
94
- let page = result.value || [];
95
- setContinuationToken(page, continuationToken);
96
- yield page;
97
- }
98
- }
99
-
100
- private async *listPagingAll(
101
- options?: PrivateZonesListOptionalParams,
102
- ): AsyncIterableIterator<PrivateZone> {
103
- for await (const page of this.listPagingPage(options)) {
104
- yield* page;
105
- }
106
- }
107
-
108
- /**
109
- * Lists the Private DNS zones within a resource group.
110
- * @param resourceGroupName The name of the resource group.
111
- * @param options The options parameters.
112
- */
113
- public listByResourceGroup(
114
- resourceGroupName: string,
115
- options?: PrivateZonesListByResourceGroupOptionalParams,
116
- ): PagedAsyncIterableIterator<PrivateZone> {
117
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
118
- return {
119
- next() {
120
- return iter.next();
121
- },
122
- [Symbol.asyncIterator]() {
123
- return this;
124
- },
125
- byPage: (settings?: PageSettings) => {
126
- if (settings?.maxPageSize) {
127
- throw new Error("maxPageSize is not supported by this operation.");
128
- }
129
- return this.listByResourceGroupPagingPage(
130
- resourceGroupName,
131
- options,
132
- settings,
133
- );
134
- },
135
- };
136
- }
137
-
138
- private async *listByResourceGroupPagingPage(
139
- resourceGroupName: string,
140
- options?: PrivateZonesListByResourceGroupOptionalParams,
141
- settings?: PageSettings,
142
- ): AsyncIterableIterator<PrivateZone[]> {
143
- let result: PrivateZonesListByResourceGroupResponse;
144
- let continuationToken = settings?.continuationToken;
145
- if (!continuationToken) {
146
- result = await this._listByResourceGroup(resourceGroupName, options);
147
- let page = result.value || [];
148
- continuationToken = result.nextLink;
149
- setContinuationToken(page, continuationToken);
150
- yield page;
151
- }
152
- while (continuationToken) {
153
- result = await this._listByResourceGroupNext(
154
- resourceGroupName,
155
- continuationToken,
156
- options,
157
- );
158
- continuationToken = result.nextLink;
159
- let page = result.value || [];
160
- setContinuationToken(page, continuationToken);
161
- yield page;
162
- }
163
- }
164
-
165
- private async *listByResourceGroupPagingAll(
166
- resourceGroupName: string,
167
- options?: PrivateZonesListByResourceGroupOptionalParams,
168
- ): AsyncIterableIterator<PrivateZone> {
169
- for await (const page of this.listByResourceGroupPagingPage(
170
- resourceGroupName,
171
- options,
172
- )) {
173
- yield* page;
174
- }
175
- }
176
-
177
- /**
178
- * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
179
- * within the zone.
180
- * @param resourceGroupName The name of the resource group.
181
- * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
182
- * @param parameters Parameters supplied to the CreateOrUpdate operation.
183
- * @param options The options parameters.
184
- */
185
- async beginCreateOrUpdate(
186
- resourceGroupName: string,
187
- privateZoneName: string,
188
- parameters: PrivateZone,
189
- options?: PrivateZonesCreateOrUpdateOptionalParams,
190
- ): Promise<
191
- SimplePollerLike<
192
- OperationState<PrivateZonesCreateOrUpdateResponse>,
193
- PrivateZonesCreateOrUpdateResponse
194
- >
195
- > {
196
- const directSendOperation = async (
197
- args: coreClient.OperationArguments,
198
- spec: coreClient.OperationSpec,
199
- ): Promise<PrivateZonesCreateOrUpdateResponse> => {
200
- return this.client.sendOperationRequest(args, spec);
201
- };
202
- const sendOperationFn = async (
203
- args: coreClient.OperationArguments,
204
- spec: coreClient.OperationSpec,
205
- ) => {
206
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
207
- undefined;
208
- const providedCallback = args.options?.onResponse;
209
- const callback: coreClient.RawResponseCallback = (
210
- rawResponse: coreClient.FullOperationResponse,
211
- flatResponse: unknown,
212
- ) => {
213
- currentRawResponse = rawResponse;
214
- providedCallback?.(rawResponse, flatResponse);
215
- };
216
- const updatedArgs = {
217
- ...args,
218
- options: {
219
- ...args.options,
220
- onResponse: callback,
221
- },
222
- };
223
- const flatResponse = await directSendOperation(updatedArgs, spec);
224
- return {
225
- flatResponse,
226
- rawResponse: {
227
- statusCode: currentRawResponse!.status,
228
- body: currentRawResponse!.parsedBody,
229
- headers: currentRawResponse!.headers.toJSON(),
230
- },
231
- };
232
- };
233
-
234
- const lro = createLroSpec({
235
- sendOperationFn,
236
- args: { resourceGroupName, privateZoneName, parameters, options },
237
- spec: createOrUpdateOperationSpec,
238
- });
239
- const poller = await createHttpPoller<
240
- PrivateZonesCreateOrUpdateResponse,
241
- OperationState<PrivateZonesCreateOrUpdateResponse>
242
- >(lro, {
243
- restoreFrom: options?.resumeFrom,
244
- intervalInMs: options?.updateIntervalInMs,
245
- });
246
- await poller.poll();
247
- return poller;
248
- }
249
-
250
- /**
251
- * Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records
252
- * within the zone.
253
- * @param resourceGroupName The name of the resource group.
254
- * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
255
- * @param parameters Parameters supplied to the CreateOrUpdate operation.
256
- * @param options The options parameters.
257
- */
258
- async beginCreateOrUpdateAndWait(
259
- resourceGroupName: string,
260
- privateZoneName: string,
261
- parameters: PrivateZone,
262
- options?: PrivateZonesCreateOrUpdateOptionalParams,
263
- ): Promise<PrivateZonesCreateOrUpdateResponse> {
264
- const poller = await this.beginCreateOrUpdate(
265
- resourceGroupName,
266
- privateZoneName,
267
- parameters,
268
- options,
269
- );
270
- return poller.pollUntilDone();
271
- }
272
-
273
- /**
274
- * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
275
- * @param resourceGroupName The name of the resource group.
276
- * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
277
- * @param parameters Parameters supplied to the Update operation.
278
- * @param options The options parameters.
279
- */
280
- async beginUpdate(
281
- resourceGroupName: string,
282
- privateZoneName: string,
283
- parameters: PrivateZone,
284
- options?: PrivateZonesUpdateOptionalParams,
285
- ): Promise<
286
- SimplePollerLike<
287
- OperationState<PrivateZonesUpdateResponse>,
288
- PrivateZonesUpdateResponse
289
- >
290
- > {
291
- const directSendOperation = async (
292
- args: coreClient.OperationArguments,
293
- spec: coreClient.OperationSpec,
294
- ): Promise<PrivateZonesUpdateResponse> => {
295
- return this.client.sendOperationRequest(args, spec);
296
- };
297
- const sendOperationFn = async (
298
- args: coreClient.OperationArguments,
299
- spec: coreClient.OperationSpec,
300
- ) => {
301
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
302
- undefined;
303
- const providedCallback = args.options?.onResponse;
304
- const callback: coreClient.RawResponseCallback = (
305
- rawResponse: coreClient.FullOperationResponse,
306
- flatResponse: unknown,
307
- ) => {
308
- currentRawResponse = rawResponse;
309
- providedCallback?.(rawResponse, flatResponse);
310
- };
311
- const updatedArgs = {
312
- ...args,
313
- options: {
314
- ...args.options,
315
- onResponse: callback,
316
- },
317
- };
318
- const flatResponse = await directSendOperation(updatedArgs, spec);
319
- return {
320
- flatResponse,
321
- rawResponse: {
322
- statusCode: currentRawResponse!.status,
323
- body: currentRawResponse!.parsedBody,
324
- headers: currentRawResponse!.headers.toJSON(),
325
- },
326
- };
327
- };
328
-
329
- const lro = createLroSpec({
330
- sendOperationFn,
331
- args: { resourceGroupName, privateZoneName, parameters, options },
332
- spec: updateOperationSpec,
333
- });
334
- const poller = await createHttpPoller<
335
- PrivateZonesUpdateResponse,
336
- OperationState<PrivateZonesUpdateResponse>
337
- >(lro, {
338
- restoreFrom: options?.resumeFrom,
339
- intervalInMs: options?.updateIntervalInMs,
340
- });
341
- await poller.poll();
342
- return poller;
343
- }
344
-
345
- /**
346
- * Updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.
347
- * @param resourceGroupName The name of the resource group.
348
- * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
349
- * @param parameters Parameters supplied to the Update operation.
350
- * @param options The options parameters.
351
- */
352
- async beginUpdateAndWait(
353
- resourceGroupName: string,
354
- privateZoneName: string,
355
- parameters: PrivateZone,
356
- options?: PrivateZonesUpdateOptionalParams,
357
- ): Promise<PrivateZonesUpdateResponse> {
358
- const poller = await this.beginUpdate(
359
- resourceGroupName,
360
- privateZoneName,
361
- parameters,
362
- options,
363
- );
364
- return poller.pollUntilDone();
365
- }
366
-
367
- /**
368
- * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
369
- * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
370
- * it are removed.
371
- * @param resourceGroupName The name of the resource group.
372
- * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
373
- * @param options The options parameters.
374
- */
375
- async beginDelete(
376
- resourceGroupName: string,
377
- privateZoneName: string,
378
- options?: PrivateZonesDeleteOptionalParams,
379
- ): Promise<SimplePollerLike<OperationState<void>, void>> {
380
- const directSendOperation = async (
381
- args: coreClient.OperationArguments,
382
- spec: coreClient.OperationSpec,
383
- ): Promise<void> => {
384
- return this.client.sendOperationRequest(args, spec);
385
- };
386
- const sendOperationFn = async (
387
- args: coreClient.OperationArguments,
388
- spec: coreClient.OperationSpec,
389
- ) => {
390
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
391
- undefined;
392
- const providedCallback = args.options?.onResponse;
393
- const callback: coreClient.RawResponseCallback = (
394
- rawResponse: coreClient.FullOperationResponse,
395
- flatResponse: unknown,
396
- ) => {
397
- currentRawResponse = rawResponse;
398
- providedCallback?.(rawResponse, flatResponse);
399
- };
400
- const updatedArgs = {
401
- ...args,
402
- options: {
403
- ...args.options,
404
- onResponse: callback,
405
- },
406
- };
407
- const flatResponse = await directSendOperation(updatedArgs, spec);
408
- return {
409
- flatResponse,
410
- rawResponse: {
411
- statusCode: currentRawResponse!.status,
412
- body: currentRawResponse!.parsedBody,
413
- headers: currentRawResponse!.headers.toJSON(),
414
- },
415
- };
416
- };
417
-
418
- const lro = createLroSpec({
419
- sendOperationFn,
420
- args: { resourceGroupName, privateZoneName, options },
421
- spec: deleteOperationSpec,
422
- });
423
- const poller = await createHttpPoller<void, OperationState<void>>(lro, {
424
- restoreFrom: options?.resumeFrom,
425
- intervalInMs: options?.updateIntervalInMs,
426
- });
427
- await poller.poll();
428
- return poller;
429
- }
430
-
431
- /**
432
- * Deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This
433
- * operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to
434
- * it are removed.
435
- * @param resourceGroupName The name of the resource group.
436
- * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
437
- * @param options The options parameters.
438
- */
439
- async beginDeleteAndWait(
440
- resourceGroupName: string,
441
- privateZoneName: string,
442
- options?: PrivateZonesDeleteOptionalParams,
443
- ): Promise<void> {
444
- const poller = await this.beginDelete(
445
- resourceGroupName,
446
- privateZoneName,
447
- options,
448
- );
449
- return poller.pollUntilDone();
450
- }
451
-
452
- /**
453
- * Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the
454
- * record sets within the zone.
455
- * @param resourceGroupName The name of the resource group.
456
- * @param privateZoneName The name of the Private DNS zone (without a terminating dot).
457
- * @param options The options parameters.
458
- */
459
- get(
460
- resourceGroupName: string,
461
- privateZoneName: string,
462
- options?: PrivateZonesGetOptionalParams,
463
- ): Promise<PrivateZonesGetResponse> {
464
- return this.client.sendOperationRequest(
465
- { resourceGroupName, privateZoneName, options },
466
- getOperationSpec,
467
- );
468
- }
469
-
470
- /**
471
- * Lists the Private DNS zones in all resource groups in a subscription.
472
- * @param options The options parameters.
473
- */
474
- private _list(
475
- options?: PrivateZonesListOptionalParams,
476
- ): Promise<PrivateZonesListResponse> {
477
- return this.client.sendOperationRequest({ options }, listOperationSpec);
478
- }
479
-
480
- /**
481
- * Lists the Private DNS zones within a resource group.
482
- * @param resourceGroupName The name of the resource group.
483
- * @param options The options parameters.
484
- */
485
- private _listByResourceGroup(
486
- resourceGroupName: string,
487
- options?: PrivateZonesListByResourceGroupOptionalParams,
488
- ): Promise<PrivateZonesListByResourceGroupResponse> {
489
- return this.client.sendOperationRequest(
490
- { resourceGroupName, options },
491
- listByResourceGroupOperationSpec,
492
- );
493
- }
494
-
495
- /**
496
- * ListNext
497
- * @param nextLink The nextLink from the previous successful call to the List method.
498
- * @param options The options parameters.
499
- */
500
- private _listNext(
501
- nextLink: string,
502
- options?: PrivateZonesListNextOptionalParams,
503
- ): Promise<PrivateZonesListNextResponse> {
504
- return this.client.sendOperationRequest(
505
- { nextLink, options },
506
- listNextOperationSpec,
507
- );
508
- }
509
-
510
- /**
511
- * ListByResourceGroupNext
512
- * @param resourceGroupName The name of the resource group.
513
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
514
- * @param options The options parameters.
515
- */
516
- private _listByResourceGroupNext(
517
- resourceGroupName: string,
518
- nextLink: string,
519
- options?: PrivateZonesListByResourceGroupNextOptionalParams,
520
- ): Promise<PrivateZonesListByResourceGroupNextResponse> {
521
- return this.client.sendOperationRequest(
522
- { resourceGroupName, nextLink, options },
523
- listByResourceGroupNextOperationSpec,
524
- );
525
- }
526
- }
527
- // Operation Specifications
528
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
529
-
530
- const createOrUpdateOperationSpec: coreClient.OperationSpec = {
531
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
532
- httpMethod: "PUT",
533
- responses: {
534
- 200: {
535
- bodyMapper: Mappers.PrivateZone,
536
- },
537
- 201: {
538
- bodyMapper: Mappers.PrivateZone,
539
- },
540
- 202: {
541
- bodyMapper: Mappers.PrivateZone,
542
- },
543
- 204: {
544
- bodyMapper: Mappers.PrivateZone,
545
- },
546
- default: {
547
- bodyMapper: Mappers.CloudError,
548
- },
549
- },
550
- requestBody: Parameters.parameters,
551
- queryParameters: [Parameters.apiVersion],
552
- urlParameters: [
553
- Parameters.$host,
554
- Parameters.resourceGroupName,
555
- Parameters.privateZoneName,
556
- Parameters.subscriptionId,
557
- ],
558
- headerParameters: [
559
- Parameters.contentType,
560
- Parameters.accept,
561
- Parameters.ifMatch,
562
- Parameters.ifNoneMatch,
563
- ],
564
- mediaType: "json",
565
- serializer,
566
- };
567
- const updateOperationSpec: coreClient.OperationSpec = {
568
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
569
- httpMethod: "PATCH",
570
- responses: {
571
- 200: {
572
- bodyMapper: Mappers.PrivateZone,
573
- },
574
- 201: {
575
- bodyMapper: Mappers.PrivateZone,
576
- },
577
- 202: {
578
- bodyMapper: Mappers.PrivateZone,
579
- },
580
- 204: {
581
- bodyMapper: Mappers.PrivateZone,
582
- },
583
- default: {
584
- bodyMapper: Mappers.CloudError,
585
- },
586
- },
587
- requestBody: Parameters.parameters,
588
- queryParameters: [Parameters.apiVersion],
589
- urlParameters: [
590
- Parameters.$host,
591
- Parameters.resourceGroupName,
592
- Parameters.privateZoneName,
593
- Parameters.subscriptionId,
594
- ],
595
- headerParameters: [
596
- Parameters.contentType,
597
- Parameters.accept,
598
- Parameters.ifMatch,
599
- ],
600
- mediaType: "json",
601
- serializer,
602
- };
603
- const deleteOperationSpec: coreClient.OperationSpec = {
604
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
605
- httpMethod: "DELETE",
606
- responses: {
607
- 200: {},
608
- 201: {},
609
- 202: {},
610
- 204: {},
611
- default: {
612
- bodyMapper: Mappers.CloudError,
613
- },
614
- },
615
- queryParameters: [Parameters.apiVersion],
616
- urlParameters: [
617
- Parameters.$host,
618
- Parameters.resourceGroupName,
619
- Parameters.privateZoneName,
620
- Parameters.subscriptionId,
621
- ],
622
- headerParameters: [Parameters.accept, Parameters.ifMatch],
623
- serializer,
624
- };
625
- const getOperationSpec: coreClient.OperationSpec = {
626
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}",
627
- httpMethod: "GET",
628
- responses: {
629
- 200: {
630
- bodyMapper: Mappers.PrivateZone,
631
- },
632
- default: {
633
- bodyMapper: Mappers.CloudError,
634
- },
635
- },
636
- queryParameters: [Parameters.apiVersion],
637
- urlParameters: [
638
- Parameters.$host,
639
- Parameters.resourceGroupName,
640
- Parameters.privateZoneName,
641
- Parameters.subscriptionId,
642
- ],
643
- headerParameters: [Parameters.accept],
644
- serializer,
645
- };
646
- const listOperationSpec: coreClient.OperationSpec = {
647
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateDnsZones",
648
- httpMethod: "GET",
649
- responses: {
650
- 200: {
651
- bodyMapper: Mappers.PrivateZoneListResult,
652
- },
653
- default: {
654
- bodyMapper: Mappers.CloudError,
655
- },
656
- },
657
- queryParameters: [Parameters.apiVersion, Parameters.top],
658
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
659
- headerParameters: [Parameters.accept],
660
- serializer,
661
- };
662
- const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
663
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones",
664
- httpMethod: "GET",
665
- responses: {
666
- 200: {
667
- bodyMapper: Mappers.PrivateZoneListResult,
668
- },
669
- default: {
670
- bodyMapper: Mappers.CloudError,
671
- },
672
- },
673
- queryParameters: [Parameters.apiVersion, Parameters.top],
674
- urlParameters: [
675
- Parameters.$host,
676
- Parameters.resourceGroupName,
677
- Parameters.subscriptionId,
678
- ],
679
- headerParameters: [Parameters.accept],
680
- serializer,
681
- };
682
- const listNextOperationSpec: coreClient.OperationSpec = {
683
- path: "{nextLink}",
684
- httpMethod: "GET",
685
- responses: {
686
- 200: {
687
- bodyMapper: Mappers.PrivateZoneListResult,
688
- },
689
- default: {
690
- bodyMapper: Mappers.CloudError,
691
- },
692
- },
693
- urlParameters: [
694
- Parameters.$host,
695
- Parameters.subscriptionId,
696
- Parameters.nextLink,
697
- ],
698
- headerParameters: [Parameters.accept],
699
- serializer,
700
- };
701
- const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
702
- path: "{nextLink}",
703
- httpMethod: "GET",
704
- responses: {
705
- 200: {
706
- bodyMapper: Mappers.PrivateZoneListResult,
707
- },
708
- default: {
709
- bodyMapper: Mappers.CloudError,
710
- },
711
- },
712
- urlParameters: [
713
- Parameters.$host,
714
- Parameters.resourceGroupName,
715
- Parameters.subscriptionId,
716
- Parameters.nextLink,
717
- ],
718
- headerParameters: [Parameters.accept],
719
- serializer,
720
- };