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