@azure/arm-trafficmanager 6.1.1-alpha.20250128.1 → 6.1.1-alpha.20250130.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
package/README.md CHANGED
@@ -46,20 +46,28 @@ Set the values of the client ID, tenant ID, and client secret of the AAD applica
46
46
 
47
47
  For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
48
48
 
49
- ```javascript
50
- const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager");
51
- const { DefaultAzureCredential } = require("@azure/identity");
52
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
49
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
50
+
51
+ ```ts snippet:ReadmeSampleCreateClient_Node
52
+ import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager";
53
+ import { DefaultAzureCredential } from "@azure/identity";
53
54
 
54
55
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
55
56
  const client = new TrafficManagerManagementClient(new DefaultAzureCredential(), subscriptionId);
57
+ ```
58
+
59
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
56
60
 
57
- // For client-side applications running in the browser, use this code instead:
58
- // const credential = new InteractiveBrowserCredential({
59
- // tenantId: "<YOUR_TENANT_ID>",
60
- // clientId: "<YOUR_CLIENT_ID>"
61
- // });
62
- // const client = new TrafficManagerManagementClient(credential, subscriptionId);
61
+ ```ts snippet:ReadmeSampleCreateClient_Browser
62
+ import { InteractiveBrowserCredential } from "@azure/identity";
63
+ import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager";
64
+
65
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
66
+ const credential = new InteractiveBrowserCredential({
67
+ tenantId: "<YOUR_TENANT_ID>",
68
+ clientId: "<YOUR_CLIENT_ID>",
69
+ });
70
+ const client = new TrafficManagerManagementClient(credential, subscriptionId);
63
71
  ```
64
72
 
65
73
  ### JavaScript Bundle
@@ -78,8 +86,9 @@ To use this client library in the browser, first you need to use a bundler. For
78
86
 
79
87
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
80
88
 
81
- ```javascript
82
- const { setLogLevel } = require("@azure/logger");
89
+ ```ts snippet:SetLogLevel
90
+ import { setLogLevel } from "@azure/logger";
91
+
83
92
  setLogLevel("info");
84
93
  ```
85
94
 
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { TrafficManagerManagementClient } from "./trafficManagerManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAClF,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { TrafficManagerManagementClient } from "./trafficManagerManagementClient";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { TrafficManagerManagementClient } from "./trafficManagerManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { TrafficManagerManagementClient } from \"./trafficManagerManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAyQH,uEAAuE;AACvE,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,cAAc;IACd,0CAAmB,CAAA;IACnB,eAAe;IACf,4CAAqB,CAAA;AACvB,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B;AAYD,8EAA8E;AAC9E,MAAM,CAAN,IAAY,0BAeX;AAfD,WAAY,0BAA0B;IACpC,uBAAuB;IACvB,mEAAqC,CAAA;IACrC,aAAa;IACb,+CAAiB,CAAA;I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AW;IACX,qCAAa,CAAA;IACb,YAAY;IACZ,uCAAe,CAAA;IACf,UAAU;IACV,mCAAW,CAAA;AACb,CAAC,EAPW,oBAAoB,KAApB,oBAAoB,QAO/B;AAaD,oFAAoF;AACpF,MAAM,CAAN,IAAY,gCAKX;AALD,WAAY,gCAAgC;IAC1C,cAAc;IACd,uDAAmB,CAAA;IACnB,eAAe;IACf,yDAAqB,CAAA;AACvB,CAAC,EALW,gCAAgC,KAAhC,gCAAgC,QAK3C;AAYD,kFAAkF;AAClF,MAAM,CAAN,IAAY,8BASX;AATD,WAAY,8BAA8B;IACxC,iBAAiB;IACjB,2DAAyB,CAAA;IACzB,kBAAkB;IAClB,6DAA2B,CAAA;IAC3B,kBAAkB;IAClB,6DAA2B,CAAA;IAC3B,UAAU;IACV,6CAAW,CAAA;AACb,CAAC,EATW,8BAA8B,KAA9B,8BAA8B,QASzC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Subnet first address, scope, and/or last address. */\nexport interface EndpointPropertiesSubnetsItem {\n /** First address in the subnet. */\n first?: string;\n /** Last address in the subnet. */\n last?: string;\n /** Block size (number of leading bits in the subnet mask). */\n scope?: number;\n}\n\n/** Custom header name and value. */\nexport interface EndpointPropertiesCustomHeadersItem {\n /** Header name. */\n name?: string;\n /** Header value. */\n value?: string;\n}\n\n/** The core properties of ARM resources */\nexport interface Resource {\n /** Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName} */\n id?: string;\n /** The name of the resource */\n name?: string;\n /** The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles. */\n type?: string;\n}\n\n/** An error returned by the Azure Resource Manager */\nexport interface CloudError {\n /** The content of the error. */\n error?: CloudErrorBody;\n}\n\n/** The content of an error returned by the Azure Resource Manager */\nexport interface CloudErrorBody {\n /** Error code */\n code?: string;\n /** Error message */\n message?: string;\n /** Error target */\n target?: string;\n /** Error details */\n details?: CloudErrorBody[];\n}\n\n/** The result of the request or operation. */\nexport interface DeleteOperationResult {\n /**\n * The result of the operation or request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operationResult?: boolean;\n}\n\n/** Parameters supplied to check Traffic Manager name operation. */\nexport interface CheckTrafficManagerRelativeDnsNameAvailabilityParameters {\n /** The name of the resource. */\n name?: string;\n /** The type of the resource. */\n type?: string;\n}\n\n/** Class representing a Traffic Manager Name Availability response. */\nexport interface TrafficManagerNameAvailability {\n /** The relative name. */\n name?: string;\n /** Traffic Manager profile resource type. */\n type?: string;\n /** Describes whether the relative name is available or not. */\n nameAvailable?: boolean;\n /** The reason why the name is not available, when applicable. */\n reason?: string;\n /** Descriptive message that explains why the name is not available, when applicable. */\n message?: string;\n}\n\n/** The list Traffic Manager profiles operation response. */\nexport interface ProfileListResult {\n /** Gets the list of Traffic manager profiles. */\n value?: Profile[];\n}\n\n/** Class containing DNS settings in a Traffic Manager profile. */\nexport interface DnsConfig {\n /** The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile. */\n relativeName?: string;\n /**\n * The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly fqdn?: string;\n /** The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile. */\n ttl?: number;\n}\n\n/** Class containing endpoint monitoring settings in a Traffic Manager profile. */\nexport interface MonitorConfig {\n /** The profile-level monitoring status of the Traffic Manager profile. */\n profileMonitorStatus?: ProfileMonitorStatus;\n /** The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. */\n protocol?: MonitorProtocol;\n /** The TCP port used to probe for endpoint health. */\n port?: number;\n /** The path relative to the endpoint domain name used to probe for endpoint health. */\n path?: string;\n /** The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile. */\n intervalInSeconds?: number;\n /** The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check. */\n timeoutInSeconds?: number;\n /** The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check. */\n toleratedNumberOfFailures?: number;\n /** List of custom headers. */\n customHeaders?: MonitorConfigCustomHeadersItem[];\n /** List of expected status code ranges. */\n expectedStatusCodeRanges?: MonitorConfigExpectedStatusCodeRangesItem[];\n}\n\n/** Custom header name and value. */\nexport interface MonitorConfigCustomHeadersItem {\n /** Header name. */\n name?: string;\n /** Header value. */\n value?: string;\n}\n\n/** Min and max value of a status code range. */\nexport interface MonitorConfigExpectedStatusCodeRangesItem {\n /** Min status code. */\n min?: number;\n /** Max status code. */\n max?: number;\n}\n\n/** Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method. */\nexport interface Region {\n /** The code of the region */\n code?: string;\n /** The name of the region */\n name?: string;\n /** The list of Regions grouped under this Region in the Geographic Hierarchy. */\n regions?: Region[];\n}\n\n/** Class which is a sparse representation of a Traffic Manager endpoint. */\nexport interface HeatMapEndpoint {\n /** The ARM Resource ID of this Traffic Manager endpoint. */\n resourceId?: string;\n /** A number uniquely identifying this endpoint in query experiences. */\n endpointId?: number;\n}\n\n/** Class representing a Traffic Manager HeatMap traffic flow properties. */\nexport interface TrafficFlow {\n /** The IP address that this query experience originated from. */\n sourceIp?: string;\n /** The approximate latitude that these queries originated from. */\n latitude?: number;\n /** The approximate longitude that these queries originated from. */\n longitude?: number;\n /** The query experiences produced in this HeatMap calculation. */\n queryExperiences?: QueryExperience[];\n}\n\n/** Class representing a Traffic Manager HeatMap query experience properties. */\nexport interface QueryExperience {\n /** The id of the endpoint from the 'endpoints' array which these queries were routed to. */\n endpointId: number;\n /** The number of queries originating from this location. */\n queryCount: number;\n /** The latency experienced by queries originating from this location. */\n latency?: number;\n}\n\n/** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */\nexport interface ProxyResource extends Resource {}\n\n/** The resource model definition for a ARM tracked top level resource */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The Azure Region where the resource lives */\n location?: string;\n}\n\n/** Class representing a Traffic Manager endpoint. */\nexport interface Endpoint extends ProxyResource {\n /** The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'. */\n targetResourceId?: string;\n /** The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint. */\n target?: string;\n /** The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. */\n endpointStatus?: EndpointStatus;\n /** The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000. */\n weight?: number;\n /** The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value. */\n priority?: number;\n /** Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method. */\n endpointLocation?: string;\n /** The monitoring status of the endpoint. */\n endpointMonitorStatus?: EndpointMonitorStatus;\n /** The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'. */\n minChildEndpoints?: number;\n /** The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'. */\n minChildEndpointsIPv4?: number;\n /** The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'. */\n minChildEndpointsIPv6?: number;\n /** The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values. */\n geoMapping?: string[];\n /** The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints. */\n subnets?: EndpointPropertiesSubnetsItem[];\n /** List of custom headers. */\n customHeaders?: EndpointPropertiesCustomHeadersItem[];\n /** If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method. */\n alwaysServe?: AlwaysServe;\n}\n\n/** Class representing the Geographic hierarchy used with the Geographic traffic routing method. */\nexport interface TrafficManagerGeographicHierarchy extends ProxyResource {\n /** The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved. */\n geographicHierarchy?: Region;\n}\n\n/** Class representing a Traffic Manager HeatMap. */\nexport interface HeatMapModel extends ProxyResource {\n /** The beginning of the time window for this HeatMap, inclusive. */\n startTime?: Date;\n /** The ending of the time window for this HeatMap, exclusive. */\n endTime?: Date;\n /** The endpoints used in this HeatMap calculation. */\n endpoints?: HeatMapEndpoint[];\n /** The traffic flows produced in this HeatMap calculation. */\n trafficFlows?: TrafficFlow[];\n}\n\n/** Class representing Traffic Manager User Metrics. */\nexport interface UserMetricsModel extends ProxyResource {\n /** The key returned by the User Metrics operation. */\n key?: string;\n}\n\n/** Class representing a Traffic Manager profile. */\nexport interface Profile extends TrackedResource {\n /** The status of the Traffic Manager profile. */\n profileStatus?: ProfileStatus;\n /** The traffic routing method of the Traffic Manager profile. */\n trafficRoutingMethod?: TrafficRoutingMethod;\n /** The DNS settings of the Traffic Manager profile. */\n dnsConfig?: DnsConfig;\n /** The endpoint monitoring settings of the Traffic Manager profile. */\n monitorConfig?: MonitorConfig;\n /** The list of endpoints in the Traffic Manager profile. */\n endpoints?: Endpoint[];\n /** Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile. */\n trafficViewEnrollmentStatus?: TrafficViewEnrollmentStatus;\n /** The list of allowed endpoint record types. */\n allowedEndpointRecordTypes?: AllowedEndpointRecordType[];\n /** Maximum number of endpoints to be returned for MultiValue routing type. */\n maxReturn?: number;\n}\n\n/** Known values of {@link EndpointStatus} that the service accepts. */\nexport enum KnownEndpointStatus {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\"\n}\n\n/**\n * Defines values for EndpointStatus. \\\n * {@link KnownEndpointStatus} can be used interchangeably with EndpointStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type EndpointStatus = string;\n\n/** Known values of {@link EndpointMonitorStatus} that the service accepts. */\nexport enum KnownEndpointMonitorStatus {\n /** CheckingEndpoint */\n CheckingEndpoint = \"CheckingEndpoint\",\n /** Online */\n Online = \"Online\",\n /** Degraded */\n Degraded = \"Degraded\",\n /** Disabled */\n Disabled = \"Disabled\",\n /** Inactive */\n Inactive = \"Inactive\",\n /** Stopped */\n Stopped = \"Stopped\",\n /** Unmonitored */\n Unmonitored = \"Unmonitored\"\n}\n\n/**\n * Defines values for EndpointMonitorStatus. \\\n * {@link KnownEndpointMonitorStatus} can be used interchangeably with EndpointMonitorStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **CheckingEndpoint** \\\n * **Online** \\\n * **Degraded** \\\n * **Disabled** \\\n * **Inactive** \\\n * **Stopped** \\\n * **Unmonitored**\n */\nexport type EndpointMonitorStatus = string;\n\n/** Known values of {@link AlwaysServe} that the service accepts. */\nexport enum KnownAlwaysServe {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\"\n}\n\n/**\n * Defines values for AlwaysServe. \\\n * {@link KnownAlwaysServe} can be used interchangeably with AlwaysServe,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type AlwaysServe = string;\n\n/** Known values of {@link ProfileStatus} that the service accepts. */\nexport enum KnownProfileStatus {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\"\n}\n\n/**\n * Defines values for ProfileStatus. \\\n * {@link KnownProfileStatus} can be used interchangeably with ProfileStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type ProfileStatus = string;\n\n/** Known values of {@link TrafficRoutingMethod} that the service accepts. */\nexport enum KnownTrafficRoutingMethod {\n /** Performance */\n Performance = \"Performance\",\n /** Priority */\n Priority = \"Priority\",\n /** Weighted */\n Weighted = \"Weighted\",\n /** Geographic */\n Geographic = \"Geographic\",\n /** MultiValue */\n MultiValue = \"MultiValue\",\n /** Subnet */\n Subnet = \"Subnet\"\n}\n\n/**\n * Defines values for TrafficRoutingMethod. \\\n * {@link KnownTrafficRoutingMethod} can be used interchangeably with TrafficRoutingMethod,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Performance** \\\n * **Priority** \\\n * **Weighted** \\\n * **Geographic** \\\n * **MultiValue** \\\n * **Subnet**\n */\nexport type TrafficRoutingMethod = string;\n\n/** Known values of {@link ProfileMonitorStatus} that the service accepts. */\nexport enum KnownProfileMonitorStatus {\n /** CheckingEndpoints */\n CheckingEndpoints = \"CheckingEndpoints\",\n /** Online */\n Online = \"Online\",\n /** Degraded */\n Degraded = \"Degraded\",\n /** Disabled */\n Disabled = \"Disabled\",\n /** Inactive */\n Inactive = \"Inactive\"\n}\n\n/**\n * Defines values for ProfileMonitorStatus. \\\n * {@link KnownProfileMonitorStatus} can be used interchangeably with ProfileMonitorStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **CheckingEndpoints** \\\n * **Online** \\\n * **Degraded** \\\n * **Disabled** \\\n * **Inactive**\n */\nexport type ProfileMonitorStatus = string;\n\n/** Known values of {@link MonitorProtocol} that the service accepts. */\nexport enum KnownMonitorProtocol {\n /** Http */\n Http = \"HTTP\",\n /** Https */\n Https = \"HTTPS\",\n /** TCP */\n TCP = \"TCP\"\n}\n\n/**\n * Defines values for MonitorProtocol. \\\n * {@link KnownMonitorProtocol} can be used interchangeably with MonitorProtocol,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **HTTP** \\\n * **HTTPS** \\\n * **TCP**\n */\nexport type MonitorProtocol = string;\n\n/** Known values of {@link TrafficViewEnrollmentStatus} that the service accepts. */\nexport enum KnownTrafficViewEnrollmentStatus {\n /** Enabled */\n Enabled = \"Enabled\",\n /** Disabled */\n Disabled = \"Disabled\"\n}\n\n/**\n * Defines values for TrafficViewEnrollmentStatus. \\\n * {@link KnownTrafficViewEnrollmentStatus} can be used interchangeably with TrafficViewEnrollmentStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **Disabled**\n */\nexport type TrafficViewEnrollmentStatus = string;\n\n/** Known values of {@link AllowedEndpointRecordType} that the service accepts. */\nexport enum KnownAllowedEndpointRecordType {\n /** DomainName */\n DomainName = \"DomainName\",\n /** IPv4Address */\n IPv4Address = \"IPv4Address\",\n /** IPv6Address */\n IPv6Address = \"IPv6Address\",\n /** Any */\n Any = \"Any\"\n}\n\n/**\n * Defines values for AllowedEndpointRecordType. \\\n * {@link KnownAllowedEndpointRecordType} can be used interchangeably with AllowedEndpointRecordType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **DomainName** \\\n * **IPv4Address** \\\n * **IPv6Address** \\\n * **Any**\n */\nexport type AllowedEndpointRecordType = string;\n/** Defines values for EndpointType. */\nexport type EndpointType =\n | \"AzureEndpoints\"\n | \"ExternalEndpoints\"\n | \"NestedEndpoints\";\n\n/** Optional parameters. */\nexport interface EndpointsUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type EndpointsUpdateResponse = Endpoint;\n\n/** Optional parameters. */\nexport interface EndpointsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type EndpointsGetResponse = Endpoint;\n\n/** Optional parameters. */\nexport interface EndpointsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type EndpointsCreateOrUpdateResponse = Endpoint;\n\n/** Optional parameters. */\nexport interface EndpointsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the delete operation. */\nexport type EndpointsDeleteResponse = DeleteOperationResult;\n\n/** Optional parameters. */\nexport interface ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the checkTrafficManagerRelativeDnsNameAvailability operation. */\nexport type ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse = TrafficManagerNameAvailability;\n\n/** Optional parameters. */\nexport interface ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the checkTrafficManagerNameAvailabilityV2 operation. */\nexport type ProfilesCheckTrafficManagerNameAvailabilityV2Response = TrafficManagerNameAvailability;\n\n/** Optional parameters. */\nexport interface ProfilesListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ProfilesListByResourceGroupResponse = ProfileListResult;\n\n/** Optional parameters. */\nexport interface ProfilesListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type ProfilesListBySubscriptionResponse = ProfileListResult;\n\n/** Optional parameters. */\nexport interface ProfilesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ProfilesGetResponse = Profile;\n\n/** Optional parameters. */\nexport interface ProfilesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ProfilesCreateOrUpdateResponse = Profile;\n\n/** Optional parameters. */\nexport interface ProfilesDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the delete operation. */\nexport type ProfilesDeleteResponse = DeleteOperationResult;\n\n/** Optional parameters. */\nexport interface ProfilesUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type ProfilesUpdateResponse = Profile;\n\n/** Optional parameters. */\nexport interface GeographicHierarchiesGetDefaultOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getDefault operation. */\nexport type GeographicHierarchiesGetDefaultResponse = TrafficManagerGeographicHierarchy;\n\n/** Optional parameters. */\nexport interface HeatMapGetOptionalParams extends coreClient.OperationOptions {\n /** The top left latitude,longitude pair of the rectangular viewport to query for. */\n topLeft?: number[];\n /** The bottom right latitude,longitude pair of the rectangular viewport to query for. */\n botRight?: number[];\n}\n\n/** Contains response data for the get operation. */\nexport type HeatMapGetResponse = HeatMapModel;\n\n/** Optional parameters. */\nexport interface TrafficManagerUserMetricsKeysGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type TrafficManagerUserMetricsKeysGetResponse = UserMetricsModel;\n\n/** Optional parameters. */\nexport interface TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type TrafficManagerUserMetricsKeysCreateOrUpdateResponse = UserMetricsModel;\n\n/** Optional parameters. */\nexport interface TrafficManagerUserMetricsKeysDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the delete operation. */\nexport type TrafficManagerUserMetricsKeysDeleteResponse = DeleteOperationResult;\n\n/** Optional parameters. */\nexport interface TrafficManagerManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,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;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"]}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { Endpoint as EndpointMapper, CheckTrafficManagerRelativeDnsNameAvailabilityParameters as CheckTrafficManagerRelativeDnsNameAvailabilityParametersMapper, Profile as ProfileMapper } from "../models/mappers";
8
+ import { Endpoint as EndpointMapper, CheckTrafficManagerRelativeDnsNameAvailabilityParameters as CheckTrafficManagerRelativeDnsNameAvailabilityParametersMapper, Profile as ProfileMapper } from "../models/mappers.js";
9
9
  export const contentType = {
10
10
  parameterPath: ["options", "contentType"],
11
11
  mapper: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,QAAQ,IAAI,cAAc,EAC1B,wDAAwD,IAAI,8DAA8D,EAC1H,OAAO,IAAI,aAAa,EACzB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,cAAc;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,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/C,aAAa,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;IACtC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,CAAC;SACZ;QACD,cAAc,EAAE,UAAU;QAC1B,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;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"]}
@@ -1,6 +1,6 @@
1
- import { Endpoints } from "../operationsInterfaces";
2
- import { TrafficManagerManagementClient } from "../trafficManagerManagementClient";
3
- import { Endpoint, EndpointType, EndpointsUpdateOptionalParams, EndpointsUpdateResponse, EndpointsGetOptionalParams, EndpointsGetResponse, EndpointsCreateOrUpdateOptionalParams, EndpointsCreateOrUpdateResponse, EndpointsDeleteOptionalParams, EndpointsDeleteResponse } from "../models";
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
4
  /** Class containing Endpoints operations. */
5
5
  export declare class EndpointsImpl implements Endpoints {
6
6
  private readonly client;
@@ -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"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing Endpoints operations. */
12
12
  export class EndpointsImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/operations/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC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Content":["/*\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"]}
@@ -1,6 +1,6 @@
1
- import { GeographicHierarchies } from "../operationsInterfaces";
2
- import { TrafficManagerManagementClient } from "../trafficManagerManagementClient";
3
- import { GeographicHierarchiesGetDefaultOptionalParams, GeographicHierarchiesGetDefaultResponse } from "../models";
1
+ import { GeographicHierarchies } from "../operationsInterfaces/index.js";
2
+ import { TrafficManagerManagementClient } from "../trafficManagerManagementClient.js";
3
+ import { GeographicHierarchiesGetDefaultOptionalParams, GeographicHierarchiesGetDefaultResponse } from "../models/index.js";
4
4
  /** Class containing GeographicHierarchies operations. */
5
5
  export declare class GeographicHierarchiesImpl implements GeographicHierarchies {
6
6
  private readonly client;
@@ -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"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing GeographicHierarchies operations. */
12
12
  export class GeographicHierarchiesImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geographicHierarchies.js","sourceRoot":"","sources":["../../../src/operations/geographicHierarchies.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,yDAAyD;AACzD,MAAM,OAAO,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;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"]}
@@ -1,6 +1,6 @@
1
- import { HeatMap } from "../operationsInterfaces";
2
- import { TrafficManagerManagementClient } from "../trafficManagerManagementClient";
3
- import { HeatMapGetOptionalParams, HeatMapGetResponse } from "../models";
1
+ import { HeatMap } from "../operationsInterfaces/index.js";
2
+ import { TrafficManagerManagementClient } from "../trafficManagerManagementClient.js";
3
+ import { HeatMapGetOptionalParams, HeatMapGetResponse } from "../models/index.js";
4
4
  /** Class containing HeatMap operations. */
5
5
  export declare class HeatMapImpl implements HeatMap {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heatMap.d.ts","sourceRoot":"","sources":["../../../src/operations/heatMap.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAI3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAElF,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC;CAM/B"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing HeatMap operations. */
12
12
  export class HeatMapImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heatMap.js","sourceRoot":"","sources":["../../../src/operations/heatMap.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAItD,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,WAAmB,EACnB,OAAkC;QAElC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,4JAA4J;IAC9J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;KACpB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;KACvB;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 { HeatMap } 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 { HeatMapGetOptionalParams, HeatMapGetResponse } from \"../models/index.js\";\n\n/** Class containing HeatMap operations. */\nexport class HeatMapImpl implements HeatMap {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class HeatMap class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets latest heatmap for Traffic Manager profile.\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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n profileName: string,\n options?: HeatMapGetOptionalParams\n ): Promise<HeatMapGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.HeatMapModel\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.topLeft,\n Parameters.botRight\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.subscriptionId,\n Parameters.heatMapType\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,6 @@
1
+ export * from "./endpoints.js";
2
+ export * from "./profiles.js";
3
+ export * from "./geographicHierarchies.js";
4
+ export * from "./heatMap.js";
5
+ export * from "./trafficManagerUserMetricsKeys.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,oCAAoC,CAAC"}
@@ -5,9 +5,9 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./endpoints";
9
- export * from "./profiles";
10
- export * from "./geographicHierarchies";
11
- export * from "./heatMap";
12
- export * from "./trafficManagerUserMetricsKeys";
8
+ export * from "./endpoints.js";
9
+ export * from "./profiles.js";
10
+ export * from "./geographicHierarchies.js";
11
+ export * from "./heatMap.js";
12
+ export * from "./trafficManagerUserMetricsKeys.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,oCAAoC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./endpoints.js\";\nexport * from \"./profiles.js\";\nexport * from \"./geographicHierarchies.js\";\nexport * from \"./heatMap.js\";\nexport * from \"./trafficManagerUserMetricsKeys.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Profiles } from "../operationsInterfaces";
3
- import { TrafficManagerManagementClient } from "../trafficManagerManagementClient";
4
- import { Profile, ProfilesListByResourceGroupOptionalParams, ProfilesListBySubscriptionOptionalParams, CheckTrafficManagerRelativeDnsNameAvailabilityParameters, ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams, ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse, ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams, ProfilesCheckTrafficManagerNameAvailabilityV2Response, ProfilesGetOptionalParams, ProfilesGetResponse, ProfilesCreateOrUpdateOptionalParams, ProfilesCreateOrUpdateResponse, ProfilesDeleteOptionalParams, ProfilesDeleteResponse, ProfilesUpdateOptionalParams, ProfilesUpdateResponse } from "../models";
2
+ import { Profiles } from "../operationsInterfaces/index.js";
3
+ import { TrafficManagerManagementClient } from "../trafficManagerManagementClient.js";
4
+ import { Profile, ProfilesListByResourceGroupOptionalParams, ProfilesListBySubscriptionOptionalParams, CheckTrafficManagerRelativeDnsNameAvailabilityParameters, ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams, ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse, ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams, ProfilesCheckTrafficManagerNameAvailabilityV2Response, ProfilesGetOptionalParams, ProfilesGetResponse, ProfilesCreateOrUpdateOptionalParams, ProfilesCreateOrUpdateResponse, ProfilesDeleteOptionalParams, ProfilesDeleteResponse, ProfilesUpdateOptionalParams, ProfilesUpdateResponse } from "../models/index.js";
5
5
  /** Class containing Profiles operations. */
6
6
  export declare class ProfilesImpl implements Profiles {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../../src/operations/profiles.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAA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yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAO/B;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAOlC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAMnC"}
@@ -7,8 +7,8 @@
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
9
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers";
11
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
12
  /// <reference lib="esnext.asynciterable" />
13
13
  /** Class containing Profiles operations. */
14
14
  export class ProfilesImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profiles.js","sourceRoot":"","sources":["../../../src/operations/profiles.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAuBtD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAm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O,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,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,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { Profiles } 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 Profile,\n ProfilesListByResourceGroupOptionalParams,\n ProfilesListByResourceGroupResponse,\n ProfilesListBySubscriptionOptionalParams,\n ProfilesListBySubscriptionResponse,\n CheckTrafficManagerRelativeDnsNameAvailabilityParameters,\n ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams,\n ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse,\n ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams,\n ProfilesCheckTrafficManagerNameAvailabilityV2Response,\n ProfilesGetOptionalParams,\n ProfilesGetResponse,\n ProfilesCreateOrUpdateOptionalParams,\n ProfilesCreateOrUpdateResponse,\n ProfilesDeleteOptionalParams,\n ProfilesDeleteResponse,\n ProfilesUpdateOptionalParams,\n ProfilesUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Profiles operations. */\nexport class ProfilesImpl implements Profiles {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class Profiles class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all Traffic Manager profiles within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ProfilesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Profile> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ProfilesListByResourceGroupOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Profile[]> {\n let result: ProfilesListByResourceGroupResponse;\n result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ProfilesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Profile> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all Traffic Manager profiles within a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ProfilesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Profile> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ProfilesListBySubscriptionOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Profile[]> {\n let result: ProfilesListBySubscriptionResponse;\n result = await this._listBySubscription(options);\n yield result.value || [];\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ProfilesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Profile> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Checks the availability of a Traffic Manager Relative DNS name.\n * @param parameters The Traffic Manager name parameters supplied to the\n * CheckTrafficManagerNameAvailability operation.\n * @param options The options parameters.\n */\n checkTrafficManagerRelativeDnsNameAvailability(\n parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters,\n options?: ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams\n ): Promise<ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { parameters, options },\n checkTrafficManagerRelativeDnsNameAvailabilityOperationSpec\n );\n }\n\n /**\n * Checks the availability of a Traffic Manager Relative DNS name.\n * @param parameters The Traffic Manager name parameters supplied to the\n * CheckTrafficManagerNameAvailability operation.\n * @param options The options parameters.\n */\n checkTrafficManagerNameAvailabilityV2(\n parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters,\n options?: ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams\n ): Promise<ProfilesCheckTrafficManagerNameAvailabilityV2Response> {\n return this.client.sendOperationRequest(\n { parameters, options },\n checkTrafficManagerNameAvailabilityV2OperationSpec\n );\n }\n\n /**\n * Lists all Traffic Manager profiles within a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ProfilesListByResourceGroupOptionalParams\n ): Promise<ProfilesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all Traffic Manager profiles within a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ProfilesListBySubscriptionOptionalParams\n ): Promise<ProfilesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Gets a Traffic Manager profile.\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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n profileName: string,\n options?: ProfilesGetOptionalParams\n ): Promise<ProfilesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create or update a Traffic Manager profile.\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 parameters The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n profileName: string,\n parameters: Profile,\n options?: ProfilesCreateOrUpdateOptionalParams\n ): Promise<ProfilesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a Traffic Manager profile.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile to be deleted.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n profileName: string,\n options?: ProfilesDeleteOptionalParams\n ): Promise<ProfilesDeleteResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Update a Traffic Manager profile.\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 parameters The Traffic Manager profile parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n profileName: string,\n parameters: Profile,\n options?: ProfilesUpdateOptionalParams\n ): Promise<ProfilesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, parameters, options },\n updateOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkTrafficManagerRelativeDnsNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Network/checkTrafficManagerNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrafficManagerNameAvailability\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst checkTrafficManagerNameAvailabilityV2OperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Network/checkTrafficManagerNameAvailabilityV2\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrafficManagerNameAvailability\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProfileListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProfileListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Profile\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.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}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Profile\n },\n 201: {\n bodyMapper: Mappers.Profile\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\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}\",\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.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Profile\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { TrafficManagerUserMetricsKeys } from "../operationsInterfaces";
2
- import { TrafficManagerManagementClient } from "../trafficManagerManagementClient";
3
- import { TrafficManagerUserMetricsKeysGetOptionalParams, TrafficManagerUserMetricsKeysGetResponse, TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams, TrafficManagerUserMetricsKeysCreateOrUpdateResponse, TrafficManagerUserMetricsKeysDeleteOptionalParams, TrafficManagerUserMetricsKeysDeleteResponse } from "../models";
1
+ import { TrafficManagerUserMetricsKeys } from "../operationsInterfaces/index.js";
2
+ import { TrafficManagerManagementClient } from "../trafficManagerManagementClient.js";
3
+ import { TrafficManagerUserMetricsKeysGetOptionalParams, TrafficManagerUserMetricsKeysGetResponse, TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams, TrafficManagerUserMetricsKeysCreateOrUpdateResponse, TrafficManagerUserMetricsKeysDeleteOptionalParams, TrafficManagerUserMetricsKeysDeleteResponse } from "../models/index.js";
4
4
  /** Class containing TrafficManagerUserMetricsKeys operations. */
5
5
  export declare class TrafficManagerUserMetricsKeysImpl implements TrafficManagerUserMetricsKeys {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trafficManagerUserMetricsKeys.d.ts","sourceRoot":"","sources":["../../../src/operations/trafficManagerUserMetricsKeys.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAIjF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EACL,8CAA8C,EAC9C,wCAAwC,EACxC,yDAAyD,EACzD,mDAAmD,EACnD,iDAAiD,EACjD,2CAA2C,EAC5C,MAAM,oBAAoB,CAAC;AAE5B,iEAAiE;AACjE,qBAAa,iCACX,YAAW,6BAA6B;IACxC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;OAGG;IACH,GAAG,CACD,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAIpD;;;OAGG;IACH,cAAc,CACZ,OAAO,CAAC,EAAE,yDAAyD,GAClE,OAAO,CAAC,mDAAmD,CAAC;IAO/D;;;OAGG;IACH,MAAM,CACJ,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;CAGxD"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing TrafficManagerUserMetricsKeys operations. */
12
12
  export class TrafficManagerUserMetricsKeysImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trafficManagerUserMetricsKeys.js","sourceRoot":"","sources":["../../../src/operations/trafficManagerUserMetricsKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB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EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;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,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,mGAAmG;IACrG,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;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,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,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 { TrafficManagerUserMetricsKeys } 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 TrafficManagerUserMetricsKeysGetOptionalParams,\n TrafficManagerUserMetricsKeysGetResponse,\n TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams,\n TrafficManagerUserMetricsKeysCreateOrUpdateResponse,\n TrafficManagerUserMetricsKeysDeleteOptionalParams,\n TrafficManagerUserMetricsKeysDeleteResponse\n} from \"../models/index.js\";\n\n/** Class containing TrafficManagerUserMetricsKeys operations. */\nexport class TrafficManagerUserMetricsKeysImpl\n implements TrafficManagerUserMetricsKeys {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class TrafficManagerUserMetricsKeys class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Get the subscription-level key used for Real User Metrics collection.\n * @param options The options parameters.\n */\n get(\n options?: TrafficManagerUserMetricsKeysGetOptionalParams\n ): Promise<TrafficManagerUserMetricsKeysGetResponse> {\n return this.client.sendOperationRequest({ options }, getOperationSpec);\n }\n\n /**\n * Create or update a subscription-level key used for Real User Metrics collection.\n * @param options The options parameters.\n */\n createOrUpdate(\n options?: TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams\n ): Promise<TrafficManagerUserMetricsKeysCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Delete a subscription-level key used for Real User Metrics collection.\n * @param options The options parameters.\n */\n delete(\n options?: TrafficManagerUserMetricsKeysDeleteOptionalParams\n ): Promise<TrafficManagerUserMetricsKeysDeleteResponse> {\n return this.client.sendOperationRequest({ options }, deleteOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserMetricsModel\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n bodyMapper: Mappers.UserMetricsModel\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeleteOperationResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,4 +1,4 @@
1
- import { Endpoint, EndpointType, EndpointsUpdateOptionalParams, EndpointsUpdateResponse, EndpointsGetOptionalParams, EndpointsGetResponse, EndpointsCreateOrUpdateOptionalParams, EndpointsCreateOrUpdateResponse, EndpointsDeleteOptionalParams, EndpointsDeleteResponse } from "../models";
1
+ import { Endpoint, EndpointType, EndpointsUpdateOptionalParams, EndpointsUpdateResponse, EndpointsGetOptionalParams, EndpointsGetResponse, EndpointsCreateOrUpdateOptionalParams, EndpointsCreateOrUpdateResponse, EndpointsDeleteOptionalParams, EndpointsDeleteResponse } from "../models/index.js";
2
2
  /** Interface representing a Endpoints. */
3
3
  export interface Endpoints {
4
4
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/endpoints.ts"],"names":[],"mappings":"AAQA,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,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;;;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,CAAC;IACpC;;;;;;;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,CAAC;IACjC;;;;;;;;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,CAAC;IAC5C;;;;;;;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,CAAC;CACrC"}