@azure/arm-trafficmanager 6.1.1-alpha.20250127.1 → 6.1.1-alpha.20250129.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 (420) 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/models/index.js.map +1 -0
  7. package/dist/browser/models/mappers.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  9. package/dist/browser/models/parameters.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/operations/endpoints.d.ts +3 -3
  11. package/dist/browser/operations/endpoints.d.ts.map +1 -0
  12. package/{dist-esm/src → dist/browser}/operations/endpoints.js +2 -2
  13. package/dist/browser/operations/endpoints.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/geographicHierarchies.d.ts +3 -3
  15. package/dist/browser/operations/geographicHierarchies.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/geographicHierarchies.js +2 -2
  17. package/dist/browser/operations/geographicHierarchies.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/heatMap.d.ts +3 -3
  19. package/dist/browser/operations/heatMap.d.ts.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/heatMap.js +2 -2
  21. package/dist/browser/operations/heatMap.js.map +1 -0
  22. package/dist/browser/operations/index.d.ts +6 -0
  23. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  24. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +5 -5
  25. package/dist/browser/operations/index.js.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/profiles.d.ts +3 -3
  27. package/dist/browser/operations/profiles.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/profiles.js +2 -2
  29. package/dist/browser/operations/profiles.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/trafficManagerUserMetricsKeys.d.ts +3 -3
  31. package/dist/browser/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/trafficManagerUserMetricsKeys.js +2 -2
  33. package/dist/browser/operations/trafficManagerUserMetricsKeys.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operationsInterfaces/endpoints.d.ts +1 -1
  35. package/dist/browser/operationsInterfaces/endpoints.d.ts.map +1 -0
  36. package/dist/browser/operationsInterfaces/endpoints.js.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operationsInterfaces/geographicHierarchies.d.ts +1 -1
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/geographicHierarchies.d.ts.map +1 -1
  39. package/dist/browser/operationsInterfaces/geographicHierarchies.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/heatMap.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/heatMap.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/heatMap.js.map +1 -0
  43. package/dist/browser/operationsInterfaces/index.d.ts +6 -0
  44. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  45. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +5 -5
  46. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/profiles.d.ts +1 -1
  48. package/dist/browser/operationsInterfaces/profiles.d.ts.map +1 -0
  49. package/dist/browser/operationsInterfaces/profiles.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +1 -1
  51. package/dist/browser/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  52. package/dist/browser/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
  53. package/dist/browser/package.json +3 -0
  54. package/dist/browser/pagingHelper.js.map +1 -0
  55. package/{dist-esm/src → dist/browser}/trafficManagerManagementClient.d.ts +2 -2
  56. package/dist/browser/trafficManagerManagementClient.d.ts.map +1 -0
  57. package/{dist-esm/src → dist/browser}/trafficManagerManagementClient.js +15 -18
  58. package/dist/browser/trafficManagerManagementClient.js.map +1 -0
  59. package/dist/commonjs/index.d.ts +5 -0
  60. package/dist/commonjs/index.d.ts.map +1 -0
  61. package/dist/commonjs/index.js +19 -0
  62. package/dist/commonjs/index.js.map +1 -0
  63. package/{types/arm-trafficmanager.d.ts → dist/commonjs/models/index.d.ts} +531 -781
  64. package/dist/commonjs/models/index.d.ts.map +1 -0
  65. package/dist/commonjs/models/index.js +113 -0
  66. package/dist/commonjs/models/index.js.map +1 -0
  67. package/dist/commonjs/models/mappers.d.ts +26 -0
  68. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  69. package/dist/commonjs/models/mappers.js +731 -0
  70. package/dist/commonjs/models/mappers.js.map +1 -0
  71. package/dist/commonjs/models/parameters.d.ts +17 -0
  72. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  73. package/dist/commonjs/models/parameters.js +175 -0
  74. package/dist/commonjs/models/parameters.js.map +1 -0
  75. package/dist/commonjs/operations/endpoints.d.ts +51 -0
  76. package/dist/commonjs/operations/endpoints.d.ts.map +1 -0
  77. package/dist/commonjs/operations/endpoints.js +188 -0
  78. package/dist/commonjs/operations/endpoints.js.map +1 -0
  79. package/dist/commonjs/operations/geographicHierarchies.d.ts +18 -0
  80. package/dist/commonjs/operations/geographicHierarchies.d.ts.map +1 -0
  81. package/dist/commonjs/operations/geographicHierarchies.js +51 -0
  82. package/dist/commonjs/operations/geographicHierarchies.js.map +1 -0
  83. package/dist/commonjs/operations/heatMap.d.ts +20 -0
  84. package/dist/commonjs/operations/heatMap.d.ts.map +1 -0
  85. package/dist/commonjs/operations/heatMap.js +63 -0
  86. package/dist/commonjs/operations/heatMap.js.map +1 -0
  87. package/dist/commonjs/operations/index.d.ts +6 -0
  88. package/dist/commonjs/operations/index.d.ts.map +1 -0
  89. package/dist/commonjs/operations/index.js +16 -0
  90. package/dist/commonjs/operations/index.js.map +1 -0
  91. package/dist/commonjs/operations/profiles.d.ts +84 -0
  92. package/dist/commonjs/operations/profiles.d.ts.map +1 -0
  93. package/dist/commonjs/operations/profiles.js +361 -0
  94. package/dist/commonjs/operations/profiles.js.map +1 -0
  95. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.d.ts +28 -0
  96. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  97. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.js +97 -0
  98. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.js.map +1 -0
  99. package/dist/commonjs/operationsInterfaces/endpoints.d.ts +43 -0
  100. package/dist/commonjs/operationsInterfaces/endpoints.d.ts.map +1 -0
  101. package/dist/commonjs/operationsInterfaces/endpoints.js +10 -0
  102. package/dist/commonjs/operationsInterfaces/endpoints.js.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/geographicHierarchies.d.ts +10 -0
  104. package/dist/commonjs/operationsInterfaces/geographicHierarchies.d.ts.map +1 -0
  105. package/dist/commonjs/operationsInterfaces/geographicHierarchies.js +10 -0
  106. package/dist/commonjs/operationsInterfaces/geographicHierarchies.js.map +1 -0
  107. package/dist/commonjs/operationsInterfaces/heatMap.d.ts +12 -0
  108. package/dist/commonjs/operationsInterfaces/heatMap.d.ts.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/heatMap.js +10 -0
  110. package/dist/commonjs/operationsInterfaces/heatMap.js.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
  112. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/index.js +16 -0
  114. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/profiles.d.ts +61 -0
  116. package/dist/commonjs/operationsInterfaces/profiles.d.ts.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/profiles.js +10 -0
  118. package/dist/commonjs/operationsInterfaces/profiles.js.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +20 -0
  120. package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.js +10 -0
  122. package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.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 +36 -0
  127. package/dist/commonjs/pagingHelper.js.map +1 -0
  128. package/dist/commonjs/trafficManagerManagementClient.d.ts +24 -0
  129. package/dist/commonjs/trafficManagerManagementClient.d.ts.map +1 -0
  130. package/dist/commonjs/trafficManagerManagementClient.js +106 -0
  131. package/dist/commonjs/trafficManagerManagementClient.js.map +1 -0
  132. package/dist/esm/index.d.ts +5 -0
  133. package/dist/esm/index.d.ts.map +1 -0
  134. package/{src/index.ts → dist/esm/index.js} +5 -5
  135. package/dist/esm/index.js.map +1 -0
  136. package/dist/esm/models/index.d.ts +531 -0
  137. package/dist/esm/models/index.d.ts.map +1 -0
  138. package/dist/esm/models/index.js +110 -0
  139. package/dist/esm/models/index.js.map +1 -0
  140. package/dist/esm/models/mappers.d.ts +26 -0
  141. package/dist/esm/models/mappers.d.ts.map +1 -0
  142. package/dist/esm/models/mappers.js +728 -0
  143. package/dist/esm/models/mappers.js.map +1 -0
  144. package/dist/esm/models/parameters.d.ts +17 -0
  145. package/dist/esm/models/parameters.d.ts.map +1 -0
  146. package/dist/esm/models/parameters.js +172 -0
  147. package/dist/esm/models/parameters.js.map +1 -0
  148. package/dist/esm/operations/endpoints.d.ts +51 -0
  149. package/dist/esm/operations/endpoints.d.ts.map +1 -0
  150. package/dist/esm/operations/endpoints.js +183 -0
  151. package/dist/esm/operations/endpoints.js.map +1 -0
  152. package/dist/esm/operations/geographicHierarchies.d.ts +18 -0
  153. package/dist/esm/operations/geographicHierarchies.d.ts.map +1 -0
  154. package/dist/esm/operations/geographicHierarchies.js +46 -0
  155. package/dist/esm/operations/geographicHierarchies.js.map +1 -0
  156. package/dist/esm/operations/heatMap.d.ts +20 -0
  157. package/dist/esm/operations/heatMap.d.ts.map +1 -0
  158. package/dist/esm/operations/heatMap.js +58 -0
  159. package/dist/esm/operations/heatMap.js.map +1 -0
  160. package/dist/esm/operations/index.d.ts +6 -0
  161. package/dist/esm/operations/index.d.ts.map +1 -0
  162. package/dist/esm/operations/index.js +13 -0
  163. package/dist/esm/operations/index.js.map +1 -0
  164. package/dist/esm/operations/profiles.d.ts +84 -0
  165. package/dist/esm/operations/profiles.d.ts.map +1 -0
  166. package/dist/esm/operations/profiles.js +357 -0
  167. package/dist/esm/operations/profiles.js.map +1 -0
  168. package/dist/esm/operations/trafficManagerUserMetricsKeys.d.ts +28 -0
  169. package/dist/esm/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  170. package/dist/esm/operations/trafficManagerUserMetricsKeys.js +92 -0
  171. package/dist/esm/operations/trafficManagerUserMetricsKeys.js.map +1 -0
  172. package/dist/esm/operationsInterfaces/endpoints.d.ts +43 -0
  173. package/dist/esm/operationsInterfaces/endpoints.d.ts.map +1 -0
  174. package/dist/esm/operationsInterfaces/endpoints.js +9 -0
  175. package/dist/esm/operationsInterfaces/endpoints.js.map +1 -0
  176. package/dist/esm/operationsInterfaces/geographicHierarchies.d.ts +10 -0
  177. package/dist/esm/operationsInterfaces/geographicHierarchies.d.ts.map +1 -0
  178. package/dist/esm/operationsInterfaces/geographicHierarchies.js +9 -0
  179. package/dist/esm/operationsInterfaces/geographicHierarchies.js.map +1 -0
  180. package/dist/esm/operationsInterfaces/heatMap.d.ts +12 -0
  181. package/dist/esm/operationsInterfaces/heatMap.d.ts.map +1 -0
  182. package/dist/esm/operationsInterfaces/heatMap.js +9 -0
  183. package/dist/esm/operationsInterfaces/heatMap.js.map +1 -0
  184. package/dist/esm/operationsInterfaces/index.d.ts +6 -0
  185. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  186. package/dist/esm/operationsInterfaces/index.js +13 -0
  187. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  188. package/dist/esm/operationsInterfaces/profiles.d.ts +61 -0
  189. package/dist/esm/operationsInterfaces/profiles.d.ts.map +1 -0
  190. package/dist/esm/operationsInterfaces/profiles.js +9 -0
  191. package/dist/esm/operationsInterfaces/profiles.js.map +1 -0
  192. package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +20 -0
  193. package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  194. package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.js +9 -0
  195. package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
  196. package/dist/esm/package.json +3 -0
  197. package/dist/esm/pagingHelper.d.ts +13 -0
  198. package/dist/esm/pagingHelper.d.ts.map +1 -0
  199. package/dist/esm/pagingHelper.js +32 -0
  200. package/dist/esm/pagingHelper.js.map +1 -0
  201. package/dist/esm/trafficManagerManagementClient.d.ts +24 -0
  202. package/dist/esm/trafficManagerManagementClient.d.ts.map +1 -0
  203. package/dist/esm/trafficManagerManagementClient.js +101 -0
  204. package/dist/esm/trafficManagerManagementClient.js.map +1 -0
  205. package/dist/react-native/index.d.ts +5 -0
  206. package/dist/react-native/index.d.ts.map +1 -0
  207. package/dist/react-native/index.js +13 -0
  208. package/dist/react-native/index.js.map +1 -0
  209. package/dist/react-native/models/index.d.ts +531 -0
  210. package/dist/react-native/models/index.d.ts.map +1 -0
  211. package/dist/react-native/models/index.js +110 -0
  212. package/dist/react-native/models/index.js.map +1 -0
  213. package/dist/react-native/models/mappers.d.ts +26 -0
  214. package/dist/react-native/models/mappers.d.ts.map +1 -0
  215. package/dist/react-native/models/mappers.js +728 -0
  216. package/dist/react-native/models/mappers.js.map +1 -0
  217. package/dist/react-native/models/parameters.d.ts +17 -0
  218. package/dist/react-native/models/parameters.d.ts.map +1 -0
  219. package/dist/react-native/models/parameters.js +172 -0
  220. package/dist/react-native/models/parameters.js.map +1 -0
  221. package/dist/react-native/operations/endpoints.d.ts +51 -0
  222. package/dist/react-native/operations/endpoints.d.ts.map +1 -0
  223. package/dist/react-native/operations/endpoints.js +183 -0
  224. package/dist/react-native/operations/endpoints.js.map +1 -0
  225. package/dist/react-native/operations/geographicHierarchies.d.ts +18 -0
  226. package/dist/react-native/operations/geographicHierarchies.d.ts.map +1 -0
  227. package/dist/react-native/operations/geographicHierarchies.js +46 -0
  228. package/dist/react-native/operations/geographicHierarchies.js.map +1 -0
  229. package/dist/react-native/operations/heatMap.d.ts +20 -0
  230. package/dist/react-native/operations/heatMap.d.ts.map +1 -0
  231. package/dist/react-native/operations/heatMap.js +58 -0
  232. package/dist/react-native/operations/heatMap.js.map +1 -0
  233. package/dist/react-native/operations/index.d.ts +6 -0
  234. package/dist/react-native/operations/index.d.ts.map +1 -0
  235. package/dist/react-native/operations/index.js +13 -0
  236. package/dist/react-native/operations/index.js.map +1 -0
  237. package/dist/react-native/operations/profiles.d.ts +84 -0
  238. package/dist/react-native/operations/profiles.d.ts.map +1 -0
  239. package/dist/react-native/operations/profiles.js +357 -0
  240. package/dist/react-native/operations/profiles.js.map +1 -0
  241. package/dist/react-native/operations/trafficManagerUserMetricsKeys.d.ts +28 -0
  242. package/dist/react-native/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  243. package/dist/react-native/operations/trafficManagerUserMetricsKeys.js +92 -0
  244. package/dist/react-native/operations/trafficManagerUserMetricsKeys.js.map +1 -0
  245. package/dist/react-native/operationsInterfaces/endpoints.d.ts +43 -0
  246. package/dist/react-native/operationsInterfaces/endpoints.d.ts.map +1 -0
  247. package/dist/react-native/operationsInterfaces/endpoints.js +9 -0
  248. package/dist/react-native/operationsInterfaces/endpoints.js.map +1 -0
  249. package/dist/react-native/operationsInterfaces/geographicHierarchies.d.ts +10 -0
  250. package/dist/react-native/operationsInterfaces/geographicHierarchies.d.ts.map +1 -0
  251. package/dist/react-native/operationsInterfaces/geographicHierarchies.js +9 -0
  252. package/dist/react-native/operationsInterfaces/geographicHierarchies.js.map +1 -0
  253. package/dist/react-native/operationsInterfaces/heatMap.d.ts +12 -0
  254. package/dist/react-native/operationsInterfaces/heatMap.d.ts.map +1 -0
  255. package/dist/react-native/operationsInterfaces/heatMap.js +9 -0
  256. package/dist/react-native/operationsInterfaces/heatMap.js.map +1 -0
  257. package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
  258. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  259. package/dist/react-native/operationsInterfaces/index.js +13 -0
  260. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  261. package/dist/react-native/operationsInterfaces/profiles.d.ts +61 -0
  262. package/dist/react-native/operationsInterfaces/profiles.d.ts.map +1 -0
  263. package/dist/react-native/operationsInterfaces/profiles.js +9 -0
  264. package/dist/react-native/operationsInterfaces/profiles.js.map +1 -0
  265. package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +20 -0
  266. package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  267. package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.js +9 -0
  268. package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
  269. package/dist/react-native/package.json +3 -0
  270. package/dist/react-native/pagingHelper.d.ts +13 -0
  271. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  272. package/dist/react-native/pagingHelper.js +32 -0
  273. package/dist/react-native/pagingHelper.js.map +1 -0
  274. package/dist/react-native/trafficManagerManagementClient.d.ts +24 -0
  275. package/dist/react-native/trafficManagerManagementClient.d.ts.map +1 -0
  276. package/dist/react-native/trafficManagerManagementClient.js +101 -0
  277. package/dist/react-native/trafficManagerManagementClient.js.map +1 -0
  278. package/package.json +69 -40
  279. package/dist/index.js +0 -1911
  280. package/dist/index.js.map +0 -1
  281. package/dist/index.min.js +0 -1
  282. package/dist/index.min.js.map +0 -1
  283. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts +0 -2
  284. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts.map +0 -1
  285. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +0 -154
  286. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +0 -1
  287. package/dist-esm/samples-dev/endpointsDeleteSample.d.ts +0 -2
  288. package/dist-esm/samples-dev/endpointsDeleteSample.d.ts.map +0 -1
  289. package/dist-esm/samples-dev/endpointsDeleteSample.js +0 -38
  290. package/dist-esm/samples-dev/endpointsDeleteSample.js.map +0 -1
  291. package/dist-esm/samples-dev/endpointsGetSample.d.ts +0 -2
  292. package/dist-esm/samples-dev/endpointsGetSample.d.ts.map +0 -1
  293. package/dist-esm/samples-dev/endpointsGetSample.js +0 -78
  294. package/dist-esm/samples-dev/endpointsGetSample.js.map +0 -1
  295. package/dist-esm/samples-dev/endpointsUpdateSample.d.ts +0 -2
  296. package/dist-esm/samples-dev/endpointsUpdateSample.d.ts.map +0 -1
  297. package/dist-esm/samples-dev/endpointsUpdateSample.js +0 -37
  298. package/dist-esm/samples-dev/endpointsUpdateSample.js.map +0 -1
  299. package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.d.ts +0 -2
  300. package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.d.ts.map +0 -1
  301. package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.js +0 -34
  302. package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.js.map +0 -1
  303. package/dist-esm/samples-dev/heatMapGetSample.d.ts +0 -2
  304. package/dist-esm/samples-dev/heatMapGetSample.d.ts.map +0 -1
  305. package/dist-esm/samples-dev/heatMapGetSample.js +0 -68
  306. package/dist-esm/samples-dev/heatMapGetSample.js.map +0 -1
  307. package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.d.ts +0 -2
  308. package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.d.ts.map +0 -1
  309. package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.js +0 -51
  310. package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.js.map +0 -1
  311. package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.d.ts +0 -2
  312. package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.d.ts.map +0 -1
  313. package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js +0 -51
  314. package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js.map +0 -1
  315. package/dist-esm/samples-dev/profilesCreateOrUpdateSample.d.ts +0 -2
  316. package/dist-esm/samples-dev/profilesCreateOrUpdateSample.d.ts.map +0 -1
  317. package/dist-esm/samples-dev/profilesCreateOrUpdateSample.js +0 -262
  318. package/dist-esm/samples-dev/profilesCreateOrUpdateSample.js.map +0 -1
  319. package/dist-esm/samples-dev/profilesDeleteSample.d.ts +0 -2
  320. package/dist-esm/samples-dev/profilesDeleteSample.d.ts.map +0 -1
  321. package/dist-esm/samples-dev/profilesDeleteSample.js +0 -36
  322. package/dist-esm/samples-dev/profilesDeleteSample.js.map +0 -1
  323. package/dist-esm/samples-dev/profilesGetSample.d.ts +0 -2
  324. package/dist-esm/samples-dev/profilesGetSample.d.ts.map +0 -1
  325. package/dist-esm/samples-dev/profilesGetSample.js +0 -72
  326. package/dist-esm/samples-dev/profilesGetSample.js.map +0 -1
  327. package/dist-esm/samples-dev/profilesListByResourceGroupSample.d.ts +0 -2
  328. package/dist-esm/samples-dev/profilesListByResourceGroupSample.d.ts.map +0 -1
  329. package/dist-esm/samples-dev/profilesListByResourceGroupSample.js +0 -51
  330. package/dist-esm/samples-dev/profilesListByResourceGroupSample.js.map +0 -1
  331. package/dist-esm/samples-dev/profilesListBySubscriptionSample.d.ts +0 -2
  332. package/dist-esm/samples-dev/profilesListBySubscriptionSample.d.ts.map +0 -1
  333. package/dist-esm/samples-dev/profilesListBySubscriptionSample.js +0 -50
  334. package/dist-esm/samples-dev/profilesListBySubscriptionSample.js.map +0 -1
  335. package/dist-esm/samples-dev/profilesUpdateSample.d.ts +0 -2
  336. package/dist-esm/samples-dev/profilesUpdateSample.d.ts.map +0 -1
  337. package/dist-esm/samples-dev/profilesUpdateSample.js +0 -43
  338. package/dist-esm/samples-dev/profilesUpdateSample.js.map +0 -1
  339. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.d.ts +0 -2
  340. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.d.ts.map +0 -1
  341. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.js +0 -34
  342. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.js.map +0 -1
  343. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.d.ts +0 -2
  344. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.d.ts.map +0 -1
  345. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.js +0 -34
  346. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.js.map +0 -1
  347. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.d.ts +0 -2
  348. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.d.ts.map +0 -1
  349. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.js +0 -34
  350. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.js.map +0 -1
  351. package/dist-esm/src/index.d.ts +0 -5
  352. package/dist-esm/src/index.js.map +0 -1
  353. package/dist-esm/src/models/index.js.map +0 -1
  354. package/dist-esm/src/models/mappers.js.map +0 -1
  355. package/dist-esm/src/models/parameters.js.map +0 -1
  356. package/dist-esm/src/operations/endpoints.d.ts.map +0 -1
  357. package/dist-esm/src/operations/endpoints.js.map +0 -1
  358. package/dist-esm/src/operations/geographicHierarchies.d.ts.map +0 -1
  359. package/dist-esm/src/operations/geographicHierarchies.js.map +0 -1
  360. package/dist-esm/src/operations/heatMap.d.ts.map +0 -1
  361. package/dist-esm/src/operations/heatMap.js.map +0 -1
  362. package/dist-esm/src/operations/index.d.ts +0 -6
  363. package/dist-esm/src/operations/index.js.map +0 -1
  364. package/dist-esm/src/operations/profiles.d.ts.map +0 -1
  365. package/dist-esm/src/operations/profiles.js.map +0 -1
  366. package/dist-esm/src/operations/trafficManagerUserMetricsKeys.d.ts.map +0 -1
  367. package/dist-esm/src/operations/trafficManagerUserMetricsKeys.js.map +0 -1
  368. package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +0 -1
  369. package/dist-esm/src/operationsInterfaces/endpoints.js.map +0 -1
  370. package/dist-esm/src/operationsInterfaces/geographicHierarchies.js.map +0 -1
  371. package/dist-esm/src/operationsInterfaces/heatMap.d.ts.map +0 -1
  372. package/dist-esm/src/operationsInterfaces/heatMap.js.map +0 -1
  373. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
  374. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  375. package/dist-esm/src/operationsInterfaces/profiles.d.ts.map +0 -1
  376. package/dist-esm/src/operationsInterfaces/profiles.js.map +0 -1
  377. package/dist-esm/src/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +0 -1
  378. package/dist-esm/src/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +0 -1
  379. package/dist-esm/src/pagingHelper.js.map +0 -1
  380. package/dist-esm/src/trafficManagerManagementClient.d.ts.map +0 -1
  381. package/dist-esm/src/trafficManagerManagementClient.js.map +0 -1
  382. package/dist-esm/test/trafficmanager_examples.spec.d.ts +0 -4
  383. package/dist-esm/test/trafficmanager_examples.spec.d.ts.map +0 -1
  384. package/dist-esm/test/trafficmanager_examples.spec.js +0 -120
  385. package/dist-esm/test/trafficmanager_examples.spec.js.map +0 -1
  386. package/src/models/index.ts +0 -616
  387. package/src/models/mappers.ts +0 -797
  388. package/src/models/parameters.ts +0 -196
  389. package/src/operations/endpoints.ts +0 -247
  390. package/src/operations/geographicHierarchies.ts +0 -63
  391. package/src/operations/heatMap.ts +0 -74
  392. package/src/operations/index.ts +0 -13
  393. package/src/operations/profiles.ts +0 -447
  394. package/src/operations/trafficManagerUserMetricsKeys.ts +0 -122
  395. package/src/operationsInterfaces/endpoints.ts +0 -88
  396. package/src/operationsInterfaces/geographicHierarchies.ts +0 -23
  397. package/src/operationsInterfaces/heatMap.ts +0 -24
  398. package/src/operationsInterfaces/index.ts +0 -13
  399. package/src/operationsInterfaces/profiles.ts +0 -116
  400. package/src/operationsInterfaces/trafficManagerUserMetricsKeys.ts +0 -41
  401. package/src/pagingHelper.ts +0 -39
  402. package/src/trafficManagerManagementClient.ts +0 -162
  403. package/tsconfig.json +0 -33
  404. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  405. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  406. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  407. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  408. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  409. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  410. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  411. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  412. /package/{dist-esm/src → dist/browser}/operationsInterfaces/endpoints.js +0 -0
  413. /package/{dist-esm/src → dist/browser}/operationsInterfaces/geographicHierarchies.js +0 -0
  414. /package/{dist-esm/src → dist/browser}/operationsInterfaces/heatMap.js +0 -0
  415. /package/{dist-esm/src → dist/browser}/operationsInterfaces/profiles.js +0 -0
  416. /package/{dist-esm/src → dist/browser}/operationsInterfaces/trafficManagerUserMetricsKeys.js +0 -0
  417. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  418. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  419. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  420. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA+B;QAC1C,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,mCAAmC,GAA+B;IAC7E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qCAAqC;QAChD,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAA+B;IAClD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,UAAU;QACrB,eAAe,EAAE;YAC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AC1C,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,oBAAoB,EAAE;gBACpB,cAAc,EAAE,iCAAiC;gBACjD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,WAAW;iBACvB;aACF,EACD,aAAa,EAAE;gBACb,cAAc,EAAE,0BAA0B;gBAC1C,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,eAAe;iBAC3B;aACF,EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,UAAU;yBACtB;qBACF;iBACF;aACF,EACD,2BAA2B,EAAE;gBAC3B,cAAc,EAAE,wCAAwC;gBACxD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,0BAA0B,EAAE;gBAC1B,cAAc,EAAE,uCAAuC;gBACvD,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF,EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const EndpointPropertiesSubnetsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesSubnetsItem\",\n modelProperties: {\n first: {\n serializedName: \"first\",\n type: {\n name: \"String\"\n }\n },\n last: {\n serializedName: \"last\",\n type: {\n name: \"String\"\n }\n },\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const EndpointPropertiesCustomHeadersItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesCustomHeadersItem\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const DeleteOperationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeleteOperationResult\",\n modelProperties: {\n operationResult: {\n serializedName: \"boolean\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const CheckTrafficManagerRelativeDnsNameAvailabilityParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckTrafficManagerRelativeDnsNameAvailabilityParameters\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficManagerNameAvailability: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficManagerNameAvailability\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\"\n }\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProfileListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProfileListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Profile\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const DnsConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DnsConfig\",\n modelProperties: {\n relativeName: {\n serializedName: \"relativeName\",\n type: {\n name: \"String\"\n }\n },\n fqdn: {\n serializedName: \"fqdn\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n ttl: {\n serializedName: \"ttl\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const MonitorConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorConfig\",\n modelProperties: {\n profileMonitorStatus: {\n serializedName: \"profileMonitorStatus\",\n type: {\n name: \"String\"\n }\n },\n protocol: {\n serializedName: \"protocol\",\n type: {\n name: \"String\"\n }\n },\n port: {\n serializedName: \"port\",\n type: {\n name: \"Number\"\n }\n },\n path: {\n serializedName: \"path\",\n type: {\n name: \"String\"\n }\n },\n intervalInSeconds: {\n serializedName: \"intervalInSeconds\",\n type: {\n name: \"Number\"\n }\n },\n timeoutInSeconds: {\n serializedName: \"timeoutInSeconds\",\n type: {\n name: \"Number\"\n }\n },\n toleratedNumberOfFailures: {\n serializedName: \"toleratedNumberOfFailures\",\n type: {\n name: \"Number\"\n }\n },\n customHeaders: {\n serializedName: \"customHeaders\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigCustomHeadersItem\"\n }\n }\n }\n },\n expectedStatusCodeRanges: {\n serializedName: \"expectedStatusCodeRanges\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigExpectedStatusCodeRangesItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MonitorConfigCustomHeadersItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigCustomHeadersItem\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const MonitorConfigExpectedStatusCodeRangesItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigExpectedStatusCodeRangesItem\",\n modelProperties: {\n min: {\n serializedName: \"min\",\n type: {\n name: \"Number\"\n }\n },\n max: {\n serializedName: \"max\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const Region: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Region\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n regions: {\n serializedName: \"regions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Region\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const HeatMapEndpoint: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HeatMapEndpoint\",\n modelProperties: {\n resourceId: {\n serializedName: \"resourceId\",\n type: {\n name: \"String\"\n }\n },\n endpointId: {\n serializedName: \"endpointId\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const TrafficFlow: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficFlow\",\n modelProperties: {\n sourceIp: {\n serializedName: \"sourceIp\",\n type: {\n name: \"String\"\n }\n },\n latitude: {\n serializedName: \"latitude\",\n type: {\n name: \"Number\"\n }\n },\n longitude: {\n serializedName: \"longitude\",\n type: {\n name: \"Number\"\n }\n },\n queryExperiences: {\n serializedName: \"queryExperiences\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QueryExperience\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const QueryExperience: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QueryExperience\",\n modelProperties: {\n endpointId: {\n serializedName: \"endpointId\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n queryCount: {\n serializedName: \"queryCount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n latency: {\n serializedName: \"latency\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Endpoint: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Endpoint\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n targetResourceId: {\n serializedName: \"properties.targetResourceId\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"properties.target\",\n type: {\n name: \"String\"\n }\n },\n endpointStatus: {\n serializedName: \"properties.endpointStatus\",\n type: {\n name: \"String\"\n }\n },\n weight: {\n serializedName: \"properties.weight\",\n type: {\n name: \"Number\"\n }\n },\n priority: {\n serializedName: \"properties.priority\",\n type: {\n name: \"Number\"\n }\n },\n endpointLocation: {\n serializedName: \"properties.endpointLocation\",\n type: {\n name: \"String\"\n }\n },\n endpointMonitorStatus: {\n serializedName: \"properties.endpointMonitorStatus\",\n type: {\n name: \"String\"\n }\n },\n minChildEndpoints: {\n serializedName: \"properties.minChildEndpoints\",\n type: {\n name: \"Number\"\n }\n },\n minChildEndpointsIPv4: {\n serializedName: \"properties.minChildEndpointsIPv4\",\n type: {\n name: \"Number\"\n }\n },\n minChildEndpointsIPv6: {\n serializedName: \"properties.minChildEndpointsIPv6\",\n type: {\n name: \"Number\"\n }\n },\n geoMapping: {\n serializedName: \"properties.geoMapping\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n subnets: {\n serializedName: \"properties.subnets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesSubnetsItem\"\n }\n }\n }\n },\n customHeaders: {\n serializedName: \"properties.customHeaders\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesCustomHeadersItem\"\n }\n }\n }\n },\n alwaysServe: {\n serializedName: \"properties.alwaysServe\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficManagerGeographicHierarchy: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficManagerGeographicHierarchy\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n geographicHierarchy: {\n serializedName: \"properties.geographicHierarchy\",\n type: {\n name: \"Composite\",\n className: \"Region\"\n }\n }\n }\n }\n};\n\nexport const HeatMapModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HeatMapModel\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n startTime: {\n serializedName: \"properties.startTime\",\n type: {\n name: \"DateTime\"\n }\n },\n endTime: {\n serializedName: \"properties.endTime\",\n type: {\n name: \"DateTime\"\n }\n },\n endpoints: {\n serializedName: \"properties.endpoints\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"HeatMapEndpoint\"\n }\n }\n }\n },\n trafficFlows: {\n serializedName: \"properties.trafficFlows\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TrafficFlow\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const UserMetricsModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UserMetricsModel\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n key: {\n serializedName: \"properties.key\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Profile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Profile\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n profileStatus: {\n serializedName: \"properties.profileStatus\",\n type: {\n name: \"String\"\n }\n },\n trafficRoutingMethod: {\n serializedName: \"properties.trafficRoutingMethod\",\n type: {\n name: \"String\"\n }\n },\n dnsConfig: {\n serializedName: \"properties.dnsConfig\",\n type: {\n name: \"Composite\",\n className: \"DnsConfig\"\n }\n },\n monitorConfig: {\n serializedName: \"properties.monitorConfig\",\n type: {\n name: \"Composite\",\n className: \"MonitorConfig\"\n }\n },\n endpoints: {\n serializedName: \"properties.endpoints\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Endpoint\"\n }\n }\n }\n },\n trafficViewEnrollmentStatus: {\n serializedName: \"properties.trafficViewEnrollmentStatus\",\n type: {\n name: \"String\"\n }\n },\n allowedEndpointRecordTypes: {\n serializedName: \"properties.allowedEndpointRecordTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n maxReturn: {\n serializedName: \"properties.maxReturn\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n"]}
@@ -0,0 +1,17 @@
1
+ import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
2
+ export declare const contentType: OperationParameter;
3
+ export declare const parameters: OperationParameter;
4
+ export declare const accept: OperationParameter;
5
+ export declare const $host: OperationURLParameter;
6
+ export declare const resourceGroupName: OperationURLParameter;
7
+ export declare const profileName: OperationURLParameter;
8
+ export declare const endpointType: OperationURLParameter;
9
+ export declare const endpointName: OperationURLParameter;
10
+ export declare const apiVersion: OperationQueryParameter;
11
+ export declare const subscriptionId: OperationURLParameter;
12
+ export declare const parameters1: OperationParameter;
13
+ export declare const parameters2: OperationParameter;
14
+ export declare const heatMapType: OperationURLParameter;
15
+ export declare const topLeft: OperationQueryParameter;
16
+ export declare const botRight: OperationQueryParameter;
17
+ //# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAO5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAa/B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBASzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAU1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAY5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBAUzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,uBAkBrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,uBAkBtB,CAAC"}
@@ -0,0 +1,175 @@
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.botRight = exports.topLeft = exports.heatMapType = exports.parameters2 = exports.parameters1 = exports.subscriptionId = exports.apiVersion = exports.endpointName = exports.endpointType = exports.profileName = exports.resourceGroupName = exports.$host = exports.accept = exports.parameters = exports.contentType = void 0;
11
+ const mappers_js_1 = require("../models/mappers.js");
12
+ exports.contentType = {
13
+ parameterPath: ["options", "contentType"],
14
+ mapper: {
15
+ defaultValue: "application/json",
16
+ isConstant: true,
17
+ serializedName: "Content-Type",
18
+ type: {
19
+ name: "String"
20
+ }
21
+ }
22
+ };
23
+ exports.parameters = {
24
+ parameterPath: "parameters",
25
+ mapper: mappers_js_1.Endpoint
26
+ };
27
+ exports.accept = {
28
+ parameterPath: "accept",
29
+ mapper: {
30
+ defaultValue: "application/json",
31
+ isConstant: true,
32
+ serializedName: "Accept",
33
+ type: {
34
+ name: "String"
35
+ }
36
+ }
37
+ };
38
+ exports.$host = {
39
+ parameterPath: "$host",
40
+ mapper: {
41
+ serializedName: "$host",
42
+ required: true,
43
+ type: {
44
+ name: "String"
45
+ }
46
+ },
47
+ skipEncoding: true
48
+ };
49
+ exports.resourceGroupName = {
50
+ parameterPath: "resourceGroupName",
51
+ mapper: {
52
+ constraints: {
53
+ MaxLength: 90,
54
+ MinLength: 1
55
+ },
56
+ serializedName: "resourceGroupName",
57
+ required: true,
58
+ type: {
59
+ name: "String"
60
+ }
61
+ }
62
+ };
63
+ exports.profileName = {
64
+ parameterPath: "profileName",
65
+ mapper: {
66
+ serializedName: "profileName",
67
+ required: true,
68
+ type: {
69
+ name: "String"
70
+ }
71
+ }
72
+ };
73
+ exports.endpointType = {
74
+ parameterPath: "endpointType",
75
+ mapper: {
76
+ serializedName: "endpointType",
77
+ required: true,
78
+ type: {
79
+ name: "Enum",
80
+ allowedValues: ["AzureEndpoints", "ExternalEndpoints", "NestedEndpoints"]
81
+ }
82
+ }
83
+ };
84
+ exports.endpointName = {
85
+ parameterPath: "endpointName",
86
+ mapper: {
87
+ serializedName: "endpointName",
88
+ required: true,
89
+ type: {
90
+ name: "String"
91
+ }
92
+ }
93
+ };
94
+ exports.apiVersion = {
95
+ parameterPath: "apiVersion",
96
+ mapper: {
97
+ defaultValue: "2022-04-01",
98
+ isConstant: true,
99
+ serializedName: "api-version",
100
+ type: {
101
+ name: "String"
102
+ }
103
+ }
104
+ };
105
+ exports.subscriptionId = {
106
+ parameterPath: "subscriptionId",
107
+ mapper: {
108
+ constraints: {
109
+ MinLength: 1
110
+ },
111
+ serializedName: "subscriptionId",
112
+ required: true,
113
+ type: {
114
+ name: "String"
115
+ }
116
+ }
117
+ };
118
+ exports.parameters1 = {
119
+ parameterPath: "parameters",
120
+ mapper: mappers_js_1.CheckTrafficManagerRelativeDnsNameAvailabilityParameters
121
+ };
122
+ exports.parameters2 = {
123
+ parameterPath: "parameters",
124
+ mapper: mappers_js_1.Profile
125
+ };
126
+ exports.heatMapType = {
127
+ parameterPath: "heatMapType",
128
+ mapper: {
129
+ defaultValue: "default",
130
+ isConstant: true,
131
+ serializedName: "heatMapType",
132
+ type: {
133
+ name: "String"
134
+ }
135
+ }
136
+ };
137
+ exports.topLeft = {
138
+ parameterPath: ["options", "topLeft"],
139
+ mapper: {
140
+ constraints: {
141
+ MinItems: 2,
142
+ MaxItems: 2
143
+ },
144
+ serializedName: "topLeft",
145
+ type: {
146
+ name: "Sequence",
147
+ element: {
148
+ type: {
149
+ name: "Number"
150
+ }
151
+ }
152
+ }
153
+ },
154
+ collectionFormat: "CSV"
155
+ };
156
+ exports.botRight = {
157
+ parameterPath: ["options", "botRight"],
158
+ mapper: {
159
+ constraints: {
160
+ MinItems: 2,
161
+ MaxItems: 2
162
+ },
163
+ serializedName: "botRight",
164
+ type: {
165
+ name: "Sequence",
166
+ element: {
167
+ type: {
168
+ name: "Number"
169
+ }
170
+ }
171
+ }
172
+ },
173
+ collectionFormat: "CSV"
174
+ };
175
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAI8B;AAEjB,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,qBAAc;CACvB,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,M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AQ;iBACf;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Endpoint as EndpointMapper,\n CheckTrafficManagerRelativeDnsNameAvailabilityParameters as CheckTrafficManagerRelativeDnsNameAvailabilityParametersMapper,\n Profile as ProfileMapper\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: EndpointMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const profileName: OperationURLParameter = {\n parameterPath: \"profileName\",\n mapper: {\n serializedName: \"profileName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpointType: OperationURLParameter = {\n parameterPath: \"endpointType\",\n mapper: {\n serializedName: \"endpointType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"AzureEndpoints\", \"ExternalEndpoints\", \"NestedEndpoints\"]\n }\n }\n};\n\nexport const endpointName: OperationURLParameter = {\n parameterPath: \"endpointName\",\n mapper: {\n serializedName: \"endpointName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-04-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: CheckTrafficManagerRelativeDnsNameAvailabilityParametersMapper\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ProfileMapper\n};\n\nexport const heatMapType: OperationURLParameter = {\n parameterPath: \"heatMapType\",\n mapper: {\n defaultValue: \"default\",\n isConstant: true,\n serializedName: \"heatMapType\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const topLeft: OperationQueryParameter = {\n parameterPath: [\"options\", \"topLeft\"],\n mapper: {\n constraints: {\n MinItems: 2,\n MaxItems: 2\n },\n serializedName: \"topLeft\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Number\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const botRight: OperationQueryParameter = {\n parameterPath: [\"options\", \"botRight\"],\n mapper: {\n constraints: {\n MinItems: 2,\n MaxItems: 2\n },\n serializedName: \"botRight\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Number\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n"]}
@@ -0,0 +1,51 @@
1
+ import { Endpoints } from "../operationsInterfaces/index.js";
2
+ import { TrafficManagerManagementClient } from "../trafficManagerManagementClient.js";
3
+ import { Endpoint, EndpointType, EndpointsUpdateOptionalParams, EndpointsUpdateResponse, EndpointsGetOptionalParams, EndpointsGetResponse, EndpointsCreateOrUpdateOptionalParams, EndpointsCreateOrUpdateResponse, EndpointsDeleteOptionalParams, EndpointsDeleteResponse } from "../models/index.js";
4
+ /** Class containing Endpoints operations. */
5
+ export declare class EndpointsImpl implements Endpoints {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class Endpoints class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: TrafficManagerManagementClient);
12
+ /**
13
+ * Update a Traffic Manager endpoint.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param profileName The name of the Traffic Manager profile.
16
+ * @param endpointType The type of the Traffic Manager endpoint to be updated.
17
+ * @param endpointName The name of the Traffic Manager endpoint to be updated.
18
+ * @param parameters The Traffic Manager endpoint parameters supplied to the Update operation.
19
+ * @param options The options parameters.
20
+ */
21
+ update(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsUpdateOptionalParams): Promise<EndpointsUpdateResponse>;
22
+ /**
23
+ * Gets a Traffic Manager endpoint.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param profileName The name of the Traffic Manager profile.
26
+ * @param endpointType The type of the Traffic Manager endpoint.
27
+ * @param endpointName The name of the Traffic Manager endpoint.
28
+ * @param options The options parameters.
29
+ */
30
+ get(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsGetOptionalParams): Promise<EndpointsGetResponse>;
31
+ /**
32
+ * Create or update a Traffic Manager endpoint.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param profileName The name of the Traffic Manager profile.
35
+ * @param endpointType The type of the Traffic Manager endpoint to be created or updated.
36
+ * @param endpointName The name of the Traffic Manager endpoint to be created or updated.
37
+ * @param parameters The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.
38
+ * @param options The options parameters.
39
+ */
40
+ createOrUpdate(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsCreateOrUpdateOptionalParams): Promise<EndpointsCreateOrUpdateResponse>;
41
+ /**
42
+ * Deletes a Traffic Manager endpoint.
43
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
+ * @param profileName The name of the Traffic Manager profile.
45
+ * @param endpointType The type of the Traffic Manager endpoint to be deleted.
46
+ * @param endpointName The name of the Traffic Manager endpoint to be deleted.
47
+ * @param options The options parameters.
48
+ */
49
+ delete(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsDeleteOptionalParams): Promise<EndpointsDeleteResponse>;
50
+ }
51
+ //# sourceMappingURL=endpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/operations/endpoints.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,qCAAqC,EACrC,+BAA+B,EAC/B,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAE5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAcnC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAOhC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAc3C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;CAMpC"}
@@ -0,0 +1,188 @@
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.EndpointsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
+ /** Class containing Endpoints operations. */
16
+ class EndpointsImpl {
17
+ /**
18
+ * Initialize a new instance of the class Endpoints class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Update a Traffic Manager endpoint.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param profileName The name of the Traffic Manager profile.
28
+ * @param endpointType The type of the Traffic Manager endpoint to be updated.
29
+ * @param endpointName The name of the Traffic Manager endpoint to be updated.
30
+ * @param parameters The Traffic Manager endpoint parameters supplied to the Update operation.
31
+ * @param options The options parameters.
32
+ */
33
+ update(resourceGroupName, profileName, endpointType, endpointName, parameters, options) {
34
+ return this.client.sendOperationRequest({
35
+ resourceGroupName,
36
+ profileName,
37
+ endpointType,
38
+ endpointName,
39
+ parameters,
40
+ options
41
+ }, updateOperationSpec);
42
+ }
43
+ /**
44
+ * Gets a Traffic Manager endpoint.
45
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
46
+ * @param profileName The name of the Traffic Manager profile.
47
+ * @param endpointType The type of the Traffic Manager endpoint.
48
+ * @param endpointName The name of the Traffic Manager endpoint.
49
+ * @param options The options parameters.
50
+ */
51
+ get(resourceGroupName, profileName, endpointType, endpointName, options) {
52
+ return this.client.sendOperationRequest({ resourceGroupName, profileName, endpointType, endpointName, options }, getOperationSpec);
53
+ }
54
+ /**
55
+ * Create or update a Traffic Manager endpoint.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param profileName The name of the Traffic Manager profile.
58
+ * @param endpointType The type of the Traffic Manager endpoint to be created or updated.
59
+ * @param endpointName The name of the Traffic Manager endpoint to be created or updated.
60
+ * @param parameters The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.
61
+ * @param options The options parameters.
62
+ */
63
+ createOrUpdate(resourceGroupName, profileName, endpointType, endpointName, parameters, options) {
64
+ return this.client.sendOperationRequest({
65
+ resourceGroupName,
66
+ profileName,
67
+ endpointType,
68
+ endpointName,
69
+ parameters,
70
+ options
71
+ }, createOrUpdateOperationSpec);
72
+ }
73
+ /**
74
+ * Deletes a Traffic Manager endpoint.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param profileName The name of the Traffic Manager profile.
77
+ * @param endpointType The type of the Traffic Manager endpoint to be deleted.
78
+ * @param endpointName The name of the Traffic Manager endpoint to be deleted.
79
+ * @param options The options parameters.
80
+ */
81
+ delete(resourceGroupName, profileName, endpointType, endpointName, options) {
82
+ return this.client.sendOperationRequest({ resourceGroupName, profileName, endpointType, endpointName, options }, deleteOperationSpec);
83
+ }
84
+ }
85
+ exports.EndpointsImpl = EndpointsImpl;
86
+ // Operation Specifications
87
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
88
+ const updateOperationSpec = {
89
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",
90
+ httpMethod: "PATCH",
91
+ responses: {
92
+ 200: {
93
+ bodyMapper: Mappers.Endpoint
94
+ },
95
+ default: {
96
+ bodyMapper: Mappers.CloudError
97
+ }
98
+ },
99
+ requestBody: Parameters.parameters,
100
+ queryParameters: [Parameters.apiVersion],
101
+ urlParameters: [
102
+ Parameters.$host,
103
+ Parameters.resourceGroupName,
104
+ Parameters.profileName,
105
+ Parameters.endpointType,
106
+ Parameters.endpointName,
107
+ Parameters.subscriptionId
108
+ ],
109
+ headerParameters: [Parameters.contentType, Parameters.accept],
110
+ mediaType: "json",
111
+ serializer
112
+ };
113
+ const getOperationSpec = {
114
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",
115
+ httpMethod: "GET",
116
+ responses: {
117
+ 200: {
118
+ bodyMapper: Mappers.Endpoint
119
+ },
120
+ default: {
121
+ bodyMapper: Mappers.CloudError
122
+ }
123
+ },
124
+ queryParameters: [Parameters.apiVersion],
125
+ urlParameters: [
126
+ Parameters.$host,
127
+ Parameters.resourceGroupName,
128
+ Parameters.profileName,
129
+ Parameters.endpointType,
130
+ Parameters.endpointName,
131
+ Parameters.subscriptionId
132
+ ],
133
+ headerParameters: [Parameters.accept],
134
+ serializer
135
+ };
136
+ const createOrUpdateOperationSpec = {
137
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",
138
+ httpMethod: "PUT",
139
+ responses: {
140
+ 200: {
141
+ bodyMapper: Mappers.Endpoint
142
+ },
143
+ 201: {
144
+ bodyMapper: Mappers.Endpoint
145
+ },
146
+ default: {
147
+ bodyMapper: Mappers.CloudError
148
+ }
149
+ },
150
+ requestBody: Parameters.parameters,
151
+ queryParameters: [Parameters.apiVersion],
152
+ urlParameters: [
153
+ Parameters.$host,
154
+ Parameters.resourceGroupName,
155
+ Parameters.profileName,
156
+ Parameters.endpointType,
157
+ Parameters.endpointName,
158
+ Parameters.subscriptionId
159
+ ],
160
+ headerParameters: [Parameters.contentType, Parameters.accept],
161
+ mediaType: "json",
162
+ serializer
163
+ };
164
+ const deleteOperationSpec = {
165
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",
166
+ httpMethod: "DELETE",
167
+ responses: {
168
+ 200: {
169
+ bodyMapper: Mappers.DeleteOperationResult
170
+ },
171
+ 204: {},
172
+ default: {
173
+ bodyMapper: Mappers.CloudError
174
+ }
175
+ },
176
+ queryParameters: [Parameters.apiVersion],
177
+ urlParameters: [
178
+ Parameters.$host,
179
+ Parameters.resourceGroupName,
180
+ Parameters.profileName,
181
+ Parameters.endpointType,
182
+ Parameters.endpointName,
183
+ Parameters.subscriptionId
184
+ ],
185
+ headerParameters: [Parameters.accept],
186
+ serializer
187
+ };
188
+ //# sourceMappingURL=endpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/operations/endpoints.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAetD,6CAA6C;AAC7C,MAAa,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,M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AAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,UAAU;IAClC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,mKAAmK;IACrK,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;KAC1B;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 { Endpoints } 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 { TrafficManagerManagementClient } from \"../trafficManagerManagementClient.js\";\nimport {\n Endpoint,\n EndpointType,\n EndpointsUpdateOptionalParams,\n EndpointsUpdateResponse,\n EndpointsGetOptionalParams,\n EndpointsGetResponse,\n EndpointsCreateOrUpdateOptionalParams,\n EndpointsCreateOrUpdateResponse,\n EndpointsDeleteOptionalParams,\n EndpointsDeleteResponse\n} from \"../models/index.js\";\n\n/** Class containing Endpoints operations. */\nexport class EndpointsImpl implements Endpoints {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class Endpoints class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Update a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint to be updated.\n * @param endpointName The name of the Traffic Manager endpoint to be updated.\n * @param parameters The Traffic Manager endpoint parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n parameters: Endpoint,\n options?: EndpointsUpdateOptionalParams\n ): Promise<EndpointsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n endpointType,\n endpointName,\n parameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Gets a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint.\n * @param endpointName The name of the Traffic Manager endpoint.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n options?: EndpointsGetOptionalParams\n ): Promise<EndpointsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointType, endpointName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create or update a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint to be created or updated.\n * @param endpointName The name of the Traffic Manager endpoint to be created or updated.\n * @param parameters The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n parameters: Endpoint,\n options?: EndpointsCreateOrUpdateOptionalParams\n ): Promise<EndpointsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n endpointType,\n endpointName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint to be deleted.\n * @param endpointName The name of the Traffic Manager endpoint to be deleted.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n options?: EndpointsDeleteOptionalParams\n ): Promise<EndpointsDeleteResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointType, endpointName, options },\n deleteOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint\n },\n 201: {\n bodyMapper: Mappers.Endpoint\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeleteOperationResult\n },\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,18 @@
1
+ import { GeographicHierarchies } from "../operationsInterfaces/index.js";
2
+ import { TrafficManagerManagementClient } from "../trafficManagerManagementClient.js";
3
+ import { GeographicHierarchiesGetDefaultOptionalParams, GeographicHierarchiesGetDefaultResponse } from "../models/index.js";
4
+ /** Class containing GeographicHierarchies operations. */
5
+ export declare class GeographicHierarchiesImpl implements GeographicHierarchies {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class GeographicHierarchies class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: TrafficManagerManagementClient);
12
+ /**
13
+ * Gets the default Geographic Hierarchy used by the Geographic traffic routing method.
14
+ * @param options The options parameters.
15
+ */
16
+ getDefault(options?: GeographicHierarchiesGetDefaultOptionalParams): Promise<GeographicHierarchiesGetDefaultResponse>;
17
+ }
18
+ //# sourceMappingURL=geographicHierarchies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geographicHierarchies.d.ts","sourceRoot":"","sources":["../../../src/operations/geographicHierarchies.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAIzE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EACL,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAE5B,yDAAyD;AACzD,qBAAa,yBAA0B,YAAW,qBAAqB;IACrE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;OAGG;IACH,UAAU,CACR,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;CAMpD"}
@@ -0,0 +1,51 @@
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.GeographicHierarchiesImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
+ /** Class containing GeographicHierarchies operations. */
16
+ class GeographicHierarchiesImpl {
17
+ /**
18
+ * Initialize a new instance of the class GeographicHierarchies class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Gets the default Geographic Hierarchy used by the Geographic traffic routing method.
26
+ * @param options The options parameters.
27
+ */
28
+ getDefault(options) {
29
+ return this.client.sendOperationRequest({ options }, getDefaultOperationSpec);
30
+ }
31
+ }
32
+ exports.GeographicHierarchiesImpl = GeographicHierarchiesImpl;
33
+ // Operation Specifications
34
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
35
+ const getDefaultOperationSpec = {
36
+ path: "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default",
37
+ httpMethod: "GET",
38
+ responses: {
39
+ 200: {
40
+ bodyMapper: Mappers.TrafficManagerGeographicHierarchy
41
+ },
42
+ default: {
43
+ bodyMapper: Mappers.CloudError
44
+ }
45
+ },
46
+ queryParameters: [Parameters.apiVersion],
47
+ urlParameters: [Parameters.$host],
48
+ headerParameters: [Parameters.accept],
49
+ serializer
50
+ };
51
+ //# sourceMappingURL=geographicHierarchies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geographicHierarchies.js","sourceRoot":"","sources":["../../../src/operations/geographicHierarchies.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,yDAAyD;AACzD,MAAa,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,UAAU,CACR,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,uBAAuB,CACxB,CAAC;IACJ,CAAC;CACF;AAvBD,8DAuBC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EACF,0EAA0E;IAC5E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,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 { GeographicHierarchies } 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 { TrafficManagerManagementClient } from \"../trafficManagerManagementClient.js\";\nimport {\n GeographicHierarchiesGetDefaultOptionalParams,\n GeographicHierarchiesGetDefaultResponse\n} from \"../models/index.js\";\n\n/** Class containing GeographicHierarchies operations. */\nexport class GeographicHierarchiesImpl implements GeographicHierarchies {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class GeographicHierarchies class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the default Geographic Hierarchy used by the Geographic traffic routing method.\n * @param options The options parameters.\n */\n getDefault(\n options?: GeographicHierarchiesGetDefaultOptionalParams\n ): Promise<GeographicHierarchiesGetDefaultResponse> {\n return this.client.sendOperationRequest(\n { options },\n getDefaultOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getDefaultOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrafficManagerGeographicHierarchy\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}