@azure/arm-eventgrid 14.0.0-beta.2 → 14.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 (272) hide show
  1. package/CHANGELOG.md +6 -80
  2. package/README.md +1 -1
  3. package/dist/index.js +4289 -5700
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/channelsCreateOrUpdateSample.js +1 -1
  8. package/dist-esm/samples-dev/channelsDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/channelsGetFullUrlSample.js +1 -1
  10. package/dist-esm/samples-dev/channelsGetSample.js +1 -1
  11. package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js +1 -1
  12. package/dist-esm/samples-dev/channelsUpdateSample.js +1 -1
  13. package/dist-esm/samples-dev/domainEventSubscriptionsCreateOrUpdateSample.js +1 -1
  14. package/dist-esm/samples-dev/domainEventSubscriptionsDeleteSample.js +1 -1
  15. package/dist-esm/samples-dev/domainEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  16. package/dist-esm/samples-dev/domainEventSubscriptionsGetFullUrlSample.js +1 -1
  17. package/dist-esm/samples-dev/domainEventSubscriptionsGetSample.js +1 -1
  18. package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js +1 -1
  19. package/dist-esm/samples-dev/domainEventSubscriptionsUpdateSample.js +1 -1
  20. package/dist-esm/samples-dev/domainTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
  21. package/dist-esm/samples-dev/domainTopicEventSubscriptionsDeleteSample.js +1 -1
  22. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  23. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetFullUrlSample.js +1 -1
  24. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetSample.js +1 -1
  25. package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js +1 -1
  26. package/dist-esm/samples-dev/domainTopicEventSubscriptionsUpdateSample.js +1 -1
  27. package/dist-esm/samples-dev/domainTopicsCreateOrUpdateSample.js +1 -1
  28. package/dist-esm/samples-dev/domainTopicsDeleteSample.js +1 -1
  29. package/dist-esm/samples-dev/domainTopicsGetSample.js +1 -1
  30. package/dist-esm/samples-dev/domainTopicsListByDomainSample.js +1 -1
  31. package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js +1 -1
  32. package/dist-esm/samples-dev/domainsDeleteSample.js +1 -1
  33. package/dist-esm/samples-dev/domainsGetSample.js +1 -1
  34. package/dist-esm/samples-dev/domainsListByResourceGroupSample.js +1 -1
  35. package/dist-esm/samples-dev/domainsListBySubscriptionSample.js +1 -1
  36. package/dist-esm/samples-dev/domainsListSharedAccessKeysSample.js +1 -1
  37. package/dist-esm/samples-dev/domainsRegenerateKeySample.js +1 -1
  38. package/dist-esm/samples-dev/domainsUpdateSample.js +1 -1
  39. package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js +13 -14
  40. package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js.map +1 -1
  41. package/dist-esm/samples-dev/eventSubscriptionsDeleteSample.js +4 -4
  42. package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js +3 -3
  43. package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
  44. package/dist-esm/samples-dev/eventSubscriptionsGetFullUrlSample.js +4 -4
  45. package/dist-esm/samples-dev/eventSubscriptionsGetSample.js +11 -11
  46. package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js +1 -1
  47. package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js +1 -1
  48. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js +1 -1
  49. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js +1 -1
  50. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js +1 -1
  51. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js +1 -1
  52. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js +1 -1
  53. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js +1 -1
  54. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js +1 -1
  55. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js +1 -1
  56. package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js +11 -11
  57. package/dist-esm/samples-dev/extensionTopicsGetSample.js +1 -1
  58. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  59. package/dist-esm/samples-dev/partnerConfigurationsAuthorizePartnerSample.js +1 -1
  60. package/dist-esm/samples-dev/partnerConfigurationsCreateOrUpdateSample.js +1 -1
  61. package/dist-esm/samples-dev/partnerConfigurationsDeleteSample.js +1 -1
  62. package/dist-esm/samples-dev/partnerConfigurationsGetSample.js +1 -1
  63. package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js +1 -1
  64. package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js +1 -1
  65. package/dist-esm/samples-dev/partnerConfigurationsUnauthorizePartnerSample.js +1 -1
  66. package/dist-esm/samples-dev/partnerConfigurationsUpdateSample.js +1 -1
  67. package/dist-esm/samples-dev/partnerNamespacesCreateOrUpdateSample.js +1 -1
  68. package/dist-esm/samples-dev/partnerNamespacesDeleteSample.js +1 -1
  69. package/dist-esm/samples-dev/partnerNamespacesGetSample.js +1 -1
  70. package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js +1 -1
  71. package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js +1 -1
  72. package/dist-esm/samples-dev/partnerNamespacesListSharedAccessKeysSample.js +1 -1
  73. package/dist-esm/samples-dev/partnerNamespacesRegenerateKeySample.js +1 -1
  74. package/dist-esm/samples-dev/partnerNamespacesUpdateSample.js +1 -1
  75. package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js +1 -8
  76. package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js.map +1 -1
  77. package/dist-esm/samples-dev/partnerRegistrationsDeleteSample.js +1 -1
  78. package/dist-esm/samples-dev/partnerRegistrationsGetSample.js +1 -1
  79. package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js +1 -1
  80. package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js +1 -1
  81. package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js +2 -3
  82. package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js.map +1 -1
  83. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
  84. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsDeleteSample.js +1 -1
  85. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  86. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetFullUrlSample.js +1 -1
  87. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetSample.js +1 -1
  88. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js +1 -1
  89. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsUpdateSample.js +1 -1
  90. package/dist-esm/samples-dev/partnerTopicsActivateSample.js +1 -1
  91. package/dist-esm/samples-dev/partnerTopicsCreateOrUpdateSample.js +1 -1
  92. package/dist-esm/samples-dev/partnerTopicsDeactivateSample.js +1 -1
  93. package/dist-esm/samples-dev/partnerTopicsDeleteSample.js +1 -1
  94. package/dist-esm/samples-dev/partnerTopicsGetSample.js +1 -1
  95. package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js +1 -1
  96. package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js +1 -1
  97. package/dist-esm/samples-dev/partnerTopicsUpdateSample.js +1 -1
  98. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  99. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  100. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js +1 -1
  101. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +1 -1
  102. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  103. package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js +1 -1
  104. package/dist-esm/samples-dev/systemTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
  105. package/dist-esm/samples-dev/systemTopicEventSubscriptionsDeleteSample.js +1 -1
  106. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  107. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetFullUrlSample.js +1 -1
  108. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetSample.js +1 -1
  109. package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js +1 -1
  110. package/dist-esm/samples-dev/systemTopicEventSubscriptionsUpdateSample.js +1 -1
  111. package/dist-esm/samples-dev/systemTopicsCreateOrUpdateSample.js +1 -1
  112. package/dist-esm/samples-dev/systemTopicsDeleteSample.js +1 -1
  113. package/dist-esm/samples-dev/systemTopicsGetSample.js +1 -1
  114. package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js +1 -1
  115. package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js +1 -1
  116. package/dist-esm/samples-dev/systemTopicsUpdateSample.js +1 -1
  117. package/dist-esm/samples-dev/topicEventSubscriptionsCreateOrUpdateSample.js +1 -1
  118. package/dist-esm/samples-dev/topicEventSubscriptionsDeleteSample.js +1 -1
  119. package/dist-esm/samples-dev/topicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  120. package/dist-esm/samples-dev/topicEventSubscriptionsGetFullUrlSample.js +1 -1
  121. package/dist-esm/samples-dev/topicEventSubscriptionsGetSample.js +1 -1
  122. package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js +1 -1
  123. package/dist-esm/samples-dev/topicEventSubscriptionsUpdateSample.js +1 -1
  124. package/dist-esm/samples-dev/topicTypesGetSample.js +1 -1
  125. package/dist-esm/samples-dev/topicTypesListEventTypesSample.js +1 -1
  126. package/dist-esm/samples-dev/topicTypesListSample.js +1 -1
  127. package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js +1 -29
  128. package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js.map +1 -1
  129. package/dist-esm/samples-dev/topicsDeleteSample.js +2 -2
  130. package/dist-esm/samples-dev/topicsDeleteSample.js.map +1 -1
  131. package/dist-esm/samples-dev/topicsGetSample.js +1 -1
  132. package/dist-esm/samples-dev/topicsListByResourceGroupSample.js +1 -1
  133. package/dist-esm/samples-dev/topicsListBySubscriptionSample.js +1 -1
  134. package/dist-esm/samples-dev/topicsListEventTypesSample.js +1 -1
  135. package/dist-esm/samples-dev/topicsListSharedAccessKeysSample.js +1 -1
  136. package/dist-esm/samples-dev/topicsRegenerateKeySample.js +1 -1
  137. package/dist-esm/samples-dev/topicsUpdateSample.js +1 -1
  138. package/dist-esm/samples-dev/verifiedPartnersGetSample.js +1 -1
  139. package/dist-esm/samples-dev/verifiedPartnersListSample.js +1 -1
  140. package/dist-esm/src/eventGridManagementClient.d.ts +6 -6
  141. package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -1
  142. package/dist-esm/src/eventGridManagementClient.js +35 -8
  143. package/dist-esm/src/eventGridManagementClient.js.map +1 -1
  144. package/dist-esm/src/models/index.d.ts +520 -1037
  145. package/dist-esm/src/models/index.d.ts.map +1 -1
  146. package/dist-esm/src/models/index.js +56 -119
  147. package/dist-esm/src/models/index.js.map +1 -1
  148. package/dist-esm/src/models/mappers.d.ts +28 -53
  149. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  150. package/dist-esm/src/models/mappers.js +626 -1270
  151. package/dist-esm/src/models/mappers.js.map +1 -1
  152. package/dist-esm/src/models/parameters.d.ts +6 -11
  153. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  154. package/dist-esm/src/models/parameters.js +29 -61
  155. package/dist-esm/src/models/parameters.js.map +1 -1
  156. package/dist-esm/src/operations/domainEventSubscriptions.d.ts +9 -9
  157. package/dist-esm/src/operations/domainEventSubscriptions.d.ts.map +1 -1
  158. package/dist-esm/src/operations/domainEventSubscriptions.js +30 -30
  159. package/dist-esm/src/operations/domainEventSubscriptions.js.map +1 -1
  160. package/dist-esm/src/operations/domainTopicEventSubscriptions.js +12 -12
  161. package/dist-esm/src/operations/domainTopicEventSubscriptions.js.map +1 -1
  162. package/dist-esm/src/operations/eventSubscriptions.js +12 -12
  163. package/dist-esm/src/operations/eventSubscriptions.js.map +1 -1
  164. package/dist-esm/src/operations/index.d.ts +3 -5
  165. package/dist-esm/src/operations/index.d.ts.map +1 -1
  166. package/dist-esm/src/operations/index.js +3 -5
  167. package/dist-esm/src/operations/index.js.map +1 -1
  168. package/dist-esm/src/operations/partnerNamespaces.js +1 -1
  169. package/dist-esm/src/operations/privateEndpointConnections.d.ts +7 -7
  170. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  171. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  172. package/dist-esm/src/operations/topicEventSubscriptions.d.ts +9 -9
  173. package/dist-esm/src/operations/topicEventSubscriptions.d.ts.map +1 -1
  174. package/dist-esm/src/operations/topicEventSubscriptions.js +40 -40
  175. package/dist-esm/src/operations/topicEventSubscriptions.js.map +1 -1
  176. package/dist-esm/src/operations/topics.js +1 -1
  177. package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts +9 -9
  178. package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts.map +1 -1
  179. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -5
  180. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  181. package/dist-esm/src/operationsInterfaces/index.js +3 -5
  182. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  183. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +7 -7
  184. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  185. package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts +9 -9
  186. package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts.map +1 -1
  187. package/dist-esm/test/eventgrid_examples.d.ts.map +1 -1
  188. package/dist-esm/test/eventgrid_examples.js +18 -20
  189. package/dist-esm/test/eventgrid_examples.js.map +1 -1
  190. package/package.json +9 -5
  191. package/review/arm-eventgrid.api.md +44 -457
  192. package/src/eventGridManagementClient.ts +48 -22
  193. package/src/models/index.ts +582 -1175
  194. package/src/models/mappers.ts +663 -1384
  195. package/src/models/parameters.ts +36 -76
  196. package/src/operations/domainEventSubscriptions.ts +42 -42
  197. package/src/operations/domainTopicEventSubscriptions.ts +12 -12
  198. package/src/operations/eventSubscriptions.ts +12 -12
  199. package/src/operations/index.ts +3 -5
  200. package/src/operations/partnerNamespaces.ts +1 -1
  201. package/src/operations/privateEndpointConnections.ts +11 -11
  202. package/src/operations/topicEventSubscriptions.ts +52 -52
  203. package/src/operations/topics.ts +1 -1
  204. package/src/operationsInterfaces/domainEventSubscriptions.ts +16 -16
  205. package/src/operationsInterfaces/index.ts +3 -5
  206. package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
  207. package/src/operationsInterfaces/topicEventSubscriptions.ts +16 -16
  208. package/types/arm-eventgrid.d.ts +95 -780
  209. package/dist-esm/samples-dev/eventChannelsCreateOrUpdateSample.d.ts +0 -2
  210. package/dist-esm/samples-dev/eventChannelsCreateOrUpdateSample.d.ts.map +0 -1
  211. package/dist-esm/samples-dev/eventChannelsCreateOrUpdateSample.js +0 -40
  212. package/dist-esm/samples-dev/eventChannelsCreateOrUpdateSample.js.map +0 -1
  213. package/dist-esm/samples-dev/eventChannelsDeleteSample.d.ts +0 -2
  214. package/dist-esm/samples-dev/eventChannelsDeleteSample.d.ts.map +0 -1
  215. package/dist-esm/samples-dev/eventChannelsDeleteSample.js +0 -32
  216. package/dist-esm/samples-dev/eventChannelsDeleteSample.js.map +0 -1
  217. package/dist-esm/samples-dev/eventChannelsGetSample.d.ts +0 -2
  218. package/dist-esm/samples-dev/eventChannelsGetSample.d.ts.map +0 -1
  219. package/dist-esm/samples-dev/eventChannelsGetSample.js +0 -32
  220. package/dist-esm/samples-dev/eventChannelsGetSample.js.map +0 -1
  221. package/dist-esm/samples-dev/eventChannelsListByPartnerNamespaceSample.d.ts +0 -2
  222. package/dist-esm/samples-dev/eventChannelsListByPartnerNamespaceSample.d.ts.map +0 -1
  223. package/dist-esm/samples-dev/eventChannelsListByPartnerNamespaceSample.js +0 -45
  224. package/dist-esm/samples-dev/eventChannelsListByPartnerNamespaceSample.js.map +0 -1
  225. package/dist-esm/samples-dev/partnerDestinationsActivateSample.d.ts +0 -2
  226. package/dist-esm/samples-dev/partnerDestinationsActivateSample.d.ts.map +0 -1
  227. package/dist-esm/samples-dev/partnerDestinationsActivateSample.js +0 -31
  228. package/dist-esm/samples-dev/partnerDestinationsActivateSample.js.map +0 -1
  229. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.d.ts +0 -2
  230. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.d.ts.map +0 -1
  231. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js +0 -39
  232. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js.map +0 -1
  233. package/dist-esm/samples-dev/partnerDestinationsDeleteSample.d.ts +0 -2
  234. package/dist-esm/samples-dev/partnerDestinationsDeleteSample.d.ts.map +0 -1
  235. package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js +0 -31
  236. package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js.map +0 -1
  237. package/dist-esm/samples-dev/partnerDestinationsGetSample.d.ts +0 -2
  238. package/dist-esm/samples-dev/partnerDestinationsGetSample.d.ts.map +0 -1
  239. package/dist-esm/samples-dev/partnerDestinationsGetSample.js +0 -31
  240. package/dist-esm/samples-dev/partnerDestinationsGetSample.js.map +0 -1
  241. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.d.ts +0 -2
  242. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.d.ts.map +0 -1
  243. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js +0 -44
  244. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js.map +0 -1
  245. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.d.ts +0 -2
  246. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.d.ts.map +0 -1
  247. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js +0 -43
  248. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js.map +0 -1
  249. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.d.ts +0 -2
  250. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.d.ts.map +0 -1
  251. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js +0 -34
  252. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js.map +0 -1
  253. package/dist-esm/src/operations/eventChannels.d.ts +0 -72
  254. package/dist-esm/src/operations/eventChannels.d.ts.map +0 -1
  255. package/dist-esm/src/operations/eventChannels.js +0 -271
  256. package/dist-esm/src/operations/eventChannels.js.map +0 -1
  257. package/dist-esm/src/operations/partnerDestinations.d.ts +0 -98
  258. package/dist-esm/src/operations/partnerDestinations.d.ts.map +0 -1
  259. package/dist-esm/src/operations/partnerDestinations.js +0 -421
  260. package/dist-esm/src/operations/partnerDestinations.js.map +0 -1
  261. package/dist-esm/src/operationsInterfaces/eventChannels.d.ts +0 -47
  262. package/dist-esm/src/operationsInterfaces/eventChannels.d.ts.map +0 -1
  263. package/dist-esm/src/operationsInterfaces/eventChannels.js +0 -9
  264. package/dist-esm/src/operationsInterfaces/eventChannels.js.map +0 -1
  265. package/dist-esm/src/operationsInterfaces/partnerDestinations.d.ts +0 -62
  266. package/dist-esm/src/operationsInterfaces/partnerDestinations.d.ts.map +0 -1
  267. package/dist-esm/src/operationsInterfaces/partnerDestinations.js +0 -9
  268. package/dist-esm/src/operationsInterfaces/partnerDestinations.js.map +0 -1
  269. package/src/operations/eventChannels.ts +0 -384
  270. package/src/operations/partnerDestinations.ts +0 -546
  271. package/src/operationsInterfaces/eventChannels.ts +0 -89
  272. package/src/operationsInterfaces/partnerDestinations.ts +0 -116
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Synchronously creates or updates a new channel with the specified parameters.
15
15
  *
16
16
  * @summary Synchronously creates or updates a new channel with the specified parameters.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Channels_CreateOrUpdate.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_CreateOrUpdate.json
18
18
  */
19
19
  function channelsCreateOrUpdate() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete an existing channel.
15
15
  *
16
16
  * @summary Delete an existing channel.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Channels_Delete.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_Delete.json
18
18
  */
19
19
  function channelsDelete() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get the full endpoint URL of a partner destination channel.
15
15
  *
16
16
  * @summary Get the full endpoint URL of a partner destination channel.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Channels_GetFullUrl.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_GetFullUrl.json
18
18
  */
19
19
  function channelsGetFullUrl() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get properties of a channel.
15
15
  *
16
16
  * @summary Get properties of a channel.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Channels_Get.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_Get.json
18
18
  */
19
19
  function channelsGet() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List all the channels in a partner namespace.
15
15
  *
16
16
  * @summary List all the channels in a partner namespace.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Channels_ListByPartnerNamespace.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_ListByPartnerNamespace.json
18
18
  */
19
19
  function channelsListByPartnerNamespace() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Synchronously updates a channel with the specified parameters.
15
15
  *
16
16
  * @summary Synchronously updates a channel with the specified parameters.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Channels_Update.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_Update.json
18
18
  */
19
19
  function channelsUpdate() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription.
15
15
  *
16
16
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainEventSubscriptions_CreateOrUpdate.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_CreateOrUpdate.json
18
18
  */
19
19
  function domainEventSubscriptionsCreateOrUpdate() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete an existing event subscription for a domain.
15
15
  *
16
16
  * @summary Delete an existing event subscription for a domain.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainEventSubscriptions_Delete.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_Delete.json
18
18
  */
19
19
  function domainEventSubscriptionsDelete() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get all delivery attributes for an event subscription for domain.
15
15
  *
16
16
  * @summary Get all delivery attributes for an event subscription for domain.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainEventSubscriptions_GetDeliveryAttributes.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_GetDeliveryAttributes.json
18
18
  */
19
19
  function domainEventSubscriptionsGetDeliveryAttributes() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get the full endpoint URL for an event subscription for domain.
15
15
  *
16
16
  * @summary Get the full endpoint URL for an event subscription for domain.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainEventSubscriptions_GetFullUrl.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_GetFullUrl.json
18
18
  */
19
19
  function domainEventSubscriptionsGetFullUrl() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get properties of an event subscription of a domain.
15
15
  *
16
16
  * @summary Get properties of an event subscription of a domain.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainEventSubscriptions_Get.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_Get.json
18
18
  */
19
19
  function domainEventSubscriptionsGet() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List all event subscriptions that have been created for a specific topic.
15
15
  *
16
16
  * @summary List all event subscriptions that have been created for a specific topic.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainEventSubscriptions_List.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_List.json
18
18
  */
19
19
  function domainEventSubscriptionsList() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Update an existing event subscription for a topic.
15
15
  *
16
16
  * @summary Update an existing event subscription for a topic.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainEventSubscriptions_Update.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_Update.json
18
18
  */
19
19
  function domainEventSubscriptionsUpdate() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription.
15
15
  *
16
16
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopicEventSubscriptions_CreateOrUpdate.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_CreateOrUpdate.json
18
18
  */
19
19
  function domainTopicEventSubscriptionsCreateOrUpdate() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete a nested existing event subscription for a domain topic.
15
15
  *
16
16
  * @summary Delete a nested existing event subscription for a domain topic.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopicEventSubscriptions_Delete.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_Delete.json
18
18
  */
19
19
  function domainTopicEventSubscriptionsDelete() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get all delivery attributes for an event subscription for domain topic.
15
15
  *
16
16
  * @summary Get all delivery attributes for an event subscription for domain topic.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopicEventSubscriptions_GetDeliveryAttributes.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_GetDeliveryAttributes.json
18
18
  */
19
19
  function domainTopicEventSubscriptionsGetDeliveryAttributes() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get the full endpoint URL for a nested event subscription for domain topic.
15
15
  *
16
16
  * @summary Get the full endpoint URL for a nested event subscription for domain topic.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopicEventSubscriptions_GetFullUrl.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_GetFullUrl.json
18
18
  */
19
19
  function domainTopicEventSubscriptionsGetFullUrl() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get properties of a nested event subscription for a domain topic.
15
15
  *
16
16
  * @summary Get properties of a nested event subscription for a domain topic.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopicEventSubscriptions_Get.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_Get.json
18
18
  */
19
19
  function domainTopicEventSubscriptionsGet() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List all event subscriptions that have been created for a specific domain topic.
15
15
  *
16
16
  * @summary List all event subscriptions that have been created for a specific domain topic.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopicEventSubscriptions_List.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_List.json
18
18
  */
19
19
  function domainTopicEventSubscriptionsList() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Update an existing event subscription for a domain topic.
15
15
  *
16
16
  * @summary Update an existing event subscription for a domain topic.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopicEventSubscriptions_Update.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_Update.json
18
18
  */
19
19
  function domainTopicEventSubscriptionsUpdate() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Asynchronously creates or updates a new domain topic with the specified parameters.
15
15
  *
16
16
  * @summary Asynchronously creates or updates a new domain topic with the specified parameters.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopics_CreateOrUpdate.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopics_CreateOrUpdate.json
18
18
  */
19
19
  function domainTopicsCreateOrUpdate() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete existing domain topic.
15
15
  *
16
16
  * @summary Delete existing domain topic.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopics_Delete.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopics_Delete.json
18
18
  */
19
19
  function domainTopicsDelete() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get properties of a domain topic.
15
15
  *
16
16
  * @summary Get properties of a domain topic.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopics_Get.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopics_Get.json
18
18
  */
19
19
  function domainTopicsGet() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List all the topics in a domain.
15
15
  *
16
16
  * @summary List all the topics in a domain.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/DomainTopics_ListByDomain.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopics_ListByDomain.json
18
18
  */
19
19
  function domainTopicsListByDomain() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Asynchronously creates or updates a new domain with the specified parameters.
15
15
  *
16
16
  * @summary Asynchronously creates or updates a new domain with the specified parameters.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Domains_CreateOrUpdate.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_CreateOrUpdate.json
18
18
  */
19
19
  function domainsCreateOrUpdate() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete existing domain.
15
15
  *
16
16
  * @summary Delete existing domain.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Domains_Delete.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_Delete.json
18
18
  */
19
19
  function domainsDelete() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get properties of a domain.
15
15
  *
16
16
  * @summary Get properties of a domain.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Domains_Get.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_Get.json
18
18
  */
19
19
  function domainsGet() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List all the domains under a resource group.
15
15
  *
16
16
  * @summary List all the domains under a resource group.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Domains_ListByResourceGroup.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_ListByResourceGroup.json
18
18
  */
19
19
  function domainsListByResourceGroup() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List all the domains under an Azure subscription.
15
15
  *
16
16
  * @summary List all the domains under an Azure subscription.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Domains_ListBySubscription.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_ListBySubscription.json
18
18
  */
19
19
  function domainsListBySubscription() {
20
20
  var e_1, _a;
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to List the two keys used to publish to a domain.
15
15
  *
16
16
  * @summary List the two keys used to publish to a domain.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Domains_ListSharedAccessKeys.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_ListSharedAccessKeys.json
18
18
  */
19
19
  function domainsListSharedAccessKeys() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Regenerate a shared access key for a domain.
15
15
  *
16
16
  * @summary Regenerate a shared access key for a domain.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Domains_RegenerateKey.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_RegenerateKey.json
18
18
  */
19
19
  function domainsRegenerateKey() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Asynchronously updates a domain with the specified parameters.
15
15
  *
16
16
  * @summary Asynchronously updates a domain with the specified parameters.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/Domains_Update.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_Update.json
18
18
  */
19
19
  function domainsUpdate() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
15
15
  *
16
16
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic.json
18
18
  */
19
19
  function eventSubscriptionsCreateOrUpdateForCustomTopic() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -43,7 +43,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopic().catch(console.error);
43
43
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
44
44
  *
45
45
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
46
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination.json
46
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination.json
47
47
  */
48
48
  function eventSubscriptionsCreateOrUpdateForCustomTopicAzureFunctionDestination() {
49
49
  return __awaiter(this, void 0, void 0, function* () {
@@ -77,7 +77,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicAzureFunctionDestination().catch(c
77
77
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
78
78
  *
79
79
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
80
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
80
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
81
81
  */
82
82
  function eventSubscriptionsCreateOrUpdateForCustomTopicEventHubDestination() {
83
83
  return __awaiter(this, void 0, void 0, function* () {
@@ -111,7 +111,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicEventHubDestination().catch(consol
111
111
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
112
112
  *
113
113
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
114
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
114
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
115
115
  */
116
116
  function eventSubscriptionsCreateOrUpdateForCustomTopicHybridConnectionDestination() {
117
117
  return __awaiter(this, void 0, void 0, function* () {
@@ -145,7 +145,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicHybridConnectionDestination().catc
145
145
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
146
146
  *
147
147
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
148
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination.json
148
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination.json
149
149
  */
150
150
  function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusQueueDestination() {
151
151
  return __awaiter(this, void 0, void 0, function* () {
@@ -179,7 +179,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusQueueDestination().catch
179
179
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
180
180
  *
181
181
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
182
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination.json
182
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination.json
183
183
  */
184
184
  function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusTopicDestination() {
185
185
  return __awaiter(this, void 0, void 0, function* () {
@@ -213,7 +213,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusTopicDestination().catch
213
213
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
214
214
  *
215
215
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
216
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
216
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
217
217
  */
218
218
  function eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination() {
219
219
  return __awaiter(this, void 0, void 0, function* () {
@@ -228,7 +228,6 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination()
228
228
  },
229
229
  destination: {
230
230
  endpointType: "StorageQueue",
231
- queueMessageTimeToLiveInSeconds: 300,
232
231
  queueName: "queue1",
233
232
  resourceId: "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg"
234
233
  },
@@ -249,7 +248,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination().catch(co
249
248
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
250
249
  *
251
250
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
252
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
251
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
253
252
  */
254
253
  function eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination() {
255
254
  return __awaiter(this, void 0, void 0, function* () {
@@ -258,8 +257,8 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination() {
258
257
  const eventSubscriptionName = "examplesubscription1";
259
258
  const eventSubscriptionInfo = {
260
259
  destination: {
261
- endpointType: "EventHub",
262
- resourceId: "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
260
+ endpointType: "WebHook",
261
+ endpointUrl: "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE"
263
262
  },
264
263
  filter: {
265
264
  isSubjectCaseSensitive: false,
@@ -278,7 +277,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination().catch(console
278
277
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
279
278
  *
280
279
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
281
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json
280
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForResource.json
282
281
  */
283
282
  function eventSubscriptionsCreateOrUpdateForResource() {
284
283
  return __awaiter(this, void 0, void 0, function* () {
@@ -307,7 +306,7 @@ eventSubscriptionsCreateOrUpdateForResource().catch(console.error);
307
306
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
308
307
  *
309
308
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
310
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
309
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
311
310
  */
312
311
  function eventSubscriptionsCreateOrUpdateForResourceGroup() {
313
312
  return __awaiter(this, void 0, void 0, function* () {
@@ -336,7 +335,7 @@ eventSubscriptionsCreateOrUpdateForResourceGroup().catch(console.error);
336
335
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
337
336
  *
338
337
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
339
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
338
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
340
339
  */
341
340
  function eventSubscriptionsCreateOrUpdateForSubscription() {
342
341
  return __awaiter(this, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8CAA8C;;QAC3D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,GACT,gIAAgI,CAAC;QACnI,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;QACrD,MAAM,qBA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,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+CAA+C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"eventSubscriptionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8CAA8C;;QAC3D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,GACT,gIAAgI,CAAC;QACnI,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;QACrD,MAAM,qBAAqB,GAAsB;YAC/C,WAAW,EAAE;gBACX,YAAY,EAAE,UAAU;gBACxB,UAAU,EACR,kJAAkJ;aACrJ;YACD,MAAM,EAAE;gBACN,sBAAsB,EAAE,KAAK;gBAC7B,iBAAiB,EAAE,eAAe;gBAClC,eAAe,EAAE,eAAe;aACjC;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CACvE,KAAK,EACL,qBAAqB,EACrB,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,8CAA8C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAEtE;;;;;GAKG;AACH,SAAe,sEAAsE;;QACnF,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,GACT,gIA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AC;QAC9D,MAAM,KAAK,GAAG,oDAAoD,CAAC;QACnE,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;QACrD,MAAM,qBAAqB,GAAsB;YAC/C,WAAW,EAAE;gBACX,YAAY,EAAE,SAAS;gBACvB,WAAW,EAAE,8BAA8B;aAC5C;YACD,MAAM,EAAE,EAAE,sBAAsB,EAAE,KAAK,EAAE;SAC1C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CACvE,KAAK,EACL,qBAAqB,EACrB,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+CAA+C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Delete an existing event subscription.
15
15
  *
16
16
  * @summary Delete an existing event subscription.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_DeleteForCustomTopic.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForCustomTopic.json
18
18
  */
19
19
  function eventSubscriptionsDeleteForCustomTopic() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
@@ -32,7 +32,7 @@ eventSubscriptionsDeleteForCustomTopic().catch(console.error);
32
32
  * This sample demonstrates how to Delete an existing event subscription.
33
33
  *
34
34
  * @summary Delete an existing event subscription.
35
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_DeleteForResource.json
35
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForResource.json
36
36
  */
37
37
  function eventSubscriptionsDeleteForResource() {
38
38
  return __awaiter(this, void 0, void 0, function* () {
@@ -50,7 +50,7 @@ eventSubscriptionsDeleteForResource().catch(console.error);
50
50
  * This sample demonstrates how to Delete an existing event subscription.
51
51
  *
52
52
  * @summary Delete an existing event subscription.
53
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_DeleteForResourceGroup.json
53
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForResourceGroup.json
54
54
  */
55
55
  function eventSubscriptionsDeleteForResourceGroup() {
56
56
  return __awaiter(this, void 0, void 0, function* () {
@@ -68,7 +68,7 @@ eventSubscriptionsDeleteForResourceGroup().catch(console.error);
68
68
  * This sample demonstrates how to Delete an existing event subscription.
69
69
  *
70
70
  * @summary Delete an existing event subscription.
71
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_DeleteForSubscription.json
71
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForSubscription.json
72
72
  */
73
73
  function eventSubscriptionsDeleteForSubscription() {
74
74
  return __awaiter(this, void 0, void 0, function* () {
@@ -14,13 +14,13 @@ import { DefaultAzureCredential } from "@azure/identity";
14
14
  * This sample demonstrates how to Get all delivery attributes for an event subscription.
15
15
  *
16
16
  * @summary Get all delivery attributes for an event subscription.
17
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2021-10-15-preview/examples/EventSubscriptions_GetDeliveryAttributes.json
17
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_GetDeliveryAttributes.json
18
18
  */
19
19
  function eventSubscriptionsGetDeliveryAttributes() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
23
- const eventSubscriptionName = "examplesubscription1";
22
+ const scope = "aaaaaaaaaaaaaaaaaaaaaaaaa";
23
+ const eventSubscriptionName = "aaaaaaaaaaaaaaaaaa";
24
24
  const credential = new DefaultAzureCredential();
25
25
  const client = new EventGridManagementClient(credential, subscriptionId);
26
26
  const result = yield client.eventSubscriptions.getDeliveryAttributes(scope, eventSubscriptionName);
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsGetDeliveryAttributesSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetDeliveryAttributesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,GACT,gIAAgI,CAAC;QACnI,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;QACrD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,qBAAqB,CAClE,KAAK,EACL,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"eventSubscriptionsGetDeliveryAttributesSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetDeliveryAttributesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,GAAG,2BAA2B,CAAC;QAC1C,MAAM,qBAAqB,GAAG,oBAAoB,CAAC;QACnD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,qBAAqB,CAClE,KAAK,EACL,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}