@azure/arm-peering 1.1.1 → 2.0.0

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 (513) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -83
  4. package/dist/index.js +5398 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/callLookingGlassToExecuteACommand.d.ts +2 -0
  9. package/dist-esm/samples-dev/callLookingGlassToExecuteACommand.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/callLookingGlassToExecuteACommand.js +33 -0
  11. package/dist-esm/samples-dev/callLookingGlassToExecuteACommand.js.map +1 -0
  12. package/dist-esm/samples-dev/checkIfPeeringServiceProviderIsAvailableInCustomerLocation.d.ts +2 -0
  13. package/dist-esm/samples-dev/checkIfPeeringServiceProviderIsAvailableInCustomerLocation.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/checkIfPeeringServiceProviderIsAvailableInCustomerLocation.js +33 -0
  15. package/dist-esm/samples-dev/checkIfPeeringServiceProviderIsAvailableInCustomerLocation.js.map +1 -0
  16. package/dist-esm/samples-dev/createADirectPeering.d.ts +2 -0
  17. package/dist-esm/samples-dev/createADirectPeering.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/createADirectPeering.js +66 -0
  19. package/dist-esm/samples-dev/createADirectPeering.js.map +1 -0
  20. package/dist-esm/samples-dev/createAPeerAsn.d.ts +2 -0
  21. package/dist-esm/samples-dev/createAPeerAsn.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/createAPeerAsn.js +43 -0
  23. package/dist-esm/samples-dev/createAPeerAsn.js.map +1 -0
  24. package/dist-esm/samples-dev/createAPeeringService.d.ts +2 -0
  25. package/dist-esm/samples-dev/createAPeeringService.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/createAPeeringService.js +38 -0
  27. package/dist-esm/samples-dev/createAPeeringService.js.map +1 -0
  28. package/dist-esm/samples-dev/createAPeeringWithExchangeRouteServer.d.ts +2 -0
  29. package/dist-esm/samples-dev/createAPeeringWithExchangeRouteServer.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/createAPeeringWithExchangeRouteServer.js +59 -0
  31. package/dist-esm/samples-dev/createAPeeringWithExchangeRouteServer.js.map +1 -0
  32. package/dist-esm/samples-dev/createAnExchangePeering.d.ts +2 -0
  33. package/dist-esm/samples-dev/createAnExchangePeering.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/createAnExchangePeering.js +66 -0
  35. package/dist-esm/samples-dev/createAnExchangePeering.js.map +1 -0
  36. package/dist-esm/samples-dev/createOrUpdateAPrefixForThePeeringService.d.ts +2 -0
  37. package/dist-esm/samples-dev/createOrUpdateAPrefixForThePeeringService.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/createOrUpdateAPrefixForThePeeringService.js +36 -0
  39. package/dist-esm/samples-dev/createOrUpdateAPrefixForThePeeringService.js.map +1 -0
  40. package/dist-esm/samples-dev/createOrUpdateARegisteredAsnForThePeering.d.ts +2 -0
  41. package/dist-esm/samples-dev/createOrUpdateARegisteredAsnForThePeering.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/createOrUpdateARegisteredAsnForThePeering.js +33 -0
  43. package/dist-esm/samples-dev/createOrUpdateARegisteredAsnForThePeering.js.map +1 -0
  44. package/dist-esm/samples-dev/createOrUpdateARegisteredPrefixForThePeering.d.ts +2 -0
  45. package/dist-esm/samples-dev/createOrUpdateARegisteredPrefixForThePeering.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/createOrUpdateARegisteredPrefixForThePeering.js +33 -0
  47. package/dist-esm/samples-dev/createOrUpdateARegisteredPrefixForThePeering.js.map +1 -0
  48. package/dist-esm/samples-dev/createOrUpdateConnectionMonitorTest.d.ts +2 -0
  49. package/dist-esm/samples-dev/createOrUpdateConnectionMonitorTest.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/createOrUpdateConnectionMonitorTest.js +38 -0
  51. package/dist-esm/samples-dev/createOrUpdateConnectionMonitorTest.js.map +1 -0
  52. package/dist-esm/samples-dev/deleteAPeerAsn.d.ts +2 -0
  53. package/dist-esm/samples-dev/deleteAPeerAsn.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/deleteAPeerAsn.js +30 -0
  55. package/dist-esm/samples-dev/deleteAPeerAsn.js.map +1 -0
  56. package/dist-esm/samples-dev/deleteAPeering.d.ts +2 -0
  57. package/dist-esm/samples-dev/deleteAPeering.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/deleteAPeering.js +31 -0
  59. package/dist-esm/samples-dev/deleteAPeering.js.map +1 -0
  60. package/dist-esm/samples-dev/deleteAPeeringService.d.ts +2 -0
  61. package/dist-esm/samples-dev/deleteAPeeringService.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/deleteAPeeringService.js +31 -0
  63. package/dist-esm/samples-dev/deleteAPeeringService.js.map +1 -0
  64. package/dist-esm/samples-dev/deleteAPrefixAssociatedWithThePeeringService.d.ts +2 -0
  65. package/dist-esm/samples-dev/deleteAPrefixAssociatedWithThePeeringService.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/deleteAPrefixAssociatedWithThePeeringService.js +32 -0
  67. package/dist-esm/samples-dev/deleteAPrefixAssociatedWithThePeeringService.js.map +1 -0
  68. package/dist-esm/samples-dev/deleteConnectionMonitorTest.d.ts +2 -0
  69. package/dist-esm/samples-dev/deleteConnectionMonitorTest.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/deleteConnectionMonitorTest.js +32 -0
  71. package/dist-esm/samples-dev/deleteConnectionMonitorTest.js.map +1 -0
  72. package/dist-esm/samples-dev/deletesARegisteredAsnAssociatedWithThePeering.d.ts +2 -0
  73. package/dist-esm/samples-dev/deletesARegisteredAsnAssociatedWithThePeering.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/deletesARegisteredAsnAssociatedWithThePeering.js +32 -0
  75. package/dist-esm/samples-dev/deletesARegisteredAsnAssociatedWithThePeering.js.map +1 -0
  76. package/dist-esm/samples-dev/deletesARegisteredPrefixAssociatedWithThePeering.d.ts +2 -0
  77. package/dist-esm/samples-dev/deletesARegisteredPrefixAssociatedWithThePeering.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/deletesARegisteredPrefixAssociatedWithThePeering.js +32 -0
  79. package/dist-esm/samples-dev/deletesARegisteredPrefixAssociatedWithThePeering.js.map +1 -0
  80. package/dist-esm/samples-dev/getAPeerAsn.d.ts +2 -0
  81. package/dist-esm/samples-dev/getAPeerAsn.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/getAPeerAsn.js +30 -0
  83. package/dist-esm/samples-dev/getAPeerAsn.js.map +1 -0
  84. package/dist-esm/samples-dev/getAPeering.d.ts +2 -0
  85. package/dist-esm/samples-dev/getAPeering.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/getAPeering.js +31 -0
  87. package/dist-esm/samples-dev/getAPeering.js.map +1 -0
  88. package/dist-esm/samples-dev/getAPeeringService.d.ts +2 -0
  89. package/dist-esm/samples-dev/getAPeeringService.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/getAPeeringService.js +31 -0
  91. package/dist-esm/samples-dev/getAPeeringService.js.map +1 -0
  92. package/dist-esm/samples-dev/getAPrefixAssociatedWithThePeeringService.d.ts +2 -0
  93. package/dist-esm/samples-dev/getAPrefixAssociatedWithThePeeringService.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/getAPrefixAssociatedWithThePeeringService.js +32 -0
  95. package/dist-esm/samples-dev/getAPrefixAssociatedWithThePeeringService.js.map +1 -0
  96. package/dist-esm/samples-dev/getARegisteredAsnAssociatedWithThePeering.d.ts +2 -0
  97. package/dist-esm/samples-dev/getARegisteredAsnAssociatedWithThePeering.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/getARegisteredAsnAssociatedWithThePeering.js +32 -0
  99. package/dist-esm/samples-dev/getARegisteredAsnAssociatedWithThePeering.js.map +1 -0
  100. package/dist-esm/samples-dev/getARegisteredPrefixAssociatedWithThePeering.d.ts +2 -0
  101. package/dist-esm/samples-dev/getARegisteredPrefixAssociatedWithThePeering.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/getARegisteredPrefixAssociatedWithThePeering.js +32 -0
  103. package/dist-esm/samples-dev/getARegisteredPrefixAssociatedWithThePeering.js.map +1 -0
  104. package/dist-esm/samples-dev/getConnectionMonitorTest.d.ts +2 -0
  105. package/dist-esm/samples-dev/getConnectionMonitorTest.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/getConnectionMonitorTest.js +32 -0
  107. package/dist-esm/samples-dev/getConnectionMonitorTest.js.map +1 -0
  108. package/dist-esm/samples-dev/initializePeeringServiceForConnectionMonitorFunctionality.d.ts +2 -0
  109. package/dist-esm/samples-dev/initializePeeringServiceForConnectionMonitorFunctionality.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/initializePeeringServiceForConnectionMonitorFunctionality.js +29 -0
  111. package/dist-esm/samples-dev/initializePeeringServiceForConnectionMonitorFunctionality.js.map +1 -0
  112. package/dist-esm/samples-dev/listAllConnectionMonitorTestsAssociatedWithThePeeringService.d.ts +2 -0
  113. package/dist-esm/samples-dev/listAllConnectionMonitorTestsAssociatedWithThePeeringService.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/listAllConnectionMonitorTestsAssociatedWithThePeeringService.js +45 -0
  115. package/dist-esm/samples-dev/listAllConnectionMonitorTestsAssociatedWithThePeeringService.js.map +1 -0
  116. package/dist-esm/samples-dev/listAllTheCdnPeeringPrefixesAdvertisedAtAParticularPeeringLocation.d.ts +2 -0
  117. package/dist-esm/samples-dev/listAllTheCdnPeeringPrefixesAdvertisedAtAParticularPeeringLocation.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/listAllTheCdnPeeringPrefixesAdvertisedAtAParticularPeeringLocation.js +44 -0
  119. package/dist-esm/samples-dev/listAllTheCdnPeeringPrefixesAdvertisedAtAParticularPeeringLocation.js.map +1 -0
  120. package/dist-esm/samples-dev/listAllThePrefixesAssociatedWithThePeeringService.d.ts +2 -0
  121. package/dist-esm/samples-dev/listAllThePrefixesAssociatedWithThePeeringService.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/listAllThePrefixesAssociatedWithThePeeringService.js +45 -0
  123. package/dist-esm/samples-dev/listAllThePrefixesAssociatedWithThePeeringService.js.map +1 -0
  124. package/dist-esm/samples-dev/listAllTheRegisteredAsNsAssociatedWithThePeering.d.ts +2 -0
  125. package/dist-esm/samples-dev/listAllTheRegisteredAsNsAssociatedWithThePeering.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/listAllTheRegisteredAsNsAssociatedWithThePeering.js +45 -0
  127. package/dist-esm/samples-dev/listAllTheRegisteredAsNsAssociatedWithThePeering.js.map +1 -0
  128. package/dist-esm/samples-dev/listAllTheRegisteredPrefixesAssociatedWithThePeering.d.ts +2 -0
  129. package/dist-esm/samples-dev/listAllTheRegisteredPrefixesAssociatedWithThePeering.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/listAllTheRegisteredPrefixesAssociatedWithThePeering.js +45 -0
  131. package/dist-esm/samples-dev/listAllTheRegisteredPrefixesAssociatedWithThePeering.js.map +1 -0
  132. package/dist-esm/samples-dev/listDirectPeeringLocations.d.ts +2 -0
  133. package/dist-esm/samples-dev/listDirectPeeringLocations.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/listDirectPeeringLocations.js +44 -0
  135. package/dist-esm/samples-dev/listDirectPeeringLocations.js.map +1 -0
  136. package/dist-esm/samples-dev/listExchangePeeringLocations.d.ts +2 -0
  137. package/dist-esm/samples-dev/listExchangePeeringLocations.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/listExchangePeeringLocations.js +44 -0
  139. package/dist-esm/samples-dev/listExchangePeeringLocations.js.map +1 -0
  140. package/dist-esm/samples-dev/listLegacyPeerings.d.ts +2 -0
  141. package/dist-esm/samples-dev/listLegacyPeerings.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/listLegacyPeerings.js +45 -0
  143. package/dist-esm/samples-dev/listLegacyPeerings.js.map +1 -0
  144. package/dist-esm/samples-dev/listPeerAsNsInASubscription.d.ts +2 -0
  145. package/dist-esm/samples-dev/listPeerAsNsInASubscription.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/listPeerAsNsInASubscription.js +43 -0
  147. package/dist-esm/samples-dev/listPeerAsNsInASubscription.js.map +1 -0
  148. package/dist-esm/samples-dev/listPeeringOperations.d.ts +2 -0
  149. package/dist-esm/samples-dev/listPeeringOperations.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/listPeeringOperations.js +43 -0
  151. package/dist-esm/samples-dev/listPeeringOperations.js.map +1 -0
  152. package/dist-esm/samples-dev/listPeeringServiceCountries.d.ts +2 -0
  153. package/dist-esm/samples-dev/listPeeringServiceCountries.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/listPeeringServiceCountries.js +43 -0
  155. package/dist-esm/samples-dev/listPeeringServiceCountries.js.map +1 -0
  156. package/dist-esm/samples-dev/listPeeringServiceLocations.d.ts +2 -0
  157. package/dist-esm/samples-dev/listPeeringServiceLocations.d.ts.map +1 -0
  158. package/dist-esm/samples-dev/listPeeringServiceLocations.js +43 -0
  159. package/dist-esm/samples-dev/listPeeringServiceLocations.js.map +1 -0
  160. package/dist-esm/samples-dev/listPeeringServiceProviders.d.ts +2 -0
  161. package/dist-esm/samples-dev/listPeeringServiceProviders.d.ts.map +1 -0
  162. package/dist-esm/samples-dev/listPeeringServiceProviders.js +43 -0
  163. package/dist-esm/samples-dev/listPeeringServiceProviders.js.map +1 -0
  164. package/dist-esm/samples-dev/listPeeringServicesInAResourceGroup.d.ts +2 -0
  165. package/dist-esm/samples-dev/listPeeringServicesInAResourceGroup.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/listPeeringServicesInAResourceGroup.js +44 -0
  167. package/dist-esm/samples-dev/listPeeringServicesInAResourceGroup.js.map +1 -0
  168. package/dist-esm/samples-dev/listPeeringServicesInASubscription.d.ts +2 -0
  169. package/dist-esm/samples-dev/listPeeringServicesInASubscription.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/listPeeringServicesInASubscription.js +43 -0
  171. package/dist-esm/samples-dev/listPeeringServicesInASubscription.js.map +1 -0
  172. package/dist-esm/samples-dev/listPeeringsInAResourceGroup.d.ts +2 -0
  173. package/dist-esm/samples-dev/listPeeringsInAResourceGroup.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/listPeeringsInAResourceGroup.js +44 -0
  175. package/dist-esm/samples-dev/listPeeringsInAResourceGroup.js.map +1 -0
  176. package/dist-esm/samples-dev/listPeeringsInASubscription.d.ts +2 -0
  177. package/dist-esm/samples-dev/listPeeringsInASubscription.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/listPeeringsInASubscription.js +43 -0
  179. package/dist-esm/samples-dev/listPeeringsInASubscription.js.map +1 -0
  180. package/dist-esm/samples-dev/listsThePrefixesReceivedOverTheSpecifiedPeeringUnderTheGivenSubscriptionAndResourceGroup.d.ts +2 -0
  181. package/dist-esm/samples-dev/listsThePrefixesReceivedOverTheSpecifiedPeeringUnderTheGivenSubscriptionAndResourceGroup.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/listsThePrefixesReceivedOverTheSpecifiedPeeringUnderTheGivenSubscriptionAndResourceGroup.js +55 -0
  183. package/dist-esm/samples-dev/listsThePrefixesReceivedOverTheSpecifiedPeeringUnderTheGivenSubscriptionAndResourceGroup.js.map +1 -0
  184. package/dist-esm/samples-dev/updatePeeringServiceTags.d.ts +2 -0
  185. package/dist-esm/samples-dev/updatePeeringServiceTags.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/updatePeeringServiceTags.js +32 -0
  187. package/dist-esm/samples-dev/updatePeeringServiceTags.js.map +1 -0
  188. package/dist-esm/samples-dev/updatePeeringTags.d.ts +2 -0
  189. package/dist-esm/samples-dev/updatePeeringTags.d.ts.map +1 -0
  190. package/dist-esm/samples-dev/updatePeeringTags.js +32 -0
  191. package/dist-esm/samples-dev/updatePeeringTags.js.map +1 -0
  192. package/dist-esm/src/index.d.ts +5 -0
  193. package/dist-esm/src/index.d.ts.map +1 -0
  194. package/dist-esm/src/index.js +12 -0
  195. package/dist-esm/src/index.js.map +1 -0
  196. package/dist-esm/src/models/index.d.ts +1498 -0
  197. package/dist-esm/src/models/index.d.ts.map +1 -0
  198. package/dist-esm/src/models/index.js +185 -0
  199. package/dist-esm/src/models/index.js.map +1 -0
  200. package/dist-esm/src/models/mappers.d.ts +56 -0
  201. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  202. package/{esm → dist-esm/src}/models/mappers.js +1073 -425
  203. package/dist-esm/src/models/mappers.js.map +1 -0
  204. package/dist-esm/src/models/parameters.d.ts +41 -0
  205. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  206. package/dist-esm/src/models/parameters.js +341 -0
  207. package/dist-esm/src/models/parameters.js.map +1 -0
  208. package/dist-esm/src/operations/cdnPeeringPrefixes.d.ts +35 -0
  209. package/dist-esm/src/operations/cdnPeeringPrefixes.d.ts.map +1 -0
  210. package/dist-esm/src/operations/cdnPeeringPrefixes.js +127 -0
  211. package/dist-esm/src/operations/cdnPeeringPrefixes.js.map +1 -0
  212. package/dist-esm/src/operations/connectionMonitorTests.d.ts +66 -0
  213. package/dist-esm/src/operations/connectionMonitorTests.d.ts.map +1 -0
  214. package/dist-esm/src/operations/connectionMonitorTests.js +257 -0
  215. package/dist-esm/src/operations/connectionMonitorTests.js.map +1 -0
  216. package/{esm → dist-esm/src}/operations/index.d.ts +7 -1
  217. package/dist-esm/src/operations/index.d.ts.map +1 -0
  218. package/dist-esm/src/operations/index.js +24 -0
  219. package/dist-esm/src/operations/index.js.map +1 -0
  220. package/dist-esm/src/operations/legacyPeerings.d.ts +40 -0
  221. package/dist-esm/src/operations/legacyPeerings.d.ts.map +1 -0
  222. package/dist-esm/src/operations/legacyPeerings.js +142 -0
  223. package/dist-esm/src/operations/legacyPeerings.js.map +1 -0
  224. package/dist-esm/src/operations/lookingGlass.d.ts +22 -0
  225. package/dist-esm/src/operations/lookingGlass.d.ts.map +1 -0
  226. package/dist-esm/src/operations/lookingGlass.js +56 -0
  227. package/dist-esm/src/operations/lookingGlass.js.map +1 -0
  228. package/dist-esm/src/operations/operations.d.ts +32 -0
  229. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  230. package/dist-esm/src/operations/operations.js +120 -0
  231. package/dist-esm/src/operations/operations.js.map +1 -0
  232. package/dist-esm/src/operations/peerAsns.d.ts +52 -0
  233. package/dist-esm/src/operations/peerAsns.d.ts.map +1 -0
  234. package/dist-esm/src/operations/peerAsns.js +214 -0
  235. package/dist-esm/src/operations/peerAsns.js.map +1 -0
  236. package/dist-esm/src/operations/peeringLocations.d.ts +35 -0
  237. package/dist-esm/src/operations/peeringLocations.d.ts.map +1 -0
  238. package/dist-esm/src/operations/peeringLocations.js +135 -0
  239. package/dist-esm/src/operations/peeringLocations.js.map +1 -0
  240. package/dist-esm/src/operations/peeringServiceCountries.d.ts +32 -0
  241. package/dist-esm/src/operations/peeringServiceCountries.d.ts.map +1 -0
  242. package/dist-esm/src/operations/peeringServiceCountries.js +124 -0
  243. package/dist-esm/src/operations/peeringServiceCountries.js.map +1 -0
  244. package/dist-esm/src/operations/peeringServiceLocations.d.ts +32 -0
  245. package/dist-esm/src/operations/peeringServiceLocations.d.ts.map +1 -0
  246. package/dist-esm/src/operations/peeringServiceLocations.js +124 -0
  247. package/dist-esm/src/operations/peeringServiceLocations.js.map +1 -0
  248. package/dist-esm/src/operations/peeringServiceProviders.d.ts +32 -0
  249. package/dist-esm/src/operations/peeringServiceProviders.d.ts.map +1 -0
  250. package/dist-esm/src/operations/peeringServiceProviders.js +124 -0
  251. package/dist-esm/src/operations/peeringServiceProviders.js.map +1 -0
  252. package/dist-esm/src/operations/peeringServices.d.ts +92 -0
  253. package/dist-esm/src/operations/peeringServices.d.ts.map +1 -0
  254. package/dist-esm/src/operations/peeringServices.js +384 -0
  255. package/dist-esm/src/operations/peeringServices.js.map +1 -0
  256. package/dist-esm/src/operations/peerings.d.ts +84 -0
  257. package/dist-esm/src/operations/peerings.d.ts.map +1 -0
  258. package/dist-esm/src/operations/peerings.js +360 -0
  259. package/dist-esm/src/operations/peerings.js.map +1 -0
  260. package/dist-esm/src/operations/prefixes.d.ts +66 -0
  261. package/dist-esm/src/operations/prefixes.d.ts.map +1 -0
  262. package/dist-esm/src/operations/prefixes.js +247 -0
  263. package/dist-esm/src/operations/prefixes.js.map +1 -0
  264. package/dist-esm/src/operations/receivedRoutes.d.ts +40 -0
  265. package/dist-esm/src/operations/receivedRoutes.d.ts.map +1 -0
  266. package/dist-esm/src/operations/receivedRoutes.js +153 -0
  267. package/dist-esm/src/operations/receivedRoutes.js.map +1 -0
  268. package/dist-esm/src/operations/registeredAsns.d.ts +66 -0
  269. package/dist-esm/src/operations/registeredAsns.d.ts.map +1 -0
  270. package/dist-esm/src/operations/registeredAsns.js +247 -0
  271. package/dist-esm/src/operations/registeredAsns.js.map +1 -0
  272. package/dist-esm/src/operations/registeredPrefixes.d.ts +66 -0
  273. package/dist-esm/src/operations/registeredPrefixes.d.ts.map +1 -0
  274. package/dist-esm/src/operations/registeredPrefixes.js +247 -0
  275. package/dist-esm/src/operations/registeredPrefixes.js.map +1 -0
  276. package/dist-esm/src/operationsInterfaces/cdnPeeringPrefixes.d.ts +12 -0
  277. package/dist-esm/src/operationsInterfaces/cdnPeeringPrefixes.d.ts.map +1 -0
  278. package/dist-esm/src/operationsInterfaces/cdnPeeringPrefixes.js +9 -0
  279. package/dist-esm/src/operationsInterfaces/cdnPeeringPrefixes.js.map +1 -0
  280. package/dist-esm/src/operationsInterfaces/connectionMonitorTests.d.ts +41 -0
  281. package/dist-esm/src/operationsInterfaces/connectionMonitorTests.d.ts.map +1 -0
  282. package/dist-esm/src/operationsInterfaces/connectionMonitorTests.js +9 -0
  283. package/dist-esm/src/operationsInterfaces/connectionMonitorTests.js.map +1 -0
  284. package/dist-esm/src/operationsInterfaces/index.d.ts +17 -0
  285. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  286. package/dist-esm/src/operationsInterfaces/index.js +24 -0
  287. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  288. package/dist-esm/src/operationsInterfaces/legacyPeerings.d.ts +14 -0
  289. package/dist-esm/src/operationsInterfaces/legacyPeerings.d.ts.map +1 -0
  290. package/dist-esm/src/operationsInterfaces/legacyPeerings.js +9 -0
  291. package/dist-esm/src/operationsInterfaces/legacyPeerings.js.map +1 -0
  292. package/dist-esm/src/operationsInterfaces/lookingGlass.d.ts +14 -0
  293. package/dist-esm/src/operationsInterfaces/lookingGlass.d.ts.map +1 -0
  294. package/dist-esm/src/operationsInterfaces/lookingGlass.js +9 -0
  295. package/dist-esm/src/operationsInterfaces/lookingGlass.js.map +1 -0
  296. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  297. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  298. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  299. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  300. package/dist-esm/src/operationsInterfaces/peerAsns.d.ts +31 -0
  301. package/dist-esm/src/operationsInterfaces/peerAsns.d.ts.map +1 -0
  302. package/dist-esm/src/operationsInterfaces/peerAsns.js +9 -0
  303. package/dist-esm/src/operationsInterfaces/peerAsns.js.map +1 -0
  304. package/dist-esm/src/operationsInterfaces/peeringLocations.d.ts +12 -0
  305. package/dist-esm/src/operationsInterfaces/peeringLocations.d.ts.map +1 -0
  306. package/dist-esm/src/operationsInterfaces/peeringLocations.js +9 -0
  307. package/dist-esm/src/operationsInterfaces/peeringLocations.js.map +1 -0
  308. package/dist-esm/src/operationsInterfaces/peeringServiceCountries.d.ts +11 -0
  309. package/dist-esm/src/operationsInterfaces/peeringServiceCountries.d.ts.map +1 -0
  310. package/dist-esm/src/operationsInterfaces/peeringServiceCountries.js +9 -0
  311. package/dist-esm/src/operationsInterfaces/peeringServiceCountries.js.map +1 -0
  312. package/dist-esm/src/operationsInterfaces/peeringServiceLocations.d.ts +11 -0
  313. package/dist-esm/src/operationsInterfaces/peeringServiceLocations.d.ts.map +1 -0
  314. package/dist-esm/src/operationsInterfaces/peeringServiceLocations.js +9 -0
  315. package/dist-esm/src/operationsInterfaces/peeringServiceLocations.js.map +1 -0
  316. package/dist-esm/src/operationsInterfaces/peeringServiceProviders.d.ts +11 -0
  317. package/dist-esm/src/operationsInterfaces/peeringServiceProviders.d.ts.map +1 -0
  318. package/dist-esm/src/operationsInterfaces/peeringServiceProviders.js +9 -0
  319. package/dist-esm/src/operationsInterfaces/peeringServiceProviders.js.map +1 -0
  320. package/dist-esm/src/operationsInterfaces/peeringServices.d.ts +56 -0
  321. package/dist-esm/src/operationsInterfaces/peeringServices.d.ts.map +1 -0
  322. package/dist-esm/src/operationsInterfaces/peeringServices.js +9 -0
  323. package/dist-esm/src/operationsInterfaces/peeringServices.js.map +1 -0
  324. package/dist-esm/src/operationsInterfaces/peerings.d.ts +48 -0
  325. package/dist-esm/src/operationsInterfaces/peerings.d.ts.map +1 -0
  326. package/dist-esm/src/operationsInterfaces/peerings.js +9 -0
  327. package/dist-esm/src/operationsInterfaces/peerings.js.map +1 -0
  328. package/dist-esm/src/operationsInterfaces/prefixes.d.ts +41 -0
  329. package/dist-esm/src/operationsInterfaces/prefixes.d.ts.map +1 -0
  330. package/dist-esm/src/operationsInterfaces/prefixes.js +9 -0
  331. package/dist-esm/src/operationsInterfaces/prefixes.js.map +1 -0
  332. package/dist-esm/src/operationsInterfaces/receivedRoutes.d.ts +14 -0
  333. package/dist-esm/src/operationsInterfaces/receivedRoutes.d.ts.map +1 -0
  334. package/dist-esm/src/operationsInterfaces/receivedRoutes.js +9 -0
  335. package/dist-esm/src/operationsInterfaces/receivedRoutes.js.map +1 -0
  336. package/dist-esm/src/operationsInterfaces/registeredAsns.d.ts +41 -0
  337. package/dist-esm/src/operationsInterfaces/registeredAsns.d.ts.map +1 -0
  338. package/dist-esm/src/operationsInterfaces/registeredAsns.js +9 -0
  339. package/dist-esm/src/operationsInterfaces/registeredAsns.js.map +1 -0
  340. package/dist-esm/src/operationsInterfaces/registeredPrefixes.d.ts +41 -0
  341. package/dist-esm/src/operationsInterfaces/registeredPrefixes.d.ts.map +1 -0
  342. package/dist-esm/src/operationsInterfaces/registeredPrefixes.js +9 -0
  343. package/dist-esm/src/operationsInterfaces/registeredPrefixes.js.map +1 -0
  344. package/dist-esm/src/peeringManagementClient.d.ts +40 -0
  345. package/dist-esm/src/peeringManagementClient.d.ts.map +1 -0
  346. package/dist-esm/src/peeringManagementClient.js +97 -0
  347. package/dist-esm/src/peeringManagementClient.js.map +1 -0
  348. package/dist-esm/test/sampleTest.d.ts +2 -0
  349. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  350. package/dist-esm/test/sampleTest.js +40 -0
  351. package/dist-esm/test/sampleTest.js.map +1 -0
  352. package/package.json +75 -33
  353. package/review/arm-peering.api.md +1331 -0
  354. package/rollup.config.js +181 -30
  355. package/src/index.ts +12 -0
  356. package/src/models/index.ts +1368 -1210
  357. package/src/models/mappers.ts +1157 -450
  358. package/src/models/parameters.ts +304 -44
  359. package/src/operations/cdnPeeringPrefixes.ts +157 -0
  360. package/src/operations/connectionMonitorTests.ts +345 -0
  361. package/src/operations/index.ts +10 -6
  362. package/src/operations/legacyPeerings.ts +128 -83
  363. package/src/operations/lookingGlass.ts +79 -0
  364. package/src/operations/operations.ts +87 -73
  365. package/src/operations/peerAsns.ts +158 -190
  366. package/src/operations/peeringLocations.ts +112 -82
  367. package/src/operations/peeringServiceCountries.ts +142 -0
  368. package/src/operations/peeringServiceLocations.ts +94 -78
  369. package/src/operations/peeringServiceProviders.ts +92 -76
  370. package/src/operations/peeringServices.ts +318 -319
  371. package/src/operations/peerings.ts +287 -321
  372. package/src/operations/prefixes.ts +270 -71
  373. package/src/operations/receivedRoutes.ts +205 -0
  374. package/src/operations/registeredAsns.ts +335 -0
  375. package/src/operations/registeredPrefixes.ts +335 -0
  376. package/src/operationsInterfaces/cdnPeeringPrefixes.ts +27 -0
  377. package/src/operationsInterfaces/connectionMonitorTests.ts +78 -0
  378. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +11 -7
  379. package/src/operationsInterfaces/legacyPeerings.ts +31 -0
  380. package/src/operationsInterfaces/lookingGlass.ts +33 -0
  381. package/src/operationsInterfaces/operations.ts +22 -0
  382. package/src/operationsInterfaces/peerAsns.ts +60 -0
  383. package/src/operationsInterfaces/peeringLocations.ts +28 -0
  384. package/src/operationsInterfaces/peeringServiceCountries.ts +25 -0
  385. package/src/operationsInterfaces/peeringServiceLocations.ts +25 -0
  386. package/src/operationsInterfaces/peeringServiceProviders.ts +25 -0
  387. package/src/operationsInterfaces/peeringServices.ts +103 -0
  388. package/src/operationsInterfaces/peerings.ts +92 -0
  389. package/src/operationsInterfaces/prefixes.ts +78 -0
  390. package/src/operationsInterfaces/receivedRoutes.ts +30 -0
  391. package/src/operationsInterfaces/registeredAsns.ts +78 -0
  392. package/src/operationsInterfaces/registeredPrefixes.ts +78 -0
  393. package/src/peeringManagementClient.ts +153 -104
  394. package/tsconfig.json +5 -4
  395. package/types/arm-peering.d.ts +2124 -0
  396. package/types/tsdoc-metadata.json +11 -0
  397. package/dist/arm-peering.js +0 -3154
  398. package/dist/arm-peering.js.map +0 -1
  399. package/dist/arm-peering.min.js +0 -1
  400. package/dist/arm-peering.min.js.map +0 -1
  401. package/esm/models/index.d.ts +0 -1439
  402. package/esm/models/index.d.ts.map +0 -1
  403. package/esm/models/index.js +0 -8
  404. package/esm/models/index.js.map +0 -1
  405. package/esm/models/legacyPeeringsMappers.d.ts +0 -2
  406. package/esm/models/legacyPeeringsMappers.d.ts.map +0 -1
  407. package/esm/models/legacyPeeringsMappers.js +0 -9
  408. package/esm/models/legacyPeeringsMappers.js.map +0 -1
  409. package/esm/models/mappers.d.ts +0 -38
  410. package/esm/models/mappers.d.ts.map +0 -1
  411. package/esm/models/mappers.js.map +0 -1
  412. package/esm/models/operationsMappers.d.ts +0 -2
  413. package/esm/models/operationsMappers.d.ts.map +0 -1
  414. package/esm/models/operationsMappers.js +0 -9
  415. package/esm/models/operationsMappers.js.map +0 -1
  416. package/esm/models/parameters.d.ts +0 -14
  417. package/esm/models/parameters.d.ts.map +0 -1
  418. package/esm/models/parameters.js +0 -133
  419. package/esm/models/parameters.js.map +0 -1
  420. package/esm/models/peerAsnsMappers.d.ts +0 -2
  421. package/esm/models/peerAsnsMappers.d.ts.map +0 -1
  422. package/esm/models/peerAsnsMappers.js +0 -9
  423. package/esm/models/peerAsnsMappers.js.map +0 -1
  424. package/esm/models/peeringLocationsMappers.d.ts +0 -2
  425. package/esm/models/peeringLocationsMappers.d.ts.map +0 -1
  426. package/esm/models/peeringLocationsMappers.js +0 -9
  427. package/esm/models/peeringLocationsMappers.js.map +0 -1
  428. package/esm/models/peeringServiceLocationsMappers.d.ts +0 -2
  429. package/esm/models/peeringServiceLocationsMappers.d.ts.map +0 -1
  430. package/esm/models/peeringServiceLocationsMappers.js +0 -9
  431. package/esm/models/peeringServiceLocationsMappers.js.map +0 -1
  432. package/esm/models/peeringServicePrefixesMappers.d.ts +0 -2
  433. package/esm/models/peeringServicePrefixesMappers.d.ts.map +0 -1
  434. package/esm/models/peeringServicePrefixesMappers.js +0 -9
  435. package/esm/models/peeringServicePrefixesMappers.js.map +0 -1
  436. package/esm/models/peeringServiceProvidersMappers.d.ts +0 -2
  437. package/esm/models/peeringServiceProvidersMappers.d.ts.map +0 -1
  438. package/esm/models/peeringServiceProvidersMappers.js +0 -9
  439. package/esm/models/peeringServiceProvidersMappers.js.map +0 -1
  440. package/esm/models/peeringServicesMappers.d.ts +0 -2
  441. package/esm/models/peeringServicesMappers.d.ts.map +0 -1
  442. package/esm/models/peeringServicesMappers.js +0 -9
  443. package/esm/models/peeringServicesMappers.js.map +0 -1
  444. package/esm/models/peeringsMappers.d.ts +0 -2
  445. package/esm/models/peeringsMappers.d.ts.map +0 -1
  446. package/esm/models/peeringsMappers.js +0 -9
  447. package/esm/models/peeringsMappers.js.map +0 -1
  448. package/esm/models/prefixesMappers.d.ts +0 -2
  449. package/esm/models/prefixesMappers.d.ts.map +0 -1
  450. package/esm/models/prefixesMappers.js +0 -9
  451. package/esm/models/prefixesMappers.js.map +0 -1
  452. package/esm/operations/index.d.ts.map +0 -1
  453. package/esm/operations/index.js.map +0 -1
  454. package/esm/operations/legacyPeerings.d.ts +0 -54
  455. package/esm/operations/legacyPeerings.d.ts.map +0 -1
  456. package/esm/operations/legacyPeerings.js +0 -84
  457. package/esm/operations/legacyPeerings.js.map +0 -1
  458. package/esm/operations/operations.d.ts +0 -46
  459. package/esm/operations/operations.d.ts.map +0 -1
  460. package/esm/operations/operations.js +0 -77
  461. package/esm/operations/operations.js.map +0 -1
  462. package/esm/operations/peerAsns.d.ts +0 -104
  463. package/esm/operations/peerAsns.d.ts.map +0 -1
  464. package/esm/operations/peerAsns.js +0 -175
  465. package/esm/operations/peerAsns.js.map +0 -1
  466. package/esm/operations/peeringLocations.d.ts +0 -49
  467. package/esm/operations/peeringLocations.d.ts.map +0 -1
  468. package/esm/operations/peeringLocations.js +0 -83
  469. package/esm/operations/peeringLocations.js.map +0 -1
  470. package/esm/operations/peeringServiceLocations.d.ts +0 -46
  471. package/esm/operations/peeringServiceLocations.d.ts.map +0 -1
  472. package/esm/operations/peeringServiceLocations.js +0 -80
  473. package/esm/operations/peeringServiceLocations.js.map +0 -1
  474. package/esm/operations/peeringServicePrefixes.d.ts +0 -88
  475. package/esm/operations/peeringServicePrefixes.d.ts.map +0 -1
  476. package/esm/operations/peeringServicePrefixes.js +0 -134
  477. package/esm/operations/peeringServicePrefixes.js.map +0 -1
  478. package/esm/operations/peeringServiceProviders.d.ts +0 -46
  479. package/esm/operations/peeringServiceProviders.d.ts.map +0 -1
  480. package/esm/operations/peeringServiceProviders.js +0 -80
  481. package/esm/operations/peeringServiceProviders.js.map +0 -1
  482. package/esm/operations/peeringServices.d.ts +0 -173
  483. package/esm/operations/peeringServices.d.ts.map +0 -1
  484. package/esm/operations/peeringServices.js +0 -276
  485. package/esm/operations/peeringServices.js.map +0 -1
  486. package/esm/operations/peerings.d.ts +0 -173
  487. package/esm/operations/peerings.d.ts.map +0 -1
  488. package/esm/operations/peerings.js +0 -276
  489. package/esm/operations/peerings.js.map +0 -1
  490. package/esm/operations/prefixes.d.ts +0 -52
  491. package/esm/operations/prefixes.d.ts.map +0 -1
  492. package/esm/operations/prefixes.js +0 -84
  493. package/esm/operations/prefixes.js.map +0 -1
  494. package/esm/peeringManagementClient.d.ts +0 -48
  495. package/esm/peeringManagementClient.d.ts.map +0 -1
  496. package/esm/peeringManagementClient.js +0 -95
  497. package/esm/peeringManagementClient.js.map +0 -1
  498. package/esm/peeringManagementClientContext.d.ts +0 -22
  499. package/esm/peeringManagementClientContext.d.ts.map +0 -1
  500. package/esm/peeringManagementClientContext.js +0 -61
  501. package/esm/peeringManagementClientContext.js.map +0 -1
  502. package/src/models/legacyPeeringsMappers.ts +0 -34
  503. package/src/models/operationsMappers.ts +0 -14
  504. package/src/models/peerAsnsMappers.ts +0 -34
  505. package/src/models/peeringLocationsMappers.ts +0 -34
  506. package/src/models/peeringServiceLocationsMappers.ts +0 -34
  507. package/src/models/peeringServicePrefixesMappers.ts +0 -33
  508. package/src/models/peeringServiceProvidersMappers.ts +0 -34
  509. package/src/models/peeringServicesMappers.ts +0 -35
  510. package/src/models/peeringsMappers.ts +0 -35
  511. package/src/models/prefixesMappers.ts +0 -34
  512. package/src/operations/peeringServicePrefixes.ts +0 -229
  513. package/src/peeringManagementClientContext.ts +0 -68
@@ -1,1561 +1,1719 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
13
-
14
- /**
15
- * Class for CheckServiceProviderAvailabilityInput
16
- */
17
- export interface CheckServiceProviderAvailabilityInput {
18
- /**
19
- * Gets or sets the PeeringServiceLocation
20
- */
21
- peeringServiceLocation?: string;
22
- /**
23
- * Gets or sets the PeeringServiceProvider
24
- */
25
- peeringServiceProvider?: string;
11
+ /** The paginated list of CDN peering prefixes. */
12
+ export interface CdnPeeringPrefixListResult {
13
+ /** The list of CDN peering prefixes. */
14
+ value?: CdnPeeringPrefix[];
15
+ /** The link to fetch the next page of CDN peering prefixes. */
16
+ nextLink?: string;
26
17
  }
27
18
 
28
- /**
29
- * The SKU that defines the tier and kind of the peering.
30
- */
31
- export interface PeeringSku {
32
- /**
33
- * The name of the peering SKU. Possible values include: 'Basic_Exchange_Free',
34
- * 'Basic_Direct_Free', 'Premium_Direct_Free', 'Premium_Exchange_Metered',
35
- * 'Premium_Direct_Metered', 'Premium_Direct_Unlimited'
36
- */
37
- name?: Name;
19
+ /** The ARM resource class. */
20
+ export interface Resource {
38
21
  /**
39
- * The tier of the peering SKU. Possible values include: 'Basic', 'Premium'
22
+ * The name of the resource.
23
+ * NOTE: This property will not be serialized. It can only be populated by the server.
40
24
  */
41
- tier?: Tier;
25
+ readonly name?: string;
42
26
  /**
43
- * The family of the peering SKU. Possible values include: 'Direct', 'Exchange'
27
+ * The ID of the resource.
28
+ * NOTE: This property will not be serialized. It can only be populated by the server.
44
29
  */
45
- family?: Family;
30
+ readonly id?: string;
46
31
  /**
47
- * The size of the peering SKU. Possible values include: 'Free', 'Metered', 'Unlimited'
32
+ * The type of the resource.
33
+ * NOTE: This property will not be serialized. It can only be populated by the server.
48
34
  */
49
- size?: Size;
35
+ readonly type?: string;
50
36
  }
51
37
 
52
- /**
53
- * The properties that define a BGP session.
54
- */
55
- export interface BgpSession {
56
- /**
57
- * The IPv4 prefix that contains both ends' IPv4 addresses.
58
- */
59
- sessionPrefixV4?: string;
60
- /**
61
- * The IPv6 prefix that contains both ends' IPv6 addresses.
62
- */
63
- sessionPrefixV6?: string;
64
- /**
65
- * The IPv4 session address on Microsoft's end.
66
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
67
- */
68
- readonly microsoftSessionIPv4Address?: string;
69
- /**
70
- * The IPv6 session address on Microsoft's end.
71
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
72
- */
73
- readonly microsoftSessionIPv6Address?: string;
74
- /**
75
- * The IPv4 session address on peer's end.
76
- */
77
- peerSessionIPv4Address?: string;
38
+ /** The error response that indicates why an operation has failed. */
39
+ export interface ErrorResponse {
40
+ /** The error detail that describes why an operation has failed. */
41
+ error?: ErrorDetail;
42
+ }
43
+
44
+ /** The error detail that describes why an operation has failed. */
45
+ export interface ErrorDetail {
78
46
  /**
79
- * The IPv6 session address on peer's end.
47
+ * The error code.
48
+ * NOTE: This property will not be serialized. It can only be populated by the server.
80
49
  */
81
- peerSessionIPv6Address?: string;
50
+ readonly code?: string;
82
51
  /**
83
- * The state of the IPv4 session. Possible values include: 'None', 'Idle', 'Connect', 'Active',
84
- * 'OpenSent', 'OpenConfirm', 'OpenReceived', 'Established', 'PendingAdd', 'PendingUpdate',
85
- * 'PendingRemove'
86
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
52
+ * The error message.
53
+ * NOTE: This property will not be serialized. It can only be populated by the server.
87
54
  */
88
- readonly sessionStateV4?: SessionStateV4;
55
+ readonly message?: string;
56
+ }
57
+
58
+ /** Class for CheckServiceProviderAvailabilityInput */
59
+ export interface CheckServiceProviderAvailabilityInput {
60
+ /** Gets or sets the peering service location. */
61
+ peeringServiceLocation?: string;
62
+ /** Gets or sets the peering service provider. */
63
+ peeringServiceProvider?: string;
64
+ }
65
+
66
+ /** The paginated list of peerings. */
67
+ export interface PeeringListResult {
68
+ /** The list of peerings. */
69
+ value?: Peering[];
70
+ /** The link to fetch the next page of peerings. */
71
+ nextLink?: string;
72
+ }
73
+
74
+ /** The SKU that defines the tier and kind of the peering. */
75
+ export interface PeeringSku {
76
+ /** The name of the peering SKU. */
77
+ name?: string;
89
78
  /**
90
- * The state of the IPv6 session. Possible values include: 'None', 'Idle', 'Connect', 'Active',
91
- * 'OpenSent', 'OpenConfirm', 'OpenReceived', 'Established', 'PendingAdd', 'PendingUpdate',
92
- * 'PendingRemove'
93
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
79
+ * The tier of the peering SKU.
80
+ * NOTE: This property will not be serialized. It can only be populated by the server.
94
81
  */
95
- readonly sessionStateV6?: SessionStateV6;
82
+ readonly tier?: Tier;
96
83
  /**
97
- * The maximum number of prefixes advertised over the IPv4 session.
84
+ * The family of the peering SKU.
85
+ * NOTE: This property will not be serialized. It can only be populated by the server.
98
86
  */
99
- maxPrefixesAdvertisedV4?: number;
87
+ readonly family?: Family;
100
88
  /**
101
- * The maximum number of prefixes advertised over the IPv6 session.
89
+ * The size of the peering SKU.
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
102
91
  */
103
- maxPrefixesAdvertisedV6?: number;
92
+ readonly size?: Size;
93
+ }
94
+
95
+ /** The properties that define a direct peering. */
96
+ export interface PeeringPropertiesDirect {
97
+ /** The set of connections that constitute a direct peering. */
98
+ connections?: DirectConnection[];
104
99
  /**
105
- * The MD5 authentication key of the session.
100
+ * The flag that indicates whether or not the peering is used for peering service.
101
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
102
  */
107
- md5AuthenticationKey?: string;
103
+ readonly useForPeeringService?: boolean;
104
+ /** The reference of the peer ASN. */
105
+ peerAsn?: SubResource;
106
+ /** The type of direct peering. */
107
+ directPeeringType?: DirectPeeringType;
108
108
  }
109
109
 
110
- /**
111
- * The properties that define a direct connection.
112
- */
110
+ /** The properties that define a direct connection. */
113
111
  export interface DirectConnection {
114
- /**
115
- * The bandwidth of the connection.
116
- */
112
+ /** The bandwidth of the connection. */
117
113
  bandwidthInMbps?: number;
118
114
  /**
119
115
  * The bandwidth that is actually provisioned.
116
+ * NOTE: This property will not be serialized. It can only be populated by the server.
120
117
  */
121
- provisionedBandwidthInMbps?: number;
122
- /**
123
- * The field indicating if Microsoft provides session ip addresses. Possible values include:
124
- * 'Microsoft', 'Peer'
125
- */
118
+ readonly provisionedBandwidthInMbps?: number;
119
+ /** The field indicating if Microsoft provides session ip addresses. */
126
120
  sessionAddressProvider?: SessionAddressProvider;
127
- /**
128
- * The flag that indicates whether or not the connection is used for peering service.
129
- */
121
+ /** The flag that indicates whether or not the connection is used for peering service. */
130
122
  useForPeeringService?: boolean;
131
123
  /**
132
- * The PeeringDB.com ID of the facility at which the connection has to be set up.
124
+ * The ID used within Microsoft's peering provisioning system to track the connection
125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
133
126
  */
127
+ readonly microsoftTrackingId?: string;
128
+ /** The PeeringDB.com ID of the facility at which the connection has to be set up. */
134
129
  peeringDBFacilityId?: number;
135
130
  /**
136
- * The state of the connection. Possible values include: 'None', 'PendingApproval', 'Approved',
137
- * 'ProvisioningStarted', 'ProvisioningFailed', 'ProvisioningCompleted', 'Validating', 'Active'
138
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
131
+ * The state of the connection.
132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
139
133
  */
140
134
  readonly connectionState?: ConnectionState;
141
- /**
142
- * The BGP session associated with the connection.
143
- */
135
+ /** The BGP session associated with the connection. */
144
136
  bgpSession?: BgpSession;
145
- /**
146
- * The unique identifier (GUID) for the connection.
147
- */
137
+ /** The unique identifier (GUID) for the connection. */
148
138
  connectionIdentifier?: string;
149
- }
150
-
151
- /**
152
- * The sub resource.
153
- */
154
- export interface SubResource {
155
139
  /**
156
- * The identifier of the referenced resource.
140
+ * The error message related to the connection state, if any.
141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
157
142
  */
158
- id?: string;
143
+ readonly errorMessage?: string;
159
144
  }
160
145
 
161
- /**
162
- * The properties that define a direct peering.
163
- */
164
- export interface PeeringPropertiesDirect {
165
- /**
166
- * The set of connections that constitute a direct peering.
167
- */
168
- connections?: DirectConnection[];
146
+ /** The properties that define a BGP session. */
147
+ export interface BgpSession {
148
+ /** The IPv4 prefix that contains both ends' IPv4 addresses. */
149
+ sessionPrefixV4?: string;
150
+ /** The IPv6 prefix that contains both ends' IPv6 addresses. */
151
+ sessionPrefixV6?: string;
152
+ /** The IPv4 session address on Microsoft's end. */
153
+ microsoftSessionIPv4Address?: string;
154
+ /** The IPv6 session address on Microsoft's end. */
155
+ microsoftSessionIPv6Address?: string;
156
+ /** The IPv4 session address on peer's end. */
157
+ peerSessionIPv4Address?: string;
158
+ /** The IPv6 session address on peer's end. */
159
+ peerSessionIPv6Address?: string;
169
160
  /**
170
- * The flag that indicates whether or not the peering is used for peering service.
161
+ * The state of the IPv4 session.
162
+ * NOTE: This property will not be serialized. It can only be populated by the server.
171
163
  */
172
- useForPeeringService?: boolean;
164
+ readonly sessionStateV4?: SessionStateV4;
173
165
  /**
174
- * The reference of the peer ASN.
166
+ * The state of the IPv6 session.
167
+ * NOTE: This property will not be serialized. It can only be populated by the server.
175
168
  */
169
+ readonly sessionStateV6?: SessionStateV6;
170
+ /** The maximum number of prefixes advertised over the IPv4 session. */
171
+ maxPrefixesAdvertisedV4?: number;
172
+ /** The maximum number of prefixes advertised over the IPv6 session. */
173
+ maxPrefixesAdvertisedV6?: number;
174
+ /** The MD5 authentication key of the session. */
175
+ md5AuthenticationKey?: string;
176
+ }
177
+
178
+ /** The sub resource. */
179
+ export interface SubResource {
180
+ /** The identifier of the referenced resource. */
181
+ id?: string;
182
+ }
183
+
184
+ /** The properties that define an exchange peering. */
185
+ export interface PeeringPropertiesExchange {
186
+ /** The set of connections that constitute an exchange peering. */
187
+ connections?: ExchangeConnection[];
188
+ /** The reference of the peer ASN. */
176
189
  peerAsn?: SubResource;
177
- /**
178
- * The type of direct peering. Possible values include: 'Edge', 'Transit', 'Cdn', 'Internal'
179
- */
180
- directPeeringType?: DirectPeeringType;
181
190
  }
182
191
 
183
- /**
184
- * The properties that define an exchange connection.
185
- */
192
+ /** The properties that define an exchange connection. */
186
193
  export interface ExchangeConnection {
187
- /**
188
- * The PeeringDB.com ID of the facility at which the connection has to be set up.
189
- */
194
+ /** The PeeringDB.com ID of the facility at which the connection has to be set up. */
190
195
  peeringDBFacilityId?: number;
191
196
  /**
192
- * The state of the connection. Possible values include: 'None', 'PendingApproval', 'Approved',
193
- * 'ProvisioningStarted', 'ProvisioningFailed', 'ProvisioningCompleted', 'Validating', 'Active'
194
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
197
+ * The state of the connection.
198
+ * NOTE: This property will not be serialized. It can only be populated by the server.
195
199
  */
196
200
  readonly connectionState?: ConnectionState;
197
- /**
198
- * The BGP session associated with the connection.
199
- */
201
+ /** The BGP session associated with the connection. */
200
202
  bgpSession?: BgpSession;
203
+ /** The unique identifier (GUID) for the connection. */
204
+ connectionIdentifier?: string;
201
205
  /**
202
- * The unique identifier (GUID) for the connection.
206
+ * The error message related to the connection state, if any.
207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
203
208
  */
204
- connectionIdentifier?: string;
209
+ readonly errorMessage?: string;
205
210
  }
206
211
 
207
- /**
208
- * The properties that define an exchange peering.
209
- */
210
- export interface PeeringPropertiesExchange {
211
- /**
212
- * The set of connections that constitute an exchange peering.
213
- */
214
- connections?: ExchangeConnection[];
215
- /**
216
- * The reference of the peer ASN.
217
- */
218
- peerAsn?: SubResource;
212
+ /** Looking glass output model */
213
+ export interface LookingGlassOutput {
214
+ /** Invoked command */
215
+ command?: Command;
216
+ /** Output of the command */
217
+ output?: string;
219
218
  }
220
219
 
221
- /**
222
- * The ARM resource class.
223
- */
224
- export interface Resource extends BaseResource {
225
- /**
226
- * The name of the resource.
227
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
228
- */
229
- readonly name?: string;
230
- /**
231
- * The ID of the resource.
232
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
233
- */
234
- readonly id?: string;
235
- /**
236
- * The type of the resource.
237
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
238
- */
239
- readonly type?: string;
220
+ /** The paginated list of peering API operations. */
221
+ export interface OperationListResult {
222
+ /** The list of peering API operations. */
223
+ value?: Operation[];
224
+ /** The link to fetch the next page of peering API operations. */
225
+ nextLink?: string;
240
226
  }
241
227
 
242
- /**
243
- * Peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a
244
- * location.
245
- */
246
- export interface Peering extends Resource {
247
- /**
248
- * The SKU that defines the tier and kind of the peering.
249
- */
250
- sku: PeeringSku;
251
- /**
252
- * The kind of the peering. Possible values include: 'Direct', 'Exchange'
253
- */
254
- kind: Kind;
255
- /**
256
- * The properties that define a direct peering.
257
- */
258
- direct?: PeeringPropertiesDirect;
259
- /**
260
- * The properties that define an exchange peering.
261
- */
262
- exchange?: PeeringPropertiesExchange;
228
+ /** The peering API operation. */
229
+ export interface Operation {
263
230
  /**
264
- * The location of the peering.
231
+ * The name of the operation.
232
+ * NOTE: This property will not be serialized. It can only be populated by the server.
265
233
  */
266
- peeringLocation?: string;
234
+ readonly name?: string;
267
235
  /**
268
- * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating',
269
- * 'Deleting', 'Failed'
270
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
236
+ * The information related to the operation.
237
+ * NOTE: This property will not be serialized. It can only be populated by the server.
271
238
  */
272
- readonly provisioningState?: ProvisioningState;
239
+ readonly display?: OperationDisplayInfo;
273
240
  /**
274
- * The location of the resource.
241
+ * The flag that indicates whether the operation applies to data plane.
242
+ * NOTE: This property will not be serialized. It can only be populated by the server.
275
243
  */
276
- location: string;
244
+ readonly isDataAction?: boolean;
277
245
  /**
278
- * The resource tags.
246
+ * Service specification payload.
247
+ * NOTE: This property will not be serialized. It can only be populated by the server.
279
248
  */
280
- tags?: { [propertyName: string]: string };
249
+ readonly serviceSpecification?: ServiceSpecification;
281
250
  }
282
251
 
283
- /**
284
- * The information related to the operation.
285
- */
252
+ /** The information related to the operation. */
286
253
  export interface OperationDisplayInfo {
287
254
  /**
288
255
  * The name of the resource provider.
289
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
256
+ * NOTE: This property will not be serialized. It can only be populated by the server.
290
257
  */
291
258
  readonly provider?: string;
292
259
  /**
293
260
  * The type of the resource.
294
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
261
+ * NOTE: This property will not be serialized. It can only be populated by the server.
295
262
  */
296
263
  readonly resource?: string;
297
264
  /**
298
265
  * The name of the operation.
299
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
266
+ * NOTE: This property will not be serialized. It can only be populated by the server.
300
267
  */
301
268
  readonly operation?: string;
302
269
  /**
303
270
  * The description of the operation.
304
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
271
+ * NOTE: This property will not be serialized. It can only be populated by the server.
305
272
  */
306
273
  readonly description?: string;
307
274
  }
308
275
 
309
- /**
310
- * The peering API operation.
311
- */
312
- export interface Operation {
276
+ /** Service specification payload. */
277
+ export interface ServiceSpecification {
313
278
  /**
314
- * The name of the operation.
315
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
279
+ * Specifications of the Metrics for Azure Monitoring.
280
+ * NOTE: This property will not be serialized. It can only be populated by the server.
281
+ */
282
+ readonly metricSpecifications?: MetricSpecification[];
283
+ }
284
+
285
+ /** Specifications of the Metrics for Azure Monitoring. */
286
+ export interface MetricSpecification {
287
+ /**
288
+ * Name of the metric.
289
+ * NOTE: This property will not be serialized. It can only be populated by the server.
316
290
  */
317
291
  readonly name?: string;
318
292
  /**
319
- * The information related to the operation.
320
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
293
+ * Localized friendly display name of the metric.
294
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
295
  */
322
- readonly display?: OperationDisplayInfo;
296
+ readonly displayName?: string;
323
297
  /**
324
- * The flag that indicates whether the operation applies to data plane.
325
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
298
+ * Localized friendly description of the metric.
299
+ * NOTE: This property will not be serialized. It can only be populated by the server.
326
300
  */
327
- readonly isDataAction?: boolean;
328
- }
329
-
330
- /**
331
- * The contact information of the peer.
332
- */
333
- export interface ContactInfo {
301
+ readonly displayDescription?: string;
334
302
  /**
335
- * The list of email addresses.
303
+ * Unit that makes sense for the metric.
304
+ * NOTE: This property will not be serialized. It can only be populated by the server.
336
305
  */
337
- emails?: string[];
306
+ readonly unit?: string;
338
307
  /**
339
- * The list of contact numbers.
308
+ * Aggregation type will be set to one of the values: Average, Minimum, Maximum, Total, Count.
309
+ * NOTE: This property will not be serialized. It can only be populated by the server.
340
310
  */
341
- phone?: string[];
342
- }
343
-
344
- /**
345
- * The essential information related to the peer's ASN.
346
- */
347
- export interface PeerAsn extends Resource {
311
+ readonly aggregationType?: string;
348
312
  /**
349
- * The Autonomous System Number (ASN) of the peer.
313
+ * Supported time grain types for the metric.
314
+ * NOTE: This property will not be serialized. It can only be populated by the server.
350
315
  */
351
- peerAsn?: number;
316
+ readonly supportedTimeGrainTypes?: string[];
352
317
  /**
353
- * The contact information of the peer.
318
+ * Dimensions of the metric.
319
+ * NOTE: This property will not be serialized. It can only be populated by the server.
354
320
  */
355
- peerContactInfo?: ContactInfo;
321
+ readonly dimensions?: MetricDimension[];
322
+ }
323
+
324
+ /** Dimensions of the metric. */
325
+ export interface MetricDimension {
356
326
  /**
357
- * The name of the peer.
327
+ * Name of the dimension.
328
+ * NOTE: This property will not be serialized. It can only be populated by the server.
358
329
  */
359
- peerName?: string;
330
+ readonly name?: string;
360
331
  /**
361
- * The validation state of the ASN associated with the peer. Possible values include: 'None',
362
- * 'Pending', 'Approved', 'Failed'
332
+ * Localized friendly display name of the dimension.
333
+ * NOTE: This property will not be serialized. It can only be populated by the server.
363
334
  */
364
- validationState?: ValidationState;
335
+ readonly displayName?: string;
365
336
  }
366
337
 
367
- /**
368
- * The properties that define a direct peering facility.
369
- */
338
+ /** The contact detail class. */
339
+ export interface ContactDetail {
340
+ /** The role of the contact. */
341
+ role?: Role;
342
+ /** The e-mail address of the contact. */
343
+ email?: string;
344
+ /** The phone number of the contact. */
345
+ phone?: string;
346
+ }
347
+
348
+ /** The paginated list of peer ASNs. */
349
+ export interface PeerAsnListResult {
350
+ /** The list of peer ASNs. */
351
+ value?: PeerAsn[];
352
+ /** The link to fetch the next page of peer ASNs. */
353
+ nextLink?: string;
354
+ }
355
+
356
+ /** The paginated list of peering locations. */
357
+ export interface PeeringLocationListResult {
358
+ /** The list of peering locations. */
359
+ value?: PeeringLocation[];
360
+ /** The link to fetch the next page of peering locations. */
361
+ nextLink?: string;
362
+ }
363
+
364
+ /** The properties that define a direct peering location. */
365
+ export interface PeeringLocationPropertiesDirect {
366
+ /** The list of direct peering facilities at the peering location. */
367
+ peeringFacilities?: DirectPeeringFacility[];
368
+ /** The list of bandwidth offers available at the peering location. */
369
+ bandwidthOffers?: PeeringBandwidthOffer[];
370
+ }
371
+
372
+ /** The properties that define a direct peering facility. */
370
373
  export interface DirectPeeringFacility {
371
- /**
372
- * The address of the direct peering facility.
373
- */
374
+ /** The address of the direct peering facility. */
374
375
  address?: string;
375
- /**
376
- * The type of the direct peering. Possible values include: 'Edge', 'Transit', 'Cdn', 'Internal'
377
- */
376
+ /** The type of the direct peering. */
378
377
  directPeeringType?: DirectPeeringType;
379
- /**
380
- * The PeeringDB.com ID of the facility.
381
- */
378
+ /** The PeeringDB.com ID of the facility. */
382
379
  peeringDBFacilityId?: number;
383
- /**
384
- * The PeeringDB.com URL of the facility.
385
- */
380
+ /** The PeeringDB.com URL of the facility. */
386
381
  peeringDBFacilityLink?: string;
387
382
  }
388
383
 
389
- /**
390
- * The properties that define a peering bandwidth offer.
391
- */
384
+ /** The properties that define a peering bandwidth offer. */
392
385
  export interface PeeringBandwidthOffer {
393
- /**
394
- * The name of the bandwidth offer.
395
- */
386
+ /** The name of the bandwidth offer. */
396
387
  offerName?: string;
397
- /**
398
- * The value of the bandwidth offer in Mbps.
399
- */
388
+ /** The value of the bandwidth offer in Mbps. */
400
389
  valueInMbps?: number;
401
390
  }
402
391
 
403
- /**
404
- * The properties that define a direct peering location.
405
- */
406
- export interface PeeringLocationPropertiesDirect {
407
- /**
408
- * The list of direct peering facilities at the peering location.
409
- */
410
- peeringFacilities?: DirectPeeringFacility[];
411
- /**
412
- * The list of bandwidth offers available at the peering location.
413
- */
414
- bandwidthOffers?: PeeringBandwidthOffer[];
392
+ /** The properties that define an exchange peering location. */
393
+ export interface PeeringLocationPropertiesExchange {
394
+ /** The list of exchange peering facilities at the peering location. */
395
+ peeringFacilities?: ExchangePeeringFacility[];
415
396
  }
416
397
 
417
- /**
418
- * The properties that define an exchange peering facility.
419
- */
398
+ /** The properties that define an exchange peering facility. */
420
399
  export interface ExchangePeeringFacility {
421
- /**
422
- * The name of the exchange peering facility.
423
- */
400
+ /** The name of the exchange peering facility. */
424
401
  exchangeName?: string;
425
- /**
426
- * The bandwidth of the connection between Microsoft and the exchange peering facility.
427
- */
402
+ /** The bandwidth of the connection between Microsoft and the exchange peering facility. */
428
403
  bandwidthInMbps?: number;
429
- /**
430
- * The IPv4 address of Microsoft at the exchange peering facility.
431
- */
404
+ /** The IPv4 address of Microsoft at the exchange peering facility. */
432
405
  microsoftIPv4Address?: string;
433
- /**
434
- * The IPv6 address of Microsoft at the exchange peering facility.
435
- */
406
+ /** The IPv6 address of Microsoft at the exchange peering facility. */
436
407
  microsoftIPv6Address?: string;
437
- /**
438
- * The IPv4 prefixes associated with the exchange peering facility.
439
- */
408
+ /** The IPv4 prefixes associated with the exchange peering facility. */
440
409
  facilityIPv4Prefix?: string;
441
- /**
442
- * The IPv6 prefixes associated with the exchange peering facility.
443
- */
410
+ /** The IPv6 prefixes associated with the exchange peering facility. */
444
411
  facilityIPv6Prefix?: string;
445
- /**
446
- * The PeeringDB.com ID of the facility.
447
- */
412
+ /** The PeeringDB.com ID of the facility. */
448
413
  peeringDBFacilityId?: number;
449
- /**
450
- * The PeeringDB.com URL of the facility.
451
- */
414
+ /** The PeeringDB.com URL of the facility. */
452
415
  peeringDBFacilityLink?: string;
453
416
  }
454
417
 
455
- /**
456
- * The properties that define an exchange peering location.
457
- */
458
- export interface PeeringLocationPropertiesExchange {
459
- /**
460
- * The list of exchange peering facilities at the peering location.
461
- */
462
- peeringFacilities?: ExchangePeeringFacility[];
418
+ /** The paginated list of peering registered ASNs. */
419
+ export interface PeeringRegisteredAsnListResult {
420
+ /** The list of peering registered ASNs. */
421
+ value?: PeeringRegisteredAsn[];
422
+ /** The link to fetch the next page of peering registered ASNs. */
423
+ nextLink?: string;
463
424
  }
464
425
 
465
- /**
466
- * Peering location is where connectivity could be established to the Microsoft Cloud Edge.
467
- */
468
- export interface PeeringLocation extends Resource {
426
+ /** The paginated list of peering registered prefixes. */
427
+ export interface PeeringRegisteredPrefixListResult {
428
+ /** The list of peering registered prefixes. */
429
+ value?: PeeringRegisteredPrefix[];
430
+ /** The link to fetch the next page of peering registered prefixes. */
431
+ nextLink?: string;
432
+ }
433
+
434
+ /** The resource tags. */
435
+ export interface ResourceTags {
436
+ /** Gets or sets the tags, a dictionary of descriptors arm object */
437
+ tags?: { [propertyName: string]: string };
438
+ }
439
+
440
+ /** The paginated list of received routes for the peering. */
441
+ export interface PeeringReceivedRouteListResult {
442
+ /** The list of received routes for the peering. */
443
+ value?: PeeringReceivedRoute[];
444
+ /** The link to fetch the next page of received routes for the peering. */
445
+ nextLink?: string;
446
+ }
447
+
448
+ /** The properties that define a received route. */
449
+ export interface PeeringReceivedRoute {
469
450
  /**
470
- * The kind of peering that the peering location supports. Possible values include: 'Direct',
471
- * 'Exchange'
451
+ * The prefix.
452
+ * NOTE: This property will not be serialized. It can only be populated by the server.
472
453
  */
473
- kind?: Kind;
454
+ readonly prefix?: string;
474
455
  /**
475
- * The properties that define a direct peering location.
456
+ * The next hop for the prefix.
457
+ * NOTE: This property will not be serialized. It can only be populated by the server.
476
458
  */
477
- direct?: PeeringLocationPropertiesDirect;
459
+ readonly nextHop?: string;
478
460
  /**
479
- * The properties that define an exchange peering location.
461
+ * The AS path for the prefix.
462
+ * NOTE: This property will not be serialized. It can only be populated by the server.
480
463
  */
481
- exchange?: PeeringLocationPropertiesExchange;
464
+ readonly asPath?: string;
482
465
  /**
483
- * The name of the peering location.
466
+ * The origin AS change information for the prefix.
467
+ * NOTE: This property will not be serialized. It can only be populated by the server.
484
468
  */
485
- peeringLocation?: string;
469
+ readonly originAsValidationState?: string;
486
470
  /**
487
- * The country in which the peering location exists.
471
+ * The RPKI validation state for the prefix and origin AS that's listed in the AS path.
472
+ * NOTE: This property will not be serialized. It can only be populated by the server.
488
473
  */
489
- country?: string;
474
+ readonly rpkiValidationState?: string;
490
475
  /**
491
- * The Azure region associated with the peering location.
476
+ * The authority which holds the Route Origin Authorization record for the prefix, if any.
477
+ * NOTE: This property will not be serialized. It can only be populated by the server.
492
478
  */
493
- azureRegion?: string;
479
+ readonly trustAnchor?: string;
480
+ /**
481
+ * The received timestamp associated with the prefix.
482
+ * NOTE: This property will not be serialized. It can only be populated by the server.
483
+ */
484
+ readonly receivedTimestamp?: string;
494
485
  }
495
486
 
496
- /**
497
- * The resource tags.
498
- */
499
- export interface ResourceTags {
487
+ /** The paginated list of [T]. */
488
+ export interface ConnectionMonitorTestListResult {
489
+ /** The list of [T]. */
490
+ value?: ConnectionMonitorTest[];
491
+ /** The link to fetch the next page of [T]. */
492
+ nextLink?: string;
493
+ }
494
+
495
+ /** The paginated list of peering service countries. */
496
+ export interface PeeringServiceCountryListResult {
497
+ /** The list of peering service countries. */
498
+ value?: PeeringServiceCountry[];
499
+ /** The link to fetch the next page of peering service countries. */
500
+ nextLink?: string;
501
+ }
502
+
503
+ /** The paginated list of peering service locations. */
504
+ export interface PeeringServiceLocationListResult {
505
+ /** The list of peering service locations. */
506
+ value?: PeeringServiceLocation[];
507
+ /** The link to fetch the next page of peering service locations. */
508
+ nextLink?: string;
509
+ }
510
+
511
+ /** The details of the event associated with a prefix. */
512
+ export interface PeeringServicePrefixEvent {
500
513
  /**
501
- * Gets or sets the tags, a dictionary of descriptors arm object
514
+ * The timestamp of the event associated with a prefix.
515
+ * NOTE: This property will not be serialized. It can only be populated by the server.
502
516
  */
503
- tags?: { [propertyName: string]: string };
517
+ readonly eventTimestamp?: Date;
518
+ /**
519
+ * The type of the event associated with a prefix.
520
+ * NOTE: This property will not be serialized. It can only be populated by the server.
521
+ */
522
+ readonly eventType?: string;
523
+ /**
524
+ * The summary of the event associated with a prefix.
525
+ * NOTE: This property will not be serialized. It can only be populated by the server.
526
+ */
527
+ readonly eventSummary?: string;
528
+ /**
529
+ * The level of the event associated with a prefix.
530
+ * NOTE: This property will not be serialized. It can only be populated by the server.
531
+ */
532
+ readonly eventLevel?: string;
533
+ /**
534
+ * The description of the event associated with a prefix.
535
+ * NOTE: This property will not be serialized. It can only be populated by the server.
536
+ */
537
+ readonly eventDescription?: string;
504
538
  }
505
539
 
506
- /**
507
- * PeeringService location
508
- */
509
- export interface PeeringServiceLocation extends Resource {
540
+ /** The paginated list of peering service prefixes. */
541
+ export interface PeeringServicePrefixListResult {
542
+ /** The list of peering service prefixes. */
543
+ value?: PeeringServicePrefix[];
544
+ /** The link to fetch the next page of peering service prefixes. */
545
+ nextLink?: string;
546
+ }
547
+
548
+ /** The paginated list of peering service providers. */
549
+ export interface PeeringServiceProviderListResult {
550
+ /** The list of peering service providers. */
551
+ value?: PeeringServiceProvider[];
552
+ /** The link to fetch the next page of peering service providers. */
553
+ nextLink?: string;
554
+ }
555
+
556
+ /** The SKU that defines the type of the peering service. */
557
+ export interface PeeringServiceSku {
558
+ /** The name of the peering service SKU. */
559
+ name?: string;
560
+ }
561
+
562
+ /** The properties that define a Log Analytics Workspace. */
563
+ export interface LogAnalyticsWorkspaceProperties {
510
564
  /**
511
- * Country of the customer
565
+ * The Workspace ID.
566
+ * NOTE: This property will not be serialized. It can only be populated by the server.
512
567
  */
513
- country?: string;
568
+ readonly workspaceID?: string;
514
569
  /**
515
- * State of the customer
570
+ * The Workspace Key.
571
+ * NOTE: This property will not be serialized. It can only be populated by the server.
516
572
  */
517
- state?: string;
573
+ readonly key?: string;
518
574
  /**
519
- * Azure region for the location
575
+ * The list of connected agents.
576
+ * NOTE: This property will not be serialized. It can only be populated by the server.
520
577
  */
521
- azureRegion?: string;
578
+ readonly connectedAgents?: string[];
522
579
  }
523
580
 
524
- /**
525
- * The peering service prefix class.
526
- */
527
- export interface PeeringServicePrefix extends Resource {
581
+ /** The paginated list of peering services. */
582
+ export interface PeeringServiceListResult {
583
+ /** The list of peering services. */
584
+ value?: PeeringService[];
585
+ /** The link to fetch the next page of peering services. */
586
+ nextLink?: string;
587
+ }
588
+
589
+ /** The CDN peering prefix */
590
+ export type CdnPeeringPrefix = Resource & {
528
591
  /**
529
- * Valid route prefix
592
+ * The prefix.
593
+ * NOTE: This property will not be serialized. It can only be populated by the server.
530
594
  */
531
- prefix?: string;
595
+ readonly prefix?: string;
532
596
  /**
533
- * The prefix validation state. Possible values include: 'None', 'Invalid', 'Verified', 'Failed',
534
- * 'Pending', 'Unknown'
597
+ * The Azure region.
598
+ * NOTE: This property will not be serialized. It can only be populated by the server.
535
599
  */
536
- prefixValidationState?: PrefixValidationState;
600
+ readonly azureRegion?: string;
537
601
  /**
538
- * The prefix learned type. Possible values include: 'None', 'ViaPartner', 'ViaSession'
602
+ * The Azure service.
603
+ * NOTE: This property will not be serialized. It can only be populated by the server.
539
604
  */
540
- learnedType?: LearnedType;
605
+ readonly azureService?: string;
541
606
  /**
542
- * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating',
543
- * 'Deleting', 'Failed'
544
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
607
+ * The flag that indicates whether or not this is the primary region.
608
+ * NOTE: This property will not be serialized. It can only be populated by the server.
545
609
  */
546
- readonly provisioningState?: ProvisioningState;
547
- }
610
+ readonly isPrimaryRegion?: boolean;
611
+ /**
612
+ * The BGP Community
613
+ * NOTE: This property will not be serialized. It can only be populated by the server.
614
+ */
615
+ readonly bgpCommunity?: string;
616
+ };
548
617
 
549
- /**
550
- * PeeringService provider
551
- */
552
- export interface PeeringServiceProvider extends Resource {
618
+ /** Peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location. */
619
+ export type Peering = Resource & {
620
+ /** The SKU that defines the tier and kind of the peering. */
621
+ sku: PeeringSku;
622
+ /** The kind of the peering. */
623
+ kind: Kind;
624
+ /** The location of the resource. */
625
+ location: string;
626
+ /** The resource tags. */
627
+ tags?: { [propertyName: string]: string };
628
+ /** The properties that define a direct peering. */
629
+ direct?: PeeringPropertiesDirect;
630
+ /** The properties that define an exchange peering. */
631
+ exchange?: PeeringPropertiesExchange;
632
+ /** The location of the peering. */
633
+ peeringLocation?: string;
553
634
  /**
554
- * The name of the service provider.
635
+ * The provisioning state of the resource.
636
+ * NOTE: This property will not be serialized. It can only be populated by the server.
555
637
  */
556
- serviceProviderName?: string;
557
- }
638
+ readonly provisioningState?: ProvisioningState;
639
+ };
558
640
 
559
- /**
560
- * Peering Service
561
- */
562
- export interface PeeringService extends Resource {
641
+ /** The essential information related to the peer's ASN. */
642
+ export type PeerAsn = Resource & {
643
+ /** The Autonomous System Number (ASN) of the peer. */
644
+ peerAsn?: number;
645
+ /** The contact details of the peer. */
646
+ peerContactDetail?: ContactDetail[];
647
+ /** The name of the peer. */
648
+ peerName?: string;
563
649
  /**
564
- * The PeeringServiceLocation of the Customer.
650
+ * The validation state of the ASN associated with the peer.
651
+ * NOTE: This property will not be serialized. It can only be populated by the server.
565
652
  */
566
- peeringServiceLocation?: string;
653
+ readonly validationState?: ValidationState;
567
654
  /**
568
- * The MAPS Provider Name.
655
+ * The error message for the validation state
656
+ * NOTE: This property will not be serialized. It can only be populated by the server.
569
657
  */
570
- peeringServiceProvider?: string;
658
+ readonly errorMessage?: string;
659
+ };
660
+
661
+ /** Peering location is where connectivity could be established to the Microsoft Cloud Edge. */
662
+ export type PeeringLocation = Resource & {
663
+ /** The kind of peering that the peering location supports. */
664
+ kind?: Kind;
665
+ /** The properties that define a direct peering location. */
666
+ direct?: PeeringLocationPropertiesDirect;
667
+ /** The properties that define an exchange peering location. */
668
+ exchange?: PeeringLocationPropertiesExchange;
669
+ /** The name of the peering location. */
670
+ peeringLocation?: string;
671
+ /** The country in which the peering location exists. */
672
+ country?: string;
673
+ /** The Azure region associated with the peering location. */
674
+ azureRegion?: string;
675
+ };
676
+
677
+ /** The customer's ASN that is registered by the peering service provider. */
678
+ export type PeeringRegisteredAsn = Resource & {
679
+ /** The customer's ASN from which traffic originates. */
680
+ asn?: number;
681
+ /**
682
+ * The peering service prefix key that is to be shared with the customer.
683
+ * NOTE: This property will not be serialized. It can only be populated by the server.
684
+ */
685
+ readonly peeringServicePrefixKey?: string;
571
686
  /**
572
- * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating',
573
- * 'Deleting', 'Failed'
574
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
687
+ * The provisioning state of the resource.
688
+ * NOTE: This property will not be serialized. It can only be populated by the server.
575
689
  */
576
690
  readonly provisioningState?: ProvisioningState;
691
+ };
692
+
693
+ /** The customer's prefix that is registered by the peering service provider. */
694
+ export type PeeringRegisteredPrefix = Resource & {
695
+ /** The customer's prefix from which traffic originates. */
696
+ prefix?: string;
577
697
  /**
578
- * The location of the resource.
698
+ * The prefix validation state.
699
+ * NOTE: This property will not be serialized. It can only be populated by the server.
579
700
  */
580
- location: string;
701
+ readonly prefixValidationState?: PrefixValidationState;
581
702
  /**
582
- * The resource tags.
703
+ * The peering service prefix key that is to be shared with the customer.
704
+ * NOTE: This property will not be serialized. It can only be populated by the server.
583
705
  */
584
- tags?: { [propertyName: string]: string };
585
- }
586
-
587
- /**
588
- * The error response that indicates why an operation has failed.
589
- */
590
- export interface ErrorResponse {
706
+ readonly peeringServicePrefixKey?: string;
591
707
  /**
592
- * The error code.
593
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
708
+ * The error message associated with the validation state, if any.
709
+ * NOTE: This property will not be serialized. It can only be populated by the server.
594
710
  */
595
- readonly code?: string;
711
+ readonly errorMessage?: string;
596
712
  /**
597
- * The error message.
598
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
713
+ * The provisioning state of the resource.
714
+ * NOTE: This property will not be serialized. It can only be populated by the server.
599
715
  */
600
- readonly message?: string;
601
- }
716
+ readonly provisioningState?: ProvisioningState;
717
+ };
602
718
 
603
- /**
604
- * Optional Parameters.
605
- */
606
- export interface PeeringManagementClientCheckServiceProviderAvailabilityOptionalParams extends msRest.RequestOptionsBase {
719
+ /** The Connection Monitor Test class. */
720
+ export type ConnectionMonitorTest = Resource & {
721
+ /** The Connection Monitor test source agent */
722
+ sourceAgent?: string;
723
+ /** The Connection Monitor test destination */
724
+ destination?: string;
725
+ /** The Connection Monitor test destination port */
726
+ destinationPort?: number;
727
+ /** The Connection Monitor test frequency in seconds */
728
+ testFrequencyInSec?: number;
607
729
  /**
608
- * Gets or sets the PeeringServiceLocation
730
+ * The flag that indicates if the Connection Monitor test is successful or not.
731
+ * NOTE: This property will not be serialized. It can only be populated by the server.
609
732
  */
610
- peeringServiceLocation?: string;
733
+ readonly isTestSuccessful?: boolean;
611
734
  /**
612
- * Gets or sets the PeeringServiceProvider
735
+ * The path representing the Connection Monitor test.
736
+ * NOTE: This property will not be serialized. It can only be populated by the server.
613
737
  */
614
- peeringServiceProvider?: string;
615
- }
616
-
617
- /**
618
- * Optional Parameters.
619
- */
620
- export interface PeeringLocationsListOptionalParams extends msRest.RequestOptionsBase {
738
+ readonly path?: string[];
621
739
  /**
622
- * The type of direct peering. Possible values include: 'Edge', 'Transit', 'Cdn', 'Internal'
740
+ * The provisioning state of the resource.
741
+ * NOTE: This property will not be serialized. It can only be populated by the server.
623
742
  */
624
- directPeeringType?: DirectPeeringType1;
625
- }
743
+ readonly provisioningState?: ProvisioningState;
744
+ };
626
745
 
627
- /**
628
- * Optional Parameters.
629
- */
630
- export interface PeeringsUpdateOptionalParams extends msRest.RequestOptionsBase {
746
+ /** The peering service country. */
747
+ export type PeeringServiceCountry = Resource & {};
748
+
749
+ /** The peering service location. */
750
+ export type PeeringServiceLocation = Resource & {
751
+ /** Country of the customer */
752
+ country?: string;
753
+ /** State of the customer */
754
+ state?: string;
755
+ /** Azure region for the location */
756
+ azureRegion?: string;
757
+ };
758
+
759
+ /** The peering service prefix class. */
760
+ export type PeeringServicePrefix = Resource & {
761
+ /** The prefix from which your traffic originates. */
762
+ prefix?: string;
631
763
  /**
632
- * Gets or sets the tags, a dictionary of descriptors arm object
764
+ * The prefix validation state
765
+ * NOTE: This property will not be serialized. It can only be populated by the server.
633
766
  */
634
- tags?: { [propertyName: string]: string };
635
- }
636
-
637
- /**
638
- * Optional Parameters.
639
- */
640
- export interface PeeringServicesUpdateOptionalParams extends msRest.RequestOptionsBase {
767
+ readonly prefixValidationState?: PrefixValidationState;
768
+ /**
769
+ * The prefix learned type
770
+ * NOTE: This property will not be serialized. It can only be populated by the server.
771
+ */
772
+ readonly learnedType?: LearnedType;
773
+ /**
774
+ * The error message for validation state
775
+ * NOTE: This property will not be serialized. It can only be populated by the server.
776
+ */
777
+ readonly errorMessage?: string;
641
778
  /**
642
- * Gets or sets the tags, a dictionary of descriptors arm object
779
+ * The list of events for peering service prefix
780
+ * NOTE: This property will not be serialized. It can only be populated by the server.
643
781
  */
782
+ readonly events?: PeeringServicePrefixEvent[];
783
+ /** The peering service prefix key */
784
+ peeringServicePrefixKey?: string;
785
+ /**
786
+ * The provisioning state of the resource.
787
+ * NOTE: This property will not be serialized. It can only be populated by the server.
788
+ */
789
+ readonly provisioningState?: ProvisioningState;
790
+ };
791
+
792
+ /** PeeringService provider */
793
+ export type PeeringServiceProvider = Resource & {
794
+ /** The name of the service provider. */
795
+ serviceProviderName?: string;
796
+ /** The list of locations at which the service provider peers with Microsoft. */
797
+ peeringLocations?: string[];
798
+ };
799
+
800
+ /** Peering Service */
801
+ export type PeeringService = Resource & {
802
+ /** The SKU that defines the type of the peering service. */
803
+ sku?: PeeringServiceSku;
804
+ /** The location of the resource. */
805
+ location: string;
806
+ /** The resource tags. */
644
807
  tags?: { [propertyName: string]: string };
808
+ /** The location (state/province) of the customer. */
809
+ peeringServiceLocation?: string;
810
+ /** The name of the service provider. */
811
+ peeringServiceProvider?: string;
812
+ /**
813
+ * The provisioning state of the resource.
814
+ * NOTE: This property will not be serialized. It can only be populated by the server.
815
+ */
816
+ readonly provisioningState?: ProvisioningState;
817
+ /** The primary peering (Microsoft/service provider) location to be used for customer traffic. */
818
+ providerPrimaryPeeringLocation?: string;
819
+ /** The backup peering (Microsoft/service provider) location to be used for customer traffic. */
820
+ providerBackupPeeringLocation?: string;
821
+ /** The Log Analytics Workspace Properties */
822
+ logAnalyticsWorkspaceProperties?: LogAnalyticsWorkspaceProperties;
823
+ };
824
+
825
+ /** Known values of {@link Enum0} that the service accepts. */
826
+ export enum KnownEnum0 {
827
+ Available = "Available",
828
+ Unavailable = "Unavailable"
645
829
  }
646
830
 
647
831
  /**
648
- * An interface representing PeeringManagementClientOptions.
832
+ * Defines values for Enum0. \
833
+ * {@link KnownEnum0} can be used interchangeably with Enum0,
834
+ * this enum contains the known values that the service supports.
835
+ * ### Known values supported by the service
836
+ * **Available** \
837
+ * **Unavailable**
649
838
  */
650
- export interface PeeringManagementClientOptions extends AzureServiceClientOptions {
651
- baseUri?: string;
839
+ export type Enum0 = string;
840
+
841
+ /** Known values of {@link LegacyPeeringsKind} that the service accepts. */
842
+ export enum KnownLegacyPeeringsKind {
843
+ Direct = "Direct",
844
+ Exchange = "Exchange"
652
845
  }
653
846
 
654
847
  /**
655
- * @interface
656
- * The paginated list of peerings.
657
- * @extends Array<Peering>
848
+ * Defines values for LegacyPeeringsKind. \
849
+ * {@link KnownLegacyPeeringsKind} can be used interchangeably with LegacyPeeringsKind,
850
+ * this enum contains the known values that the service supports.
851
+ * ### Known values supported by the service
852
+ * **Direct** \
853
+ * **Exchange**
658
854
  */
659
- export interface PeeringListResult extends Array<Peering> {
660
- /**
661
- * The link to fetch the next page of peerings.
662
- */
663
- nextLink?: string;
855
+ export type LegacyPeeringsKind = string;
856
+
857
+ /** Known values of {@link Tier} that the service accepts. */
858
+ export enum KnownTier {
859
+ Basic = "Basic",
860
+ Premium = "Premium"
664
861
  }
665
862
 
666
863
  /**
667
- * @interface
668
- * The paginated list of peering API operations.
669
- * @extends Array<Operation>
864
+ * Defines values for Tier. \
865
+ * {@link KnownTier} can be used interchangeably with Tier,
866
+ * this enum contains the known values that the service supports.
867
+ * ### Known values supported by the service
868
+ * **Basic** \
869
+ * **Premium**
670
870
  */
671
- export interface OperationListResult extends Array<Operation> {
672
- /**
673
- * The link to fetch the next page of peering API operations.
674
- */
675
- nextLink?: string;
871
+ export type Tier = string;
872
+
873
+ /** Known values of {@link Family} that the service accepts. */
874
+ export enum KnownFamily {
875
+ Direct = "Direct",
876
+ Exchange = "Exchange"
676
877
  }
677
878
 
678
879
  /**
679
- * @interface
680
- * The paginated list of peer ASNs.
681
- * @extends Array<PeerAsn>
880
+ * Defines values for Family. \
881
+ * {@link KnownFamily} can be used interchangeably with Family,
882
+ * this enum contains the known values that the service supports.
883
+ * ### Known values supported by the service
884
+ * **Direct** \
885
+ * **Exchange**
682
886
  */
683
- export interface PeerAsnListResult extends Array<PeerAsn> {
684
- /**
685
- * The link to fetch the next page of peer ASNs.
686
- */
687
- nextLink?: string;
887
+ export type Family = string;
888
+
889
+ /** Known values of {@link Size} that the service accepts. */
890
+ export enum KnownSize {
891
+ Free = "Free",
892
+ Metered = "Metered",
893
+ Unlimited = "Unlimited"
688
894
  }
689
895
 
690
896
  /**
691
- * @interface
692
- * The paginated list of peering locations.
693
- * @extends Array<PeeringLocation>
897
+ * Defines values for Size. \
898
+ * {@link KnownSize} can be used interchangeably with Size,
899
+ * this enum contains the known values that the service supports.
900
+ * ### Known values supported by the service
901
+ * **Free** \
902
+ * **Metered** \
903
+ * **Unlimited**
694
904
  */
695
- export interface PeeringLocationListResult extends Array<PeeringLocation> {
696
- /**
697
- * The link to fetch the next page of peering locations.
698
- */
699
- nextLink?: string;
905
+ export type Size = string;
906
+
907
+ /** Known values of {@link Kind} that the service accepts. */
908
+ export enum KnownKind {
909
+ Direct = "Direct",
910
+ Exchange = "Exchange"
700
911
  }
701
912
 
702
913
  /**
703
- * @interface
704
- * The paginated list of peering service locations.
705
- * @extends Array<PeeringServiceLocation>
914
+ * Defines values for Kind. \
915
+ * {@link KnownKind} can be used interchangeably with Kind,
916
+ * this enum contains the known values that the service supports.
917
+ * ### Known values supported by the service
918
+ * **Direct** \
919
+ * **Exchange**
706
920
  */
707
- export interface PeeringServiceLocationListResult extends Array<PeeringServiceLocation> {
708
- /**
709
- * The link to fetch the next page of peering service locations.
710
- */
711
- nextLink?: string;
921
+ export type Kind = string;
922
+
923
+ /** Known values of {@link SessionAddressProvider} that the service accepts. */
924
+ export enum KnownSessionAddressProvider {
925
+ Microsoft = "Microsoft",
926
+ Peer = "Peer"
712
927
  }
713
928
 
714
929
  /**
715
- * @interface
716
- * The paginated list of [T].
717
- * @extends Array<PeeringServicePrefix>
718
- */
719
- export interface PeeringServicePrefixListResult extends Array<PeeringServicePrefix> {
720
- /**
721
- * The link to fetch the next page of [T].
722
- */
723
- nextLink?: string;
930
+ * Defines values for SessionAddressProvider. \
931
+ * {@link KnownSessionAddressProvider} can be used interchangeably with SessionAddressProvider,
932
+ * this enum contains the known values that the service supports.
933
+ * ### Known values supported by the service
934
+ * **Microsoft** \
935
+ * **Peer**
936
+ */
937
+ export type SessionAddressProvider = string;
938
+
939
+ /** Known values of {@link ConnectionState} that the service accepts. */
940
+ export enum KnownConnectionState {
941
+ None = "None",
942
+ PendingApproval = "PendingApproval",
943
+ Approved = "Approved",
944
+ ProvisioningStarted = "ProvisioningStarted",
945
+ ProvisioningFailed = "ProvisioningFailed",
946
+ ProvisioningCompleted = "ProvisioningCompleted",
947
+ Validating = "Validating",
948
+ Active = "Active"
724
949
  }
725
950
 
726
951
  /**
727
- * @interface
728
- * The paginated list of peering service providers.
729
- * @extends Array<PeeringServiceProvider>
730
- */
731
- export interface PeeringServiceProviderListResult extends Array<PeeringServiceProvider> {
732
- /**
733
- * The link to fetch the next page of peering service providers.
734
- */
735
- nextLink?: string;
952
+ * Defines values for ConnectionState. \
953
+ * {@link KnownConnectionState} can be used interchangeably with ConnectionState,
954
+ * this enum contains the known values that the service supports.
955
+ * ### Known values supported by the service
956
+ * **None** \
957
+ * **PendingApproval** \
958
+ * **Approved** \
959
+ * **ProvisioningStarted** \
960
+ * **ProvisioningFailed** \
961
+ * **ProvisioningCompleted** \
962
+ * **Validating** \
963
+ * **Active**
964
+ */
965
+ export type ConnectionState = string;
966
+
967
+ /** Known values of {@link SessionStateV4} that the service accepts. */
968
+ export enum KnownSessionStateV4 {
969
+ None = "None",
970
+ Idle = "Idle",
971
+ Connect = "Connect",
972
+ Active = "Active",
973
+ OpenSent = "OpenSent",
974
+ OpenConfirm = "OpenConfirm",
975
+ OpenReceived = "OpenReceived",
976
+ Established = "Established",
977
+ PendingAdd = "PendingAdd",
978
+ PendingUpdate = "PendingUpdate",
979
+ PendingRemove = "PendingRemove"
736
980
  }
737
981
 
738
982
  /**
739
- * @interface
740
- * The paginated list of peering services.
741
- * @extends Array<PeeringService>
742
- */
743
- export interface PeeringServiceListResult extends Array<PeeringService> {
744
- /**
745
- * The link to fetch the next page of peering services.
746
- */
747
- nextLink?: string;
983
+ * Defines values for SessionStateV4. \
984
+ * {@link KnownSessionStateV4} can be used interchangeably with SessionStateV4,
985
+ * this enum contains the known values that the service supports.
986
+ * ### Known values supported by the service
987
+ * **None** \
988
+ * **Idle** \
989
+ * **Connect** \
990
+ * **Active** \
991
+ * **OpenSent** \
992
+ * **OpenConfirm** \
993
+ * **OpenReceived** \
994
+ * **Established** \
995
+ * **PendingAdd** \
996
+ * **PendingUpdate** \
997
+ * **PendingRemove**
998
+ */
999
+ export type SessionStateV4 = string;
1000
+
1001
+ /** Known values of {@link SessionStateV6} that the service accepts. */
1002
+ export enum KnownSessionStateV6 {
1003
+ None = "None",
1004
+ Idle = "Idle",
1005
+ Connect = "Connect",
1006
+ Active = "Active",
1007
+ OpenSent = "OpenSent",
1008
+ OpenConfirm = "OpenConfirm",
1009
+ OpenReceived = "OpenReceived",
1010
+ Established = "Established",
1011
+ PendingAdd = "PendingAdd",
1012
+ PendingUpdate = "PendingUpdate",
1013
+ PendingRemove = "PendingRemove"
748
1014
  }
749
1015
 
750
1016
  /**
751
- * Defines values for Name.
752
- * Possible values include: 'Basic_Exchange_Free', 'Basic_Direct_Free', 'Premium_Direct_Free',
753
- * 'Premium_Exchange_Metered', 'Premium_Direct_Metered', 'Premium_Direct_Unlimited'
754
- * @readonly
755
- * @enum {string}
756
- */
757
- export type Name = 'Basic_Exchange_Free' | 'Basic_Direct_Free' | 'Premium_Direct_Free' | 'Premium_Exchange_Metered' | 'Premium_Direct_Metered' | 'Premium_Direct_Unlimited';
1017
+ * Defines values for SessionStateV6. \
1018
+ * {@link KnownSessionStateV6} can be used interchangeably with SessionStateV6,
1019
+ * this enum contains the known values that the service supports.
1020
+ * ### Known values supported by the service
1021
+ * **None** \
1022
+ * **Idle** \
1023
+ * **Connect** \
1024
+ * **Active** \
1025
+ * **OpenSent** \
1026
+ * **OpenConfirm** \
1027
+ * **OpenReceived** \
1028
+ * **Established** \
1029
+ * **PendingAdd** \
1030
+ * **PendingUpdate** \
1031
+ * **PendingRemove**
1032
+ */
1033
+ export type SessionStateV6 = string;
1034
+
1035
+ /** Known values of {@link DirectPeeringType} that the service accepts. */
1036
+ export enum KnownDirectPeeringType {
1037
+ Edge = "Edge",
1038
+ Transit = "Transit",
1039
+ Cdn = "Cdn",
1040
+ Internal = "Internal",
1041
+ Ix = "Ix",
1042
+ IxRs = "IxRs",
1043
+ Voice = "Voice"
1044
+ }
758
1045
 
759
1046
  /**
760
- * Defines values for Tier.
761
- * Possible values include: 'Basic', 'Premium'
762
- * @readonly
763
- * @enum {string}
764
- */
765
- export type Tier = 'Basic' | 'Premium';
1047
+ * Defines values for DirectPeeringType. \
1048
+ * {@link KnownDirectPeeringType} can be used interchangeably with DirectPeeringType,
1049
+ * this enum contains the known values that the service supports.
1050
+ * ### Known values supported by the service
1051
+ * **Edge** \
1052
+ * **Transit** \
1053
+ * **Cdn** \
1054
+ * **Internal** \
1055
+ * **Ix** \
1056
+ * **IxRs** \
1057
+ * **Voice**
1058
+ */
1059
+ export type DirectPeeringType = string;
1060
+
1061
+ /** Known values of {@link ProvisioningState} that the service accepts. */
1062
+ export enum KnownProvisioningState {
1063
+ Succeeded = "Succeeded",
1064
+ Updating = "Updating",
1065
+ Deleting = "Deleting",
1066
+ Failed = "Failed"
1067
+ }
766
1068
 
767
1069
  /**
768
- * Defines values for Family.
769
- * Possible values include: 'Direct', 'Exchange'
770
- * @readonly
771
- * @enum {string}
1070
+ * Defines values for ProvisioningState. \
1071
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1072
+ * this enum contains the known values that the service supports.
1073
+ * ### Known values supported by the service
1074
+ * **Succeeded** \
1075
+ * **Updating** \
1076
+ * **Deleting** \
1077
+ * **Failed**
772
1078
  */
773
- export type Family = 'Direct' | 'Exchange';
1079
+ export type ProvisioningState = string;
774
1080
 
775
- /**
776
- * Defines values for Size.
777
- * Possible values include: 'Free', 'Metered', 'Unlimited'
778
- * @readonly
779
- * @enum {string}
780
- */
781
- export type Size = 'Free' | 'Metered' | 'Unlimited';
1081
+ /** Known values of {@link LookingGlassCommand} that the service accepts. */
1082
+ export enum KnownLookingGlassCommand {
1083
+ Traceroute = "Traceroute",
1084
+ Ping = "Ping",
1085
+ BgpRoute = "BgpRoute"
1086
+ }
782
1087
 
783
1088
  /**
784
- * Defines values for Kind.
785
- * Possible values include: 'Direct', 'Exchange'
786
- * @readonly
787
- * @enum {string}
1089
+ * Defines values for LookingGlassCommand. \
1090
+ * {@link KnownLookingGlassCommand} can be used interchangeably with LookingGlassCommand,
1091
+ * this enum contains the known values that the service supports.
1092
+ * ### Known values supported by the service
1093
+ * **Traceroute** \
1094
+ * **Ping** \
1095
+ * **BgpRoute**
788
1096
  */
789
- export type Kind = 'Direct' | 'Exchange';
1097
+ export type LookingGlassCommand = string;
790
1098
 
791
- /**
792
- * Defines values for SessionAddressProvider.
793
- * Possible values include: 'Microsoft', 'Peer'
794
- * @readonly
795
- * @enum {string}
796
- */
797
- export type SessionAddressProvider = 'Microsoft' | 'Peer';
1099
+ /** Known values of {@link LookingGlassSourceType} that the service accepts. */
1100
+ export enum KnownLookingGlassSourceType {
1101
+ EdgeSite = "EdgeSite",
1102
+ AzureRegion = "AzureRegion"
1103
+ }
798
1104
 
799
1105
  /**
800
- * Defines values for ConnectionState.
801
- * Possible values include: 'None', 'PendingApproval', 'Approved', 'ProvisioningStarted',
802
- * 'ProvisioningFailed', 'ProvisioningCompleted', 'Validating', 'Active'
803
- * @readonly
804
- * @enum {string}
1106
+ * Defines values for LookingGlassSourceType. \
1107
+ * {@link KnownLookingGlassSourceType} can be used interchangeably with LookingGlassSourceType,
1108
+ * this enum contains the known values that the service supports.
1109
+ * ### Known values supported by the service
1110
+ * **EdgeSite** \
1111
+ * **AzureRegion**
805
1112
  */
806
- export type ConnectionState = 'None' | 'PendingApproval' | 'Approved' | 'ProvisioningStarted' | 'ProvisioningFailed' | 'ProvisioningCompleted' | 'Validating' | 'Active';
1113
+ export type LookingGlassSourceType = string;
807
1114
 
808
- /**
809
- * Defines values for SessionStateV4.
810
- * Possible values include: 'None', 'Idle', 'Connect', 'Active', 'OpenSent', 'OpenConfirm',
811
- * 'OpenReceived', 'Established', 'PendingAdd', 'PendingUpdate', 'PendingRemove'
812
- * @readonly
813
- * @enum {string}
814
- */
815
- export type SessionStateV4 = 'None' | 'Idle' | 'Connect' | 'Active' | 'OpenSent' | 'OpenConfirm' | 'OpenReceived' | 'Established' | 'PendingAdd' | 'PendingUpdate' | 'PendingRemove';
1115
+ /** Known values of {@link Command} that the service accepts. */
1116
+ export enum KnownCommand {
1117
+ Traceroute = "Traceroute",
1118
+ Ping = "Ping",
1119
+ BgpRoute = "BgpRoute"
1120
+ }
816
1121
 
817
1122
  /**
818
- * Defines values for SessionStateV6.
819
- * Possible values include: 'None', 'Idle', 'Connect', 'Active', 'OpenSent', 'OpenConfirm',
820
- * 'OpenReceived', 'Established', 'PendingAdd', 'PendingUpdate', 'PendingRemove'
821
- * @readonly
822
- * @enum {string}
823
- */
824
- export type SessionStateV6 = 'None' | 'Idle' | 'Connect' | 'Active' | 'OpenSent' | 'OpenConfirm' | 'OpenReceived' | 'Established' | 'PendingAdd' | 'PendingUpdate' | 'PendingRemove';
1123
+ * Defines values for Command. \
1124
+ * {@link KnownCommand} can be used interchangeably with Command,
1125
+ * this enum contains the known values that the service supports.
1126
+ * ### Known values supported by the service
1127
+ * **Traceroute** \
1128
+ * **Ping** \
1129
+ * **BgpRoute**
1130
+ */
1131
+ export type Command = string;
1132
+
1133
+ /** Known values of {@link Role} that the service accepts. */
1134
+ export enum KnownRole {
1135
+ Noc = "Noc",
1136
+ Policy = "Policy",
1137
+ Technical = "Technical",
1138
+ Service = "Service",
1139
+ Escalation = "Escalation",
1140
+ Other = "Other"
1141
+ }
825
1142
 
826
1143
  /**
827
- * Defines values for DirectPeeringType.
828
- * Possible values include: 'Edge', 'Transit', 'Cdn', 'Internal'
829
- * @readonly
830
- * @enum {string}
831
- */
832
- export type DirectPeeringType = 'Edge' | 'Transit' | 'Cdn' | 'Internal';
1144
+ * Defines values for Role. \
1145
+ * {@link KnownRole} can be used interchangeably with Role,
1146
+ * this enum contains the known values that the service supports.
1147
+ * ### Known values supported by the service
1148
+ * **Noc** \
1149
+ * **Policy** \
1150
+ * **Technical** \
1151
+ * **Service** \
1152
+ * **Escalation** \
1153
+ * **Other**
1154
+ */
1155
+ export type Role = string;
1156
+
1157
+ /** Known values of {@link ValidationState} that the service accepts. */
1158
+ export enum KnownValidationState {
1159
+ None = "None",
1160
+ Pending = "Pending",
1161
+ Approved = "Approved",
1162
+ Failed = "Failed"
1163
+ }
833
1164
 
834
1165
  /**
835
- * Defines values for ProvisioningState.
836
- * Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
837
- * @readonly
838
- * @enum {string}
1166
+ * Defines values for ValidationState. \
1167
+ * {@link KnownValidationState} can be used interchangeably with ValidationState,
1168
+ * this enum contains the known values that the service supports.
1169
+ * ### Known values supported by the service
1170
+ * **None** \
1171
+ * **Pending** \
1172
+ * **Approved** \
1173
+ * **Failed**
839
1174
  */
840
- export type ProvisioningState = 'Succeeded' | 'Updating' | 'Deleting' | 'Failed';
1175
+ export type ValidationState = string;
841
1176
 
842
- /**
843
- * Defines values for ValidationState.
844
- * Possible values include: 'None', 'Pending', 'Approved', 'Failed'
845
- * @readonly
846
- * @enum {string}
847
- */
848
- export type ValidationState = 'None' | 'Pending' | 'Approved' | 'Failed';
1177
+ /** Known values of {@link PeeringLocationsKind} that the service accepts. */
1178
+ export enum KnownPeeringLocationsKind {
1179
+ Direct = "Direct",
1180
+ Exchange = "Exchange"
1181
+ }
849
1182
 
850
1183
  /**
851
- * Defines values for PrefixValidationState.
852
- * Possible values include: 'None', 'Invalid', 'Verified', 'Failed', 'Pending', 'Unknown'
853
- * @readonly
854
- * @enum {string}
855
- */
856
- export type PrefixValidationState = 'None' | 'Invalid' | 'Verified' | 'Failed' | 'Pending' | 'Unknown';
1184
+ * Defines values for PeeringLocationsKind. \
1185
+ * {@link KnownPeeringLocationsKind} can be used interchangeably with PeeringLocationsKind,
1186
+ * this enum contains the known values that the service supports.
1187
+ * ### Known values supported by the service
1188
+ * **Direct** \
1189
+ * **Exchange**
1190
+ */
1191
+ export type PeeringLocationsKind = string;
1192
+
1193
+ /** Known values of {@link PeeringLocationsDirectPeeringType} that the service accepts. */
1194
+ export enum KnownPeeringLocationsDirectPeeringType {
1195
+ Edge = "Edge",
1196
+ Transit = "Transit",
1197
+ Cdn = "Cdn",
1198
+ Internal = "Internal",
1199
+ Ix = "Ix",
1200
+ IxRs = "IxRs",
1201
+ Voice = "Voice"
1202
+ }
857
1203
 
858
1204
  /**
859
- * Defines values for LearnedType.
860
- * Possible values include: 'None', 'ViaPartner', 'ViaSession'
861
- * @readonly
862
- * @enum {string}
863
- */
864
- export type LearnedType = 'None' | 'ViaPartner' | 'ViaSession';
1205
+ * Defines values for PeeringLocationsDirectPeeringType. \
1206
+ * {@link KnownPeeringLocationsDirectPeeringType} can be used interchangeably with PeeringLocationsDirectPeeringType,
1207
+ * this enum contains the known values that the service supports.
1208
+ * ### Known values supported by the service
1209
+ * **Edge** \
1210
+ * **Transit** \
1211
+ * **Cdn** \
1212
+ * **Internal** \
1213
+ * **Ix** \
1214
+ * **IxRs** \
1215
+ * **Voice**
1216
+ */
1217
+ export type PeeringLocationsDirectPeeringType = string;
1218
+
1219
+ /** Known values of {@link PrefixValidationState} that the service accepts. */
1220
+ export enum KnownPrefixValidationState {
1221
+ None = "None",
1222
+ Invalid = "Invalid",
1223
+ Verified = "Verified",
1224
+ Failed = "Failed",
1225
+ Pending = "Pending",
1226
+ Warning = "Warning",
1227
+ Unknown = "Unknown"
1228
+ }
865
1229
 
866
1230
  /**
867
- * Defines values for DirectPeeringType1.
868
- * Possible values include: 'Edge', 'Transit', 'Cdn', 'Internal'
869
- * @readonly
870
- * @enum {string}
871
- */
872
- export type DirectPeeringType1 = 'Edge' | 'Transit' | 'Cdn' | 'Internal';
1231
+ * Defines values for PrefixValidationState. \
1232
+ * {@link KnownPrefixValidationState} can be used interchangeably with PrefixValidationState,
1233
+ * this enum contains the known values that the service supports.
1234
+ * ### Known values supported by the service
1235
+ * **None** \
1236
+ * **Invalid** \
1237
+ * **Verified** \
1238
+ * **Failed** \
1239
+ * **Pending** \
1240
+ * **Warning** \
1241
+ * **Unknown**
1242
+ */
1243
+ export type PrefixValidationState = string;
1244
+
1245
+ /** Known values of {@link LearnedType} that the service accepts. */
1246
+ export enum KnownLearnedType {
1247
+ None = "None",
1248
+ ViaServiceProvider = "ViaServiceProvider",
1249
+ ViaSession = "ViaSession"
1250
+ }
873
1251
 
874
1252
  /**
875
- * Defines values for CheckServiceProviderAvailabilityOKResponse.
876
- * Possible values include: 'Available', 'UnAvailable'
877
- * @readonly
878
- * @enum {string}
1253
+ * Defines values for LearnedType. \
1254
+ * {@link KnownLearnedType} can be used interchangeably with LearnedType,
1255
+ * this enum contains the known values that the service supports.
1256
+ * ### Known values supported by the service
1257
+ * **None** \
1258
+ * **ViaServiceProvider** \
1259
+ * **ViaSession**
879
1260
  */
880
- export type CheckServiceProviderAvailabilityOKResponse = 'Available' | 'UnAvailable';
1261
+ export type LearnedType = string;
881
1262
 
882
- /**
883
- * Defines values for Kind1.
884
- * Possible values include: 'Direct', 'Exchange'
885
- * @readonly
886
- * @enum {string}
887
- */
888
- export type Kind1 = 'Direct' | 'Exchange';
1263
+ /** Optional parameters. */
1264
+ export interface CdnPeeringPrefixesListOptionalParams
1265
+ extends coreClient.OperationOptions {}
889
1266
 
890
- /**
891
- * Defines values for Kind2.
892
- * Possible values include: 'Direct', 'Exchange'
893
- * @readonly
894
- * @enum {string}
895
- */
896
- export type Kind2 = 'Direct' | 'Exchange';
1267
+ /** Contains response data for the list operation. */
1268
+ export type CdnPeeringPrefixesListResponse = CdnPeeringPrefixListResult;
897
1269
 
898
- /**
899
- * Contains response data for the checkServiceProviderAvailability operation.
900
- */
901
- export type CheckServiceProviderAvailabilityResponse = {
902
- /**
903
- * The parsed response body.
904
- */
905
- body: CheckServiceProviderAvailabilityOKResponse;
1270
+ /** Optional parameters. */
1271
+ export interface CdnPeeringPrefixesListNextOptionalParams
1272
+ extends coreClient.OperationOptions {}
906
1273
 
907
- /**
908
- * The underlying HTTP response.
909
- */
910
- _response: msRest.HttpResponse & {
911
- /**
912
- * The response body as text (string format)
913
- */
914
- bodyAsText: string;
1274
+ /** Contains response data for the listNext operation. */
1275
+ export type CdnPeeringPrefixesListNextResponse = CdnPeeringPrefixListResult;
915
1276
 
916
- /**
917
- * The response body as parsed JSON or XML
918
- */
919
- parsedBody: CheckServiceProviderAvailabilityOKResponse;
920
- };
1277
+ /** Optional parameters. */
1278
+ export interface CheckServiceProviderAvailabilityOptionalParams
1279
+ extends coreClient.OperationOptions {}
1280
+
1281
+ /** Contains response data for the checkServiceProviderAvailability operation. */
1282
+ export type CheckServiceProviderAvailabilityResponse = {
1283
+ /** The parsed response body. */
1284
+ body: Enum0;
921
1285
  };
922
1286
 
923
- /**
924
- * Contains response data for the list operation.
925
- */
926
- export type LegacyPeeringsListResponse = PeeringListResult & {
927
- /**
928
- * The underlying HTTP response.
929
- */
930
- _response: msRest.HttpResponse & {
931
- /**
932
- * The response body as text (string format)
933
- */
934
- bodyAsText: string;
1287
+ /** Optional parameters. */
1288
+ export interface LegacyPeeringsListOptionalParams
1289
+ extends coreClient.OperationOptions {
1290
+ /** The ASN number associated with a legacy peering. */
1291
+ asn?: number;
1292
+ }
935
1293
 
936
- /**
937
- * The response body as parsed JSON or XML
938
- */
939
- parsedBody: PeeringListResult;
940
- };
941
- };
1294
+ /** Contains response data for the list operation. */
1295
+ export type LegacyPeeringsListResponse = PeeringListResult;
942
1296
 
943
- /**
944
- * Contains response data for the listNext operation.
945
- */
946
- export type LegacyPeeringsListNextResponse = PeeringListResult & {
947
- /**
948
- * The underlying HTTP response.
949
- */
950
- _response: msRest.HttpResponse & {
951
- /**
952
- * The response body as text (string format)
953
- */
954
- bodyAsText: string;
1297
+ /** Optional parameters. */
1298
+ export interface LegacyPeeringsListNextOptionalParams
1299
+ extends coreClient.OperationOptions {
1300
+ /** The ASN number associated with a legacy peering. */
1301
+ asn?: number;
1302
+ }
955
1303
 
956
- /**
957
- * The response body as parsed JSON or XML
958
- */
959
- parsedBody: PeeringListResult;
960
- };
961
- };
1304
+ /** Contains response data for the listNext operation. */
1305
+ export type LegacyPeeringsListNextResponse = PeeringListResult;
962
1306
 
963
- /**
964
- * Contains response data for the list operation.
965
- */
966
- export type OperationsListResponse = OperationListResult & {
967
- /**
968
- * The underlying HTTP response.
969
- */
970
- _response: msRest.HttpResponse & {
971
- /**
972
- * The response body as text (string format)
973
- */
974
- bodyAsText: string;
1307
+ /** Optional parameters. */
1308
+ export interface LookingGlassInvokeOptionalParams
1309
+ extends coreClient.OperationOptions {}
975
1310
 
976
- /**
977
- * The response body as parsed JSON or XML
978
- */
979
- parsedBody: OperationListResult;
980
- };
981
- };
1311
+ /** Contains response data for the invoke operation. */
1312
+ export type LookingGlassInvokeResponse = LookingGlassOutput;
982
1313
 
983
- /**
984
- * Contains response data for the listNext operation.
985
- */
986
- export type OperationsListNextResponse = OperationListResult & {
987
- /**
988
- * The underlying HTTP response.
989
- */
990
- _response: msRest.HttpResponse & {
991
- /**
992
- * The response body as text (string format)
993
- */
994
- bodyAsText: string;
1314
+ /** Optional parameters. */
1315
+ export interface OperationsListOptionalParams
1316
+ extends coreClient.OperationOptions {}
995
1317
 
996
- /**
997
- * The response body as parsed JSON or XML
998
- */
999
- parsedBody: OperationListResult;
1000
- };
1001
- };
1318
+ /** Contains response data for the list operation. */
1319
+ export type OperationsListResponse = OperationListResult;
1002
1320
 
1003
- /**
1004
- * Contains response data for the get operation.
1005
- */
1006
- export type PeerAsnsGetResponse = PeerAsn & {
1007
- /**
1008
- * The underlying HTTP response.
1009
- */
1010
- _response: msRest.HttpResponse & {
1011
- /**
1012
- * The response body as text (string format)
1013
- */
1014
- bodyAsText: string;
1321
+ /** Optional parameters. */
1322
+ export interface OperationsListNextOptionalParams
1323
+ extends coreClient.OperationOptions {}
1015
1324
 
1016
- /**
1017
- * The response body as parsed JSON or XML
1018
- */
1019
- parsedBody: PeerAsn;
1020
- };
1021
- };
1325
+ /** Contains response data for the listNext operation. */
1326
+ export type OperationsListNextResponse = OperationListResult;
1022
1327
 
1023
- /**
1024
- * Contains response data for the createOrUpdate operation.
1025
- */
1026
- export type PeerAsnsCreateOrUpdateResponse = PeerAsn & {
1027
- /**
1028
- * The underlying HTTP response.
1029
- */
1030
- _response: msRest.HttpResponse & {
1031
- /**
1032
- * The response body as text (string format)
1033
- */
1034
- bodyAsText: string;
1328
+ /** Optional parameters. */
1329
+ export interface PeerAsnsGetOptionalParams
1330
+ extends coreClient.OperationOptions {}
1035
1331
 
1036
- /**
1037
- * The response body as parsed JSON or XML
1038
- */
1039
- parsedBody: PeerAsn;
1040
- };
1041
- };
1332
+ /** Contains response data for the get operation. */
1333
+ export type PeerAsnsGetResponse = PeerAsn;
1042
1334
 
1043
- /**
1044
- * Contains response data for the listBySubscription operation.
1045
- */
1046
- export type PeerAsnsListBySubscriptionResponse = PeerAsnListResult & {
1047
- /**
1048
- * The underlying HTTP response.
1049
- */
1050
- _response: msRest.HttpResponse & {
1051
- /**
1052
- * The response body as text (string format)
1053
- */
1054
- bodyAsText: string;
1335
+ /** Optional parameters. */
1336
+ export interface PeerAsnsCreateOrUpdateOptionalParams
1337
+ extends coreClient.OperationOptions {}
1055
1338
 
1056
- /**
1057
- * The response body as parsed JSON or XML
1058
- */
1059
- parsedBody: PeerAsnListResult;
1060
- };
1061
- };
1339
+ /** Contains response data for the createOrUpdate operation. */
1340
+ export type PeerAsnsCreateOrUpdateResponse = PeerAsn;
1062
1341
 
1063
- /**
1064
- * Contains response data for the listBySubscriptionNext operation.
1065
- */
1066
- export type PeerAsnsListBySubscriptionNextResponse = PeerAsnListResult & {
1067
- /**
1068
- * The underlying HTTP response.
1069
- */
1070
- _response: msRest.HttpResponse & {
1071
- /**
1072
- * The response body as text (string format)
1073
- */
1074
- bodyAsText: string;
1342
+ /** Optional parameters. */
1343
+ export interface PeerAsnsDeleteOptionalParams
1344
+ extends coreClient.OperationOptions {}
1075
1345
 
1076
- /**
1077
- * The response body as parsed JSON or XML
1078
- */
1079
- parsedBody: PeerAsnListResult;
1080
- };
1081
- };
1346
+ /** Optional parameters. */
1347
+ export interface PeerAsnsListBySubscriptionOptionalParams
1348
+ extends coreClient.OperationOptions {}
1082
1349
 
1083
- /**
1084
- * Contains response data for the list operation.
1085
- */
1086
- export type PeeringLocationsListResponse = PeeringLocationListResult & {
1087
- /**
1088
- * The underlying HTTP response.
1089
- */
1090
- _response: msRest.HttpResponse & {
1091
- /**
1092
- * The response body as text (string format)
1093
- */
1094
- bodyAsText: string;
1350
+ /** Contains response data for the listBySubscription operation. */
1351
+ export type PeerAsnsListBySubscriptionResponse = PeerAsnListResult;
1095
1352
 
1096
- /**
1097
- * The response body as parsed JSON or XML
1098
- */
1099
- parsedBody: PeeringLocationListResult;
1100
- };
1101
- };
1353
+ /** Optional parameters. */
1354
+ export interface PeerAsnsListBySubscriptionNextOptionalParams
1355
+ extends coreClient.OperationOptions {}
1102
1356
 
1103
- /**
1104
- * Contains response data for the listNext operation.
1105
- */
1106
- export type PeeringLocationsListNextResponse = PeeringLocationListResult & {
1107
- /**
1108
- * The underlying HTTP response.
1109
- */
1110
- _response: msRest.HttpResponse & {
1111
- /**
1112
- * The response body as text (string format)
1113
- */
1114
- bodyAsText: string;
1357
+ /** Contains response data for the listBySubscriptionNext operation. */
1358
+ export type PeerAsnsListBySubscriptionNextResponse = PeerAsnListResult;
1115
1359
 
1116
- /**
1117
- * The response body as parsed JSON or XML
1118
- */
1119
- parsedBody: PeeringLocationListResult;
1120
- };
1121
- };
1360
+ /** Optional parameters. */
1361
+ export interface PeeringLocationsListOptionalParams
1362
+ extends coreClient.OperationOptions {
1363
+ /** The type of direct peering. */
1364
+ directPeeringType?: PeeringLocationsDirectPeeringType;
1365
+ }
1122
1366
 
1123
- /**
1124
- * Contains response data for the get operation.
1125
- */
1126
- export type PeeringsGetResponse = Peering & {
1127
- /**
1128
- * The underlying HTTP response.
1129
- */
1130
- _response: msRest.HttpResponse & {
1131
- /**
1132
- * The response body as text (string format)
1133
- */
1134
- bodyAsText: string;
1367
+ /** Contains response data for the list operation. */
1368
+ export type PeeringLocationsListResponse = PeeringLocationListResult;
1135
1369
 
1136
- /**
1137
- * The response body as parsed JSON or XML
1138
- */
1139
- parsedBody: Peering;
1140
- };
1141
- };
1370
+ /** Optional parameters. */
1371
+ export interface PeeringLocationsListNextOptionalParams
1372
+ extends coreClient.OperationOptions {
1373
+ /** The type of direct peering. */
1374
+ directPeeringType?: PeeringLocationsDirectPeeringType;
1375
+ }
1142
1376
 
1143
- /**
1144
- * Contains response data for the createOrUpdate operation.
1145
- */
1146
- export type PeeringsCreateOrUpdateResponse = Peering & {
1147
- /**
1148
- * The underlying HTTP response.
1149
- */
1150
- _response: msRest.HttpResponse & {
1151
- /**
1152
- * The response body as text (string format)
1153
- */
1154
- bodyAsText: string;
1377
+ /** Contains response data for the listNext operation. */
1378
+ export type PeeringLocationsListNextResponse = PeeringLocationListResult;
1155
1379
 
1156
- /**
1157
- * The response body as parsed JSON or XML
1158
- */
1159
- parsedBody: Peering;
1160
- };
1161
- };
1380
+ /** Optional parameters. */
1381
+ export interface RegisteredAsnsGetOptionalParams
1382
+ extends coreClient.OperationOptions {}
1162
1383
 
1163
- /**
1164
- * Contains response data for the update operation.
1165
- */
1166
- export type PeeringsUpdateResponse = Peering & {
1167
- /**
1168
- * The underlying HTTP response.
1169
- */
1170
- _response: msRest.HttpResponse & {
1171
- /**
1172
- * The response body as text (string format)
1173
- */
1174
- bodyAsText: string;
1384
+ /** Contains response data for the get operation. */
1385
+ export type RegisteredAsnsGetResponse = PeeringRegisteredAsn;
1175
1386
 
1176
- /**
1177
- * The response body as parsed JSON or XML
1178
- */
1179
- parsedBody: Peering;
1180
- };
1181
- };
1387
+ /** Optional parameters. */
1388
+ export interface RegisteredAsnsCreateOrUpdateOptionalParams
1389
+ extends coreClient.OperationOptions {}
1182
1390
 
1183
- /**
1184
- * Contains response data for the listByResourceGroup operation.
1185
- */
1186
- export type PeeringsListByResourceGroupResponse = PeeringListResult & {
1187
- /**
1188
- * The underlying HTTP response.
1189
- */
1190
- _response: msRest.HttpResponse & {
1191
- /**
1192
- * The response body as text (string format)
1193
- */
1194
- bodyAsText: string;
1391
+ /** Contains response data for the createOrUpdate operation. */
1392
+ export type RegisteredAsnsCreateOrUpdateResponse = PeeringRegisteredAsn;
1195
1393
 
1196
- /**
1197
- * The response body as parsed JSON or XML
1198
- */
1199
- parsedBody: PeeringListResult;
1200
- };
1201
- };
1394
+ /** Optional parameters. */
1395
+ export interface RegisteredAsnsDeleteOptionalParams
1396
+ extends coreClient.OperationOptions {}
1202
1397
 
1203
- /**
1204
- * Contains response data for the listBySubscription operation.
1205
- */
1206
- export type PeeringsListBySubscriptionResponse = PeeringListResult & {
1207
- /**
1208
- * The underlying HTTP response.
1209
- */
1210
- _response: msRest.HttpResponse & {
1211
- /**
1212
- * The response body as text (string format)
1213
- */
1214
- bodyAsText: string;
1398
+ /** Optional parameters. */
1399
+ export interface RegisteredAsnsListByPeeringOptionalParams
1400
+ extends coreClient.OperationOptions {}
1215
1401
 
1216
- /**
1217
- * The response body as parsed JSON or XML
1218
- */
1219
- parsedBody: PeeringListResult;
1220
- };
1221
- };
1402
+ /** Contains response data for the listByPeering operation. */
1403
+ export type RegisteredAsnsListByPeeringResponse = PeeringRegisteredAsnListResult;
1222
1404
 
1223
- /**
1224
- * Contains response data for the listByResourceGroupNext operation.
1225
- */
1226
- export type PeeringsListByResourceGroupNextResponse = PeeringListResult & {
1227
- /**
1228
- * The underlying HTTP response.
1229
- */
1230
- _response: msRest.HttpResponse & {
1231
- /**
1232
- * The response body as text (string format)
1233
- */
1234
- bodyAsText: string;
1405
+ /** Optional parameters. */
1406
+ export interface RegisteredAsnsListByPeeringNextOptionalParams
1407
+ extends coreClient.OperationOptions {}
1235
1408
 
1236
- /**
1237
- * The response body as parsed JSON or XML
1238
- */
1239
- parsedBody: PeeringListResult;
1240
- };
1241
- };
1409
+ /** Contains response data for the listByPeeringNext operation. */
1410
+ export type RegisteredAsnsListByPeeringNextResponse = PeeringRegisteredAsnListResult;
1242
1411
 
1243
- /**
1244
- * Contains response data for the listBySubscriptionNext operation.
1245
- */
1246
- export type PeeringsListBySubscriptionNextResponse = PeeringListResult & {
1247
- /**
1248
- * The underlying HTTP response.
1249
- */
1250
- _response: msRest.HttpResponse & {
1251
- /**
1252
- * The response body as text (string format)
1253
- */
1254
- bodyAsText: string;
1412
+ /** Optional parameters. */
1413
+ export interface RegisteredPrefixesGetOptionalParams
1414
+ extends coreClient.OperationOptions {}
1255
1415
 
1256
- /**
1257
- * The response body as parsed JSON or XML
1258
- */
1259
- parsedBody: PeeringListResult;
1260
- };
1261
- };
1416
+ /** Contains response data for the get operation. */
1417
+ export type RegisteredPrefixesGetResponse = PeeringRegisteredPrefix;
1262
1418
 
1263
- /**
1264
- * Contains response data for the list operation.
1265
- */
1266
- export type PeeringServiceLocationsListResponse = PeeringServiceLocationListResult & {
1267
- /**
1268
- * The underlying HTTP response.
1269
- */
1270
- _response: msRest.HttpResponse & {
1271
- /**
1272
- * The response body as text (string format)
1273
- */
1274
- bodyAsText: string;
1419
+ /** Optional parameters. */
1420
+ export interface RegisteredPrefixesCreateOrUpdateOptionalParams
1421
+ extends coreClient.OperationOptions {}
1275
1422
 
1276
- /**
1277
- * The response body as parsed JSON or XML
1278
- */
1279
- parsedBody: PeeringServiceLocationListResult;
1280
- };
1281
- };
1423
+ /** Contains response data for the createOrUpdate operation. */
1424
+ export type RegisteredPrefixesCreateOrUpdateResponse = PeeringRegisteredPrefix;
1282
1425
 
1283
- /**
1284
- * Contains response data for the listNext operation.
1285
- */
1286
- export type PeeringServiceLocationsListNextResponse = PeeringServiceLocationListResult & {
1287
- /**
1288
- * The underlying HTTP response.
1289
- */
1290
- _response: msRest.HttpResponse & {
1291
- /**
1292
- * The response body as text (string format)
1293
- */
1294
- bodyAsText: string;
1426
+ /** Optional parameters. */
1427
+ export interface RegisteredPrefixesDeleteOptionalParams
1428
+ extends coreClient.OperationOptions {}
1295
1429
 
1296
- /**
1297
- * The response body as parsed JSON or XML
1298
- */
1299
- parsedBody: PeeringServiceLocationListResult;
1300
- };
1301
- };
1430
+ /** Optional parameters. */
1431
+ export interface RegisteredPrefixesListByPeeringOptionalParams
1432
+ extends coreClient.OperationOptions {}
1302
1433
 
1303
- /**
1304
- * Contains response data for the get operation.
1305
- */
1306
- export type PeeringServicePrefixesGetResponse = PeeringServicePrefix & {
1307
- /**
1308
- * The underlying HTTP response.
1309
- */
1310
- _response: msRest.HttpResponse & {
1311
- /**
1312
- * The response body as text (string format)
1313
- */
1314
- bodyAsText: string;
1434
+ /** Contains response data for the listByPeering operation. */
1435
+ export type RegisteredPrefixesListByPeeringResponse = PeeringRegisteredPrefixListResult;
1315
1436
 
1316
- /**
1317
- * The response body as parsed JSON or XML
1318
- */
1319
- parsedBody: PeeringServicePrefix;
1320
- };
1321
- };
1437
+ /** Optional parameters. */
1438
+ export interface RegisteredPrefixesListByPeeringNextOptionalParams
1439
+ extends coreClient.OperationOptions {}
1322
1440
 
1323
- /**
1324
- * Contains response data for the createOrUpdate operation.
1325
- */
1326
- export type PeeringServicePrefixesCreateOrUpdateResponse = PeeringServicePrefix & {
1327
- /**
1328
- * The underlying HTTP response.
1329
- */
1330
- _response: msRest.HttpResponse & {
1331
- /**
1332
- * The response body as text (string format)
1333
- */
1334
- bodyAsText: string;
1441
+ /** Contains response data for the listByPeeringNext operation. */
1442
+ export type RegisteredPrefixesListByPeeringNextResponse = PeeringRegisteredPrefixListResult;
1335
1443
 
1336
- /**
1337
- * The response body as parsed JSON or XML
1338
- */
1339
- parsedBody: PeeringServicePrefix;
1340
- };
1341
- };
1444
+ /** Optional parameters. */
1445
+ export interface PeeringsGetOptionalParams
1446
+ extends coreClient.OperationOptions {}
1342
1447
 
1343
- /**
1344
- * Contains response data for the listByPeeringService operation.
1345
- */
1346
- export type PrefixesListByPeeringServiceResponse = PeeringServicePrefixListResult & {
1347
- /**
1348
- * The underlying HTTP response.
1349
- */
1350
- _response: msRest.HttpResponse & {
1351
- /**
1352
- * The response body as text (string format)
1353
- */
1354
- bodyAsText: string;
1448
+ /** Contains response data for the get operation. */
1449
+ export type PeeringsGetResponse = Peering;
1355
1450
 
1356
- /**
1357
- * The response body as parsed JSON or XML
1358
- */
1359
- parsedBody: PeeringServicePrefixListResult;
1360
- };
1361
- };
1451
+ /** Optional parameters. */
1452
+ export interface PeeringsCreateOrUpdateOptionalParams
1453
+ extends coreClient.OperationOptions {}
1362
1454
 
1363
- /**
1364
- * Contains response data for the listByPeeringServiceNext operation.
1365
- */
1366
- export type PrefixesListByPeeringServiceNextResponse = PeeringServicePrefixListResult & {
1367
- /**
1368
- * The underlying HTTP response.
1369
- */
1370
- _response: msRest.HttpResponse & {
1371
- /**
1372
- * The response body as text (string format)
1373
- */
1374
- bodyAsText: string;
1455
+ /** Contains response data for the createOrUpdate operation. */
1456
+ export type PeeringsCreateOrUpdateResponse = Peering;
1375
1457
 
1376
- /**
1377
- * The response body as parsed JSON or XML
1378
- */
1379
- parsedBody: PeeringServicePrefixListResult;
1380
- };
1381
- };
1458
+ /** Optional parameters. */
1459
+ export interface PeeringsDeleteOptionalParams
1460
+ extends coreClient.OperationOptions {}
1382
1461
 
1383
- /**
1384
- * Contains response data for the list operation.
1385
- */
1386
- export type PeeringServiceProvidersListResponse = PeeringServiceProviderListResult & {
1387
- /**
1388
- * The underlying HTTP response.
1389
- */
1390
- _response: msRest.HttpResponse & {
1391
- /**
1392
- * The response body as text (string format)
1393
- */
1394
- bodyAsText: string;
1462
+ /** Optional parameters. */
1463
+ export interface PeeringsUpdateOptionalParams
1464
+ extends coreClient.OperationOptions {}
1395
1465
 
1396
- /**
1397
- * The response body as parsed JSON or XML
1398
- */
1399
- parsedBody: PeeringServiceProviderListResult;
1400
- };
1401
- };
1466
+ /** Contains response data for the update operation. */
1467
+ export type PeeringsUpdateResponse = Peering;
1402
1468
 
1403
- /**
1404
- * Contains response data for the listNext operation.
1405
- */
1406
- export type PeeringServiceProvidersListNextResponse = PeeringServiceProviderListResult & {
1407
- /**
1408
- * The underlying HTTP response.
1409
- */
1410
- _response: msRest.HttpResponse & {
1411
- /**
1412
- * The response body as text (string format)
1413
- */
1414
- bodyAsText: string;
1469
+ /** Optional parameters. */
1470
+ export interface PeeringsListByResourceGroupOptionalParams
1471
+ extends coreClient.OperationOptions {}
1415
1472
 
1416
- /**
1417
- * The response body as parsed JSON or XML
1418
- */
1419
- parsedBody: PeeringServiceProviderListResult;
1420
- };
1421
- };
1473
+ /** Contains response data for the listByResourceGroup operation. */
1474
+ export type PeeringsListByResourceGroupResponse = PeeringListResult;
1422
1475
 
1423
- /**
1424
- * Contains response data for the get operation.
1425
- */
1426
- export type PeeringServicesGetResponse = PeeringService & {
1427
- /**
1428
- * The underlying HTTP response.
1429
- */
1430
- _response: msRest.HttpResponse & {
1431
- /**
1432
- * The response body as text (string format)
1433
- */
1434
- bodyAsText: string;
1476
+ /** Optional parameters. */
1477
+ export interface PeeringsListBySubscriptionOptionalParams
1478
+ extends coreClient.OperationOptions {}
1435
1479
 
1436
- /**
1437
- * The response body as parsed JSON or XML
1438
- */
1439
- parsedBody: PeeringService;
1440
- };
1441
- };
1480
+ /** Contains response data for the listBySubscription operation. */
1481
+ export type PeeringsListBySubscriptionResponse = PeeringListResult;
1442
1482
 
1443
- /**
1444
- * Contains response data for the createOrUpdate operation.
1445
- */
1446
- export type PeeringServicesCreateOrUpdateResponse = PeeringService & {
1447
- /**
1448
- * The underlying HTTP response.
1449
- */
1450
- _response: msRest.HttpResponse & {
1451
- /**
1452
- * The response body as text (string format)
1453
- */
1454
- bodyAsText: string;
1483
+ /** Optional parameters. */
1484
+ export interface PeeringsListByResourceGroupNextOptionalParams
1485
+ extends coreClient.OperationOptions {}
1455
1486
 
1456
- /**
1457
- * The response body as parsed JSON or XML
1458
- */
1459
- parsedBody: PeeringService;
1460
- };
1461
- };
1487
+ /** Contains response data for the listByResourceGroupNext operation. */
1488
+ export type PeeringsListByResourceGroupNextResponse = PeeringListResult;
1462
1489
 
1463
- /**
1464
- * Contains response data for the update operation.
1465
- */
1466
- export type PeeringServicesUpdateResponse = PeeringService & {
1467
- /**
1468
- * The underlying HTTP response.
1469
- */
1470
- _response: msRest.HttpResponse & {
1471
- /**
1472
- * The response body as text (string format)
1473
- */
1474
- bodyAsText: string;
1490
+ /** Optional parameters. */
1491
+ export interface PeeringsListBySubscriptionNextOptionalParams
1492
+ extends coreClient.OperationOptions {}
1475
1493
 
1476
- /**
1477
- * The response body as parsed JSON or XML
1478
- */
1479
- parsedBody: PeeringService;
1480
- };
1481
- };
1494
+ /** Contains response data for the listBySubscriptionNext operation. */
1495
+ export type PeeringsListBySubscriptionNextResponse = PeeringListResult;
1482
1496
 
1483
- /**
1484
- * Contains response data for the listByResourceGroup operation.
1485
- */
1486
- export type PeeringServicesListByResourceGroupResponse = PeeringServiceListResult & {
1487
- /**
1488
- * The underlying HTTP response.
1489
- */
1490
- _response: msRest.HttpResponse & {
1491
- /**
1492
- * The response body as text (string format)
1493
- */
1494
- bodyAsText: string;
1497
+ /** Optional parameters. */
1498
+ export interface ReceivedRoutesListByPeeringOptionalParams
1499
+ extends coreClient.OperationOptions {
1500
+ /** The optional prefix that can be used to filter the routes. */
1501
+ prefix?: string;
1502
+ /** The optional AS path that can be used to filter the routes. */
1503
+ asPath?: string;
1504
+ /** The optional origin AS validation state that can be used to filter the routes. */
1505
+ originAsValidationState?: string;
1506
+ /** The optional RPKI validation state that can be used to filter the routes. */
1507
+ rpkiValidationState?: string;
1508
+ /** The optional page continuation token that is used in the event of paginated result. */
1509
+ skipToken?: string;
1510
+ }
1495
1511
 
1496
- /**
1497
- * The response body as parsed JSON or XML
1498
- */
1499
- parsedBody: PeeringServiceListResult;
1500
- };
1501
- };
1512
+ /** Contains response data for the listByPeering operation. */
1513
+ export type ReceivedRoutesListByPeeringResponse = PeeringReceivedRouteListResult;
1502
1514
 
1503
- /**
1504
- * Contains response data for the listBySubscription operation.
1505
- */
1506
- export type PeeringServicesListBySubscriptionResponse = PeeringServiceListResult & {
1507
- /**
1508
- * The underlying HTTP response.
1509
- */
1510
- _response: msRest.HttpResponse & {
1511
- /**
1512
- * The response body as text (string format)
1513
- */
1514
- bodyAsText: string;
1515
+ /** Optional parameters. */
1516
+ export interface ReceivedRoutesListByPeeringNextOptionalParams
1517
+ extends coreClient.OperationOptions {
1518
+ /** The optional prefix that can be used to filter the routes. */
1519
+ prefix?: string;
1520
+ /** The optional AS path that can be used to filter the routes. */
1521
+ asPath?: string;
1522
+ /** The optional origin AS validation state that can be used to filter the routes. */
1523
+ originAsValidationState?: string;
1524
+ /** The optional RPKI validation state that can be used to filter the routes. */
1525
+ rpkiValidationState?: string;
1526
+ /** The optional page continuation token that is used in the event of paginated result. */
1527
+ skipToken?: string;
1528
+ }
1515
1529
 
1516
- /**
1517
- * The response body as parsed JSON or XML
1518
- */
1519
- parsedBody: PeeringServiceListResult;
1520
- };
1521
- };
1530
+ /** Contains response data for the listByPeeringNext operation. */
1531
+ export type ReceivedRoutesListByPeeringNextResponse = PeeringReceivedRouteListResult;
1522
1532
 
1523
- /**
1524
- * Contains response data for the listByResourceGroupNext operation.
1525
- */
1526
- export type PeeringServicesListByResourceGroupNextResponse = PeeringServiceListResult & {
1527
- /**
1528
- * The underlying HTTP response.
1529
- */
1530
- _response: msRest.HttpResponse & {
1531
- /**
1532
- * The response body as text (string format)
1533
- */
1534
- bodyAsText: string;
1533
+ /** Optional parameters. */
1534
+ export interface ConnectionMonitorTestsGetOptionalParams
1535
+ extends coreClient.OperationOptions {}
1535
1536
 
1536
- /**
1537
- * The response body as parsed JSON or XML
1538
- */
1539
- parsedBody: PeeringServiceListResult;
1540
- };
1541
- };
1537
+ /** Contains response data for the get operation. */
1538
+ export type ConnectionMonitorTestsGetResponse = ConnectionMonitorTest;
1542
1539
 
1543
- /**
1544
- * Contains response data for the listBySubscriptionNext operation.
1545
- */
1546
- export type PeeringServicesListBySubscriptionNextResponse = PeeringServiceListResult & {
1547
- /**
1548
- * The underlying HTTP response.
1549
- */
1550
- _response: msRest.HttpResponse & {
1551
- /**
1552
- * The response body as text (string format)
1553
- */
1554
- bodyAsText: string;
1540
+ /** Optional parameters. */
1541
+ export interface ConnectionMonitorTestsCreateOrUpdateOptionalParams
1542
+ extends coreClient.OperationOptions {}
1555
1543
 
1556
- /**
1557
- * The response body as parsed JSON or XML
1558
- */
1559
- parsedBody: PeeringServiceListResult;
1560
- };
1561
- };
1544
+ /** Contains response data for the createOrUpdate operation. */
1545
+ export type ConnectionMonitorTestsCreateOrUpdateResponse = ConnectionMonitorTest;
1546
+
1547
+ /** Optional parameters. */
1548
+ export interface ConnectionMonitorTestsDeleteOptionalParams
1549
+ extends coreClient.OperationOptions {}
1550
+
1551
+ /** Optional parameters. */
1552
+ export interface ConnectionMonitorTestsListByPeeringServiceOptionalParams
1553
+ extends coreClient.OperationOptions {}
1554
+
1555
+ /** Contains response data for the listByPeeringService operation. */
1556
+ export type ConnectionMonitorTestsListByPeeringServiceResponse = ConnectionMonitorTestListResult;
1557
+
1558
+ /** Optional parameters. */
1559
+ export interface ConnectionMonitorTestsListByPeeringServiceNextOptionalParams
1560
+ extends coreClient.OperationOptions {}
1561
+
1562
+ /** Contains response data for the listByPeeringServiceNext operation. */
1563
+ export type ConnectionMonitorTestsListByPeeringServiceNextResponse = ConnectionMonitorTestListResult;
1564
+
1565
+ /** Optional parameters. */
1566
+ export interface PeeringServiceCountriesListOptionalParams
1567
+ extends coreClient.OperationOptions {}
1568
+
1569
+ /** Contains response data for the list operation. */
1570
+ export type PeeringServiceCountriesListResponse = PeeringServiceCountryListResult;
1571
+
1572
+ /** Optional parameters. */
1573
+ export interface PeeringServiceCountriesListNextOptionalParams
1574
+ extends coreClient.OperationOptions {}
1575
+
1576
+ /** Contains response data for the listNext operation. */
1577
+ export type PeeringServiceCountriesListNextResponse = PeeringServiceCountryListResult;
1578
+
1579
+ /** Optional parameters. */
1580
+ export interface PeeringServiceLocationsListOptionalParams
1581
+ extends coreClient.OperationOptions {
1582
+ /** The country of interest, in which the locations are to be present. */
1583
+ country?: string;
1584
+ }
1585
+
1586
+ /** Contains response data for the list operation. */
1587
+ export type PeeringServiceLocationsListResponse = PeeringServiceLocationListResult;
1588
+
1589
+ /** Optional parameters. */
1590
+ export interface PeeringServiceLocationsListNextOptionalParams
1591
+ extends coreClient.OperationOptions {
1592
+ /** The country of interest, in which the locations are to be present. */
1593
+ country?: string;
1594
+ }
1595
+
1596
+ /** Contains response data for the listNext operation. */
1597
+ export type PeeringServiceLocationsListNextResponse = PeeringServiceLocationListResult;
1598
+
1599
+ /** Optional parameters. */
1600
+ export interface PrefixesGetOptionalParams extends coreClient.OperationOptions {
1601
+ /** The properties to be expanded. */
1602
+ expand?: string;
1603
+ }
1604
+
1605
+ /** Contains response data for the get operation. */
1606
+ export type PrefixesGetResponse = PeeringServicePrefix;
1607
+
1608
+ /** Optional parameters. */
1609
+ export interface PrefixesCreateOrUpdateOptionalParams
1610
+ extends coreClient.OperationOptions {}
1611
+
1612
+ /** Contains response data for the createOrUpdate operation. */
1613
+ export type PrefixesCreateOrUpdateResponse = PeeringServicePrefix;
1614
+
1615
+ /** Optional parameters. */
1616
+ export interface PrefixesDeleteOptionalParams
1617
+ extends coreClient.OperationOptions {}
1618
+
1619
+ /** Optional parameters. */
1620
+ export interface PrefixesListByPeeringServiceOptionalParams
1621
+ extends coreClient.OperationOptions {
1622
+ /** The properties to be expanded. */
1623
+ expand?: string;
1624
+ }
1625
+
1626
+ /** Contains response data for the listByPeeringService operation. */
1627
+ export type PrefixesListByPeeringServiceResponse = PeeringServicePrefixListResult;
1628
+
1629
+ /** Optional parameters. */
1630
+ export interface PrefixesListByPeeringServiceNextOptionalParams
1631
+ extends coreClient.OperationOptions {
1632
+ /** The properties to be expanded. */
1633
+ expand?: string;
1634
+ }
1635
+
1636
+ /** Contains response data for the listByPeeringServiceNext operation. */
1637
+ export type PrefixesListByPeeringServiceNextResponse = PeeringServicePrefixListResult;
1638
+
1639
+ /** Optional parameters. */
1640
+ export interface PeeringServiceProvidersListOptionalParams
1641
+ extends coreClient.OperationOptions {}
1642
+
1643
+ /** Contains response data for the list operation. */
1644
+ export type PeeringServiceProvidersListResponse = PeeringServiceProviderListResult;
1645
+
1646
+ /** Optional parameters. */
1647
+ export interface PeeringServiceProvidersListNextOptionalParams
1648
+ extends coreClient.OperationOptions {}
1649
+
1650
+ /** Contains response data for the listNext operation. */
1651
+ export type PeeringServiceProvidersListNextResponse = PeeringServiceProviderListResult;
1652
+
1653
+ /** Optional parameters. */
1654
+ export interface PeeringServicesGetOptionalParams
1655
+ extends coreClient.OperationOptions {}
1656
+
1657
+ /** Contains response data for the get operation. */
1658
+ export type PeeringServicesGetResponse = PeeringService;
1659
+
1660
+ /** Optional parameters. */
1661
+ export interface PeeringServicesCreateOrUpdateOptionalParams
1662
+ extends coreClient.OperationOptions {}
1663
+
1664
+ /** Contains response data for the createOrUpdate operation. */
1665
+ export type PeeringServicesCreateOrUpdateResponse = PeeringService;
1666
+
1667
+ /** Optional parameters. */
1668
+ export interface PeeringServicesDeleteOptionalParams
1669
+ extends coreClient.OperationOptions {}
1670
+
1671
+ /** Optional parameters. */
1672
+ export interface PeeringServicesUpdateOptionalParams
1673
+ extends coreClient.OperationOptions {}
1674
+
1675
+ /** Contains response data for the update operation. */
1676
+ export type PeeringServicesUpdateResponse = PeeringService;
1677
+
1678
+ /** Optional parameters. */
1679
+ export interface PeeringServicesListByResourceGroupOptionalParams
1680
+ extends coreClient.OperationOptions {}
1681
+
1682
+ /** Contains response data for the listByResourceGroup operation. */
1683
+ export type PeeringServicesListByResourceGroupResponse = PeeringServiceListResult;
1684
+
1685
+ /** Optional parameters. */
1686
+ export interface PeeringServicesListBySubscriptionOptionalParams
1687
+ extends coreClient.OperationOptions {}
1688
+
1689
+ /** Contains response data for the listBySubscription operation. */
1690
+ export type PeeringServicesListBySubscriptionResponse = PeeringServiceListResult;
1691
+
1692
+ /** Optional parameters. */
1693
+ export interface PeeringServicesInitializeConnectionMonitorOptionalParams
1694
+ extends coreClient.OperationOptions {}
1695
+
1696
+ /** Optional parameters. */
1697
+ export interface PeeringServicesListByResourceGroupNextOptionalParams
1698
+ extends coreClient.OperationOptions {}
1699
+
1700
+ /** Contains response data for the listByResourceGroupNext operation. */
1701
+ export type PeeringServicesListByResourceGroupNextResponse = PeeringServiceListResult;
1702
+
1703
+ /** Optional parameters. */
1704
+ export interface PeeringServicesListBySubscriptionNextOptionalParams
1705
+ extends coreClient.OperationOptions {}
1706
+
1707
+ /** Contains response data for the listBySubscriptionNext operation. */
1708
+ export type PeeringServicesListBySubscriptionNextResponse = PeeringServiceListResult;
1709
+
1710
+ /** Optional parameters. */
1711
+ export interface PeeringManagementClientOptionalParams
1712
+ extends coreClient.ServiceClientOptions {
1713
+ /** server parameter */
1714
+ $host?: string;
1715
+ /** Api Version */
1716
+ apiVersion?: string;
1717
+ /** Overrides client endpoint. */
1718
+ endpoint?: string;
1719
+ }