@azure/arm-eventgrid 14.1.1-alpha.20230512.1 → 14.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (592) hide show
  1. package/CHANGELOG.md +316 -10
  2. package/README.md +1 -1
  3. package/dist/index.js +14861 -7238
  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/caCertificatesCreateOrUpdateSample.d.ts +2 -0
  8. package/dist-esm/samples-dev/caCertificatesCreateOrUpdateSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/caCertificatesCreateOrUpdateSample.js +44 -0
  10. package/dist-esm/samples-dev/caCertificatesCreateOrUpdateSample.js.map +1 -0
  11. package/dist-esm/samples-dev/caCertificatesDeleteSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/caCertificatesDeleteSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/caCertificatesDeleteSample.js +40 -0
  14. package/dist-esm/samples-dev/caCertificatesDeleteSample.js.map +1 -0
  15. package/dist-esm/samples-dev/caCertificatesGetSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/caCertificatesGetSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/caCertificatesGetSample.js +40 -0
  18. package/dist-esm/samples-dev/caCertificatesGetSample.js.map +1 -0
  19. package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js +60 -0
  22. package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js.map +1 -0
  23. package/dist-esm/samples-dev/channelsCreateOrUpdateSample.js +3 -3
  24. package/dist-esm/samples-dev/channelsDeleteSample.js +2 -2
  25. package/dist-esm/samples-dev/channelsGetFullUrlSample.js +2 -2
  26. package/dist-esm/samples-dev/channelsGetSample.js +2 -2
  27. package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js +2 -2
  28. package/dist-esm/samples-dev/channelsUpdateSample.js +2 -2
  29. package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.d.ts +2 -0
  30. package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.js +44 -0
  32. package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.js.map +1 -0
  33. package/dist-esm/samples-dev/clientGroupsDeleteSample.d.ts +2 -0
  34. package/dist-esm/samples-dev/clientGroupsDeleteSample.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/clientGroupsDeleteSample.js +40 -0
  36. package/dist-esm/samples-dev/clientGroupsDeleteSample.js.map +1 -0
  37. package/dist-esm/samples-dev/clientGroupsGetSample.d.ts +2 -0
  38. package/dist-esm/samples-dev/clientGroupsGetSample.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/clientGroupsGetSample.js +40 -0
  40. package/dist-esm/samples-dev/clientGroupsGetSample.js.map +1 -0
  41. package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.d.ts +2 -0
  42. package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js +60 -0
  44. package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js.map +1 -0
  45. package/dist-esm/samples-dev/clientsCreateOrUpdateSample.d.ts +2 -0
  46. package/dist-esm/samples-dev/clientsCreateOrUpdateSample.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/clientsCreateOrUpdateSample.js +53 -0
  48. package/dist-esm/samples-dev/clientsCreateOrUpdateSample.js.map +1 -0
  49. package/dist-esm/samples-dev/clientsDeleteSample.d.ts +2 -0
  50. package/dist-esm/samples-dev/clientsDeleteSample.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/clientsDeleteSample.js +40 -0
  52. package/dist-esm/samples-dev/clientsDeleteSample.js.map +1 -0
  53. package/dist-esm/samples-dev/clientsGetSample.d.ts +2 -0
  54. package/dist-esm/samples-dev/clientsGetSample.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/clientsGetSample.js +40 -0
  56. package/dist-esm/samples-dev/clientsGetSample.js.map +1 -0
  57. package/dist-esm/samples-dev/clientsListByNamespaceSample.d.ts +2 -0
  58. package/dist-esm/samples-dev/clientsListByNamespaceSample.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/clientsListByNamespaceSample.js +60 -0
  60. package/dist-esm/samples-dev/clientsListByNamespaceSample.js.map +1 -0
  61. package/dist-esm/samples-dev/domainEventSubscriptionsCreateOrUpdateSample.js +2 -2
  62. package/dist-esm/samples-dev/domainEventSubscriptionsDeleteSample.js +2 -2
  63. package/dist-esm/samples-dev/domainEventSubscriptionsGetDeliveryAttributesSample.js +2 -2
  64. package/dist-esm/samples-dev/domainEventSubscriptionsGetFullUrlSample.js +2 -2
  65. package/dist-esm/samples-dev/domainEventSubscriptionsGetSample.js +2 -2
  66. package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js +2 -2
  67. package/dist-esm/samples-dev/domainEventSubscriptionsUpdateSample.js +2 -2
  68. package/dist-esm/samples-dev/domainTopicEventSubscriptionsCreateOrUpdateSample.js +2 -2
  69. package/dist-esm/samples-dev/domainTopicEventSubscriptionsDeleteSample.js +2 -2
  70. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetDeliveryAttributesSample.js +2 -2
  71. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetFullUrlSample.js +2 -2
  72. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetSample.js +2 -2
  73. package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js +2 -2
  74. package/dist-esm/samples-dev/domainTopicEventSubscriptionsUpdateSample.js +2 -2
  75. package/dist-esm/samples-dev/domainTopicsCreateOrUpdateSample.js +2 -2
  76. package/dist-esm/samples-dev/domainTopicsDeleteSample.js +2 -2
  77. package/dist-esm/samples-dev/domainTopicsGetSample.js +2 -2
  78. package/dist-esm/samples-dev/domainTopicsListByDomainSample.js +2 -2
  79. package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js +2 -2
  80. package/dist-esm/samples-dev/domainsDeleteSample.js +2 -2
  81. package/dist-esm/samples-dev/domainsGetSample.js +2 -2
  82. package/dist-esm/samples-dev/domainsListByResourceGroupSample.js +2 -2
  83. package/dist-esm/samples-dev/domainsListBySubscriptionSample.js +2 -2
  84. package/dist-esm/samples-dev/domainsListSharedAccessKeysSample.js +2 -2
  85. package/dist-esm/samples-dev/domainsRegenerateKeySample.js +2 -2
  86. package/dist-esm/samples-dev/domainsUpdateSample.js +2 -2
  87. package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js +25 -24
  88. package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js.map +1 -1
  89. package/dist-esm/samples-dev/eventSubscriptionsDeleteSample.js +8 -8
  90. package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js +3 -3
  91. package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
  92. package/dist-esm/samples-dev/eventSubscriptionsGetFullUrlSample.js +8 -8
  93. package/dist-esm/samples-dev/eventSubscriptionsGetSample.js +22 -22
  94. package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js +2 -2
  95. package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js +2 -2
  96. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js +2 -2
  97. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js +2 -2
  98. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js +2 -2
  99. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js +2 -2
  100. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js +2 -2
  101. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js +2 -2
  102. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js +2 -2
  103. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js +2 -2
  104. package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js +22 -22
  105. package/dist-esm/samples-dev/extensionTopicsGetSample.js +2 -2
  106. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.d.ts +2 -0
  107. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.d.ts.map +1 -0
  108. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.js +52 -0
  109. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.js.map +1 -0
  110. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.d.ts +2 -0
  111. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.d.ts.map +1 -0
  112. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.js +41 -0
  113. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.js.map +1 -0
  114. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.d.ts +2 -0
  115. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.d.ts.map +1 -0
  116. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.js +41 -0
  117. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.js.map +1 -0
  118. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.d.ts +2 -0
  119. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.d.ts.map +1 -0
  120. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js +61 -0
  121. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js.map +1 -0
  122. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.d.ts +2 -0
  123. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.d.ts.map +1 -0
  124. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.js +52 -0
  125. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.js.map +1 -0
  126. package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.d.ts +2 -0
  127. package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.d.ts.map +1 -0
  128. package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.js +45 -0
  129. package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.js.map +1 -0
  130. package/dist-esm/samples-dev/namespaceTopicsDeleteSample.d.ts +2 -0
  131. package/dist-esm/samples-dev/namespaceTopicsDeleteSample.d.ts.map +1 -0
  132. package/dist-esm/samples-dev/namespaceTopicsDeleteSample.js +40 -0
  133. package/dist-esm/samples-dev/namespaceTopicsDeleteSample.js.map +1 -0
  134. package/dist-esm/samples-dev/namespaceTopicsGetSample.d.ts +2 -0
  135. package/dist-esm/samples-dev/namespaceTopicsGetSample.d.ts.map +1 -0
  136. package/dist-esm/samples-dev/namespaceTopicsGetSample.js +40 -0
  137. package/dist-esm/samples-dev/namespaceTopicsGetSample.js.map +1 -0
  138. package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.d.ts +2 -0
  139. package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.d.ts.map +1 -0
  140. package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js +60 -0
  141. package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js.map +1 -0
  142. package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.d.ts +2 -0
  143. package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.d.ts.map +1 -0
  144. package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.js +40 -0
  145. package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.js.map +1 -0
  146. package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.d.ts +2 -0
  147. package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.d.ts.map +1 -0
  148. package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.js +41 -0
  149. package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.js.map +1 -0
  150. package/dist-esm/samples-dev/namespaceTopicsUpdateSample.d.ts +2 -0
  151. package/dist-esm/samples-dev/namespaceTopicsUpdateSample.d.ts.map +1 -0
  152. package/dist-esm/samples-dev/namespaceTopicsUpdateSample.js +43 -0
  153. package/dist-esm/samples-dev/namespaceTopicsUpdateSample.js.map +1 -0
  154. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts +2 -0
  155. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts.map +1 -0
  156. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +47 -0
  157. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js.map +1 -0
  158. package/dist-esm/samples-dev/namespacesDeleteSample.d.ts +2 -0
  159. package/dist-esm/samples-dev/namespacesDeleteSample.d.ts.map +1 -0
  160. package/dist-esm/samples-dev/namespacesDeleteSample.js +39 -0
  161. package/dist-esm/samples-dev/namespacesDeleteSample.js.map +1 -0
  162. package/dist-esm/samples-dev/namespacesGetSample.d.ts +2 -0
  163. package/dist-esm/samples-dev/namespacesGetSample.d.ts.map +1 -0
  164. package/dist-esm/samples-dev/namespacesGetSample.js +39 -0
  165. package/dist-esm/samples-dev/namespacesGetSample.js.map +1 -0
  166. package/dist-esm/samples-dev/namespacesListByResourceGroupSample.d.ts +2 -0
  167. package/dist-esm/samples-dev/namespacesListByResourceGroupSample.d.ts.map +1 -0
  168. package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js +59 -0
  169. package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js.map +1 -0
  170. package/dist-esm/samples-dev/namespacesListBySubscriptionSample.d.ts +2 -0
  171. package/dist-esm/samples-dev/namespacesListBySubscriptionSample.d.ts.map +1 -0
  172. package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js +58 -0
  173. package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js.map +1 -0
  174. package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.d.ts +2 -0
  175. package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.d.ts.map +1 -0
  176. package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.js +39 -0
  177. package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.js.map +1 -0
  178. package/dist-esm/samples-dev/namespacesRegenerateKeySample.d.ts +2 -0
  179. package/dist-esm/samples-dev/namespacesRegenerateKeySample.d.ts.map +1 -0
  180. package/dist-esm/samples-dev/namespacesRegenerateKeySample.js +42 -0
  181. package/dist-esm/samples-dev/namespacesRegenerateKeySample.js.map +1 -0
  182. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts +2 -0
  183. package/dist-esm/samples-dev/namespacesUpdateSample.d.ts.map +1 -0
  184. package/dist-esm/samples-dev/namespacesUpdateSample.js +42 -0
  185. package/dist-esm/samples-dev/namespacesUpdateSample.js.map +1 -0
  186. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  187. package/dist-esm/samples-dev/partnerConfigurationsAuthorizePartnerSample.js +2 -2
  188. package/dist-esm/samples-dev/partnerConfigurationsCreateOrUpdateSample.js +2 -2
  189. package/dist-esm/samples-dev/partnerConfigurationsDeleteSample.js +2 -2
  190. package/dist-esm/samples-dev/partnerConfigurationsGetSample.js +2 -2
  191. package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js +2 -2
  192. package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js +2 -2
  193. package/dist-esm/samples-dev/partnerConfigurationsUnauthorizePartnerSample.js +2 -2
  194. package/dist-esm/samples-dev/partnerConfigurationsUpdateSample.js +2 -2
  195. package/dist-esm/samples-dev/partnerDestinationsActivateSample.d.ts +2 -0
  196. package/dist-esm/samples-dev/partnerDestinationsActivateSample.d.ts.map +1 -0
  197. package/dist-esm/samples-dev/partnerDestinationsActivateSample.js +39 -0
  198. package/dist-esm/samples-dev/partnerDestinationsActivateSample.js.map +1 -0
  199. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.d.ts +2 -0
  200. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.d.ts.map +1 -0
  201. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js +47 -0
  202. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js.map +1 -0
  203. package/dist-esm/samples-dev/partnerDestinationsDeleteSample.d.ts +2 -0
  204. package/dist-esm/samples-dev/partnerDestinationsDeleteSample.d.ts.map +1 -0
  205. package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js +39 -0
  206. package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js.map +1 -0
  207. package/dist-esm/samples-dev/partnerDestinationsGetSample.d.ts +2 -0
  208. package/dist-esm/samples-dev/partnerDestinationsGetSample.d.ts.map +1 -0
  209. package/dist-esm/samples-dev/partnerDestinationsGetSample.js +39 -0
  210. package/dist-esm/samples-dev/partnerDestinationsGetSample.js.map +1 -0
  211. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.d.ts +2 -0
  212. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.d.ts.map +1 -0
  213. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js +59 -0
  214. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js.map +1 -0
  215. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.d.ts +2 -0
  216. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.d.ts.map +1 -0
  217. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js +58 -0
  218. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js.map +1 -0
  219. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.d.ts +2 -0
  220. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.d.ts.map +1 -0
  221. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js +42 -0
  222. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js.map +1 -0
  223. package/dist-esm/samples-dev/partnerNamespacesCreateOrUpdateSample.js +3 -3
  224. package/dist-esm/samples-dev/partnerNamespacesDeleteSample.js +2 -2
  225. package/dist-esm/samples-dev/partnerNamespacesGetSample.js +2 -2
  226. package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js +2 -2
  227. package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js +2 -2
  228. package/dist-esm/samples-dev/partnerNamespacesListSharedAccessKeysSample.js +2 -2
  229. package/dist-esm/samples-dev/partnerNamespacesRegenerateKeySample.js +2 -2
  230. package/dist-esm/samples-dev/partnerNamespacesUpdateSample.js +2 -2
  231. package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js +2 -2
  232. package/dist-esm/samples-dev/partnerRegistrationsDeleteSample.js +2 -2
  233. package/dist-esm/samples-dev/partnerRegistrationsGetSample.js +2 -2
  234. package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js +2 -2
  235. package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js +2 -2
  236. package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js +3 -3
  237. package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js.map +1 -1
  238. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsCreateOrUpdateSample.js +2 -2
  239. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsDeleteSample.js +2 -2
  240. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetDeliveryAttributesSample.js +2 -2
  241. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetFullUrlSample.js +2 -2
  242. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetSample.js +2 -2
  243. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js +2 -2
  244. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsUpdateSample.js +2 -2
  245. package/dist-esm/samples-dev/partnerTopicsActivateSample.js +2 -2
  246. package/dist-esm/samples-dev/partnerTopicsCreateOrUpdateSample.js +2 -2
  247. package/dist-esm/samples-dev/partnerTopicsDeactivateSample.js +2 -2
  248. package/dist-esm/samples-dev/partnerTopicsDeleteSample.js +2 -2
  249. package/dist-esm/samples-dev/partnerTopicsGetSample.js +2 -2
  250. package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js +2 -2
  251. package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js +2 -2
  252. package/dist-esm/samples-dev/partnerTopicsUpdateSample.js +2 -2
  253. package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.d.ts +2 -0
  254. package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.d.ts.map +1 -0
  255. package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.js +45 -0
  256. package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.js.map +1 -0
  257. package/dist-esm/samples-dev/permissionBindingsDeleteSample.d.ts +2 -0
  258. package/dist-esm/samples-dev/permissionBindingsDeleteSample.d.ts.map +1 -0
  259. package/dist-esm/samples-dev/permissionBindingsDeleteSample.js +40 -0
  260. package/dist-esm/samples-dev/permissionBindingsDeleteSample.js.map +1 -0
  261. package/dist-esm/samples-dev/permissionBindingsGetSample.d.ts +2 -0
  262. package/dist-esm/samples-dev/permissionBindingsGetSample.d.ts.map +1 -0
  263. package/dist-esm/samples-dev/permissionBindingsGetSample.js +40 -0
  264. package/dist-esm/samples-dev/permissionBindingsGetSample.js.map +1 -0
  265. package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.d.ts +2 -0
  266. package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.d.ts.map +1 -0
  267. package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js +60 -0
  268. package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js.map +1 -0
  269. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +4 -4
  270. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +4 -4
  271. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js +4 -4
  272. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +2 -2
  273. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +2 -2
  274. package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js +4 -4
  275. package/dist-esm/samples-dev/systemTopicEventSubscriptionsCreateOrUpdateSample.js +2 -2
  276. package/dist-esm/samples-dev/systemTopicEventSubscriptionsDeleteSample.js +2 -2
  277. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetDeliveryAttributesSample.js +2 -2
  278. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetFullUrlSample.js +2 -2
  279. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetSample.js +2 -2
  280. package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js +2 -2
  281. package/dist-esm/samples-dev/systemTopicEventSubscriptionsUpdateSample.js +2 -2
  282. package/dist-esm/samples-dev/systemTopicsCreateOrUpdateSample.js +3 -3
  283. package/dist-esm/samples-dev/systemTopicsDeleteSample.js +2 -2
  284. package/dist-esm/samples-dev/systemTopicsGetSample.js +2 -2
  285. package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js +2 -2
  286. package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js +2 -2
  287. package/dist-esm/samples-dev/systemTopicsUpdateSample.js +2 -2
  288. package/dist-esm/samples-dev/topicEventSubscriptionsCreateOrUpdateSample.js +2 -2
  289. package/dist-esm/samples-dev/topicEventSubscriptionsDeleteSample.js +2 -2
  290. package/dist-esm/samples-dev/topicEventSubscriptionsGetDeliveryAttributesSample.js +2 -2
  291. package/dist-esm/samples-dev/topicEventSubscriptionsGetFullUrlSample.js +2 -2
  292. package/dist-esm/samples-dev/topicEventSubscriptionsGetSample.js +2 -2
  293. package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js +2 -2
  294. package/dist-esm/samples-dev/topicEventSubscriptionsUpdateSample.js +2 -2
  295. package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.d.ts +2 -0
  296. package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.d.ts.map +1 -0
  297. package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.js +41 -0
  298. package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.js.map +1 -0
  299. package/dist-esm/samples-dev/topicSpacesDeleteSample.d.ts +2 -0
  300. package/dist-esm/samples-dev/topicSpacesDeleteSample.d.ts.map +1 -0
  301. package/dist-esm/samples-dev/topicSpacesDeleteSample.js +40 -0
  302. package/dist-esm/samples-dev/topicSpacesDeleteSample.js.map +1 -0
  303. package/dist-esm/samples-dev/topicSpacesGetSample.d.ts +2 -0
  304. package/dist-esm/samples-dev/topicSpacesGetSample.d.ts.map +1 -0
  305. package/dist-esm/samples-dev/topicSpacesGetSample.js +40 -0
  306. package/dist-esm/samples-dev/topicSpacesGetSample.js.map +1 -0
  307. package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.d.ts +2 -0
  308. package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.d.ts.map +1 -0
  309. package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js +60 -0
  310. package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js.map +1 -0
  311. package/dist-esm/samples-dev/topicTypesGetSample.js +1 -1
  312. package/dist-esm/samples-dev/topicTypesListEventTypesSample.js +1 -1
  313. package/dist-esm/samples-dev/topicTypesListSample.js +1 -1
  314. package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js +31 -2
  315. package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js.map +1 -1
  316. package/dist-esm/samples-dev/topicsDeleteSample.js +3 -3
  317. package/dist-esm/samples-dev/topicsDeleteSample.js.map +1 -1
  318. package/dist-esm/samples-dev/topicsGetSample.js +2 -2
  319. package/dist-esm/samples-dev/topicsListByResourceGroupSample.js +2 -2
  320. package/dist-esm/samples-dev/topicsListBySubscriptionSample.js +2 -2
  321. package/dist-esm/samples-dev/topicsListEventTypesSample.js +2 -2
  322. package/dist-esm/samples-dev/topicsListSharedAccessKeysSample.js +2 -2
  323. package/dist-esm/samples-dev/topicsRegenerateKeySample.js +2 -2
  324. package/dist-esm/samples-dev/topicsUpdateSample.js +2 -2
  325. package/dist-esm/samples-dev/verifiedPartnersGetSample.js +1 -1
  326. package/dist-esm/samples-dev/verifiedPartnersListSample.js +1 -1
  327. package/dist-esm/src/eventGridManagementClient.d.ts +12 -3
  328. package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -1
  329. package/dist-esm/src/eventGridManagementClient.js +14 -5
  330. package/dist-esm/src/eventGridManagementClient.js.map +1 -1
  331. package/dist-esm/src/lroImpl.d.ts +6 -11
  332. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  333. package/dist-esm/src/lroImpl.js +12 -20
  334. package/dist-esm/src/lroImpl.js.map +1 -1
  335. package/dist-esm/src/models/index.d.ts +2502 -415
  336. package/dist-esm/src/models/index.d.ts.map +1 -1
  337. package/dist-esm/src/models/index.js +414 -36
  338. package/dist-esm/src/models/index.js.map +1 -1
  339. package/dist-esm/src/models/mappers.d.ts +146 -13
  340. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  341. package/dist-esm/src/models/mappers.js +3846 -1290
  342. package/dist-esm/src/models/mappers.js.map +1 -1
  343. package/dist-esm/src/models/parameters.d.ts +30 -7
  344. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  345. package/dist-esm/src/models/parameters.js +213 -22
  346. package/dist-esm/src/models/parameters.js.map +1 -1
  347. package/dist-esm/src/operations/caCertificates.d.ts +81 -0
  348. package/dist-esm/src/operations/caCertificates.d.ts.map +1 -0
  349. package/dist-esm/src/operations/caCertificates.js +369 -0
  350. package/dist-esm/src/operations/caCertificates.js.map +1 -0
  351. package/dist-esm/src/operations/channels.d.ts +2 -2
  352. package/dist-esm/src/operations/channels.d.ts.map +1 -1
  353. package/dist-esm/src/operations/channels.js +12 -8
  354. package/dist-esm/src/operations/channels.js.map +1 -1
  355. package/dist-esm/src/operations/clientGroups.d.ts +81 -0
  356. package/dist-esm/src/operations/clientGroups.d.ts.map +1 -0
  357. package/dist-esm/src/operations/clientGroups.js +369 -0
  358. package/dist-esm/src/operations/clientGroups.js.map +1 -0
  359. package/dist-esm/src/operations/clients.d.ts +81 -0
  360. package/dist-esm/src/operations/clients.d.ts.map +1 -0
  361. package/dist-esm/src/operations/clients.js +369 -0
  362. package/dist-esm/src/operations/clients.js.map +1 -0
  363. package/dist-esm/src/operations/domainEventSubscriptions.d.ts +6 -6
  364. package/dist-esm/src/operations/domainEventSubscriptions.d.ts.map +1 -1
  365. package/dist-esm/src/operations/domainEventSubscriptions.js +40 -28
  366. package/dist-esm/src/operations/domainEventSubscriptions.js.map +1 -1
  367. package/dist-esm/src/operations/domainTopicEventSubscriptions.d.ts +14 -14
  368. package/dist-esm/src/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
  369. package/dist-esm/src/operations/domainTopicEventSubscriptions.js +84 -72
  370. package/dist-esm/src/operations/domainTopicEventSubscriptions.js.map +1 -1
  371. package/dist-esm/src/operations/domainTopics.d.ts +3 -3
  372. package/dist-esm/src/operations/domainTopics.d.ts.map +1 -1
  373. package/dist-esm/src/operations/domainTopics.js +18 -10
  374. package/dist-esm/src/operations/domainTopics.js.map +1 -1
  375. package/dist-esm/src/operations/domains.d.ts +4 -4
  376. package/dist-esm/src/operations/domains.d.ts.map +1 -1
  377. package/dist-esm/src/operations/domains.js +26 -14
  378. package/dist-esm/src/operations/domains.js.map +1 -1
  379. package/dist-esm/src/operations/eventSubscriptions.d.ts +19 -19
  380. package/dist-esm/src/operations/eventSubscriptions.d.ts.map +1 -1
  381. package/dist-esm/src/operations/eventSubscriptions.js +65 -53
  382. package/dist-esm/src/operations/eventSubscriptions.js.map +1 -1
  383. package/dist-esm/src/operations/index.d.ts +11 -2
  384. package/dist-esm/src/operations/index.d.ts.map +1 -1
  385. package/dist-esm/src/operations/index.js +11 -2
  386. package/dist-esm/src/operations/index.js.map +1 -1
  387. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts +120 -0
  388. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts.map +1 -0
  389. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js +509 -0
  390. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js.map +1 -0
  391. package/dist-esm/src/operations/namespaceTopics.d.ts +125 -0
  392. package/dist-esm/src/operations/namespaceTopics.d.ts.map +1 -0
  393. package/dist-esm/src/operations/namespaceTopics.js +599 -0
  394. package/dist-esm/src/operations/namespaceTopics.js.map +1 -0
  395. package/dist-esm/src/operations/namespaces.d.ts +130 -0
  396. package/dist-esm/src/operations/namespaces.d.ts.map +1 -0
  397. package/dist-esm/src/operations/namespaces.js +681 -0
  398. package/dist-esm/src/operations/namespaces.js.map +1 -0
  399. package/dist-esm/src/operations/partnerConfigurations.d.ts +4 -4
  400. package/dist-esm/src/operations/partnerConfigurations.d.ts.map +1 -1
  401. package/dist-esm/src/operations/partnerConfigurations.js +30 -14
  402. package/dist-esm/src/operations/partnerConfigurations.js.map +1 -1
  403. package/dist-esm/src/operations/partnerDestinations.d.ts +114 -0
  404. package/dist-esm/src/operations/partnerDestinations.d.ts.map +1 -0
  405. package/dist-esm/src/operations/partnerDestinations.js +596 -0
  406. package/dist-esm/src/operations/partnerDestinations.js.map +1 -0
  407. package/dist-esm/src/operations/partnerNamespaces.d.ts +4 -4
  408. package/dist-esm/src/operations/partnerNamespaces.d.ts.map +1 -1
  409. package/dist-esm/src/operations/partnerNamespaces.js +40 -26
  410. package/dist-esm/src/operations/partnerNamespaces.js.map +1 -1
  411. package/dist-esm/src/operations/partnerRegistrations.d.ts +4 -4
  412. package/dist-esm/src/operations/partnerRegistrations.d.ts.map +1 -1
  413. package/dist-esm/src/operations/partnerRegistrations.js +36 -24
  414. package/dist-esm/src/operations/partnerRegistrations.js.map +1 -1
  415. package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts +4 -4
  416. package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts.map +1 -1
  417. package/dist-esm/src/operations/partnerTopicEventSubscriptions.js +43 -26
  418. package/dist-esm/src/operations/partnerTopicEventSubscriptions.js.map +1 -1
  419. package/dist-esm/src/operations/partnerTopics.d.ts +2 -2
  420. package/dist-esm/src/operations/partnerTopics.d.ts.map +1 -1
  421. package/dist-esm/src/operations/partnerTopics.js +10 -6
  422. package/dist-esm/src/operations/partnerTopics.js.map +1 -1
  423. package/dist-esm/src/operations/permissionBindings.d.ts +81 -0
  424. package/dist-esm/src/operations/permissionBindings.d.ts.map +1 -0
  425. package/dist-esm/src/operations/permissionBindings.js +374 -0
  426. package/dist-esm/src/operations/permissionBindings.js.map +1 -0
  427. package/dist-esm/src/operations/privateEndpointConnections.d.ts +28 -26
  428. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  429. package/dist-esm/src/operations/privateEndpointConnections.js +69 -45
  430. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  431. package/dist-esm/src/operations/privateLinkResources.d.ts +12 -11
  432. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
  433. package/dist-esm/src/operations/privateLinkResources.js +12 -11
  434. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  435. package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts +14 -14
  436. package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
  437. package/dist-esm/src/operations/systemTopicEventSubscriptions.js +74 -57
  438. package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -1
  439. package/dist-esm/src/operations/systemTopics.d.ts +4 -4
  440. package/dist-esm/src/operations/systemTopics.d.ts.map +1 -1
  441. package/dist-esm/src/operations/systemTopics.js +31 -19
  442. package/dist-esm/src/operations/systemTopics.js.map +1 -1
  443. package/dist-esm/src/operations/topicEventSubscriptions.d.ts +6 -6
  444. package/dist-esm/src/operations/topicEventSubscriptions.d.ts.map +1 -1
  445. package/dist-esm/src/operations/topicEventSubscriptions.js +40 -28
  446. package/dist-esm/src/operations/topicEventSubscriptions.js.map +1 -1
  447. package/dist-esm/src/operations/topicSpaces.d.ts +81 -0
  448. package/dist-esm/src/operations/topicSpaces.d.ts.map +1 -0
  449. package/dist-esm/src/operations/topicSpaces.js +369 -0
  450. package/dist-esm/src/operations/topicSpaces.js.map +1 -0
  451. package/dist-esm/src/operations/topics.d.ts +7 -7
  452. package/dist-esm/src/operations/topics.d.ts.map +1 -1
  453. package/dist-esm/src/operations/topics.js +50 -20
  454. package/dist-esm/src/operations/topics.js.map +1 -1
  455. package/dist-esm/src/operationsInterfaces/caCertificates.d.ts +56 -0
  456. package/dist-esm/src/operationsInterfaces/caCertificates.d.ts.map +1 -0
  457. package/dist-esm/src/operationsInterfaces/caCertificates.js +9 -0
  458. package/dist-esm/src/operationsInterfaces/caCertificates.js.map +1 -0
  459. package/dist-esm/src/operationsInterfaces/channels.d.ts +2 -2
  460. package/dist-esm/src/operationsInterfaces/channels.d.ts.map +1 -1
  461. package/dist-esm/src/operationsInterfaces/clientGroups.d.ts +56 -0
  462. package/dist-esm/src/operationsInterfaces/clientGroups.d.ts.map +1 -0
  463. package/dist-esm/src/operationsInterfaces/clientGroups.js +9 -0
  464. package/dist-esm/src/operationsInterfaces/clientGroups.js.map +1 -0
  465. package/dist-esm/src/operationsInterfaces/clients.d.ts +56 -0
  466. package/dist-esm/src/operationsInterfaces/clients.d.ts.map +1 -0
  467. package/dist-esm/src/operationsInterfaces/clients.js +9 -0
  468. package/dist-esm/src/operationsInterfaces/clients.js.map +1 -0
  469. package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts +6 -6
  470. package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts.map +1 -1
  471. package/dist-esm/src/operationsInterfaces/domainTopicEventSubscriptions.d.ts +14 -14
  472. package/dist-esm/src/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
  473. package/dist-esm/src/operationsInterfaces/domainTopics.d.ts +3 -3
  474. package/dist-esm/src/operationsInterfaces/domainTopics.d.ts.map +1 -1
  475. package/dist-esm/src/operationsInterfaces/domains.d.ts +4 -4
  476. package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -1
  477. package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts +19 -19
  478. package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
  479. package/dist-esm/src/operationsInterfaces/index.d.ts +11 -2
  480. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  481. package/dist-esm/src/operationsInterfaces/index.js +11 -2
  482. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  483. package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts +93 -0
  484. package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts.map +1 -0
  485. package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.js +9 -0
  486. package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.js.map +1 -0
  487. package/dist-esm/src/operationsInterfaces/namespaceTopics.d.ts +100 -0
  488. package/dist-esm/src/operationsInterfaces/namespaceTopics.d.ts.map +1 -0
  489. package/dist-esm/src/operationsInterfaces/namespaceTopics.js +9 -0
  490. package/dist-esm/src/operationsInterfaces/namespaceTopics.js.map +1 -0
  491. package/dist-esm/src/operationsInterfaces/namespaces.d.ts +94 -0
  492. package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -0
  493. package/dist-esm/src/operationsInterfaces/namespaces.js +9 -0
  494. package/dist-esm/src/operationsInterfaces/namespaces.js.map +1 -0
  495. package/dist-esm/src/operationsInterfaces/partnerConfigurations.d.ts +4 -4
  496. package/dist-esm/src/operationsInterfaces/partnerConfigurations.d.ts.map +1 -1
  497. package/dist-esm/src/operationsInterfaces/partnerDestinations.d.ts +78 -0
  498. package/dist-esm/src/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
  499. package/dist-esm/src/operationsInterfaces/partnerDestinations.js +9 -0
  500. package/dist-esm/src/operationsInterfaces/partnerDestinations.js.map +1 -0
  501. package/dist-esm/src/operationsInterfaces/partnerNamespaces.d.ts +4 -4
  502. package/dist-esm/src/operationsInterfaces/partnerNamespaces.d.ts.map +1 -1
  503. package/dist-esm/src/operationsInterfaces/partnerRegistrations.d.ts +4 -4
  504. package/dist-esm/src/operationsInterfaces/partnerRegistrations.d.ts.map +1 -1
  505. package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts +4 -4
  506. package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts.map +1 -1
  507. package/dist-esm/src/operationsInterfaces/partnerTopics.d.ts +2 -2
  508. package/dist-esm/src/operationsInterfaces/partnerTopics.d.ts.map +1 -1
  509. package/dist-esm/src/operationsInterfaces/permissionBindings.d.ts +56 -0
  510. package/dist-esm/src/operationsInterfaces/permissionBindings.d.ts.map +1 -0
  511. package/dist-esm/src/operationsInterfaces/permissionBindings.js +9 -0
  512. package/dist-esm/src/operationsInterfaces/permissionBindings.js.map +1 -0
  513. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +23 -21
  514. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  515. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +7 -6
  516. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  517. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts +14 -14
  518. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
  519. package/dist-esm/src/operationsInterfaces/systemTopics.d.ts +4 -4
  520. package/dist-esm/src/operationsInterfaces/systemTopics.d.ts.map +1 -1
  521. package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts +6 -6
  522. package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts.map +1 -1
  523. package/dist-esm/src/operationsInterfaces/topicSpaces.d.ts +56 -0
  524. package/dist-esm/src/operationsInterfaces/topicSpaces.d.ts.map +1 -0
  525. package/dist-esm/src/operationsInterfaces/topicSpaces.js +9 -0
  526. package/dist-esm/src/operationsInterfaces/topicSpaces.js.map +1 -0
  527. package/dist-esm/src/operationsInterfaces/topics.d.ts +7 -7
  528. package/dist-esm/src/operationsInterfaces/topics.d.ts.map +1 -1
  529. package/dist-esm/test/eventgrid_examples.js +2 -2
  530. package/dist-esm/test/eventgrid_examples.js.map +1 -1
  531. package/package.json +6 -6
  532. package/review/arm-eventgrid.api.md +1762 -112
  533. package/src/eventGridManagementClient.ts +49 -11
  534. package/src/lroImpl.ts +31 -23
  535. package/src/models/index.ts +2777 -341
  536. package/src/models/mappers.ts +3989 -1163
  537. package/src/models/parameters.ts +253 -25
  538. package/src/operations/caCertificates.ts +508 -0
  539. package/src/operations/channels.ts +17 -13
  540. package/src/operations/clientGroups.ts +508 -0
  541. package/src/operations/clients.ts +508 -0
  542. package/src/operations/domainEventSubscriptions.ts +43 -33
  543. package/src/operations/domainTopicEventSubscriptions.ts +92 -82
  544. package/src/operations/domainTopics.ts +28 -21
  545. package/src/operations/domains.ts +37 -30
  546. package/src/operations/eventSubscriptions.ts +86 -76
  547. package/src/operations/index.ts +11 -2
  548. package/src/operations/namespaceTopicEventSubscriptions.ts +714 -0
  549. package/src/operations/namespaceTopics.ts +840 -0
  550. package/src/operations/namespaces.ts +898 -0
  551. package/src/operations/partnerConfigurations.ts +45 -31
  552. package/src/operations/partnerDestinations.ts +771 -0
  553. package/src/operations/partnerNamespaces.ts +41 -32
  554. package/src/operations/partnerRegistrations.ts +37 -30
  555. package/src/operations/partnerTopicEventSubscriptions.ts +46 -31
  556. package/src/operations/partnerTopics.ts +15 -11
  557. package/src/operations/permissionBindings.ts +513 -0
  558. package/src/operations/privateEndpointConnections.ts +77 -45
  559. package/src/operations/privateLinkResources.ts +12 -11
  560. package/src/operations/systemTopicEventSubscriptions.ts +89 -74
  561. package/src/operations/systemTopics.ts +41 -31
  562. package/src/operations/topicEventSubscriptions.ts +43 -33
  563. package/src/operations/topicSpaces.ts +508 -0
  564. package/src/operations/topics.ts +74 -44
  565. package/src/operationsInterfaces/caCertificates.ts +109 -0
  566. package/src/operationsInterfaces/channels.ts +2 -2
  567. package/src/operationsInterfaces/clientGroups.ts +109 -0
  568. package/src/operationsInterfaces/clients.ts +109 -0
  569. package/src/operationsInterfaces/domainEventSubscriptions.ts +8 -8
  570. package/src/operationsInterfaces/domainTopicEventSubscriptions.ts +24 -24
  571. package/src/operationsInterfaces/domainTopics.ts +4 -4
  572. package/src/operationsInterfaces/domains.ts +5 -5
  573. package/src/operationsInterfaces/eventSubscriptions.ts +27 -27
  574. package/src/operationsInterfaces/index.ts +11 -2
  575. package/src/operationsInterfaces/namespaceTopicEventSubscriptions.ts +174 -0
  576. package/src/operationsInterfaces/namespaceTopics.ts +200 -0
  577. package/src/operationsInterfaces/namespaces.ts +186 -0
  578. package/src/operationsInterfaces/partnerConfigurations.ts +6 -6
  579. package/src/operationsInterfaces/partnerDestinations.ts +152 -0
  580. package/src/operationsInterfaces/partnerNamespaces.ts +5 -5
  581. package/src/operationsInterfaces/partnerRegistrations.ts +5 -5
  582. package/src/operationsInterfaces/partnerTopicEventSubscriptions.ts +6 -6
  583. package/src/operationsInterfaces/partnerTopics.ts +2 -2
  584. package/src/operationsInterfaces/permissionBindings.ts +109 -0
  585. package/src/operationsInterfaces/privateEndpointConnections.ts +30 -22
  586. package/src/operationsInterfaces/privateLinkResources.ts +7 -6
  587. package/src/operationsInterfaces/systemTopicEventSubscriptions.ts +23 -23
  588. package/src/operationsInterfaces/systemTopics.ts +6 -6
  589. package/src/operationsInterfaces/topicEventSubscriptions.ts +8 -8
  590. package/src/operationsInterfaces/topicSpaces.ts +109 -0
  591. package/src/operationsInterfaces/topics.ts +11 -8
  592. package/types/arm-eventgrid.d.ts +4718 -1726
@@ -16,13 +16,13 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all the domains under an Azure subscription.
17
17
  *
18
18
  * @summary List all the domains under an Azure subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_ListBySubscription.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Domains_ListBySubscription.json
20
20
  */
21
21
  function domainsListBySubscription() {
22
22
  var _a, e_1, _b, _c;
23
23
  return __awaiter(this, void 0, void 0, function* () {
24
24
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
25
- "5b4b650e-28b9-4790-b3ab-ddbd88d727c4";
25
+ "8f6b6269-84f2-4d09-9e31-1127efcd1e40";
26
26
  const credential = new DefaultAzureCredential();
27
27
  const client = new EventGridManagementClient(credential, subscriptionId);
28
28
  const resArray = new Array();
@@ -16,12 +16,12 @@ dotenv.config();
16
16
  * This sample demonstrates how to List the two keys used to publish to a domain.
17
17
  *
18
18
  * @summary List the two keys used to publish to a domain.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_ListSharedAccessKeys.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Domains_ListSharedAccessKeys.json
20
20
  */
21
21
  function domainsListSharedAccessKeys() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
24
- "5b4b650e-28b9-4790-b3ab-ddbd88d727c4";
24
+ "8f6b6269-84f2-4d09-9e31-1127efcd1e40";
25
25
  const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
26
26
  const domainName = "exampledomain2";
27
27
  const credential = new DefaultAzureCredential();
@@ -16,12 +16,12 @@ dotenv.config();
16
16
  * This sample demonstrates how to Regenerate a shared access key for a domain.
17
17
  *
18
18
  * @summary Regenerate a shared access key for a domain.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_RegenerateKey.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Domains_RegenerateKey.json
20
20
  */
21
21
  function domainsRegenerateKey() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
24
- "5b4b650e-28b9-4790-b3ab-ddbd88d727c4";
24
+ "8f6b6269-84f2-4d09-9e31-1127efcd1e40";
25
25
  const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
26
26
  const domainName = "exampledomain2";
27
27
  const regenerateKeyRequest = { keyName: "key1" };
@@ -16,12 +16,12 @@ dotenv.config();
16
16
  * This sample demonstrates how to Asynchronously updates a domain with the specified parameters.
17
17
  *
18
18
  * @summary Asynchronously updates a domain with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Domains_Update.json
20
20
  */
21
21
  function domainsUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
24
- "5b4b650e-28b9-4790-b3ab-ddbd88d727c4";
24
+ "8f6b6269-84f2-4d09-9e31-1127efcd1e40";
25
25
  const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
26
26
  const domainName = "exampledomain1";
27
27
  const domainUpdateParameters = {
@@ -16,13 +16,13 @@ dotenv.config();
16
16
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
17
17
  *
18
18
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic.json
20
20
  */
21
21
  function eventSubscriptionsCreateOrUpdateForCustomTopic() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
24
24
  "00000000-0000-0000-0000-000000000000";
25
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
25
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
26
26
  const eventSubscriptionName = "examplesubscription1";
27
27
  const eventSubscriptionInfo = {
28
28
  destination: {
@@ -45,13 +45,13 @@ function eventSubscriptionsCreateOrUpdateForCustomTopic() {
45
45
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
46
46
  *
47
47
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
48
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination.json
48
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination.json
49
49
  */
50
50
  function eventSubscriptionsCreateOrUpdateForCustomTopicAzureFunctionDestination() {
51
51
  return __awaiter(this, void 0, void 0, function* () {
52
52
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
53
53
  "00000000-0000-0000-0000-000000000000";
54
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
54
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
55
55
  const eventSubscriptionName = "examplesubscription1";
56
56
  const eventSubscriptionInfo = {
57
57
  deadLetterDestination: {
@@ -79,13 +79,13 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicAzureFunctionDestination(
79
79
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
80
80
  *
81
81
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
82
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
82
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
83
83
  */
84
84
  function eventSubscriptionsCreateOrUpdateForCustomTopicEventHubDestination() {
85
85
  return __awaiter(this, void 0, void 0, function* () {
86
86
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
87
87
  "00000000-0000-0000-0000-000000000000";
88
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
88
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
89
89
  const eventSubscriptionName = "examplesubscription1";
90
90
  const eventSubscriptionInfo = {
91
91
  deadLetterDestination: {
@@ -113,13 +113,13 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicEventHubDestination() {
113
113
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
114
114
  *
115
115
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
116
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
116
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
117
117
  */
118
118
  function eventSubscriptionsCreateOrUpdateForCustomTopicHybridConnectionDestination() {
119
119
  return __awaiter(this, void 0, void 0, function* () {
120
120
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
121
121
  "00000000-0000-0000-0000-000000000000";
122
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
122
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
123
123
  const eventSubscriptionName = "examplesubscription1";
124
124
  const eventSubscriptionInfo = {
125
125
  deadLetterDestination: {
@@ -147,13 +147,13 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicHybridConnectionDestinati
147
147
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
148
148
  *
149
149
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
150
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination.json
150
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination.json
151
151
  */
152
152
  function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusQueueDestination() {
153
153
  return __awaiter(this, void 0, void 0, function* () {
154
154
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
155
155
  "00000000-0000-0000-0000-000000000000";
156
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
156
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
157
157
  const eventSubscriptionName = "examplesubscription1";
158
158
  const eventSubscriptionInfo = {
159
159
  deadLetterDestination: {
@@ -181,13 +181,13 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusQueueDestinatio
181
181
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
182
182
  *
183
183
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
184
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination.json
184
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination.json
185
185
  */
186
186
  function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusTopicDestination() {
187
187
  return __awaiter(this, void 0, void 0, function* () {
188
188
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
189
189
  "00000000-0000-0000-0000-000000000000";
190
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
190
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
191
191
  const eventSubscriptionName = "examplesubscription1";
192
192
  const eventSubscriptionInfo = {
193
193
  deadLetterDestination: {
@@ -215,13 +215,13 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusTopicDestinatio
215
215
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
216
216
  *
217
217
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
218
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
218
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
219
219
  */
220
220
  function eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination() {
221
221
  return __awaiter(this, void 0, void 0, function* () {
222
222
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
223
223
  "00000000-0000-0000-0000-000000000000";
224
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
224
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
225
225
  const eventSubscriptionName = "examplesubscription1";
226
226
  const eventSubscriptionInfo = {
227
227
  deadLetterDestination: {
@@ -231,6 +231,7 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination()
231
231
  },
232
232
  destination: {
233
233
  endpointType: "StorageQueue",
234
+ queueMessageTimeToLiveInSeconds: 300,
234
235
  queueName: "queue1",
235
236
  resourceId: "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg"
236
237
  },
@@ -250,18 +251,18 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination()
250
251
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
251
252
  *
252
253
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
253
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
254
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
254
255
  */
255
256
  function eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination() {
256
257
  return __awaiter(this, void 0, void 0, function* () {
257
258
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
258
259
  "00000000-0000-0000-0000-000000000000";
259
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
260
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
260
261
  const eventSubscriptionName = "examplesubscription1";
261
262
  const eventSubscriptionInfo = {
262
263
  destination: {
263
- endpointType: "WebHook",
264
- endpointUrl: "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE"
264
+ endpointType: "EventHub",
265
+ resourceId: "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
265
266
  },
266
267
  filter: {
267
268
  isSubjectCaseSensitive: false,
@@ -279,13 +280,13 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination() {
279
280
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
280
281
  *
281
282
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
282
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForResource.json
283
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json
283
284
  */
284
285
  function eventSubscriptionsCreateOrUpdateForResource() {
285
286
  return __awaiter(this, void 0, void 0, function* () {
286
287
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
287
288
  "00000000-0000-0000-0000-000000000000";
288
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
289
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
289
290
  const eventSubscriptionName = "examplesubscription10";
290
291
  const eventSubscriptionInfo = {
291
292
  destination: {
@@ -308,13 +309,13 @@ function eventSubscriptionsCreateOrUpdateForResource() {
308
309
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
309
310
  *
310
311
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
311
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
312
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
312
313
  */
313
314
  function eventSubscriptionsCreateOrUpdateForResourceGroup() {
314
315
  return __awaiter(this, void 0, void 0, function* () {
315
316
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
316
317
  "00000000-0000-0000-0000-000000000000";
317
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg";
318
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg";
318
319
  const eventSubscriptionName = "examplesubscription2";
319
320
  const eventSubscriptionInfo = {
320
321
  destination: {
@@ -337,13 +338,13 @@ function eventSubscriptionsCreateOrUpdateForResourceGroup() {
337
338
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
338
339
  *
339
340
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
340
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
341
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
341
342
  */
342
343
  function eventSubscriptionsCreateOrUpdateForSubscription() {
343
344
  return __awaiter(this, void 0, void 0, function* () {
344
345
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
345
346
  "00000000-0000-0000-0000-000000000000";
346
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4";
347
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40";
347
348
  const eventSubscriptionName = "examplesubscription3";
348
349
  const eventSubscriptionInfo = {
349
350
  destination: {
@@ -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;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;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AC;CAAA;AAED,SAAe,IAAI;;QACjB,8CAA8C,EAAE,CAAC;QACjD,sEAAsE,EAAE,CAAC;QACzE,iEAAiE,EAAE,CAAC;QACpE,yEAAyE,EAAE,CAAC;QAC5E,wEAAwE,EAAE,CAAC;QAC3E,wEAAwE,EAAE,CAAC;QAC3E,qEAAqE,EAAE,CAAC;QACxE,gEAAgE,EAAE,CAAC;QACnE,2CAA2C,EAAE,CAAC;QAC9C,gDAAgD,EAAE,CAAC;QACnD,+CAA+C,EAAE,CAAC;IACpD,CAAC;CAAA;AAED,IAAI,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;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,8CAA8C;;QAC3D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,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;QA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
18
  * @summary Delete an existing event subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForCustomTopic.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_DeleteForCustomTopic.json
20
20
  */
21
21
  function eventSubscriptionsDeleteForCustomTopic() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
24
24
  "00000000-0000-0000-0000-000000000000";
25
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
25
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
26
26
  const eventSubscriptionName = "examplesubscription1";
27
27
  const credential = new DefaultAzureCredential();
28
28
  const client = new EventGridManagementClient(credential, subscriptionId);
@@ -34,13 +34,13 @@ function eventSubscriptionsDeleteForCustomTopic() {
34
34
  * This sample demonstrates how to Delete an existing event subscription.
35
35
  *
36
36
  * @summary Delete an existing event subscription.
37
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForResource.json
37
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_DeleteForResource.json
38
38
  */
39
39
  function eventSubscriptionsDeleteForResource() {
40
40
  return __awaiter(this, void 0, void 0, function* () {
41
41
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
42
42
  "00000000-0000-0000-0000-000000000000";
43
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
43
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
44
44
  const eventSubscriptionName = "examplesubscription10";
45
45
  const credential = new DefaultAzureCredential();
46
46
  const client = new EventGridManagementClient(credential, subscriptionId);
@@ -52,13 +52,13 @@ function eventSubscriptionsDeleteForResource() {
52
52
  * This sample demonstrates how to Delete an existing event subscription.
53
53
  *
54
54
  * @summary Delete an existing event subscription.
55
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForResourceGroup.json
55
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_DeleteForResourceGroup.json
56
56
  */
57
57
  function eventSubscriptionsDeleteForResourceGroup() {
58
58
  return __awaiter(this, void 0, void 0, function* () {
59
59
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
60
60
  "00000000-0000-0000-0000-000000000000";
61
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg";
61
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg";
62
62
  const eventSubscriptionName = "examplesubscription2";
63
63
  const credential = new DefaultAzureCredential();
64
64
  const client = new EventGridManagementClient(credential, subscriptionId);
@@ -70,13 +70,13 @@ function eventSubscriptionsDeleteForResourceGroup() {
70
70
  * This sample demonstrates how to Delete an existing event subscription.
71
71
  *
72
72
  * @summary Delete an existing event subscription.
73
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForSubscription.json
73
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_DeleteForSubscription.json
74
74
  */
75
75
  function eventSubscriptionsDeleteForSubscription() {
76
76
  return __awaiter(this, void 0, void 0, function* () {
77
77
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
78
78
  "00000000-0000-0000-0000-000000000000";
79
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4";
79
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40";
80
80
  const eventSubscriptionName = "examplesubscription3";
81
81
  const credential = new DefaultAzureCredential();
82
82
  const client = new EventGridManagementClient(credential, subscriptionId);
@@ -16,14 +16,14 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get all delivery attributes for an event subscription.
17
17
  *
18
18
  * @summary Get all delivery attributes for an event subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_GetDeliveryAttributes.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetDeliveryAttributes.json
20
20
  */
21
21
  function eventSubscriptionsGetDeliveryAttributes() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
24
24
  "00000000-0000-0000-0000-000000000000";
25
- const scope = "aaaaaaaaaaaaaaaaaaaaaaaaa";
26
- const eventSubscriptionName = "aaaaaaaaaaaaaaaaaa";
25
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
26
+ const eventSubscriptionName = "examplesubscription1";
27
27
  const credential = new DefaultAzureCredential();
28
28
  const client = new EventGridManagementClient(credential, subscriptionId);
29
29
  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;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,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,SAAe,IAAI;;QACjB,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,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;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,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,SAAe,IAAI;;QACjB,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,13 +16,13 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the full endpoint URL for an event subscription.
17
17
  *
18
18
  * @summary Get the full endpoint URL for an event subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_GetFullUrlForCustomTopic.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json
20
20
  */
21
21
  function eventSubscriptionsGetFullUrlForCustomTopic() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
24
24
  "00000000-0000-0000-0000-000000000000";
25
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
25
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
26
26
  const eventSubscriptionName = "examplesubscription1";
27
27
  const credential = new DefaultAzureCredential();
28
28
  const client = new EventGridManagementClient(credential, subscriptionId);
@@ -34,13 +34,13 @@ function eventSubscriptionsGetFullUrlForCustomTopic() {
34
34
  * This sample demonstrates how to Get the full endpoint URL for an event subscription.
35
35
  *
36
36
  * @summary Get the full endpoint URL for an event subscription.
37
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_GetFullUrlForResource.json
37
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json
38
38
  */
39
39
  function eventSubscriptionsGetFullUrlForResource() {
40
40
  return __awaiter(this, void 0, void 0, function* () {
41
41
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
42
42
  "00000000-0000-0000-0000-000000000000";
43
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
43
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
44
44
  const eventSubscriptionName = "examplesubscription1";
45
45
  const credential = new DefaultAzureCredential();
46
46
  const client = new EventGridManagementClient(credential, subscriptionId);
@@ -52,13 +52,13 @@ function eventSubscriptionsGetFullUrlForResource() {
52
52
  * This sample demonstrates how to Get the full endpoint URL for an event subscription.
53
53
  *
54
54
  * @summary Get the full endpoint URL for an event subscription.
55
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
55
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
56
56
  */
57
57
  function eventSubscriptionsGetFullUrlForResourceGroup() {
58
58
  return __awaiter(this, void 0, void 0, function* () {
59
59
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
60
60
  "00000000-0000-0000-0000-000000000000";
61
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg";
61
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg";
62
62
  const eventSubscriptionName = "examplesubscription2";
63
63
  const credential = new DefaultAzureCredential();
64
64
  const client = new EventGridManagementClient(credential, subscriptionId);
@@ -70,13 +70,13 @@ function eventSubscriptionsGetFullUrlForResourceGroup() {
70
70
  * This sample demonstrates how to Get the full endpoint URL for an event subscription.
71
71
  *
72
72
  * @summary Get the full endpoint URL for an event subscription.
73
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_GetFullUrlForSubscription.json
73
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json
74
74
  */
75
75
  function eventSubscriptionsGetFullUrlForSubscription() {
76
76
  return __awaiter(this, void 0, void 0, function* () {
77
77
  const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
78
78
  "00000000-0000-0000-0000-000000000000";
79
- const scope = "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4";
79
+ const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40";
80
80
  const eventSubscriptionName = "examplesubscription3";
81
81
  const credential = new DefaultAzureCredential();
82
82
  const client = new EventGridManagementClient(credential, subscriptionId);