@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,58 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing HeatMap operations. */
12
+ export class HeatMapImpl {
13
+ /**
14
+ * Initialize a new instance of the class HeatMap class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Gets latest heatmap for Traffic Manager profile.
22
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager endpoint.
23
+ * @param profileName The name of the Traffic Manager profile.
24
+ * @param options The options parameters.
25
+ */
26
+ get(resourceGroupName, profileName, options) {
27
+ return this.client.sendOperationRequest({ resourceGroupName, profileName, options }, getOperationSpec);
28
+ }
29
+ }
30
+ // Operation Specifications
31
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
32
+ const getOperationSpec = {
33
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}",
34
+ httpMethod: "GET",
35
+ responses: {
36
+ 200: {
37
+ bodyMapper: Mappers.HeatMapModel
38
+ },
39
+ default: {
40
+ bodyMapper: Mappers.CloudError
41
+ }
42
+ },
43
+ queryParameters: [
44
+ Parameters.apiVersion,
45
+ Parameters.topLeft,
46
+ Parameters.botRight
47
+ ],
48
+ urlParameters: [
49
+ Parameters.$host,
50
+ Parameters.resourceGroupName,
51
+ Parameters.profileName,
52
+ Parameters.subscriptionId,
53
+ Parameters.heatMapType
54
+ ],
55
+ headerParameters: [Parameters.accept],
56
+ serializer
57
+ };
58
+ //# sourceMappingURL=heatMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heatMap.js","sourceRoot":"","sources":["../../../src/operations/heatMap.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAInD,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,WAAmB,EACnB,OAAkC;QAElC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,4JAA4J;IAC9J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;KACpB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,iCAAiC,CAAC"}
@@ -1,11 +1,9 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
8
  export * from "./endpoints";
11
9
  export * from "./profiles";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,80 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Profiles } from "../operationsInterfaces";
3
+ import { TrafficManagerManagementClient } from "../trafficManagerManagementClient";
4
+ import { Profile, ProfilesListByResourceGroupOptionalParams, ProfilesListBySubscriptionOptionalParams, CheckTrafficManagerRelativeDnsNameAvailabilityParameters, ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams, ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse, ProfilesGetOptionalParams, ProfilesGetResponse, ProfilesCreateOrUpdateOptionalParams, ProfilesCreateOrUpdateResponse, ProfilesDeleteOptionalParams, ProfilesDeleteResponse, ProfilesUpdateOptionalParams, ProfilesUpdateResponse } from "../models";
5
+ /** Class containing Profiles operations. */
6
+ export declare class ProfilesImpl implements Profiles {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Profiles class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: TrafficManagerManagementClient);
13
+ /**
14
+ * Lists all Traffic Manager profiles within a resource group.
15
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profiles to
16
+ * be listed.
17
+ * @param options The options parameters.
18
+ */
19
+ listByResourceGroup(resourceGroupName: string, options?: ProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Profile>;
20
+ private listByResourceGroupPagingPage;
21
+ private listByResourceGroupPagingAll;
22
+ /**
23
+ * Lists all Traffic Manager profiles within a subscription.
24
+ * @param options The options parameters.
25
+ */
26
+ listBySubscription(options?: ProfilesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Profile>;
27
+ private listBySubscriptionPagingPage;
28
+ private listBySubscriptionPagingAll;
29
+ /**
30
+ * Checks the availability of a Traffic Manager Relative DNS name.
31
+ * @param parameters The Traffic Manager name parameters supplied to the
32
+ * CheckTrafficManagerNameAvailability operation.
33
+ * @param options The options parameters.
34
+ */
35
+ checkTrafficManagerRelativeDnsNameAvailability(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams): Promise<ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse>;
36
+ /**
37
+ * Lists all Traffic Manager profiles within a resource group.
38
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profiles to
39
+ * be listed.
40
+ * @param options The options parameters.
41
+ */
42
+ private _listByResourceGroup;
43
+ /**
44
+ * Lists all Traffic Manager profiles within a subscription.
45
+ * @param options The options parameters.
46
+ */
47
+ private _listBySubscription;
48
+ /**
49
+ * Gets a Traffic Manager profile.
50
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profile.
51
+ * @param profileName The name of the Traffic Manager profile.
52
+ * @param options The options parameters.
53
+ */
54
+ get(resourceGroupName: string, profileName: string, options?: ProfilesGetOptionalParams): Promise<ProfilesGetResponse>;
55
+ /**
56
+ * Create or update a Traffic Manager profile.
57
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profile.
58
+ * @param profileName The name of the Traffic Manager profile.
59
+ * @param parameters The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.
60
+ * @param options The options parameters.
61
+ */
62
+ createOrUpdate(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesCreateOrUpdateOptionalParams): Promise<ProfilesCreateOrUpdateResponse>;
63
+ /**
64
+ * Deletes a Traffic Manager profile.
65
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profile to be
66
+ * deleted.
67
+ * @param profileName The name of the Traffic Manager profile to be deleted.
68
+ * @param options The options parameters.
69
+ */
70
+ delete(resourceGroupName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<ProfilesDeleteResponse>;
71
+ /**
72
+ * Update a Traffic Manager profile.
73
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profile.
74
+ * @param profileName The name of the Traffic Manager profile.
75
+ * @param parameters The Traffic Manager profile parameters supplied to the Update operation.
76
+ * @param options The options parameters.
77
+ */
78
+ update(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesUpdateOptionalParams): Promise<ProfilesUpdateResponse>;
79
+ }
80
+ //# sourceMappingURL=profiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../../src/operations/profiles.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,OAAO,EACP,yCAAyC,EACzC,wCAAwC,EACxC,wDAAwD,EACxD,oEAAoE,EACpE,8DAA8D,EAG9D,yBAAyB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;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAMnC"}
@@ -0,0 +1,321 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Profiles operations. */
14
+ export class ProfilesImpl {
15
+ /**
16
+ * Initialize a new instance of the class Profiles class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists all Traffic Manager profiles within a resource group.
24
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profiles to
25
+ * be listed.
26
+ * @param options The options parameters.
27
+ */
28
+ listByResourceGroup(resourceGroupName, options) {
29
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: () => {
38
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
39
+ }
40
+ };
41
+ }
42
+ listByResourceGroupPagingPage(resourceGroupName, options) {
43
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
44
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
45
+ yield yield __await(result.value || []);
46
+ });
47
+ }
48
+ listByResourceGroupPagingAll(resourceGroupName, options) {
49
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
50
+ var e_1, _a;
51
+ try {
52
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
53
+ const page = _c.value;
54
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
55
+ }
56
+ }
57
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
58
+ finally {
59
+ try {
60
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
61
+ }
62
+ finally { if (e_1) throw e_1.error; }
63
+ }
64
+ });
65
+ }
66
+ /**
67
+ * Lists all Traffic Manager profiles within a subscription.
68
+ * @param options The options parameters.
69
+ */
70
+ listBySubscription(options) {
71
+ const iter = this.listBySubscriptionPagingAll(options);
72
+ return {
73
+ next() {
74
+ return iter.next();
75
+ },
76
+ [Symbol.asyncIterator]() {
77
+ return this;
78
+ },
79
+ byPage: () => {
80
+ return this.listBySubscriptionPagingPage(options);
81
+ }
82
+ };
83
+ }
84
+ listBySubscriptionPagingPage(options) {
85
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
86
+ let result = yield __await(this._listBySubscription(options));
87
+ yield yield __await(result.value || []);
88
+ });
89
+ }
90
+ listBySubscriptionPagingAll(options) {
91
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
92
+ var e_2, _a;
93
+ try {
94
+ for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
95
+ const page = _c.value;
96
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
97
+ }
98
+ }
99
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
100
+ finally {
101
+ try {
102
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
103
+ }
104
+ finally { if (e_2) throw e_2.error; }
105
+ }
106
+ });
107
+ }
108
+ /**
109
+ * Checks the availability of a Traffic Manager Relative DNS name.
110
+ * @param parameters The Traffic Manager name parameters supplied to the
111
+ * CheckTrafficManagerNameAvailability operation.
112
+ * @param options The options parameters.
113
+ */
114
+ checkTrafficManagerRelativeDnsNameAvailability(parameters, options) {
115
+ return this.client.sendOperationRequest({ parameters, options }, checkTrafficManagerRelativeDnsNameAvailabilityOperationSpec);
116
+ }
117
+ /**
118
+ * Lists all Traffic Manager profiles within a resource group.
119
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profiles to
120
+ * be listed.
121
+ * @param options The options parameters.
122
+ */
123
+ _listByResourceGroup(resourceGroupName, options) {
124
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
125
+ }
126
+ /**
127
+ * Lists all Traffic Manager profiles within a subscription.
128
+ * @param options The options parameters.
129
+ */
130
+ _listBySubscription(options) {
131
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
132
+ }
133
+ /**
134
+ * Gets a Traffic Manager profile.
135
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profile.
136
+ * @param profileName The name of the Traffic Manager profile.
137
+ * @param options The options parameters.
138
+ */
139
+ get(resourceGroupName, profileName, options) {
140
+ return this.client.sendOperationRequest({ resourceGroupName, profileName, options }, getOperationSpec);
141
+ }
142
+ /**
143
+ * Create or update a Traffic Manager profile.
144
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profile.
145
+ * @param profileName The name of the Traffic Manager profile.
146
+ * @param parameters The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.
147
+ * @param options The options parameters.
148
+ */
149
+ createOrUpdate(resourceGroupName, profileName, parameters, options) {
150
+ return this.client.sendOperationRequest({ resourceGroupName, profileName, parameters, options }, createOrUpdateOperationSpec);
151
+ }
152
+ /**
153
+ * Deletes a Traffic Manager profile.
154
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profile to be
155
+ * deleted.
156
+ * @param profileName The name of the Traffic Manager profile to be deleted.
157
+ * @param options The options parameters.
158
+ */
159
+ delete(resourceGroupName, profileName, options) {
160
+ return this.client.sendOperationRequest({ resourceGroupName, profileName, options }, deleteOperationSpec);
161
+ }
162
+ /**
163
+ * Update a Traffic Manager profile.
164
+ * @param resourceGroupName The name of the resource group containing the Traffic Manager profile.
165
+ * @param profileName The name of the Traffic Manager profile.
166
+ * @param parameters The Traffic Manager profile parameters supplied to the Update operation.
167
+ * @param options The options parameters.
168
+ */
169
+ update(resourceGroupName, profileName, parameters, options) {
170
+ return this.client.sendOperationRequest({ resourceGroupName, profileName, parameters, options }, updateOperationSpec);
171
+ }
172
+ }
173
+ // Operation Specifications
174
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
175
+ const checkTrafficManagerRelativeDnsNameAvailabilityOperationSpec = {
176
+ path: "/providers/Microsoft.Network/checkTrafficManagerNameAvailability",
177
+ httpMethod: "POST",
178
+ responses: {
179
+ 200: {
180
+ bodyMapper: Mappers.TrafficManagerNameAvailability
181
+ },
182
+ default: {
183
+ bodyMapper: Mappers.CloudError
184
+ }
185
+ },
186
+ requestBody: Parameters.parameters1,
187
+ queryParameters: [Parameters.apiVersion],
188
+ urlParameters: [Parameters.$host],
189
+ headerParameters: [Parameters.contentType, Parameters.accept],
190
+ mediaType: "json",
191
+ serializer
192
+ };
193
+ const listByResourceGroupOperationSpec = {
194
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles",
195
+ httpMethod: "GET",
196
+ responses: {
197
+ 200: {
198
+ bodyMapper: Mappers.ProfileListResult
199
+ },
200
+ default: {
201
+ bodyMapper: Mappers.CloudError
202
+ }
203
+ },
204
+ queryParameters: [Parameters.apiVersion],
205
+ urlParameters: [
206
+ Parameters.$host,
207
+ Parameters.resourceGroupName,
208
+ Parameters.subscriptionId
209
+ ],
210
+ headerParameters: [Parameters.accept],
211
+ serializer
212
+ };
213
+ const listBySubscriptionOperationSpec = {
214
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles",
215
+ httpMethod: "GET",
216
+ responses: {
217
+ 200: {
218
+ bodyMapper: Mappers.ProfileListResult
219
+ },
220
+ default: {
221
+ bodyMapper: Mappers.CloudError
222
+ }
223
+ },
224
+ queryParameters: [Parameters.apiVersion],
225
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
226
+ headerParameters: [Parameters.accept],
227
+ serializer
228
+ };
229
+ const getOperationSpec = {
230
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",
231
+ httpMethod: "GET",
232
+ responses: {
233
+ 200: {
234
+ bodyMapper: Mappers.Profile
235
+ },
236
+ default: {
237
+ bodyMapper: Mappers.CloudError
238
+ }
239
+ },
240
+ queryParameters: [Parameters.apiVersion],
241
+ urlParameters: [
242
+ Parameters.$host,
243
+ Parameters.resourceGroupName,
244
+ Parameters.profileName,
245
+ Parameters.subscriptionId
246
+ ],
247
+ headerParameters: [Parameters.accept],
248
+ serializer
249
+ };
250
+ const createOrUpdateOperationSpec = {
251
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",
252
+ httpMethod: "PUT",
253
+ responses: {
254
+ 200: {
255
+ bodyMapper: Mappers.Profile
256
+ },
257
+ 201: {
258
+ bodyMapper: Mappers.Profile
259
+ },
260
+ default: {
261
+ bodyMapper: Mappers.CloudError
262
+ }
263
+ },
264
+ requestBody: Parameters.parameters2,
265
+ queryParameters: [Parameters.apiVersion],
266
+ urlParameters: [
267
+ Parameters.$host,
268
+ Parameters.resourceGroupName,
269
+ Parameters.profileName,
270
+ Parameters.subscriptionId
271
+ ],
272
+ headerParameters: [Parameters.contentType, Parameters.accept],
273
+ mediaType: "json",
274
+ serializer
275
+ };
276
+ const deleteOperationSpec = {
277
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",
278
+ httpMethod: "DELETE",
279
+ responses: {
280
+ 200: {
281
+ bodyMapper: Mappers.DeleteOperationResult
282
+ },
283
+ 204: {},
284
+ default: {
285
+ bodyMapper: Mappers.CloudError
286
+ }
287
+ },
288
+ queryParameters: [Parameters.apiVersion],
289
+ urlParameters: [
290
+ Parameters.$host,
291
+ Parameters.resourceGroupName,
292
+ Parameters.profileName,
293
+ Parameters.subscriptionId
294
+ ],
295
+ headerParameters: [Parameters.accept],
296
+ serializer
297
+ };
298
+ const updateOperationSpec = {
299
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",
300
+ httpMethod: "PATCH",
301
+ responses: {
302
+ 200: {
303
+ bodyMapper: Mappers.Profile
304
+ },
305
+ default: {
306
+ bodyMapper: Mappers.CloudError
307
+ }
308
+ },
309
+ requestBody: Parameters.parameters2,
310
+ queryParameters: [Parameters.apiVersion],
311
+ urlParameters: [
312
+ Parameters.$host,
313
+ Parameters.resourceGroupName,
314
+ Parameters.profileName,
315
+ Parameters.subscriptionId
316
+ ],
317
+ headerParameters: [Parameters.contentType, Parameters.accept],
318
+ mediaType: "json",
319
+ serializer
320
+ };
321
+ //# sourceMappingURL=profiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profiles.js","sourceRoot":"","sources":["../../../src/operations/profiles.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAqBnD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAmD;QAEnD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAA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ACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { TrafficManagerUserMetricsKeys } from "../operationsInterfaces";
2
+ import { TrafficManagerManagementClient } from "../trafficManagerManagementClient";
3
+ import { TrafficManagerUserMetricsKeysGetOptionalParams, TrafficManagerUserMetricsKeysGetResponse, TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams, TrafficManagerUserMetricsKeysCreateOrUpdateResponse, TrafficManagerUserMetricsKeysDeleteOptionalParams, TrafficManagerUserMetricsKeysDeleteResponse } from "../models";
4
+ /** Class containing TrafficManagerUserMetricsKeys operations. */
5
+ export declare class TrafficManagerUserMetricsKeysImpl implements TrafficManagerUserMetricsKeys {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class TrafficManagerUserMetricsKeys class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: TrafficManagerManagementClient);
12
+ /**
13
+ * Get the subscription-level key used for Real User Metrics collection.
14
+ * @param options The options parameters.
15
+ */
16
+ get(options?: TrafficManagerUserMetricsKeysGetOptionalParams): Promise<TrafficManagerUserMetricsKeysGetResponse>;
17
+ /**
18
+ * Create or update a subscription-level key used for Real User Metrics collection.
19
+ * @param options The options parameters.
20
+ */
21
+ createOrUpdate(options?: TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams): Promise<TrafficManagerUserMetricsKeysCreateOrUpdateResponse>;
22
+ /**
23
+ * Delete a subscription-level key used for Real User Metrics collection.
24
+ * @param options The options parameters.
25
+ */
26
+ delete(options?: TrafficManagerUserMetricsKeysDeleteOptionalParams): Promise<TrafficManagerUserMetricsKeysDeleteResponse>;
27
+ }
28
+ //# sourceMappingURL=trafficManagerUserMetricsKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trafficManagerUserMetricsKeys.d.ts","sourceRoot":"","sources":["../../../src/operations/trafficManagerUserMetricsKeys.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAIxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,8CAA8C,EAC9C,wCAAwC,EACxC,yDAAyD,EACzD,mDAAmD,EACnD,iDAAiD,EACjD,2CAA2C,EAC5C,MAAM,WAAW,CAAC;AAEnB,iEAAiE;AACjE,qBAAa,iCACX,YAAW,6BAA6B;IACxC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;OAGG;IACH,GAAG,CACD,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAIpD;;;OAGG;IACH,cAAc,CACZ,OAAO,CAAC,EAAE,yDAAyD,GAClE,OAAO,CAAC,mDAAmD,CAAC;IAO/D;;;OAGG;IACH,MAAM,CACJ,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;CAGxD"}
@@ -0,0 +1,92 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing TrafficManagerUserMetricsKeys operations. */
12
+ export class TrafficManagerUserMetricsKeysImpl {
13
+ /**
14
+ * Initialize a new instance of the class TrafficManagerUserMetricsKeys class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Get the subscription-level key used for Real User Metrics collection.
22
+ * @param options The options parameters.
23
+ */
24
+ get(options) {
25
+ return this.client.sendOperationRequest({ options }, getOperationSpec);
26
+ }
27
+ /**
28
+ * Create or update a subscription-level key used for Real User Metrics collection.
29
+ * @param options The options parameters.
30
+ */
31
+ createOrUpdate(options) {
32
+ return this.client.sendOperationRequest({ options }, createOrUpdateOperationSpec);
33
+ }
34
+ /**
35
+ * Delete a subscription-level key used for Real User Metrics collection.
36
+ * @param options The options parameters.
37
+ */
38
+ delete(options) {
39
+ return this.client.sendOperationRequest({ options }, deleteOperationSpec);
40
+ }
41
+ }
42
+ // Operation Specifications
43
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
44
+ const getOperationSpec = {
45
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default",
46
+ httpMethod: "GET",
47
+ responses: {
48
+ 200: {
49
+ bodyMapper: Mappers.UserMetricsModel
50
+ },
51
+ default: {
52
+ bodyMapper: Mappers.CloudError
53
+ }
54
+ },
55
+ queryParameters: [Parameters.apiVersion],
56
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
57
+ headerParameters: [Parameters.accept],
58
+ serializer
59
+ };
60
+ const createOrUpdateOperationSpec = {
61
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default",
62
+ httpMethod: "PUT",
63
+ responses: {
64
+ 201: {
65
+ bodyMapper: Mappers.UserMetricsModel
66
+ },
67
+ default: {
68
+ bodyMapper: Mappers.CloudError
69
+ }
70
+ },
71
+ queryParameters: [Parameters.apiVersion],
72
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
73
+ headerParameters: [Parameters.accept],
74
+ serializer
75
+ };
76
+ const deleteOperationSpec = {
77
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default",
78
+ httpMethod: "DELETE",
79
+ responses: {
80
+ 200: {
81
+ bodyMapper: Mappers.DeleteOperationResult
82
+ },
83
+ default: {
84
+ bodyMapper: Mappers.CloudError
85
+ }
86
+ },
87
+ queryParameters: [Parameters.apiVersion],
88
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
89
+ headerParameters: [Parameters.accept],
90
+ serializer
91
+ };
92
+ //# sourceMappingURL=trafficManagerUserMetricsKeys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trafficManagerUserMetricsKeys.js","sourceRoot":"","sources":["../../../src/operations/trafficManagerUserMetricsKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAWnD,iEAAiE;AACjE,MAAM,OAAO,iCAAiC;IAI5C;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,GAAG,CACD,OAAwD;QAExD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,gBAAgB,CAAC,CAAC;IACzE,CAAC;IAED;;;OAGG;IACH,cAAc,CACZ,OAAmE;QAEnE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,2BAA2B,CAC5B,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,OAA2D;QAE3D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAC;IAC5E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAA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