@azure/arm-trafficmanager 6.1.1-alpha.20250127.1 → 6.1.1-alpha.20250129.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/README.md +21 -12
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/models/index.js.map +1 -0
  7. package/dist/browser/models/mappers.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  9. package/dist/browser/models/parameters.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/operations/endpoints.d.ts +3 -3
  11. package/dist/browser/operations/endpoints.d.ts.map +1 -0
  12. package/{dist-esm/src → dist/browser}/operations/endpoints.js +2 -2
  13. package/dist/browser/operations/endpoints.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/operations/geographicHierarchies.d.ts +3 -3
  15. package/dist/browser/operations/geographicHierarchies.d.ts.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/geographicHierarchies.js +2 -2
  17. package/dist/browser/operations/geographicHierarchies.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/heatMap.d.ts +3 -3
  19. package/dist/browser/operations/heatMap.d.ts.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/heatMap.js +2 -2
  21. package/dist/browser/operations/heatMap.js.map +1 -0
  22. package/dist/browser/operations/index.d.ts +6 -0
  23. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  24. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +5 -5
  25. package/dist/browser/operations/index.js.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/profiles.d.ts +3 -3
  27. package/dist/browser/operations/profiles.d.ts.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/profiles.js +2 -2
  29. package/dist/browser/operations/profiles.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/trafficManagerUserMetricsKeys.d.ts +3 -3
  31. package/dist/browser/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/trafficManagerUserMetricsKeys.js +2 -2
  33. package/dist/browser/operations/trafficManagerUserMetricsKeys.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operationsInterfaces/endpoints.d.ts +1 -1
  35. package/dist/browser/operationsInterfaces/endpoints.d.ts.map +1 -0
  36. package/dist/browser/operationsInterfaces/endpoints.js.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operationsInterfaces/geographicHierarchies.d.ts +1 -1
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/geographicHierarchies.d.ts.map +1 -1
  39. package/dist/browser/operationsInterfaces/geographicHierarchies.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/heatMap.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/heatMap.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/heatMap.js.map +1 -0
  43. package/dist/browser/operationsInterfaces/index.d.ts +6 -0
  44. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  45. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +5 -5
  46. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/profiles.d.ts +1 -1
  48. package/dist/browser/operationsInterfaces/profiles.d.ts.map +1 -0
  49. package/dist/browser/operationsInterfaces/profiles.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +1 -1
  51. package/dist/browser/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  52. package/dist/browser/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
  53. package/dist/browser/package.json +3 -0
  54. package/dist/browser/pagingHelper.js.map +1 -0
  55. package/{dist-esm/src → dist/browser}/trafficManagerManagementClient.d.ts +2 -2
  56. package/dist/browser/trafficManagerManagementClient.d.ts.map +1 -0
  57. package/{dist-esm/src → dist/browser}/trafficManagerManagementClient.js +15 -18
  58. package/dist/browser/trafficManagerManagementClient.js.map +1 -0
  59. package/dist/commonjs/index.d.ts +5 -0
  60. package/dist/commonjs/index.d.ts.map +1 -0
  61. package/dist/commonjs/index.js +19 -0
  62. package/dist/commonjs/index.js.map +1 -0
  63. package/{types/arm-trafficmanager.d.ts → dist/commonjs/models/index.d.ts} +531 -781
  64. package/dist/commonjs/models/index.d.ts.map +1 -0
  65. package/dist/commonjs/models/index.js +113 -0
  66. package/dist/commonjs/models/index.js.map +1 -0
  67. package/dist/commonjs/models/mappers.d.ts +26 -0
  68. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  69. package/dist/commonjs/models/mappers.js +731 -0
  70. package/dist/commonjs/models/mappers.js.map +1 -0
  71. package/dist/commonjs/models/parameters.d.ts +17 -0
  72. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  73. package/dist/commonjs/models/parameters.js +175 -0
  74. package/dist/commonjs/models/parameters.js.map +1 -0
  75. package/dist/commonjs/operations/endpoints.d.ts +51 -0
  76. package/dist/commonjs/operations/endpoints.d.ts.map +1 -0
  77. package/dist/commonjs/operations/endpoints.js +188 -0
  78. package/dist/commonjs/operations/endpoints.js.map +1 -0
  79. package/dist/commonjs/operations/geographicHierarchies.d.ts +18 -0
  80. package/dist/commonjs/operations/geographicHierarchies.d.ts.map +1 -0
  81. package/dist/commonjs/operations/geographicHierarchies.js +51 -0
  82. package/dist/commonjs/operations/geographicHierarchies.js.map +1 -0
  83. package/dist/commonjs/operations/heatMap.d.ts +20 -0
  84. package/dist/commonjs/operations/heatMap.d.ts.map +1 -0
  85. package/dist/commonjs/operations/heatMap.js +63 -0
  86. package/dist/commonjs/operations/heatMap.js.map +1 -0
  87. package/dist/commonjs/operations/index.d.ts +6 -0
  88. package/dist/commonjs/operations/index.d.ts.map +1 -0
  89. package/dist/commonjs/operations/index.js +16 -0
  90. package/dist/commonjs/operations/index.js.map +1 -0
  91. package/dist/commonjs/operations/profiles.d.ts +84 -0
  92. package/dist/commonjs/operations/profiles.d.ts.map +1 -0
  93. package/dist/commonjs/operations/profiles.js +361 -0
  94. package/dist/commonjs/operations/profiles.js.map +1 -0
  95. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.d.ts +28 -0
  96. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  97. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.js +97 -0
  98. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.js.map +1 -0
  99. package/dist/commonjs/operationsInterfaces/endpoints.d.ts +43 -0
  100. package/dist/commonjs/operationsInterfaces/endpoints.d.ts.map +1 -0
  101. package/dist/commonjs/operationsInterfaces/endpoints.js +10 -0
  102. package/dist/commonjs/operationsInterfaces/endpoints.js.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/geographicHierarchies.d.ts +10 -0
  104. package/dist/commonjs/operationsInterfaces/geographicHierarchies.d.ts.map +1 -0
  105. package/dist/commonjs/operationsInterfaces/geographicHierarchies.js +10 -0
  106. package/dist/commonjs/operationsInterfaces/geographicHierarchies.js.map +1 -0
  107. package/dist/commonjs/operationsInterfaces/heatMap.d.ts +12 -0
  108. package/dist/commonjs/operationsInterfaces/heatMap.d.ts.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/heatMap.js +10 -0
  110. package/dist/commonjs/operationsInterfaces/heatMap.js.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
  112. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/index.js +16 -0
  114. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/profiles.d.ts +61 -0
  116. package/dist/commonjs/operationsInterfaces/profiles.d.ts.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/profiles.js +10 -0
  118. package/dist/commonjs/operationsInterfaces/profiles.js.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +20 -0
  120. package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.js +10 -0
  122. package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
  123. package/dist/commonjs/package.json +3 -0
  124. package/dist/commonjs/pagingHelper.d.ts +13 -0
  125. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  126. package/dist/commonjs/pagingHelper.js +36 -0
  127. package/dist/commonjs/pagingHelper.js.map +1 -0
  128. package/dist/commonjs/trafficManagerManagementClient.d.ts +24 -0
  129. package/dist/commonjs/trafficManagerManagementClient.d.ts.map +1 -0
  130. package/dist/commonjs/trafficManagerManagementClient.js +106 -0
  131. package/dist/commonjs/trafficManagerManagementClient.js.map +1 -0
  132. package/dist/esm/index.d.ts +5 -0
  133. package/dist/esm/index.d.ts.map +1 -0
  134. package/{src/index.ts → dist/esm/index.js} +5 -5
  135. package/dist/esm/index.js.map +1 -0
  136. package/dist/esm/models/index.d.ts +531 -0
  137. package/dist/esm/models/index.d.ts.map +1 -0
  138. package/dist/esm/models/index.js +110 -0
  139. package/dist/esm/models/index.js.map +1 -0
  140. package/dist/esm/models/mappers.d.ts +26 -0
  141. package/dist/esm/models/mappers.d.ts.map +1 -0
  142. package/dist/esm/models/mappers.js +728 -0
  143. package/dist/esm/models/mappers.js.map +1 -0
  144. package/dist/esm/models/parameters.d.ts +17 -0
  145. package/dist/esm/models/parameters.d.ts.map +1 -0
  146. package/dist/esm/models/parameters.js +172 -0
  147. package/dist/esm/models/parameters.js.map +1 -0
  148. package/dist/esm/operations/endpoints.d.ts +51 -0
  149. package/dist/esm/operations/endpoints.d.ts.map +1 -0
  150. package/dist/esm/operations/endpoints.js +183 -0
  151. package/dist/esm/operations/endpoints.js.map +1 -0
  152. package/dist/esm/operations/geographicHierarchies.d.ts +18 -0
  153. package/dist/esm/operations/geographicHierarchies.d.ts.map +1 -0
  154. package/dist/esm/operations/geographicHierarchies.js +46 -0
  155. package/dist/esm/operations/geographicHierarchies.js.map +1 -0
  156. package/dist/esm/operations/heatMap.d.ts +20 -0
  157. package/dist/esm/operations/heatMap.d.ts.map +1 -0
  158. package/dist/esm/operations/heatMap.js +58 -0
  159. package/dist/esm/operations/heatMap.js.map +1 -0
  160. package/dist/esm/operations/index.d.ts +6 -0
  161. package/dist/esm/operations/index.d.ts.map +1 -0
  162. package/dist/esm/operations/index.js +13 -0
  163. package/dist/esm/operations/index.js.map +1 -0
  164. package/dist/esm/operations/profiles.d.ts +84 -0
  165. package/dist/esm/operations/profiles.d.ts.map +1 -0
  166. package/dist/esm/operations/profiles.js +357 -0
  167. package/dist/esm/operations/profiles.js.map +1 -0
  168. package/dist/esm/operations/trafficManagerUserMetricsKeys.d.ts +28 -0
  169. package/dist/esm/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  170. package/dist/esm/operations/trafficManagerUserMetricsKeys.js +92 -0
  171. package/dist/esm/operations/trafficManagerUserMetricsKeys.js.map +1 -0
  172. package/dist/esm/operationsInterfaces/endpoints.d.ts +43 -0
  173. package/dist/esm/operationsInterfaces/endpoints.d.ts.map +1 -0
  174. package/dist/esm/operationsInterfaces/endpoints.js +9 -0
  175. package/dist/esm/operationsInterfaces/endpoints.js.map +1 -0
  176. package/dist/esm/operationsInterfaces/geographicHierarchies.d.ts +10 -0
  177. package/dist/esm/operationsInterfaces/geographicHierarchies.d.ts.map +1 -0
  178. package/dist/esm/operationsInterfaces/geographicHierarchies.js +9 -0
  179. package/dist/esm/operationsInterfaces/geographicHierarchies.js.map +1 -0
  180. package/dist/esm/operationsInterfaces/heatMap.d.ts +12 -0
  181. package/dist/esm/operationsInterfaces/heatMap.d.ts.map +1 -0
  182. package/dist/esm/operationsInterfaces/heatMap.js +9 -0
  183. package/dist/esm/operationsInterfaces/heatMap.js.map +1 -0
  184. package/dist/esm/operationsInterfaces/index.d.ts +6 -0
  185. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  186. package/dist/esm/operationsInterfaces/index.js +13 -0
  187. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  188. package/dist/esm/operationsInterfaces/profiles.d.ts +61 -0
  189. package/dist/esm/operationsInterfaces/profiles.d.ts.map +1 -0
  190. package/dist/esm/operationsInterfaces/profiles.js +9 -0
  191. package/dist/esm/operationsInterfaces/profiles.js.map +1 -0
  192. package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +20 -0
  193. package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  194. package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.js +9 -0
  195. package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
  196. package/dist/esm/package.json +3 -0
  197. package/dist/esm/pagingHelper.d.ts +13 -0
  198. package/dist/esm/pagingHelper.d.ts.map +1 -0
  199. package/dist/esm/pagingHelper.js +32 -0
  200. package/dist/esm/pagingHelper.js.map +1 -0
  201. package/dist/esm/trafficManagerManagementClient.d.ts +24 -0
  202. package/dist/esm/trafficManagerManagementClient.d.ts.map +1 -0
  203. package/dist/esm/trafficManagerManagementClient.js +101 -0
  204. package/dist/esm/trafficManagerManagementClient.js.map +1 -0
  205. package/dist/react-native/index.d.ts +5 -0
  206. package/dist/react-native/index.d.ts.map +1 -0
  207. package/dist/react-native/index.js +13 -0
  208. package/dist/react-native/index.js.map +1 -0
  209. package/dist/react-native/models/index.d.ts +531 -0
  210. package/dist/react-native/models/index.d.ts.map +1 -0
  211. package/dist/react-native/models/index.js +110 -0
  212. package/dist/react-native/models/index.js.map +1 -0
  213. package/dist/react-native/models/mappers.d.ts +26 -0
  214. package/dist/react-native/models/mappers.d.ts.map +1 -0
  215. package/dist/react-native/models/mappers.js +728 -0
  216. package/dist/react-native/models/mappers.js.map +1 -0
  217. package/dist/react-native/models/parameters.d.ts +17 -0
  218. package/dist/react-native/models/parameters.d.ts.map +1 -0
  219. package/dist/react-native/models/parameters.js +172 -0
  220. package/dist/react-native/models/parameters.js.map +1 -0
  221. package/dist/react-native/operations/endpoints.d.ts +51 -0
  222. package/dist/react-native/operations/endpoints.d.ts.map +1 -0
  223. package/dist/react-native/operations/endpoints.js +183 -0
  224. package/dist/react-native/operations/endpoints.js.map +1 -0
  225. package/dist/react-native/operations/geographicHierarchies.d.ts +18 -0
  226. package/dist/react-native/operations/geographicHierarchies.d.ts.map +1 -0
  227. package/dist/react-native/operations/geographicHierarchies.js +46 -0
  228. package/dist/react-native/operations/geographicHierarchies.js.map +1 -0
  229. package/dist/react-native/operations/heatMap.d.ts +20 -0
  230. package/dist/react-native/operations/heatMap.d.ts.map +1 -0
  231. package/dist/react-native/operations/heatMap.js +58 -0
  232. package/dist/react-native/operations/heatMap.js.map +1 -0
  233. package/dist/react-native/operations/index.d.ts +6 -0
  234. package/dist/react-native/operations/index.d.ts.map +1 -0
  235. package/dist/react-native/operations/index.js +13 -0
  236. package/dist/react-native/operations/index.js.map +1 -0
  237. package/dist/react-native/operations/profiles.d.ts +84 -0
  238. package/dist/react-native/operations/profiles.d.ts.map +1 -0
  239. package/dist/react-native/operations/profiles.js +357 -0
  240. package/dist/react-native/operations/profiles.js.map +1 -0
  241. package/dist/react-native/operations/trafficManagerUserMetricsKeys.d.ts +28 -0
  242. package/dist/react-native/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  243. package/dist/react-native/operations/trafficManagerUserMetricsKeys.js +92 -0
  244. package/dist/react-native/operations/trafficManagerUserMetricsKeys.js.map +1 -0
  245. package/dist/react-native/operationsInterfaces/endpoints.d.ts +43 -0
  246. package/dist/react-native/operationsInterfaces/endpoints.d.ts.map +1 -0
  247. package/dist/react-native/operationsInterfaces/endpoints.js +9 -0
  248. package/dist/react-native/operationsInterfaces/endpoints.js.map +1 -0
  249. package/dist/react-native/operationsInterfaces/geographicHierarchies.d.ts +10 -0
  250. package/dist/react-native/operationsInterfaces/geographicHierarchies.d.ts.map +1 -0
  251. package/dist/react-native/operationsInterfaces/geographicHierarchies.js +9 -0
  252. package/dist/react-native/operationsInterfaces/geographicHierarchies.js.map +1 -0
  253. package/dist/react-native/operationsInterfaces/heatMap.d.ts +12 -0
  254. package/dist/react-native/operationsInterfaces/heatMap.d.ts.map +1 -0
  255. package/dist/react-native/operationsInterfaces/heatMap.js +9 -0
  256. package/dist/react-native/operationsInterfaces/heatMap.js.map +1 -0
  257. package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
  258. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  259. package/dist/react-native/operationsInterfaces/index.js +13 -0
  260. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  261. package/dist/react-native/operationsInterfaces/profiles.d.ts +61 -0
  262. package/dist/react-native/operationsInterfaces/profiles.d.ts.map +1 -0
  263. package/dist/react-native/operationsInterfaces/profiles.js +9 -0
  264. package/dist/react-native/operationsInterfaces/profiles.js.map +1 -0
  265. package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +20 -0
  266. package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
  267. package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.js +9 -0
  268. package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
  269. package/dist/react-native/package.json +3 -0
  270. package/dist/react-native/pagingHelper.d.ts +13 -0
  271. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  272. package/dist/react-native/pagingHelper.js +32 -0
  273. package/dist/react-native/pagingHelper.js.map +1 -0
  274. package/dist/react-native/trafficManagerManagementClient.d.ts +24 -0
  275. package/dist/react-native/trafficManagerManagementClient.d.ts.map +1 -0
  276. package/dist/react-native/trafficManagerManagementClient.js +101 -0
  277. package/dist/react-native/trafficManagerManagementClient.js.map +1 -0
  278. package/package.json +69 -40
  279. package/dist/index.js +0 -1911
  280. package/dist/index.js.map +0 -1
  281. package/dist/index.min.js +0 -1
  282. package/dist/index.min.js.map +0 -1
  283. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts +0 -2
  284. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts.map +0 -1
  285. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +0 -154
  286. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +0 -1
  287. package/dist-esm/samples-dev/endpointsDeleteSample.d.ts +0 -2
  288. package/dist-esm/samples-dev/endpointsDeleteSample.d.ts.map +0 -1
  289. package/dist-esm/samples-dev/endpointsDeleteSample.js +0 -38
  290. package/dist-esm/samples-dev/endpointsDeleteSample.js.map +0 -1
  291. package/dist-esm/samples-dev/endpointsGetSample.d.ts +0 -2
  292. package/dist-esm/samples-dev/endpointsGetSample.d.ts.map +0 -1
  293. package/dist-esm/samples-dev/endpointsGetSample.js +0 -78
  294. package/dist-esm/samples-dev/endpointsGetSample.js.map +0 -1
  295. package/dist-esm/samples-dev/endpointsUpdateSample.d.ts +0 -2
  296. package/dist-esm/samples-dev/endpointsUpdateSample.d.ts.map +0 -1
  297. package/dist-esm/samples-dev/endpointsUpdateSample.js +0 -37
  298. package/dist-esm/samples-dev/endpointsUpdateSample.js.map +0 -1
  299. package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.d.ts +0 -2
  300. package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.d.ts.map +0 -1
  301. package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.js +0 -34
  302. package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.js.map +0 -1
  303. package/dist-esm/samples-dev/heatMapGetSample.d.ts +0 -2
  304. package/dist-esm/samples-dev/heatMapGetSample.d.ts.map +0 -1
  305. package/dist-esm/samples-dev/heatMapGetSample.js +0 -68
  306. package/dist-esm/samples-dev/heatMapGetSample.js.map +0 -1
  307. package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.d.ts +0 -2
  308. package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.d.ts.map +0 -1
  309. package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.js +0 -51
  310. package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.js.map +0 -1
  311. package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.d.ts +0 -2
  312. package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.d.ts.map +0 -1
  313. package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js +0 -51
  314. package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js.map +0 -1
  315. package/dist-esm/samples-dev/profilesCreateOrUpdateSample.d.ts +0 -2
  316. package/dist-esm/samples-dev/profilesCreateOrUpdateSample.d.ts.map +0 -1
  317. package/dist-esm/samples-dev/profilesCreateOrUpdateSample.js +0 -262
  318. package/dist-esm/samples-dev/profilesCreateOrUpdateSample.js.map +0 -1
  319. package/dist-esm/samples-dev/profilesDeleteSample.d.ts +0 -2
  320. package/dist-esm/samples-dev/profilesDeleteSample.d.ts.map +0 -1
  321. package/dist-esm/samples-dev/profilesDeleteSample.js +0 -36
  322. package/dist-esm/samples-dev/profilesDeleteSample.js.map +0 -1
  323. package/dist-esm/samples-dev/profilesGetSample.d.ts +0 -2
  324. package/dist-esm/samples-dev/profilesGetSample.d.ts.map +0 -1
  325. package/dist-esm/samples-dev/profilesGetSample.js +0 -72
  326. package/dist-esm/samples-dev/profilesGetSample.js.map +0 -1
  327. package/dist-esm/samples-dev/profilesListByResourceGroupSample.d.ts +0 -2
  328. package/dist-esm/samples-dev/profilesListByResourceGroupSample.d.ts.map +0 -1
  329. package/dist-esm/samples-dev/profilesListByResourceGroupSample.js +0 -51
  330. package/dist-esm/samples-dev/profilesListByResourceGroupSample.js.map +0 -1
  331. package/dist-esm/samples-dev/profilesListBySubscriptionSample.d.ts +0 -2
  332. package/dist-esm/samples-dev/profilesListBySubscriptionSample.d.ts.map +0 -1
  333. package/dist-esm/samples-dev/profilesListBySubscriptionSample.js +0 -50
  334. package/dist-esm/samples-dev/profilesListBySubscriptionSample.js.map +0 -1
  335. package/dist-esm/samples-dev/profilesUpdateSample.d.ts +0 -2
  336. package/dist-esm/samples-dev/profilesUpdateSample.d.ts.map +0 -1
  337. package/dist-esm/samples-dev/profilesUpdateSample.js +0 -43
  338. package/dist-esm/samples-dev/profilesUpdateSample.js.map +0 -1
  339. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.d.ts +0 -2
  340. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.d.ts.map +0 -1
  341. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.js +0 -34
  342. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.js.map +0 -1
  343. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.d.ts +0 -2
  344. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.d.ts.map +0 -1
  345. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.js +0 -34
  346. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.js.map +0 -1
  347. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.d.ts +0 -2
  348. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.d.ts.map +0 -1
  349. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.js +0 -34
  350. package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.js.map +0 -1
  351. package/dist-esm/src/index.d.ts +0 -5
  352. package/dist-esm/src/index.js.map +0 -1
  353. package/dist-esm/src/models/index.js.map +0 -1
  354. package/dist-esm/src/models/mappers.js.map +0 -1
  355. package/dist-esm/src/models/parameters.js.map +0 -1
  356. package/dist-esm/src/operations/endpoints.d.ts.map +0 -1
  357. package/dist-esm/src/operations/endpoints.js.map +0 -1
  358. package/dist-esm/src/operations/geographicHierarchies.d.ts.map +0 -1
  359. package/dist-esm/src/operations/geographicHierarchies.js.map +0 -1
  360. package/dist-esm/src/operations/heatMap.d.ts.map +0 -1
  361. package/dist-esm/src/operations/heatMap.js.map +0 -1
  362. package/dist-esm/src/operations/index.d.ts +0 -6
  363. package/dist-esm/src/operations/index.js.map +0 -1
  364. package/dist-esm/src/operations/profiles.d.ts.map +0 -1
  365. package/dist-esm/src/operations/profiles.js.map +0 -1
  366. package/dist-esm/src/operations/trafficManagerUserMetricsKeys.d.ts.map +0 -1
  367. package/dist-esm/src/operations/trafficManagerUserMetricsKeys.js.map +0 -1
  368. package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +0 -1
  369. package/dist-esm/src/operationsInterfaces/endpoints.js.map +0 -1
  370. package/dist-esm/src/operationsInterfaces/geographicHierarchies.js.map +0 -1
  371. package/dist-esm/src/operationsInterfaces/heatMap.d.ts.map +0 -1
  372. package/dist-esm/src/operationsInterfaces/heatMap.js.map +0 -1
  373. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
  374. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  375. package/dist-esm/src/operationsInterfaces/profiles.d.ts.map +0 -1
  376. package/dist-esm/src/operationsInterfaces/profiles.js.map +0 -1
  377. package/dist-esm/src/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +0 -1
  378. package/dist-esm/src/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +0 -1
  379. package/dist-esm/src/pagingHelper.js.map +0 -1
  380. package/dist-esm/src/trafficManagerManagementClient.d.ts.map +0 -1
  381. package/dist-esm/src/trafficManagerManagementClient.js.map +0 -1
  382. package/dist-esm/test/trafficmanager_examples.spec.d.ts +0 -4
  383. package/dist-esm/test/trafficmanager_examples.spec.d.ts.map +0 -1
  384. package/dist-esm/test/trafficmanager_examples.spec.js +0 -120
  385. package/dist-esm/test/trafficmanager_examples.spec.js.map +0 -1
  386. package/src/models/index.ts +0 -616
  387. package/src/models/mappers.ts +0 -797
  388. package/src/models/parameters.ts +0 -196
  389. package/src/operations/endpoints.ts +0 -247
  390. package/src/operations/geographicHierarchies.ts +0 -63
  391. package/src/operations/heatMap.ts +0 -74
  392. package/src/operations/index.ts +0 -13
  393. package/src/operations/profiles.ts +0 -447
  394. package/src/operations/trafficManagerUserMetricsKeys.ts +0 -122
  395. package/src/operationsInterfaces/endpoints.ts +0 -88
  396. package/src/operationsInterfaces/geographicHierarchies.ts +0 -23
  397. package/src/operationsInterfaces/heatMap.ts +0 -24
  398. package/src/operationsInterfaces/index.ts +0 -13
  399. package/src/operationsInterfaces/profiles.ts +0 -116
  400. package/src/operationsInterfaces/trafficManagerUserMetricsKeys.ts +0 -41
  401. package/src/pagingHelper.ts +0 -39
  402. package/src/trafficManagerManagementClient.ts +0 -162
  403. package/tsconfig.json +0 -33
  404. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  405. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  406. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  407. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  408. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  409. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  410. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  411. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  412. /package/{dist-esm/src → dist/browser}/operationsInterfaces/endpoints.js +0 -0
  413. /package/{dist-esm/src → dist/browser}/operationsInterfaces/geographicHierarchies.js +0 -0
  414. /package/{dist-esm/src → dist/browser}/operationsInterfaces/heatMap.js +0 -0
  415. /package/{dist-esm/src → dist/browser}/operationsInterfaces/profiles.js +0 -0
  416. /package/{dist-esm/src → dist/browser}/operationsInterfaces/trafficManagerUserMetricsKeys.js +0 -0
  417. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  418. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  419. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  420. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -1,781 +1,531 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
-
5
- /**
6
- * Defines values for AllowedEndpointRecordType. \
7
- * {@link KnownAllowedEndpointRecordType} can be used interchangeably with AllowedEndpointRecordType,
8
- * this enum contains the known values that the service supports.
9
- * ### Known values supported by the service
10
- * **DomainName** \
11
- * **IPv4Address** \
12
- * **IPv6Address** \
13
- * **Any**
14
- */
15
- export declare type AllowedEndpointRecordType = string;
16
-
17
- /**
18
- * Defines values for AlwaysServe. \
19
- * {@link KnownAlwaysServe} can be used interchangeably with AlwaysServe,
20
- * this enum contains the known values that the service supports.
21
- * ### Known values supported by the service
22
- * **Enabled** \
23
- * **Disabled**
24
- */
25
- export declare type AlwaysServe = string;
26
-
27
- /** Parameters supplied to check Traffic Manager name operation. */
28
- export declare interface CheckTrafficManagerRelativeDnsNameAvailabilityParameters {
29
- /** The name of the resource. */
30
- name?: string;
31
- /** The type of the resource. */
32
- type?: string;
33
- }
34
-
35
- /** An error returned by the Azure Resource Manager */
36
- export declare interface CloudError {
37
- /** The content of the error. */
38
- error?: CloudErrorBody;
39
- }
40
-
41
- /** The content of an error returned by the Azure Resource Manager */
42
- export declare interface CloudErrorBody {
43
- /** Error code */
44
- code?: string;
45
- /** Error message */
46
- message?: string;
47
- /** Error target */
48
- target?: string;
49
- /** Error details */
50
- details?: CloudErrorBody[];
51
- }
52
-
53
- /** The result of the request or operation. */
54
- export declare interface DeleteOperationResult {
55
- /**
56
- * The result of the operation or request.
57
- * NOTE: This property will not be serialized. It can only be populated by the server.
58
- */
59
- readonly operationResult?: boolean;
60
- }
61
-
62
- /** Class containing DNS settings in a Traffic Manager profile. */
63
- export declare interface DnsConfig {
64
- /** 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. */
65
- relativeName?: string;
66
- /**
67
- * 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.
68
- * NOTE: This property will not be serialized. It can only be populated by the server.
69
- */
70
- readonly fqdn?: string;
71
- /** 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. */
72
- ttl?: number;
73
- }
74
-
75
- /** Class representing a Traffic Manager endpoint. */
76
- export declare interface Endpoint extends ProxyResource {
77
- /** The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'. */
78
- targetResourceId?: string;
79
- /** 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. */
80
- target?: string;
81
- /** The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. */
82
- endpointStatus?: EndpointStatus;
83
- /** The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000. */
84
- weight?: number;
85
- /** 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. */
86
- priority?: number;
87
- /** Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method. */
88
- endpointLocation?: string;
89
- /** The monitoring status of the endpoint. */
90
- endpointMonitorStatus?: EndpointMonitorStatus;
91
- /** 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'. */
92
- minChildEndpoints?: number;
93
- /** 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'. */
94
- minChildEndpointsIPv4?: number;
95
- /** 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'. */
96
- minChildEndpointsIPv6?: number;
97
- /** 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. */
98
- geoMapping?: string[];
99
- /** 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. */
100
- subnets?: EndpointPropertiesSubnetsItem[];
101
- /** List of custom headers. */
102
- customHeaders?: EndpointPropertiesCustomHeadersItem[];
103
- /** If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method. */
104
- alwaysServe?: AlwaysServe;
105
- }
106
-
107
- /**
108
- * Defines values for EndpointMonitorStatus. \
109
- * {@link KnownEndpointMonitorStatus} can be used interchangeably with EndpointMonitorStatus,
110
- * this enum contains the known values that the service supports.
111
- * ### Known values supported by the service
112
- * **CheckingEndpoint** \
113
- * **Online** \
114
- * **Degraded** \
115
- * **Disabled** \
116
- * **Inactive** \
117
- * **Stopped** \
118
- * **Unmonitored**
119
- */
120
- export declare type EndpointMonitorStatus = string;
121
-
122
- /** Custom header name and value. */
123
- export declare interface EndpointPropertiesCustomHeadersItem {
124
- /** Header name. */
125
- name?: string;
126
- /** Header value. */
127
- value?: string;
128
- }
129
-
130
- /** Subnet first address, scope, and/or last address. */
131
- export declare interface EndpointPropertiesSubnetsItem {
132
- /** First address in the subnet. */
133
- first?: string;
134
- /** Last address in the subnet. */
135
- last?: string;
136
- /** Block size (number of leading bits in the subnet mask). */
137
- scope?: number;
138
- }
139
-
140
- /** Interface representing a Endpoints. */
141
- export declare interface Endpoints {
142
- /**
143
- * Update a Traffic Manager endpoint.
144
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
145
- * @param profileName The name of the Traffic Manager profile.
146
- * @param endpointType The type of the Traffic Manager endpoint to be updated.
147
- * @param endpointName The name of the Traffic Manager endpoint to be updated.
148
- * @param parameters The Traffic Manager endpoint parameters supplied to the Update operation.
149
- * @param options The options parameters.
150
- */
151
- update(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsUpdateOptionalParams): Promise<EndpointsUpdateResponse>;
152
- /**
153
- * Gets a Traffic Manager endpoint.
154
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
155
- * @param profileName The name of the Traffic Manager profile.
156
- * @param endpointType The type of the Traffic Manager endpoint.
157
- * @param endpointName The name of the Traffic Manager endpoint.
158
- * @param options The options parameters.
159
- */
160
- get(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsGetOptionalParams): Promise<EndpointsGetResponse>;
161
- /**
162
- * Create or update a Traffic Manager endpoint.
163
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
164
- * @param profileName The name of the Traffic Manager profile.
165
- * @param endpointType The type of the Traffic Manager endpoint to be created or updated.
166
- * @param endpointName The name of the Traffic Manager endpoint to be created or updated.
167
- * @param parameters The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.
168
- * @param options The options parameters.
169
- */
170
- createOrUpdate(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsCreateOrUpdateOptionalParams): Promise<EndpointsCreateOrUpdateResponse>;
171
- /**
172
- * Deletes a Traffic Manager endpoint.
173
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
174
- * @param profileName The name of the Traffic Manager profile.
175
- * @param endpointType The type of the Traffic Manager endpoint to be deleted.
176
- * @param endpointName The name of the Traffic Manager endpoint to be deleted.
177
- * @param options The options parameters.
178
- */
179
- delete(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsDeleteOptionalParams): Promise<EndpointsDeleteResponse>;
180
- }
181
-
182
- /** Optional parameters. */
183
- export declare interface EndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
184
- }
185
-
186
- /** Contains response data for the createOrUpdate operation. */
187
- export declare type EndpointsCreateOrUpdateResponse = Endpoint;
188
-
189
- /** Optional parameters. */
190
- export declare interface EndpointsDeleteOptionalParams extends coreClient.OperationOptions {
191
- }
192
-
193
- /** Contains response data for the delete operation. */
194
- export declare type EndpointsDeleteResponse = DeleteOperationResult;
195
-
196
- /** Optional parameters. */
197
- export declare interface EndpointsGetOptionalParams extends coreClient.OperationOptions {
198
- }
199
-
200
- /** Contains response data for the get operation. */
201
- export declare type EndpointsGetResponse = Endpoint;
202
-
203
- /**
204
- * Defines values for EndpointStatus. \
205
- * {@link KnownEndpointStatus} can be used interchangeably with EndpointStatus,
206
- * this enum contains the known values that the service supports.
207
- * ### Known values supported by the service
208
- * **Enabled** \
209
- * **Disabled**
210
- */
211
- export declare type EndpointStatus = string;
212
-
213
- /** Optional parameters. */
214
- export declare interface EndpointsUpdateOptionalParams extends coreClient.OperationOptions {
215
- }
216
-
217
- /** Contains response data for the update operation. */
218
- export declare type EndpointsUpdateResponse = Endpoint;
219
-
220
- /** Defines values for EndpointType. */
221
- export declare type EndpointType = "AzureEndpoints" | "ExternalEndpoints" | "NestedEndpoints";
222
-
223
- /** Interface representing a GeographicHierarchies. */
224
- export declare interface GeographicHierarchies {
225
- /**
226
- * Gets the default Geographic Hierarchy used by the Geographic traffic routing method.
227
- * @param options The options parameters.
228
- */
229
- getDefault(options?: GeographicHierarchiesGetDefaultOptionalParams): Promise<GeographicHierarchiesGetDefaultResponse>;
230
- }
231
-
232
- /** Optional parameters. */
233
- export declare interface GeographicHierarchiesGetDefaultOptionalParams extends coreClient.OperationOptions {
234
- }
235
-
236
- /** Contains response data for the getDefault operation. */
237
- export declare type GeographicHierarchiesGetDefaultResponse = TrafficManagerGeographicHierarchy;
238
-
239
- /**
240
- * Given the last `.value` produced by the `byPage` iterator,
241
- * returns a continuation token that can be used to begin paging from
242
- * that point later.
243
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
244
- * @returns The continuation token that can be passed into byPage() during future calls.
245
- */
246
- export declare function getContinuationToken(page: unknown): string | undefined;
247
-
248
- /** Interface representing a HeatMap. */
249
- export declare interface HeatMap {
250
- /**
251
- * Gets latest heatmap for Traffic Manager profile.
252
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
253
- * @param profileName The name of the Traffic Manager profile.
254
- * @param options The options parameters.
255
- */
256
- get(resourceGroupName: string, profileName: string, options?: HeatMapGetOptionalParams): Promise<HeatMapGetResponse>;
257
- }
258
-
259
- /** Class which is a sparse representation of a Traffic Manager endpoint. */
260
- export declare interface HeatMapEndpoint {
261
- /** The ARM Resource ID of this Traffic Manager endpoint. */
262
- resourceId?: string;
263
- /** A number uniquely identifying this endpoint in query experiences. */
264
- endpointId?: number;
265
- }
266
-
267
- /** Optional parameters. */
268
- export declare interface HeatMapGetOptionalParams extends coreClient.OperationOptions {
269
- /** The top left latitude,longitude pair of the rectangular viewport to query for. */
270
- topLeft?: number[];
271
- /** The bottom right latitude,longitude pair of the rectangular viewport to query for. */
272
- botRight?: number[];
273
- }
274
-
275
- /** Contains response data for the get operation. */
276
- export declare type HeatMapGetResponse = HeatMapModel;
277
-
278
- /** Class representing a Traffic Manager HeatMap. */
279
- export declare interface HeatMapModel extends ProxyResource {
280
- /** The beginning of the time window for this HeatMap, inclusive. */
281
- startTime?: Date;
282
- /** The ending of the time window for this HeatMap, exclusive. */
283
- endTime?: Date;
284
- /** The endpoints used in this HeatMap calculation. */
285
- endpoints?: HeatMapEndpoint[];
286
- /** The traffic flows produced in this HeatMap calculation. */
287
- trafficFlows?: TrafficFlow[];
288
- }
289
-
290
- /** Known values of {@link AllowedEndpointRecordType} that the service accepts. */
291
- export declare enum KnownAllowedEndpointRecordType {
292
- /** DomainName */
293
- DomainName = "DomainName",
294
- /** IPv4Address */
295
- IPv4Address = "IPv4Address",
296
- /** IPv6Address */
297
- IPv6Address = "IPv6Address",
298
- /** Any */
299
- Any = "Any"
300
- }
301
-
302
- /** Known values of {@link AlwaysServe} that the service accepts. */
303
- export declare enum KnownAlwaysServe {
304
- /** Enabled */
305
- Enabled = "Enabled",
306
- /** Disabled */
307
- Disabled = "Disabled"
308
- }
309
-
310
- /** Known values of {@link EndpointMonitorStatus} that the service accepts. */
311
- export declare enum KnownEndpointMonitorStatus {
312
- /** CheckingEndpoint */
313
- CheckingEndpoint = "CheckingEndpoint",
314
- /** Online */
315
- Online = "Online",
316
- /** Degraded */
317
- Degraded = "Degraded",
318
- /** Disabled */
319
- Disabled = "Disabled",
320
- /** Inactive */
321
- Inactive = "Inactive",
322
- /** Stopped */
323
- Stopped = "Stopped",
324
- /** Unmonitored */
325
- Unmonitored = "Unmonitored"
326
- }
327
-
328
- /** Known values of {@link EndpointStatus} that the service accepts. */
329
- export declare enum KnownEndpointStatus {
330
- /** Enabled */
331
- Enabled = "Enabled",
332
- /** Disabled */
333
- Disabled = "Disabled"
334
- }
335
-
336
- /** Known values of {@link MonitorProtocol} that the service accepts. */
337
- export declare enum KnownMonitorProtocol {
338
- /** Http */
339
- Http = "HTTP",
340
- /** Https */
341
- Https = "HTTPS",
342
- /** TCP */
343
- TCP = "TCP"
344
- }
345
-
346
- /** Known values of {@link ProfileMonitorStatus} that the service accepts. */
347
- export declare enum KnownProfileMonitorStatus {
348
- /** CheckingEndpoints */
349
- CheckingEndpoints = "CheckingEndpoints",
350
- /** Online */
351
- Online = "Online",
352
- /** Degraded */
353
- Degraded = "Degraded",
354
- /** Disabled */
355
- Disabled = "Disabled",
356
- /** Inactive */
357
- Inactive = "Inactive"
358
- }
359
-
360
- /** Known values of {@link ProfileStatus} that the service accepts. */
361
- export declare enum KnownProfileStatus {
362
- /** Enabled */
363
- Enabled = "Enabled",
364
- /** Disabled */
365
- Disabled = "Disabled"
366
- }
367
-
368
- /** Known values of {@link TrafficRoutingMethod} that the service accepts. */
369
- export declare enum KnownTrafficRoutingMethod {
370
- /** Performance */
371
- Performance = "Performance",
372
- /** Priority */
373
- Priority = "Priority",
374
- /** Weighted */
375
- Weighted = "Weighted",
376
- /** Geographic */
377
- Geographic = "Geographic",
378
- /** MultiValue */
379
- MultiValue = "MultiValue",
380
- /** Subnet */
381
- Subnet = "Subnet"
382
- }
383
-
384
- /** Known values of {@link TrafficViewEnrollmentStatus} that the service accepts. */
385
- export declare enum KnownTrafficViewEnrollmentStatus {
386
- /** Enabled */
387
- Enabled = "Enabled",
388
- /** Disabled */
389
- Disabled = "Disabled"
390
- }
391
-
392
- /** Class containing endpoint monitoring settings in a Traffic Manager profile. */
393
- export declare interface MonitorConfig {
394
- /** The profile-level monitoring status of the Traffic Manager profile. */
395
- profileMonitorStatus?: ProfileMonitorStatus;
396
- /** The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. */
397
- protocol?: MonitorProtocol;
398
- /** The TCP port used to probe for endpoint health. */
399
- port?: number;
400
- /** The path relative to the endpoint domain name used to probe for endpoint health. */
401
- path?: string;
402
- /** 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. */
403
- intervalInSeconds?: number;
404
- /** 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. */
405
- timeoutInSeconds?: number;
406
- /** 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. */
407
- toleratedNumberOfFailures?: number;
408
- /** List of custom headers. */
409
- customHeaders?: MonitorConfigCustomHeadersItem[];
410
- /** List of expected status code ranges. */
411
- expectedStatusCodeRanges?: MonitorConfigExpectedStatusCodeRangesItem[];
412
- }
413
-
414
- /** Custom header name and value. */
415
- export declare interface MonitorConfigCustomHeadersItem {
416
- /** Header name. */
417
- name?: string;
418
- /** Header value. */
419
- value?: string;
420
- }
421
-
422
- /** Min and max value of a status code range. */
423
- export declare interface MonitorConfigExpectedStatusCodeRangesItem {
424
- /** Min status code. */
425
- min?: number;
426
- /** Max status code. */
427
- max?: number;
428
- }
429
-
430
- /**
431
- * Defines values for MonitorProtocol. \
432
- * {@link KnownMonitorProtocol} can be used interchangeably with MonitorProtocol,
433
- * this enum contains the known values that the service supports.
434
- * ### Known values supported by the service
435
- * **HTTP** \
436
- * **HTTPS** \
437
- * **TCP**
438
- */
439
- export declare type MonitorProtocol = string;
440
-
441
- /** Class representing a Traffic Manager profile. */
442
- export declare interface Profile extends TrackedResource {
443
- /** The status of the Traffic Manager profile. */
444
- profileStatus?: ProfileStatus;
445
- /** The traffic routing method of the Traffic Manager profile. */
446
- trafficRoutingMethod?: TrafficRoutingMethod;
447
- /** The DNS settings of the Traffic Manager profile. */
448
- dnsConfig?: DnsConfig;
449
- /** The endpoint monitoring settings of the Traffic Manager profile. */
450
- monitorConfig?: MonitorConfig;
451
- /** The list of endpoints in the Traffic Manager profile. */
452
- endpoints?: Endpoint[];
453
- /** 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. */
454
- trafficViewEnrollmentStatus?: TrafficViewEnrollmentStatus;
455
- /** The list of allowed endpoint record types. */
456
- allowedEndpointRecordTypes?: AllowedEndpointRecordType[];
457
- /** Maximum number of endpoints to be returned for MultiValue routing type. */
458
- maxReturn?: number;
459
- }
460
-
461
- /** The list Traffic Manager profiles operation response. */
462
- export declare interface ProfileListResult {
463
- /** Gets the list of Traffic manager profiles. */
464
- value?: Profile[];
465
- }
466
-
467
- /**
468
- * Defines values for ProfileMonitorStatus. \
469
- * {@link KnownProfileMonitorStatus} can be used interchangeably with ProfileMonitorStatus,
470
- * this enum contains the known values that the service supports.
471
- * ### Known values supported by the service
472
- * **CheckingEndpoints** \
473
- * **Online** \
474
- * **Degraded** \
475
- * **Disabled** \
476
- * **Inactive**
477
- */
478
- export declare type ProfileMonitorStatus = string;
479
-
480
- /** Interface representing a Profiles. */
481
- export declare interface Profiles {
482
- /**
483
- * Lists all Traffic Manager profiles within a resource group.
484
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
485
- * @param options The options parameters.
486
- */
487
- listByResourceGroup(resourceGroupName: string, options?: ProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Profile>;
488
- /**
489
- * Lists all Traffic Manager profiles within a subscription.
490
- * @param options The options parameters.
491
- */
492
- listBySubscription(options?: ProfilesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Profile>;
493
- /**
494
- * Checks the availability of a Traffic Manager Relative DNS name.
495
- * @param parameters The Traffic Manager name parameters supplied to the
496
- * CheckTrafficManagerNameAvailability operation.
497
- * @param options The options parameters.
498
- */
499
- checkTrafficManagerRelativeDnsNameAvailability(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams): Promise<ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse>;
500
- /**
501
- * Checks the availability of a Traffic Manager Relative DNS name.
502
- * @param parameters The Traffic Manager name parameters supplied to the
503
- * CheckTrafficManagerNameAvailability operation.
504
- * @param options The options parameters.
505
- */
506
- checkTrafficManagerNameAvailabilityV2(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams): Promise<ProfilesCheckTrafficManagerNameAvailabilityV2Response>;
507
- /**
508
- * Gets a Traffic Manager profile.
509
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
510
- * @param profileName The name of the Traffic Manager profile.
511
- * @param options The options parameters.
512
- */
513
- get(resourceGroupName: string, profileName: string, options?: ProfilesGetOptionalParams): Promise<ProfilesGetResponse>;
514
- /**
515
- * Create or update a Traffic Manager profile.
516
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
517
- * @param profileName The name of the Traffic Manager profile.
518
- * @param parameters The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.
519
- * @param options The options parameters.
520
- */
521
- createOrUpdate(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesCreateOrUpdateOptionalParams): Promise<ProfilesCreateOrUpdateResponse>;
522
- /**
523
- * Deletes a Traffic Manager profile.
524
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
525
- * @param profileName The name of the Traffic Manager profile to be deleted.
526
- * @param options The options parameters.
527
- */
528
- delete(resourceGroupName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<ProfilesDeleteResponse>;
529
- /**
530
- * Update a Traffic Manager profile.
531
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
532
- * @param profileName The name of the Traffic Manager profile.
533
- * @param parameters The Traffic Manager profile parameters supplied to the Update operation.
534
- * @param options The options parameters.
535
- */
536
- update(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesUpdateOptionalParams): Promise<ProfilesUpdateResponse>;
537
- }
538
-
539
- /** Optional parameters. */
540
- export declare interface ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams extends coreClient.OperationOptions {
541
- }
542
-
543
- /** Contains response data for the checkTrafficManagerNameAvailabilityV2 operation. */
544
- export declare type ProfilesCheckTrafficManagerNameAvailabilityV2Response = TrafficManagerNameAvailability;
545
-
546
- /** Optional parameters. */
547
- export declare interface ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams extends coreClient.OperationOptions {
548
- }
549
-
550
- /** Contains response data for the checkTrafficManagerRelativeDnsNameAvailability operation. */
551
- export declare type ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse = TrafficManagerNameAvailability;
552
-
553
- /** Optional parameters. */
554
- export declare interface ProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
555
- }
556
-
557
- /** Contains response data for the createOrUpdate operation. */
558
- export declare type ProfilesCreateOrUpdateResponse = Profile;
559
-
560
- /** Optional parameters. */
561
- export declare interface ProfilesDeleteOptionalParams extends coreClient.OperationOptions {
562
- }
563
-
564
- /** Contains response data for the delete operation. */
565
- export declare type ProfilesDeleteResponse = DeleteOperationResult;
566
-
567
- /** Optional parameters. */
568
- export declare interface ProfilesGetOptionalParams extends coreClient.OperationOptions {
569
- }
570
-
571
- /** Contains response data for the get operation. */
572
- export declare type ProfilesGetResponse = Profile;
573
-
574
- /** Optional parameters. */
575
- export declare interface ProfilesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
576
- }
577
-
578
- /** Contains response data for the listByResourceGroup operation. */
579
- export declare type ProfilesListByResourceGroupResponse = ProfileListResult;
580
-
581
- /** Optional parameters. */
582
- export declare interface ProfilesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
583
- }
584
-
585
- /** Contains response data for the listBySubscription operation. */
586
- export declare type ProfilesListBySubscriptionResponse = ProfileListResult;
587
-
588
- /**
589
- * Defines values for ProfileStatus. \
590
- * {@link KnownProfileStatus} can be used interchangeably with ProfileStatus,
591
- * this enum contains the known values that the service supports.
592
- * ### Known values supported by the service
593
- * **Enabled** \
594
- * **Disabled**
595
- */
596
- export declare type ProfileStatus = string;
597
-
598
- /** Optional parameters. */
599
- export declare interface ProfilesUpdateOptionalParams extends coreClient.OperationOptions {
600
- }
601
-
602
- /** Contains response data for the update operation. */
603
- export declare type ProfilesUpdateResponse = Profile;
604
-
605
- /** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */
606
- export declare interface ProxyResource extends Resource {
607
- }
608
-
609
- /** Class representing a Traffic Manager HeatMap query experience properties. */
610
- export declare interface QueryExperience {
611
- /** The id of the endpoint from the 'endpoints' array which these queries were routed to. */
612
- endpointId: number;
613
- /** The number of queries originating from this location. */
614
- queryCount: number;
615
- /** The latency experienced by queries originating from this location. */
616
- latency?: number;
617
- }
618
-
619
- /** Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method. */
620
- export declare interface Region {
621
- /** The code of the region */
622
- code?: string;
623
- /** The name of the region */
624
- name?: string;
625
- /** The list of Regions grouped under this Region in the Geographic Hierarchy. */
626
- regions?: Region[];
627
- }
628
-
629
- /** The core properties of ARM resources */
630
- export declare interface Resource {
631
- /** Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName} */
632
- id?: string;
633
- /** The name of the resource */
634
- name?: string;
635
- /** The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles. */
636
- type?: string;
637
- }
638
-
639
- /** The resource model definition for a ARM tracked top level resource */
640
- export declare interface TrackedResource extends Resource {
641
- /** Resource tags. */
642
- tags?: {
643
- [propertyName: string]: string;
644
- };
645
- /** The Azure Region where the resource lives */
646
- location?: string;
647
- }
648
-
649
- /** Class representing a Traffic Manager HeatMap traffic flow properties. */
650
- export declare interface TrafficFlow {
651
- /** The IP address that this query experience originated from. */
652
- sourceIp?: string;
653
- /** The approximate latitude that these queries originated from. */
654
- latitude?: number;
655
- /** The approximate longitude that these queries originated from. */
656
- longitude?: number;
657
- /** The query experiences produced in this HeatMap calculation. */
658
- queryExperiences?: QueryExperience[];
659
- }
660
-
661
- /** Class representing the Geographic hierarchy used with the Geographic traffic routing method. */
662
- export declare interface TrafficManagerGeographicHierarchy extends ProxyResource {
663
- /** The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved. */
664
- geographicHierarchy?: Region;
665
- }
666
-
667
- export declare class TrafficManagerManagementClient extends coreClient.ServiceClient {
668
- $host: string;
669
- apiVersion: string;
670
- subscriptionId: string;
671
- /**
672
- * Initializes a new instance of the TrafficManagerManagementClient class.
673
- * @param credentials Subscription credentials which uniquely identify client subscription.
674
- * @param subscriptionId The ID of the target subscription.
675
- * @param options The parameter options
676
- */
677
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: TrafficManagerManagementClientOptionalParams);
678
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
679
- private addCustomApiVersionPolicy;
680
- endpoints: Endpoints;
681
- profiles: Profiles;
682
- geographicHierarchies: GeographicHierarchies;
683
- heatMap: HeatMap;
684
- trafficManagerUserMetricsKeys: TrafficManagerUserMetricsKeys;
685
- }
686
-
687
- /** Optional parameters. */
688
- export declare interface TrafficManagerManagementClientOptionalParams extends coreClient.ServiceClientOptions {
689
- /** server parameter */
690
- $host?: string;
691
- /** Api Version */
692
- apiVersion?: string;
693
- /** Overrides client endpoint. */
694
- endpoint?: string;
695
- }
696
-
697
- /** Class representing a Traffic Manager Name Availability response. */
698
- export declare interface TrafficManagerNameAvailability {
699
- /** The relative name. */
700
- name?: string;
701
- /** Traffic Manager profile resource type. */
702
- type?: string;
703
- /** Describes whether the relative name is available or not. */
704
- nameAvailable?: boolean;
705
- /** The reason why the name is not available, when applicable. */
706
- reason?: string;
707
- /** Descriptive message that explains why the name is not available, when applicable. */
708
- message?: string;
709
- }
710
-
711
- /** Interface representing a TrafficManagerUserMetricsKeys. */
712
- export declare interface TrafficManagerUserMetricsKeys {
713
- /**
714
- * Get the subscription-level key used for Real User Metrics collection.
715
- * @param options The options parameters.
716
- */
717
- get(options?: TrafficManagerUserMetricsKeysGetOptionalParams): Promise<TrafficManagerUserMetricsKeysGetResponse>;
718
- /**
719
- * Create or update a subscription-level key used for Real User Metrics collection.
720
- * @param options The options parameters.
721
- */
722
- createOrUpdate(options?: TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams): Promise<TrafficManagerUserMetricsKeysCreateOrUpdateResponse>;
723
- /**
724
- * Delete a subscription-level key used for Real User Metrics collection.
725
- * @param options The options parameters.
726
- */
727
- delete(options?: TrafficManagerUserMetricsKeysDeleteOptionalParams): Promise<TrafficManagerUserMetricsKeysDeleteResponse>;
728
- }
729
-
730
- /** Optional parameters. */
731
- export declare interface TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
732
- }
733
-
734
- /** Contains response data for the createOrUpdate operation. */
735
- export declare type TrafficManagerUserMetricsKeysCreateOrUpdateResponse = UserMetricsModel;
736
-
737
- /** Optional parameters. */
738
- export declare interface TrafficManagerUserMetricsKeysDeleteOptionalParams extends coreClient.OperationOptions {
739
- }
740
-
741
- /** Contains response data for the delete operation. */
742
- export declare type TrafficManagerUserMetricsKeysDeleteResponse = DeleteOperationResult;
743
-
744
- /** Optional parameters. */
745
- export declare interface TrafficManagerUserMetricsKeysGetOptionalParams extends coreClient.OperationOptions {
746
- }
747
-
748
- /** Contains response data for the get operation. */
749
- export declare type TrafficManagerUserMetricsKeysGetResponse = UserMetricsModel;
750
-
751
- /**
752
- * Defines values for TrafficRoutingMethod. \
753
- * {@link KnownTrafficRoutingMethod} can be used interchangeably with TrafficRoutingMethod,
754
- * this enum contains the known values that the service supports.
755
- * ### Known values supported by the service
756
- * **Performance** \
757
- * **Priority** \
758
- * **Weighted** \
759
- * **Geographic** \
760
- * **MultiValue** \
761
- * **Subnet**
762
- */
763
- export declare type TrafficRoutingMethod = string;
764
-
765
- /**
766
- * Defines values for TrafficViewEnrollmentStatus. \
767
- * {@link KnownTrafficViewEnrollmentStatus} can be used interchangeably with TrafficViewEnrollmentStatus,
768
- * this enum contains the known values that the service supports.
769
- * ### Known values supported by the service
770
- * **Enabled** \
771
- * **Disabled**
772
- */
773
- export declare type TrafficViewEnrollmentStatus = string;
774
-
775
- /** Class representing Traffic Manager User Metrics. */
776
- export declare interface UserMetricsModel extends ProxyResource {
777
- /** The key returned by the User Metrics operation. */
778
- key?: string;
779
- }
780
-
781
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ /** Subnet first address, scope, and/or last address. */
3
+ export interface EndpointPropertiesSubnetsItem {
4
+ /** First address in the subnet. */
5
+ first?: string;
6
+ /** Last address in the subnet. */
7
+ last?: string;
8
+ /** Block size (number of leading bits in the subnet mask). */
9
+ scope?: number;
10
+ }
11
+ /** Custom header name and value. */
12
+ export interface EndpointPropertiesCustomHeadersItem {
13
+ /** Header name. */
14
+ name?: string;
15
+ /** Header value. */
16
+ value?: string;
17
+ }
18
+ /** The core properties of ARM resources */
19
+ export interface Resource {
20
+ /** Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName} */
21
+ id?: string;
22
+ /** The name of the resource */
23
+ name?: string;
24
+ /** The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles. */
25
+ type?: string;
26
+ }
27
+ /** An error returned by the Azure Resource Manager */
28
+ export interface CloudError {
29
+ /** The content of the error. */
30
+ error?: CloudErrorBody;
31
+ }
32
+ /** The content of an error returned by the Azure Resource Manager */
33
+ export interface CloudErrorBody {
34
+ /** Error code */
35
+ code?: string;
36
+ /** Error message */
37
+ message?: string;
38
+ /** Error target */
39
+ target?: string;
40
+ /** Error details */
41
+ details?: CloudErrorBody[];
42
+ }
43
+ /** The result of the request or operation. */
44
+ export interface DeleteOperationResult {
45
+ /**
46
+ * The result of the operation or request.
47
+ * NOTE: This property will not be serialized. It can only be populated by the server.
48
+ */
49
+ readonly operationResult?: boolean;
50
+ }
51
+ /** Parameters supplied to check Traffic Manager name operation. */
52
+ export interface CheckTrafficManagerRelativeDnsNameAvailabilityParameters {
53
+ /** The name of the resource. */
54
+ name?: string;
55
+ /** The type of the resource. */
56
+ type?: string;
57
+ }
58
+ /** Class representing a Traffic Manager Name Availability response. */
59
+ export interface TrafficManagerNameAvailability {
60
+ /** The relative name. */
61
+ name?: string;
62
+ /** Traffic Manager profile resource type. */
63
+ type?: string;
64
+ /** Describes whether the relative name is available or not. */
65
+ nameAvailable?: boolean;
66
+ /** The reason why the name is not available, when applicable. */
67
+ reason?: string;
68
+ /** Descriptive message that explains why the name is not available, when applicable. */
69
+ message?: string;
70
+ }
71
+ /** The list Traffic Manager profiles operation response. */
72
+ export interface ProfileListResult {
73
+ /** Gets the list of Traffic manager profiles. */
74
+ value?: Profile[];
75
+ }
76
+ /** Class containing DNS settings in a Traffic Manager profile. */
77
+ export interface DnsConfig {
78
+ /** 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. */
79
+ relativeName?: string;
80
+ /**
81
+ * 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.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
83
+ */
84
+ readonly fqdn?: string;
85
+ /** 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. */
86
+ ttl?: number;
87
+ }
88
+ /** Class containing endpoint monitoring settings in a Traffic Manager profile. */
89
+ export interface MonitorConfig {
90
+ /** The profile-level monitoring status of the Traffic Manager profile. */
91
+ profileMonitorStatus?: ProfileMonitorStatus;
92
+ /** The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. */
93
+ protocol?: MonitorProtocol;
94
+ /** The TCP port used to probe for endpoint health. */
95
+ port?: number;
96
+ /** The path relative to the endpoint domain name used to probe for endpoint health. */
97
+ path?: string;
98
+ /** 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. */
99
+ intervalInSeconds?: number;
100
+ /** 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. */
101
+ timeoutInSeconds?: number;
102
+ /** 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. */
103
+ toleratedNumberOfFailures?: number;
104
+ /** List of custom headers. */
105
+ customHeaders?: MonitorConfigCustomHeadersItem[];
106
+ /** List of expected status code ranges. */
107
+ expectedStatusCodeRanges?: MonitorConfigExpectedStatusCodeRangesItem[];
108
+ }
109
+ /** Custom header name and value. */
110
+ export interface MonitorConfigCustomHeadersItem {
111
+ /** Header name. */
112
+ name?: string;
113
+ /** Header value. */
114
+ value?: string;
115
+ }
116
+ /** Min and max value of a status code range. */
117
+ export interface MonitorConfigExpectedStatusCodeRangesItem {
118
+ /** Min status code. */
119
+ min?: number;
120
+ /** Max status code. */
121
+ max?: number;
122
+ }
123
+ /** Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method. */
124
+ export interface Region {
125
+ /** The code of the region */
126
+ code?: string;
127
+ /** The name of the region */
128
+ name?: string;
129
+ /** The list of Regions grouped under this Region in the Geographic Hierarchy. */
130
+ regions?: Region[];
131
+ }
132
+ /** Class which is a sparse representation of a Traffic Manager endpoint. */
133
+ export interface HeatMapEndpoint {
134
+ /** The ARM Resource ID of this Traffic Manager endpoint. */
135
+ resourceId?: string;
136
+ /** A number uniquely identifying this endpoint in query experiences. */
137
+ endpointId?: number;
138
+ }
139
+ /** Class representing a Traffic Manager HeatMap traffic flow properties. */
140
+ export interface TrafficFlow {
141
+ /** The IP address that this query experience originated from. */
142
+ sourceIp?: string;
143
+ /** The approximate latitude that these queries originated from. */
144
+ latitude?: number;
145
+ /** The approximate longitude that these queries originated from. */
146
+ longitude?: number;
147
+ /** The query experiences produced in this HeatMap calculation. */
148
+ queryExperiences?: QueryExperience[];
149
+ }
150
+ /** Class representing a Traffic Manager HeatMap query experience properties. */
151
+ export interface QueryExperience {
152
+ /** The id of the endpoint from the 'endpoints' array which these queries were routed to. */
153
+ endpointId: number;
154
+ /** The number of queries originating from this location. */
155
+ queryCount: number;
156
+ /** The latency experienced by queries originating from this location. */
157
+ latency?: number;
158
+ }
159
+ /** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */
160
+ export interface ProxyResource extends Resource {
161
+ }
162
+ /** The resource model definition for a ARM tracked top level resource */
163
+ export interface TrackedResource extends Resource {
164
+ /** Resource tags. */
165
+ tags?: {
166
+ [propertyName: string]: string;
167
+ };
168
+ /** The Azure Region where the resource lives */
169
+ location?: string;
170
+ }
171
+ /** Class representing a Traffic Manager endpoint. */
172
+ export interface Endpoint extends ProxyResource {
173
+ /** The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'. */
174
+ targetResourceId?: string;
175
+ /** 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. */
176
+ target?: string;
177
+ /** The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. */
178
+ endpointStatus?: EndpointStatus;
179
+ /** The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000. */
180
+ weight?: number;
181
+ /** 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. */
182
+ priority?: number;
183
+ /** Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method. */
184
+ endpointLocation?: string;
185
+ /** The monitoring status of the endpoint. */
186
+ endpointMonitorStatus?: EndpointMonitorStatus;
187
+ /** 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'. */
188
+ minChildEndpoints?: number;
189
+ /** 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'. */
190
+ minChildEndpointsIPv4?: number;
191
+ /** 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'. */
192
+ minChildEndpointsIPv6?: number;
193
+ /** 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. */
194
+ geoMapping?: string[];
195
+ /** 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. */
196
+ subnets?: EndpointPropertiesSubnetsItem[];
197
+ /** List of custom headers. */
198
+ customHeaders?: EndpointPropertiesCustomHeadersItem[];
199
+ /** If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method. */
200
+ alwaysServe?: AlwaysServe;
201
+ }
202
+ /** Class representing the Geographic hierarchy used with the Geographic traffic routing method. */
203
+ export interface TrafficManagerGeographicHierarchy extends ProxyResource {
204
+ /** The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved. */
205
+ geographicHierarchy?: Region;
206
+ }
207
+ /** Class representing a Traffic Manager HeatMap. */
208
+ export interface HeatMapModel extends ProxyResource {
209
+ /** The beginning of the time window for this HeatMap, inclusive. */
210
+ startTime?: Date;
211
+ /** The ending of the time window for this HeatMap, exclusive. */
212
+ endTime?: Date;
213
+ /** The endpoints used in this HeatMap calculation. */
214
+ endpoints?: HeatMapEndpoint[];
215
+ /** The traffic flows produced in this HeatMap calculation. */
216
+ trafficFlows?: TrafficFlow[];
217
+ }
218
+ /** Class representing Traffic Manager User Metrics. */
219
+ export interface UserMetricsModel extends ProxyResource {
220
+ /** The key returned by the User Metrics operation. */
221
+ key?: string;
222
+ }
223
+ /** Class representing a Traffic Manager profile. */
224
+ export interface Profile extends TrackedResource {
225
+ /** The status of the Traffic Manager profile. */
226
+ profileStatus?: ProfileStatus;
227
+ /** The traffic routing method of the Traffic Manager profile. */
228
+ trafficRoutingMethod?: TrafficRoutingMethod;
229
+ /** The DNS settings of the Traffic Manager profile. */
230
+ dnsConfig?: DnsConfig;
231
+ /** The endpoint monitoring settings of the Traffic Manager profile. */
232
+ monitorConfig?: MonitorConfig;
233
+ /** The list of endpoints in the Traffic Manager profile. */
234
+ endpoints?: Endpoint[];
235
+ /** 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. */
236
+ trafficViewEnrollmentStatus?: TrafficViewEnrollmentStatus;
237
+ /** The list of allowed endpoint record types. */
238
+ allowedEndpointRecordTypes?: AllowedEndpointRecordType[];
239
+ /** Maximum number of endpoints to be returned for MultiValue routing type. */
240
+ maxReturn?: number;
241
+ }
242
+ /** Known values of {@link EndpointStatus} that the service accepts. */
243
+ export declare enum KnownEndpointStatus {
244
+ /** Enabled */
245
+ Enabled = "Enabled",
246
+ /** Disabled */
247
+ Disabled = "Disabled"
248
+ }
249
+ /**
250
+ * Defines values for EndpointStatus. \
251
+ * {@link KnownEndpointStatus} can be used interchangeably with EndpointStatus,
252
+ * this enum contains the known values that the service supports.
253
+ * ### Known values supported by the service
254
+ * **Enabled** \
255
+ * **Disabled**
256
+ */
257
+ export type EndpointStatus = string;
258
+ /** Known values of {@link EndpointMonitorStatus} that the service accepts. */
259
+ export declare enum KnownEndpointMonitorStatus {
260
+ /** CheckingEndpoint */
261
+ CheckingEndpoint = "CheckingEndpoint",
262
+ /** Online */
263
+ Online = "Online",
264
+ /** Degraded */
265
+ Degraded = "Degraded",
266
+ /** Disabled */
267
+ Disabled = "Disabled",
268
+ /** Inactive */
269
+ Inactive = "Inactive",
270
+ /** Stopped */
271
+ Stopped = "Stopped",
272
+ /** Unmonitored */
273
+ Unmonitored = "Unmonitored"
274
+ }
275
+ /**
276
+ * Defines values for EndpointMonitorStatus. \
277
+ * {@link KnownEndpointMonitorStatus} can be used interchangeably with EndpointMonitorStatus,
278
+ * this enum contains the known values that the service supports.
279
+ * ### Known values supported by the service
280
+ * **CheckingEndpoint** \
281
+ * **Online** \
282
+ * **Degraded** \
283
+ * **Disabled** \
284
+ * **Inactive** \
285
+ * **Stopped** \
286
+ * **Unmonitored**
287
+ */
288
+ export type EndpointMonitorStatus = string;
289
+ /** Known values of {@link AlwaysServe} that the service accepts. */
290
+ export declare enum KnownAlwaysServe {
291
+ /** Enabled */
292
+ Enabled = "Enabled",
293
+ /** Disabled */
294
+ Disabled = "Disabled"
295
+ }
296
+ /**
297
+ * Defines values for AlwaysServe. \
298
+ * {@link KnownAlwaysServe} can be used interchangeably with AlwaysServe,
299
+ * this enum contains the known values that the service supports.
300
+ * ### Known values supported by the service
301
+ * **Enabled** \
302
+ * **Disabled**
303
+ */
304
+ export type AlwaysServe = string;
305
+ /** Known values of {@link ProfileStatus} that the service accepts. */
306
+ export declare enum KnownProfileStatus {
307
+ /** Enabled */
308
+ Enabled = "Enabled",
309
+ /** Disabled */
310
+ Disabled = "Disabled"
311
+ }
312
+ /**
313
+ * Defines values for ProfileStatus. \
314
+ * {@link KnownProfileStatus} can be used interchangeably with ProfileStatus,
315
+ * this enum contains the known values that the service supports.
316
+ * ### Known values supported by the service
317
+ * **Enabled** \
318
+ * **Disabled**
319
+ */
320
+ export type ProfileStatus = string;
321
+ /** Known values of {@link TrafficRoutingMethod} that the service accepts. */
322
+ export declare enum KnownTrafficRoutingMethod {
323
+ /** Performance */
324
+ Performance = "Performance",
325
+ /** Priority */
326
+ Priority = "Priority",
327
+ /** Weighted */
328
+ Weighted = "Weighted",
329
+ /** Geographic */
330
+ Geographic = "Geographic",
331
+ /** MultiValue */
332
+ MultiValue = "MultiValue",
333
+ /** Subnet */
334
+ Subnet = "Subnet"
335
+ }
336
+ /**
337
+ * Defines values for TrafficRoutingMethod. \
338
+ * {@link KnownTrafficRoutingMethod} can be used interchangeably with TrafficRoutingMethod,
339
+ * this enum contains the known values that the service supports.
340
+ * ### Known values supported by the service
341
+ * **Performance** \
342
+ * **Priority** \
343
+ * **Weighted** \
344
+ * **Geographic** \
345
+ * **MultiValue** \
346
+ * **Subnet**
347
+ */
348
+ export type TrafficRoutingMethod = string;
349
+ /** Known values of {@link ProfileMonitorStatus} that the service accepts. */
350
+ export declare enum KnownProfileMonitorStatus {
351
+ /** CheckingEndpoints */
352
+ CheckingEndpoints = "CheckingEndpoints",
353
+ /** Online */
354
+ Online = "Online",
355
+ /** Degraded */
356
+ Degraded = "Degraded",
357
+ /** Disabled */
358
+ Disabled = "Disabled",
359
+ /** Inactive */
360
+ Inactive = "Inactive"
361
+ }
362
+ /**
363
+ * Defines values for ProfileMonitorStatus. \
364
+ * {@link KnownProfileMonitorStatus} can be used interchangeably with ProfileMonitorStatus,
365
+ * this enum contains the known values that the service supports.
366
+ * ### Known values supported by the service
367
+ * **CheckingEndpoints** \
368
+ * **Online** \
369
+ * **Degraded** \
370
+ * **Disabled** \
371
+ * **Inactive**
372
+ */
373
+ export type ProfileMonitorStatus = string;
374
+ /** Known values of {@link MonitorProtocol} that the service accepts. */
375
+ export declare enum KnownMonitorProtocol {
376
+ /** Http */
377
+ Http = "HTTP",
378
+ /** Https */
379
+ Https = "HTTPS",
380
+ /** TCP */
381
+ TCP = "TCP"
382
+ }
383
+ /**
384
+ * Defines values for MonitorProtocol. \
385
+ * {@link KnownMonitorProtocol} can be used interchangeably with MonitorProtocol,
386
+ * this enum contains the known values that the service supports.
387
+ * ### Known values supported by the service
388
+ * **HTTP** \
389
+ * **HTTPS** \
390
+ * **TCP**
391
+ */
392
+ export type MonitorProtocol = string;
393
+ /** Known values of {@link TrafficViewEnrollmentStatus} that the service accepts. */
394
+ export declare enum KnownTrafficViewEnrollmentStatus {
395
+ /** Enabled */
396
+ Enabled = "Enabled",
397
+ /** Disabled */
398
+ Disabled = "Disabled"
399
+ }
400
+ /**
401
+ * Defines values for TrafficViewEnrollmentStatus. \
402
+ * {@link KnownTrafficViewEnrollmentStatus} can be used interchangeably with TrafficViewEnrollmentStatus,
403
+ * this enum contains the known values that the service supports.
404
+ * ### Known values supported by the service
405
+ * **Enabled** \
406
+ * **Disabled**
407
+ */
408
+ export type TrafficViewEnrollmentStatus = string;
409
+ /** Known values of {@link AllowedEndpointRecordType} that the service accepts. */
410
+ export declare enum KnownAllowedEndpointRecordType {
411
+ /** DomainName */
412
+ DomainName = "DomainName",
413
+ /** IPv4Address */
414
+ IPv4Address = "IPv4Address",
415
+ /** IPv6Address */
416
+ IPv6Address = "IPv6Address",
417
+ /** Any */
418
+ Any = "Any"
419
+ }
420
+ /**
421
+ * Defines values for AllowedEndpointRecordType. \
422
+ * {@link KnownAllowedEndpointRecordType} can be used interchangeably with AllowedEndpointRecordType,
423
+ * this enum contains the known values that the service supports.
424
+ * ### Known values supported by the service
425
+ * **DomainName** \
426
+ * **IPv4Address** \
427
+ * **IPv6Address** \
428
+ * **Any**
429
+ */
430
+ export type AllowedEndpointRecordType = string;
431
+ /** Defines values for EndpointType. */
432
+ export type EndpointType = "AzureEndpoints" | "ExternalEndpoints" | "NestedEndpoints";
433
+ /** Optional parameters. */
434
+ export interface EndpointsUpdateOptionalParams extends coreClient.OperationOptions {
435
+ }
436
+ /** Contains response data for the update operation. */
437
+ export type EndpointsUpdateResponse = Endpoint;
438
+ /** Optional parameters. */
439
+ export interface EndpointsGetOptionalParams extends coreClient.OperationOptions {
440
+ }
441
+ /** Contains response data for the get operation. */
442
+ export type EndpointsGetResponse = Endpoint;
443
+ /** Optional parameters. */
444
+ export interface EndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
445
+ }
446
+ /** Contains response data for the createOrUpdate operation. */
447
+ export type EndpointsCreateOrUpdateResponse = Endpoint;
448
+ /** Optional parameters. */
449
+ export interface EndpointsDeleteOptionalParams extends coreClient.OperationOptions {
450
+ }
451
+ /** Contains response data for the delete operation. */
452
+ export type EndpointsDeleteResponse = DeleteOperationResult;
453
+ /** Optional parameters. */
454
+ export interface ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams extends coreClient.OperationOptions {
455
+ }
456
+ /** Contains response data for the checkTrafficManagerRelativeDnsNameAvailability operation. */
457
+ export type ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse = TrafficManagerNameAvailability;
458
+ /** Optional parameters. */
459
+ export interface ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams extends coreClient.OperationOptions {
460
+ }
461
+ /** Contains response data for the checkTrafficManagerNameAvailabilityV2 operation. */
462
+ export type ProfilesCheckTrafficManagerNameAvailabilityV2Response = TrafficManagerNameAvailability;
463
+ /** Optional parameters. */
464
+ export interface ProfilesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
465
+ }
466
+ /** Contains response data for the listByResourceGroup operation. */
467
+ export type ProfilesListByResourceGroupResponse = ProfileListResult;
468
+ /** Optional parameters. */
469
+ export interface ProfilesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
470
+ }
471
+ /** Contains response data for the listBySubscription operation. */
472
+ export type ProfilesListBySubscriptionResponse = ProfileListResult;
473
+ /** Optional parameters. */
474
+ export interface ProfilesGetOptionalParams extends coreClient.OperationOptions {
475
+ }
476
+ /** Contains response data for the get operation. */
477
+ export type ProfilesGetResponse = Profile;
478
+ /** Optional parameters. */
479
+ export interface ProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
480
+ }
481
+ /** Contains response data for the createOrUpdate operation. */
482
+ export type ProfilesCreateOrUpdateResponse = Profile;
483
+ /** Optional parameters. */
484
+ export interface ProfilesDeleteOptionalParams extends coreClient.OperationOptions {
485
+ }
486
+ /** Contains response data for the delete operation. */
487
+ export type ProfilesDeleteResponse = DeleteOperationResult;
488
+ /** Optional parameters. */
489
+ export interface ProfilesUpdateOptionalParams extends coreClient.OperationOptions {
490
+ }
491
+ /** Contains response data for the update operation. */
492
+ export type ProfilesUpdateResponse = Profile;
493
+ /** Optional parameters. */
494
+ export interface GeographicHierarchiesGetDefaultOptionalParams extends coreClient.OperationOptions {
495
+ }
496
+ /** Contains response data for the getDefault operation. */
497
+ export type GeographicHierarchiesGetDefaultResponse = TrafficManagerGeographicHierarchy;
498
+ /** Optional parameters. */
499
+ export interface HeatMapGetOptionalParams extends coreClient.OperationOptions {
500
+ /** The top left latitude,longitude pair of the rectangular viewport to query for. */
501
+ topLeft?: number[];
502
+ /** The bottom right latitude,longitude pair of the rectangular viewport to query for. */
503
+ botRight?: number[];
504
+ }
505
+ /** Contains response data for the get operation. */
506
+ export type HeatMapGetResponse = HeatMapModel;
507
+ /** Optional parameters. */
508
+ export interface TrafficManagerUserMetricsKeysGetOptionalParams extends coreClient.OperationOptions {
509
+ }
510
+ /** Contains response data for the get operation. */
511
+ export type TrafficManagerUserMetricsKeysGetResponse = UserMetricsModel;
512
+ /** Optional parameters. */
513
+ export interface TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
514
+ }
515
+ /** Contains response data for the createOrUpdate operation. */
516
+ export type TrafficManagerUserMetricsKeysCreateOrUpdateResponse = UserMetricsModel;
517
+ /** Optional parameters. */
518
+ export interface TrafficManagerUserMetricsKeysDeleteOptionalParams extends coreClient.OperationOptions {
519
+ }
520
+ /** Contains response data for the delete operation. */
521
+ export type TrafficManagerUserMetricsKeysDeleteResponse = DeleteOperationResult;
522
+ /** Optional parameters. */
523
+ export interface TrafficManagerManagementClientOptionalParams extends coreClient.ServiceClientOptions {
524
+ /** server parameter */
525
+ $host?: string;
526
+ /** Api Version */
527
+ apiVersion?: string;
528
+ /** Overrides client endpoint. */
529
+ endpoint?: string;
530
+ }
531
+ //# sourceMappingURL=index.d.ts.map