@azure/arm-eventgrid 14.2.0-beta.1 → 14.2.0-beta.3

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 (366) hide show
  1. package/CHANGELOG.md +709 -1
  2. package/dist/index.js +1893 -1294
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/caCertificatesCreateOrUpdateSample.js +1 -1
  7. package/dist-esm/samples-dev/caCertificatesDeleteSample.js +1 -1
  8. package/dist-esm/samples-dev/caCertificatesGetSample.js +1 -1
  9. package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js +4 -9
  10. package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js.map +1 -1
  11. package/dist-esm/samples-dev/channelsCreateOrUpdateSample.js +1 -1
  12. package/dist-esm/samples-dev/channelsDeleteSample.js +1 -1
  13. package/dist-esm/samples-dev/channelsGetFullUrlSample.js +1 -1
  14. package/dist-esm/samples-dev/channelsGetSample.js +1 -1
  15. package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js +4 -9
  16. package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js.map +1 -1
  17. package/dist-esm/samples-dev/channelsUpdateSample.js +1 -1
  18. package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.js +1 -1
  19. package/dist-esm/samples-dev/clientGroupsDeleteSample.js +1 -1
  20. package/dist-esm/samples-dev/clientGroupsGetSample.js +1 -1
  21. package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js +4 -9
  22. package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js.map +1 -1
  23. package/dist-esm/samples-dev/clientsCreateOrUpdateSample.js +3 -8
  24. package/dist-esm/samples-dev/clientsCreateOrUpdateSample.js.map +1 -1
  25. package/dist-esm/samples-dev/clientsDeleteSample.js +1 -1
  26. package/dist-esm/samples-dev/clientsGetSample.js +1 -1
  27. package/dist-esm/samples-dev/clientsListByNamespaceSample.js +4 -9
  28. package/dist-esm/samples-dev/clientsListByNamespaceSample.js.map +1 -1
  29. package/dist-esm/samples-dev/domainEventSubscriptionsCreateOrUpdateSample.js +1 -1
  30. package/dist-esm/samples-dev/domainEventSubscriptionsDeleteSample.js +1 -1
  31. package/dist-esm/samples-dev/domainEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  32. package/dist-esm/samples-dev/domainEventSubscriptionsGetFullUrlSample.js +1 -1
  33. package/dist-esm/samples-dev/domainEventSubscriptionsGetSample.js +1 -1
  34. package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js +4 -9
  35. package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js.map +1 -1
  36. package/dist-esm/samples-dev/domainEventSubscriptionsUpdateSample.js +1 -1
  37. package/dist-esm/samples-dev/domainTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
  38. package/dist-esm/samples-dev/domainTopicEventSubscriptionsDeleteSample.js +1 -1
  39. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  40. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetFullUrlSample.js +1 -1
  41. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetSample.js +1 -1
  42. package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js +4 -9
  43. package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js.map +1 -1
  44. package/dist-esm/samples-dev/domainTopicEventSubscriptionsUpdateSample.js +1 -1
  45. package/dist-esm/samples-dev/domainTopicsCreateOrUpdateSample.js +1 -1
  46. package/dist-esm/samples-dev/domainTopicsDeleteSample.js +1 -1
  47. package/dist-esm/samples-dev/domainTopicsGetSample.js +1 -1
  48. package/dist-esm/samples-dev/domainTopicsListByDomainSample.js +4 -9
  49. package/dist-esm/samples-dev/domainTopicsListByDomainSample.js.map +1 -1
  50. package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js +1 -1
  51. package/dist-esm/samples-dev/domainsDeleteSample.js +1 -1
  52. package/dist-esm/samples-dev/domainsGetSample.js +1 -1
  53. package/dist-esm/samples-dev/domainsListByResourceGroupSample.js +4 -9
  54. package/dist-esm/samples-dev/domainsListByResourceGroupSample.js.map +1 -1
  55. package/dist-esm/samples-dev/domainsListBySubscriptionSample.js +4 -9
  56. package/dist-esm/samples-dev/domainsListBySubscriptionSample.js.map +1 -1
  57. package/dist-esm/samples-dev/domainsListSharedAccessKeysSample.js +1 -1
  58. package/dist-esm/samples-dev/domainsRegenerateKeySample.js +1 -1
  59. package/dist-esm/samples-dev/domainsUpdateSample.js +1 -1
  60. package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js +22 -44
  61. package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/eventSubscriptionsDeleteSample.js +8 -16
  63. package/dist-esm/samples-dev/eventSubscriptionsDeleteSample.js.map +1 -1
  64. package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js +2 -4
  65. package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
  66. package/dist-esm/samples-dev/eventSubscriptionsGetFullUrlSample.js +8 -16
  67. package/dist-esm/samples-dev/eventSubscriptionsGetFullUrlSample.js.map +1 -1
  68. package/dist-esm/samples-dev/eventSubscriptionsGetSample.js +22 -44
  69. package/dist-esm/samples-dev/eventSubscriptionsGetSample.js.map +1 -1
  70. package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js +4 -9
  71. package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js.map +1 -1
  72. package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js +4 -9
  73. package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js.map +1 -1
  74. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js +4 -9
  75. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js.map +1 -1
  76. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js +4 -9
  77. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js.map +1 -1
  78. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js +4 -9
  79. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js.map +1 -1
  80. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js +4 -9
  81. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js.map +1 -1
  82. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js +4 -9
  83. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js.map +1 -1
  84. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js +4 -9
  85. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js.map +1 -1
  86. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js +4 -9
  87. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js.map +1 -1
  88. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js +4 -9
  89. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js.map +1 -1
  90. package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js +22 -44
  91. package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js.map +1 -1
  92. package/dist-esm/samples-dev/extensionTopicsGetSample.js +2 -4
  93. package/dist-esm/samples-dev/extensionTopicsGetSample.js.map +1 -1
  94. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
  95. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.js +1 -1
  96. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js +41 -0
  99. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js.map +1 -0
  100. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.js +1 -1
  101. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js +4 -9
  102. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js.map +1 -1
  103. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.js +1 -1
  104. package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.js +1 -1
  105. package/dist-esm/samples-dev/namespaceTopicsDeleteSample.js +1 -1
  106. package/dist-esm/samples-dev/namespaceTopicsGetSample.js +1 -1
  107. package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js +4 -9
  108. package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js.map +1 -1
  109. package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.js +1 -1
  110. package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.js +1 -1
  111. package/dist-esm/samples-dev/namespaceTopicsUpdateSample.js +1 -1
  112. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +1 -1
  113. package/dist-esm/samples-dev/namespacesDeleteSample.js +1 -1
  114. package/dist-esm/samples-dev/namespacesGetSample.js +1 -1
  115. package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js +4 -9
  116. package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js.map +1 -1
  117. package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js +4 -9
  118. package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js.map +1 -1
  119. package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.js +1 -1
  120. package/dist-esm/samples-dev/namespacesRegenerateKeySample.js +1 -1
  121. package/dist-esm/samples-dev/namespacesUpdateSample.js +1 -1
  122. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
  123. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
  124. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +42 -0
  125. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
  126. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts +2 -0
  127. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts.map +1 -0
  128. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js +56 -0
  129. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js.map +1 -0
  130. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
  131. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
  132. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +42 -0
  133. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
  134. package/dist-esm/samples-dev/operationsListSample.js +4 -9
  135. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  136. package/dist-esm/samples-dev/partnerConfigurationsAuthorizePartnerSample.js +1 -1
  137. package/dist-esm/samples-dev/partnerConfigurationsCreateOrUpdateSample.js +1 -1
  138. package/dist-esm/samples-dev/partnerConfigurationsDeleteSample.js +1 -1
  139. package/dist-esm/samples-dev/partnerConfigurationsGetSample.js +1 -1
  140. package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js +4 -9
  141. package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js.map +1 -1
  142. package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js +4 -9
  143. package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js.map +1 -1
  144. package/dist-esm/samples-dev/partnerConfigurationsUnauthorizePartnerSample.js +1 -1
  145. package/dist-esm/samples-dev/partnerConfigurationsUpdateSample.js +1 -1
  146. package/dist-esm/samples-dev/partnerDestinationsActivateSample.js +1 -1
  147. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js +1 -1
  148. package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js +1 -1
  149. package/dist-esm/samples-dev/partnerDestinationsGetSample.js +1 -1
  150. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js +4 -9
  151. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js.map +1 -1
  152. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js +4 -9
  153. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js.map +1 -1
  154. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js +1 -1
  155. package/dist-esm/samples-dev/partnerNamespacesCreateOrUpdateSample.js +1 -1
  156. package/dist-esm/samples-dev/partnerNamespacesDeleteSample.js +1 -1
  157. package/dist-esm/samples-dev/partnerNamespacesGetSample.js +1 -1
  158. package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js +4 -9
  159. package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js.map +1 -1
  160. package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js +4 -9
  161. package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js.map +1 -1
  162. package/dist-esm/samples-dev/partnerNamespacesListSharedAccessKeysSample.js +1 -1
  163. package/dist-esm/samples-dev/partnerNamespacesRegenerateKeySample.js +1 -1
  164. package/dist-esm/samples-dev/partnerNamespacesUpdateSample.js +1 -1
  165. package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js +1 -1
  166. package/dist-esm/samples-dev/partnerRegistrationsDeleteSample.js +1 -1
  167. package/dist-esm/samples-dev/partnerRegistrationsGetSample.js +1 -1
  168. package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js +4 -9
  169. package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js.map +1 -1
  170. package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js +4 -9
  171. package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js.map +1 -1
  172. package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js +1 -1
  173. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
  174. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsDeleteSample.js +1 -1
  175. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  176. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetFullUrlSample.js +1 -1
  177. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetSample.js +1 -1
  178. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js +4 -9
  179. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js.map +1 -1
  180. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsUpdateSample.js +1 -1
  181. package/dist-esm/samples-dev/partnerTopicsActivateSample.js +1 -1
  182. package/dist-esm/samples-dev/partnerTopicsCreateOrUpdateSample.js +1 -1
  183. package/dist-esm/samples-dev/partnerTopicsDeactivateSample.js +1 -1
  184. package/dist-esm/samples-dev/partnerTopicsDeleteSample.js +1 -1
  185. package/dist-esm/samples-dev/partnerTopicsGetSample.js +1 -1
  186. package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js +4 -9
  187. package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js.map +1 -1
  188. package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js +4 -9
  189. package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js.map +1 -1
  190. package/dist-esm/samples-dev/partnerTopicsUpdateSample.js +1 -1
  191. package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.js +1 -1
  192. package/dist-esm/samples-dev/permissionBindingsDeleteSample.js +1 -1
  193. package/dist-esm/samples-dev/permissionBindingsGetSample.js +1 -1
  194. package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js +4 -9
  195. package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js.map +1 -1
  196. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  197. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  198. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js +4 -9
  199. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js.map +1 -1
  200. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +1 -1
  201. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  202. package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js +4 -9
  203. package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js.map +1 -1
  204. package/dist-esm/samples-dev/systemTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
  205. package/dist-esm/samples-dev/systemTopicEventSubscriptionsDeleteSample.js +1 -1
  206. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  207. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetFullUrlSample.js +1 -1
  208. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetSample.js +1 -1
  209. package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js +4 -9
  210. package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js.map +1 -1
  211. package/dist-esm/samples-dev/systemTopicEventSubscriptionsUpdateSample.js +1 -1
  212. package/dist-esm/samples-dev/systemTopicsCreateOrUpdateSample.js +1 -1
  213. package/dist-esm/samples-dev/systemTopicsDeleteSample.js +1 -1
  214. package/dist-esm/samples-dev/systemTopicsGetSample.js +1 -1
  215. package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js +4 -9
  216. package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js.map +1 -1
  217. package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js +4 -9
  218. package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js.map +1 -1
  219. package/dist-esm/samples-dev/systemTopicsUpdateSample.js +1 -1
  220. package/dist-esm/samples-dev/topicEventSubscriptionsCreateOrUpdateSample.js +1 -1
  221. package/dist-esm/samples-dev/topicEventSubscriptionsDeleteSample.js +1 -1
  222. package/dist-esm/samples-dev/topicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  223. package/dist-esm/samples-dev/topicEventSubscriptionsGetFullUrlSample.js +1 -1
  224. package/dist-esm/samples-dev/topicEventSubscriptionsGetSample.js +1 -1
  225. package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js +4 -9
  226. package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js.map +1 -1
  227. package/dist-esm/samples-dev/topicEventSubscriptionsUpdateSample.js +1 -1
  228. package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.js +1 -1
  229. package/dist-esm/samples-dev/topicSpacesDeleteSample.js +1 -1
  230. package/dist-esm/samples-dev/topicSpacesGetSample.js +1 -1
  231. package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js +4 -9
  232. package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js.map +1 -1
  233. package/dist-esm/samples-dev/topicTypesGetSample.js +2 -4
  234. package/dist-esm/samples-dev/topicTypesGetSample.js.map +1 -1
  235. package/dist-esm/samples-dev/topicTypesListEventTypesSample.js +5 -12
  236. package/dist-esm/samples-dev/topicTypesListEventTypesSample.js.map +1 -1
  237. package/dist-esm/samples-dev/topicTypesListSample.js +5 -12
  238. package/dist-esm/samples-dev/topicTypesListSample.js.map +1 -1
  239. package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js +2 -2
  240. package/dist-esm/samples-dev/topicsDeleteSample.js +1 -1
  241. package/dist-esm/samples-dev/topicsGetSample.js +1 -1
  242. package/dist-esm/samples-dev/topicsListByResourceGroupSample.js +4 -9
  243. package/dist-esm/samples-dev/topicsListByResourceGroupSample.js.map +1 -1
  244. package/dist-esm/samples-dev/topicsListBySubscriptionSample.js +4 -9
  245. package/dist-esm/samples-dev/topicsListBySubscriptionSample.js.map +1 -1
  246. package/dist-esm/samples-dev/topicsListEventTypesSample.js +4 -9
  247. package/dist-esm/samples-dev/topicsListEventTypesSample.js.map +1 -1
  248. package/dist-esm/samples-dev/topicsListSharedAccessKeysSample.js +1 -1
  249. package/dist-esm/samples-dev/topicsRegenerateKeySample.js +1 -1
  250. package/dist-esm/samples-dev/topicsUpdateSample.js +1 -1
  251. package/dist-esm/samples-dev/verifiedPartnersGetSample.js +2 -4
  252. package/dist-esm/samples-dev/verifiedPartnersGetSample.js.map +1 -1
  253. package/dist-esm/samples-dev/verifiedPartnersListSample.js +5 -12
  254. package/dist-esm/samples-dev/verifiedPartnersListSample.js.map +1 -1
  255. package/dist-esm/src/eventGridManagementClient.d.ts +4 -2
  256. package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -1
  257. package/dist-esm/src/eventGridManagementClient.js +11 -13
  258. package/dist-esm/src/eventGridManagementClient.js.map +1 -1
  259. package/dist-esm/src/models/index.d.ts +506 -180
  260. package/dist-esm/src/models/index.d.ts.map +1 -1
  261. package/dist-esm/src/models/index.js +108 -20
  262. package/dist-esm/src/models/index.js.map +1 -1
  263. package/dist-esm/src/models/mappers.d.ts +36 -22
  264. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  265. package/dist-esm/src/models/mappers.js +887 -509
  266. package/dist-esm/src/models/mappers.js.map +1 -1
  267. package/dist-esm/src/models/parameters.d.ts +4 -0
  268. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  269. package/dist-esm/src/models/parameters.js +46 -1
  270. package/dist-esm/src/models/parameters.js.map +1 -1
  271. package/dist-esm/src/operations/caCertificates.js +3 -8
  272. package/dist-esm/src/operations/caCertificates.js.map +1 -1
  273. package/dist-esm/src/operations/channels.js +3 -8
  274. package/dist-esm/src/operations/channels.js.map +1 -1
  275. package/dist-esm/src/operations/clientGroups.js +3 -8
  276. package/dist-esm/src/operations/clientGroups.js.map +1 -1
  277. package/dist-esm/src/operations/clients.js +3 -8
  278. package/dist-esm/src/operations/clients.js.map +1 -1
  279. package/dist-esm/src/operations/domainEventSubscriptions.js +3 -8
  280. package/dist-esm/src/operations/domainEventSubscriptions.js.map +1 -1
  281. package/dist-esm/src/operations/domainTopicEventSubscriptions.js +3 -8
  282. package/dist-esm/src/operations/domainTopicEventSubscriptions.js.map +1 -1
  283. package/dist-esm/src/operations/domainTopics.js +3 -8
  284. package/dist-esm/src/operations/domainTopics.js.map +1 -1
  285. package/dist-esm/src/operations/domains.js +6 -16
  286. package/dist-esm/src/operations/domains.js.map +1 -1
  287. package/dist-esm/src/operations/eventSubscriptions.js +30 -80
  288. package/dist-esm/src/operations/eventSubscriptions.js.map +1 -1
  289. package/dist-esm/src/operations/index.d.ts +1 -0
  290. package/dist-esm/src/operations/index.d.ts.map +1 -1
  291. package/dist-esm/src/operations/index.js +1 -0
  292. package/dist-esm/src/operations/index.js.map +1 -1
  293. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts +11 -1
  294. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts.map +1 -1
  295. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js +44 -8
  296. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js.map +1 -1
  297. package/dist-esm/src/operations/namespaceTopics.js +3 -8
  298. package/dist-esm/src/operations/namespaceTopics.js.map +1 -1
  299. package/dist-esm/src/operations/namespaces.js +6 -16
  300. package/dist-esm/src/operations/namespaces.js.map +1 -1
  301. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
  302. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  303. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +260 -0
  304. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  305. package/dist-esm/src/operations/operations.js +3 -8
  306. package/dist-esm/src/operations/operations.js.map +1 -1
  307. package/dist-esm/src/operations/partnerConfigurations.js +6 -16
  308. package/dist-esm/src/operations/partnerConfigurations.js.map +1 -1
  309. package/dist-esm/src/operations/partnerDestinations.js +6 -16
  310. package/dist-esm/src/operations/partnerDestinations.js.map +1 -1
  311. package/dist-esm/src/operations/partnerNamespaces.js +46 -25
  312. package/dist-esm/src/operations/partnerNamespaces.js.map +1 -1
  313. package/dist-esm/src/operations/partnerRegistrations.js +6 -16
  314. package/dist-esm/src/operations/partnerRegistrations.js.map +1 -1
  315. package/dist-esm/src/operations/partnerTopicEventSubscriptions.js +3 -8
  316. package/dist-esm/src/operations/partnerTopicEventSubscriptions.js.map +1 -1
  317. package/dist-esm/src/operations/partnerTopics.js +6 -16
  318. package/dist-esm/src/operations/partnerTopics.js.map +1 -1
  319. package/dist-esm/src/operations/permissionBindings.js +3 -8
  320. package/dist-esm/src/operations/permissionBindings.js.map +1 -1
  321. package/dist-esm/src/operations/privateEndpointConnections.js +3 -8
  322. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  323. package/dist-esm/src/operations/privateLinkResources.js +3 -8
  324. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  325. package/dist-esm/src/operations/systemTopicEventSubscriptions.js +3 -8
  326. package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -1
  327. package/dist-esm/src/operations/systemTopics.js +6 -16
  328. package/dist-esm/src/operations/systemTopics.js.map +1 -1
  329. package/dist-esm/src/operations/topicEventSubscriptions.js +3 -8
  330. package/dist-esm/src/operations/topicEventSubscriptions.js.map +1 -1
  331. package/dist-esm/src/operations/topicSpaces.js +3 -8
  332. package/dist-esm/src/operations/topicSpaces.js.map +1 -1
  333. package/dist-esm/src/operations/topicTypes.js +6 -16
  334. package/dist-esm/src/operations/topicTypes.js.map +1 -1
  335. package/dist-esm/src/operations/topics.js +9 -24
  336. package/dist-esm/src/operations/topics.js.map +1 -1
  337. package/dist-esm/src/operations/verifiedPartners.js +3 -8
  338. package/dist-esm/src/operations/verifiedPartners.js.map +1 -1
  339. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  340. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  341. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  342. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  343. package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts +11 -1
  344. package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts.map +1 -1
  345. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  346. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  347. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  348. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  349. package/dist-esm/test/eventgrid_examples.js +156 -54
  350. package/dist-esm/test/eventgrid_examples.js.map +1 -1
  351. package/package.json +16 -20
  352. package/review/arm-eventgrid.api.md +236 -28
  353. package/src/eventGridManagementClient.ts +25 -5
  354. package/src/models/index.ts +613 -246
  355. package/src/models/mappers.ts +961 -552
  356. package/src/models/parameters.ts +50 -1
  357. package/src/operations/index.ts +1 -0
  358. package/src/operations/namespaceTopicEventSubscriptions.ts +54 -0
  359. package/src/operations/networkSecurityPerimeterConfigurations.ts +371 -0
  360. package/src/operations/partnerNamespaces.ts +40 -9
  361. package/src/operationsInterfaces/index.ts +1 -0
  362. package/src/operationsInterfaces/namespaceTopicEventSubscriptions.ts +19 -1
  363. package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +98 -0
  364. package/types/arm-eventgrid.d.ts +466 -48
  365. package/types/tsdoc-metadata.json +1 -1
  366. package/rollup.config.js +0 -122
@@ -16,16 +16,14 @@ 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/preview/2023-06-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json
20
20
  */
21
21
  function eventSubscriptionsGetFullUrlForCustomTopic() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
24
- "00000000-0000-0000-0000-000000000000";
25
23
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
26
24
  const eventSubscriptionName = "examplesubscription1";
27
25
  const credential = new DefaultAzureCredential();
28
- const client = new EventGridManagementClient(credential, subscriptionId);
26
+ const client = new EventGridManagementClient(credential);
29
27
  const result = yield client.eventSubscriptions.getFullUrl(scope, eventSubscriptionName);
30
28
  console.log(result);
31
29
  });
@@ -34,16 +32,14 @@ function eventSubscriptionsGetFullUrlForCustomTopic() {
34
32
  * This sample demonstrates how to Get the full endpoint URL for an event subscription.
35
33
  *
36
34
  * @summary Get the full endpoint URL for an event subscription.
37
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json
35
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetFullUrlForResource.json
38
36
  */
39
37
  function eventSubscriptionsGetFullUrlForResource() {
40
38
  return __awaiter(this, void 0, void 0, function* () {
41
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
42
- "00000000-0000-0000-0000-000000000000";
43
39
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
44
40
  const eventSubscriptionName = "examplesubscription1";
45
41
  const credential = new DefaultAzureCredential();
46
- const client = new EventGridManagementClient(credential, subscriptionId);
42
+ const client = new EventGridManagementClient(credential);
47
43
  const result = yield client.eventSubscriptions.getFullUrl(scope, eventSubscriptionName);
48
44
  console.log(result);
49
45
  });
@@ -52,16 +48,14 @@ function eventSubscriptionsGetFullUrlForResource() {
52
48
  * This sample demonstrates how to Get the full endpoint URL for an event subscription.
53
49
  *
54
50
  * @summary Get the full endpoint URL for an event subscription.
55
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
51
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
56
52
  */
57
53
  function eventSubscriptionsGetFullUrlForResourceGroup() {
58
54
  return __awaiter(this, void 0, void 0, function* () {
59
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
60
- "00000000-0000-0000-0000-000000000000";
61
55
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg";
62
56
  const eventSubscriptionName = "examplesubscription2";
63
57
  const credential = new DefaultAzureCredential();
64
- const client = new EventGridManagementClient(credential, subscriptionId);
58
+ const client = new EventGridManagementClient(credential);
65
59
  const result = yield client.eventSubscriptions.getFullUrl(scope, eventSubscriptionName);
66
60
  console.log(result);
67
61
  });
@@ -70,16 +64,14 @@ function eventSubscriptionsGetFullUrlForResourceGroup() {
70
64
  * This sample demonstrates how to Get the full endpoint URL for an event subscription.
71
65
  *
72
66
  * @summary Get the full endpoint URL for an event subscription.
73
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json
67
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json
74
68
  */
75
69
  function eventSubscriptionsGetFullUrlForSubscription() {
76
70
  return __awaiter(this, void 0, void 0, function* () {
77
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
78
- "00000000-0000-0000-0000-000000000000";
79
71
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40";
80
72
  const eventSubscriptionName = "examplesubscription3";
81
73
  const credential = new DefaultAzureCredential();
82
- const client = new EventGridManagementClient(credential, subscriptionId);
74
+ const client = new EventGridManagementClient(credential);
83
75
  const result = yield client.eventSubscriptions.getFullUrl(scope, eventSubscriptionName);
84
76
  console.log(result);
85
77
  });
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsGetFullUrlSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetFullUrlSample.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,0CAA0C;;QACvD,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,MAA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C;;QACxD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,KAAK,GAAG,oDAAoD,CAAC;QACnE,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,UAAU,CACvD,KAAK,EACL,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0CAA0C,EAAE,CAAC;QAC7C,uCAAuC,EAAE,CAAC;QAC1C,4CAA4C,EAAE,CAAC;QAC/C,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"eventSubscriptionsGetFullUrlSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetFullUrlSample.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,0CAA0C;;QACvD,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,CA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BAAkB,CAAC,UAAU,CACvD,KAAK,EACL,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0CAA0C,EAAE,CAAC;QAC7C,uCAAuC,EAAE,CAAC;QAC1C,4CAA4C,EAAE,CAAC;QAC/C,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,16 +16,14 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get properties of an event subscription.
17
17
  *
18
18
  * @summary Get properties of an event subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForCustomTopic.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic.json
20
20
  */
21
21
  function eventSubscriptionsGetForCustomTopic() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
24
- "00000000-0000-0000-0000-000000000000";
25
23
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
26
24
  const eventSubscriptionName = "examplesubscription1";
27
25
  const credential = new DefaultAzureCredential();
28
- const client = new EventGridManagementClient(credential, subscriptionId);
26
+ const client = new EventGridManagementClient(credential);
29
27
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
30
28
  console.log(result);
31
29
  });
@@ -34,16 +32,14 @@ function eventSubscriptionsGetForCustomTopic() {
34
32
  * This sample demonstrates how to Get properties of an event subscription.
35
33
  *
36
34
  * @summary Get properties of an event subscription.
37
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_AzureFunctionDestination.json
35
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_AzureFunctionDestination.json
38
36
  */
39
37
  function eventSubscriptionsGetForCustomTopicAzureFunctionDestination() {
40
38
  return __awaiter(this, void 0, void 0, function* () {
41
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
42
- "00000000-0000-0000-0000-000000000000";
43
39
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
44
40
  const eventSubscriptionName = "examplesubscription1";
45
41
  const credential = new DefaultAzureCredential();
46
- const client = new EventGridManagementClient(credential, subscriptionId);
42
+ const client = new EventGridManagementClient(credential);
47
43
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
48
44
  console.log(result);
49
45
  });
@@ -52,16 +48,14 @@ function eventSubscriptionsGetForCustomTopicAzureFunctionDestination() {
52
48
  * This sample demonstrates how to Get properties of an event subscription.
53
49
  *
54
50
  * @summary Get properties of an event subscription.
55
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_EventHubDestination.json
51
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_EventHubDestination.json
56
52
  */
57
53
  function eventSubscriptionsGetForCustomTopicEventHubDestination() {
58
54
  return __awaiter(this, void 0, void 0, function* () {
59
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
60
- "00000000-0000-0000-0000-000000000000";
61
55
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
62
56
  const eventSubscriptionName = "examplesubscription1";
63
57
  const credential = new DefaultAzureCredential();
64
- const client = new EventGridManagementClient(credential, subscriptionId);
58
+ const client = new EventGridManagementClient(credential);
65
59
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
66
60
  console.log(result);
67
61
  });
@@ -70,16 +64,14 @@ function eventSubscriptionsGetForCustomTopicEventHubDestination() {
70
64
  * This sample demonstrates how to Get properties of an event subscription.
71
65
  *
72
66
  * @summary Get properties of an event subscription.
73
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_HybridConnectionDestination.json
67
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_HybridConnectionDestination.json
74
68
  */
75
69
  function eventSubscriptionsGetForCustomTopicHybridConnectionDestination() {
76
70
  return __awaiter(this, void 0, void 0, function* () {
77
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
78
- "00000000-0000-0000-0000-000000000000";
79
71
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
80
72
  const eventSubscriptionName = "examplesubscription1";
81
73
  const credential = new DefaultAzureCredential();
82
- const client = new EventGridManagementClient(credential, subscriptionId);
74
+ const client = new EventGridManagementClient(credential);
83
75
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
84
76
  console.log(result);
85
77
  });
@@ -88,16 +80,14 @@ function eventSubscriptionsGetForCustomTopicHybridConnectionDestination() {
88
80
  * This sample demonstrates how to Get properties of an event subscription.
89
81
  *
90
82
  * @summary Get properties of an event subscription.
91
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination.json
83
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination.json
92
84
  */
93
85
  function eventSubscriptionsGetForCustomTopicServiceBusQueueDestination() {
94
86
  return __awaiter(this, void 0, void 0, function* () {
95
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
96
- "00000000-0000-0000-0000-000000000000";
97
87
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
98
88
  const eventSubscriptionName = "examplesubscription1";
99
89
  const credential = new DefaultAzureCredential();
100
- const client = new EventGridManagementClient(credential, subscriptionId);
90
+ const client = new EventGridManagementClient(credential);
101
91
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
102
92
  console.log(result);
103
93
  });
@@ -106,16 +96,14 @@ function eventSubscriptionsGetForCustomTopicServiceBusQueueDestination() {
106
96
  * This sample demonstrates how to Get properties of an event subscription.
107
97
  *
108
98
  * @summary Get properties of an event subscription.
109
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination.json
99
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination.json
110
100
  */
111
101
  function eventSubscriptionsGetForCustomTopicServiceBusTopicDestination() {
112
102
  return __awaiter(this, void 0, void 0, function* () {
113
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
114
- "00000000-0000-0000-0000-000000000000";
115
103
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
116
104
  const eventSubscriptionName = "examplesubscription1";
117
105
  const credential = new DefaultAzureCredential();
118
- const client = new EventGridManagementClient(credential, subscriptionId);
106
+ const client = new EventGridManagementClient(credential);
119
107
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
120
108
  console.log(result);
121
109
  });
@@ -124,16 +112,14 @@ function eventSubscriptionsGetForCustomTopicServiceBusTopicDestination() {
124
112
  * This sample demonstrates how to Get properties of an event subscription.
125
113
  *
126
114
  * @summary Get properties of an event subscription.
127
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_StorageQueueDestination.json
115
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_StorageQueueDestination.json
128
116
  */
129
117
  function eventSubscriptionsGetForCustomTopicStorageQueueDestination() {
130
118
  return __awaiter(this, void 0, void 0, function* () {
131
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
132
- "00000000-0000-0000-0000-000000000000";
133
119
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
134
120
  const eventSubscriptionName = "examplesubscription1";
135
121
  const credential = new DefaultAzureCredential();
136
- const client = new EventGridManagementClient(credential, subscriptionId);
122
+ const client = new EventGridManagementClient(credential);
137
123
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
138
124
  console.log(result);
139
125
  });
@@ -142,16 +128,14 @@ function eventSubscriptionsGetForCustomTopicStorageQueueDestination() {
142
128
  * This sample demonstrates how to Get properties of an event subscription.
143
129
  *
144
130
  * @summary Get properties of an event subscription.
145
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_WebhookDestination.json
131
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_WebhookDestination.json
146
132
  */
147
133
  function eventSubscriptionsGetForCustomTopicWebhookDestination() {
148
134
  return __awaiter(this, void 0, void 0, function* () {
149
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
150
- "00000000-0000-0000-0000-000000000000";
151
135
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
152
136
  const eventSubscriptionName = "examplesubscription1";
153
137
  const credential = new DefaultAzureCredential();
154
- const client = new EventGridManagementClient(credential, subscriptionId);
138
+ const client = new EventGridManagementClient(credential);
155
139
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
156
140
  console.log(result);
157
141
  });
@@ -160,16 +144,14 @@ function eventSubscriptionsGetForCustomTopicWebhookDestination() {
160
144
  * This sample demonstrates how to Get properties of an event subscription.
161
145
  *
162
146
  * @summary Get properties of an event subscription.
163
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForResource.json
147
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForResource.json
164
148
  */
165
149
  function eventSubscriptionsGetForResource() {
166
150
  return __awaiter(this, void 0, void 0, function* () {
167
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
168
- "00000000-0000-0000-0000-000000000000";
169
151
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
170
152
  const eventSubscriptionName = "examplesubscription1";
171
153
  const credential = new DefaultAzureCredential();
172
- const client = new EventGridManagementClient(credential, subscriptionId);
154
+ const client = new EventGridManagementClient(credential);
173
155
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
174
156
  console.log(result);
175
157
  });
@@ -178,16 +160,14 @@ function eventSubscriptionsGetForResource() {
178
160
  * This sample demonstrates how to Get properties of an event subscription.
179
161
  *
180
162
  * @summary Get properties of an event subscription.
181
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForResourceGroup.json
163
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForResourceGroup.json
182
164
  */
183
165
  function eventSubscriptionsGetForResourceGroup() {
184
166
  return __awaiter(this, void 0, void 0, function* () {
185
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
186
- "00000000-0000-0000-0000-000000000000";
187
167
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg";
188
168
  const eventSubscriptionName = "examplesubscription2";
189
169
  const credential = new DefaultAzureCredential();
190
- const client = new EventGridManagementClient(credential, subscriptionId);
170
+ const client = new EventGridManagementClient(credential);
191
171
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
192
172
  console.log(result);
193
173
  });
@@ -196,16 +176,14 @@ function eventSubscriptionsGetForResourceGroup() {
196
176
  * This sample demonstrates how to Get properties of an event subscription.
197
177
  *
198
178
  * @summary Get properties of an event subscription.
199
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_GetForSubscription.json
179
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForSubscription.json
200
180
  */
201
181
  function eventSubscriptionsGetForSubscription() {
202
182
  return __awaiter(this, void 0, void 0, function* () {
203
- const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
204
- "00000000-0000-0000-0000-000000000000";
205
183
  const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40";
206
184
  const eventSubscriptionName = "examplesubscription3";
207
185
  const credential = new DefaultAzureCredential();
208
- const client = new EventGridManagementClient(credential, subscriptionId);
186
+ const client = new EventGridManagementClient(credential);
209
187
  const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
210
188
  console.log(result);
211
189
  });
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsGetSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetSample.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,mCAAmC;;QAChD,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,GAAG,CAChD,KAAK,EACL,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,2DAA2D;;QACxE,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,GAAG,CAChD,KAAK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AC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all event subscriptions that have been created for a specific domain topic.
17
17
  *
18
18
  * @summary List all event subscriptions that have been created for a specific domain topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_ListByDomainTopic.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_ListByDomainTopic.json
20
20
  */
21
21
  function eventSubscriptionsListByDomainTopic() {
22
22
  var _a, e_1, _b, _c;
@@ -30,16 +30,11 @@ function eventSubscriptionsListByDomainTopic() {
30
30
  const client = new EventGridManagementClient(credential, subscriptionId);
31
31
  const resArray = new Array();
32
32
  try {
33
- for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listByDomainTopic(resourceGroupName, domainName, topicName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
33
+ for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listByDomainTopic(resourceGroupName, domainName, topicName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
34
34
  _c = _f.value;
35
35
  _d = false;
36
- try {
37
- let item = _c;
38
- resArray.push(item);
39
- }
40
- finally {
41
- _d = true;
42
- }
36
+ let item = _c;
37
+ resArray.push(item);
43
38
  }
44
39
  }
45
40
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsListByDomainTopicSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListByDomainTopicSample.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,mCAAmC;;;QAChD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,UAAU,GAAG,SAAS,CAAC;QAC7B,MAAM,SAAS,GAAG,QAAQ,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,iBAAiB,CAChE,iBAAiB,EACjB,UAAU,EACV,SAAS,CACV,CAAA,IAAA;gBAJsB,cAItB;gBAJsB,WAItB;;oBAJU,IAAI,IAAI,KAAA,CAAA;oBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,mCAAmC,EAAE,CAAC;IACxC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"eventSubscriptionsListByDomainTopicSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListByDomainTopicSample.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,mCAAmC;;;QAChD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,UAAU,GAAG,SAAS,CAAC;QAC7B,MAAM,SAAS,GAAG,QAAQ,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,iBAAiB,CAChE,iBAAiB,EACjB,UAAU,EACV,SAAS,CACV,CAAA,IAAA,sDAAE;gBAJoB,cAItB;gBAJsB,WAItB;gBAJU,IAAI,IAAI,KAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,mCAAmC,EAAE,CAAC;IACxC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all event subscriptions that have been created for a specific resource.
17
17
  *
18
18
  * @summary List all event subscriptions that have been created for a specific resource.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_ListByResource.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_ListByResource.json
20
20
  */
21
21
  function eventSubscriptionsListByResource() {
22
22
  var _a, e_1, _b, _c;
@@ -31,16 +31,11 @@ function eventSubscriptionsListByResource() {
31
31
  const client = new EventGridManagementClient(credential, subscriptionId);
32
32
  const resArray = new Array();
33
33
  try {
34
- for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listByResource(resourceGroupName, providerNamespace, resourceTypeName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
34
+ for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listByResource(resourceGroupName, providerNamespace, resourceTypeName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
35
35
  _c = _f.value;
36
36
  _d = false;
37
- try {
38
- let item = _c;
39
- resArray.push(item);
40
- }
41
- finally {
42
- _d = true;
43
- }
37
+ let item = _c;
38
+ resArray.push(item);
44
39
  }
45
40
  }
46
41
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsListByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListByResourceSample.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,gCAAgC;;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;QAChD,MAAM,gBAAgB,GAAG,QAAQ,CAAC;QAClC,MAAM,YAAY,GAAG,eAAe,CAAC;QACrC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,cAAc,CAC7D,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,CACb,CAAA,IAAA;gBALsB,cAKtB;gBALsB,WAKtB;;oBALU,IAAI,IAAI,KAAA,CAAA;oBAMjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"eventSubscriptionsListByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListByResourceSample.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,gCAAgC;;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;QAChD,MAAM,gBAAgB,GAAG,QAAQ,CAAC;QAClC,MAAM,YAAY,GAAG,eAAe,CAAC;QACrC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,cAAc,CAC7D,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,CACb,CAAA,IAAA,sDAAE;gBALoB,cAKtB;gBALsB,WAKtB;gBALU,IAAI,IAAI,KAAA,CAAA;gBAMjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all global event subscriptions under a resource group for a specific topic type.
17
17
  *
18
18
  * @summary List all global event subscriptions under a resource group for a specific topic type.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json
20
20
  */
21
21
  function eventSubscriptionsListGlobalByResourceGroupForTopicType() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function eventSubscriptionsListGlobalByResourceGroupForTopicType() {
29
29
  const client = new EventGridManagementClient(credential, subscriptionId);
30
30
  const resArray = new Array();
31
31
  try {
32
- for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalByResourceGroupForTopicType(resourceGroupName, topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalByResourceGroupForTopicType(resourceGroupName, topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
33
33
  _c = _f.value;
34
34
  _d = false;
35
- try {
36
- let item = _c;
37
- resArray.push(item);
38
- }
39
- finally {
40
- _d = true;
41
- }
35
+ let item = _c;
36
+ resArray.push(item);
42
37
  }
43
38
  }
44
39
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.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,uDAAuD;;;QACpE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,aAAa,GAAG,oCAAoC,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,qCAAqC,CACpF,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,uDAAuD,EAAE,CAAC;IAC5D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.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,uDAAuD;;;QACpE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,aAAa,GAAG,oCAAoC,CAAC;QAC3D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,qCAAqC,CACpF,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA,sDAAE;gBAHoB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,uDAAuD,EAAE,CAAC;IAC5D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all global event subscriptions under a specific Azure subscription and resource group.
17
17
  *
18
18
  * @summary List all global event subscriptions under a specific Azure subscription and resource group.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json
20
20
  */
21
21
  function eventSubscriptionsListGlobalByResourceGroup() {
22
22
  var _a, e_1, _b, _c;
@@ -28,16 +28,11 @@ function eventSubscriptionsListGlobalByResourceGroup() {
28
28
  const client = new EventGridManagementClient(credential, subscriptionId);
29
29
  const resArray = new Array();
30
30
  try {
31
- for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
31
+ for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
32
32
  _c = _f.value;
33
33
  _d = false;
34
- try {
35
- let item = _c;
36
- resArray.push(item);
37
- }
38
- finally {
39
- _d = true;
40
- }
34
+ let item = _c;
35
+ resArray.push(item);
41
36
  }
42
37
  }
43
38
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsListGlobalByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.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,2CAA2C;;;QACxD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,yBAAyB,CACxE,iBAAiB,CAClB,CAAA,IAAA;gBAFsB,cAEtB;gBAFsB,WAEtB;;oBAFU,IAAI,IAAI,KAAA,CAAA;oBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"eventSubscriptionsListGlobalByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.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,2CAA2C;;;QACxD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,yBAAyB,CACxE,iBAAiB,CAClB,CAAA,IAAA,sDAAE;gBAFoB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all global event subscriptions under an Azure subscription for a topic type.
17
17
  *
18
18
  * @summary List all global event subscriptions under an Azure subscription for a topic type.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json
20
20
  */
21
21
  function eventSubscriptionsListGlobalBySubscriptionForTopicType() {
22
22
  var _a, e_1, _b, _c;
@@ -28,16 +28,11 @@ function eventSubscriptionsListGlobalBySubscriptionForTopicType() {
28
28
  const client = new EventGridManagementClient(credential, subscriptionId);
29
29
  const resArray = new Array();
30
30
  try {
31
- for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalBySubscriptionForTopicType(topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
31
+ for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalBySubscriptionForTopicType(topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
32
32
  _c = _f.value;
33
33
  _d = false;
34
- try {
35
- let item = _c;
36
- resArray.push(item);
37
- }
38
- finally {
39
- _d = true;
40
- }
34
+ let item = _c;
35
+ resArray.push(item);
41
36
  }
42
37
  }
43
38
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.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,sDAAsD;;;QACnE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,aAAa,GAAG,mCAAmC,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,oCAAoC,CACnF,aAAa,CACd,CAAA,IAAA;gBAFsB,cAEtB;gBAFsB,WAEtB;;oBAFU,IAAI,IAAI,KAAA,CAAA;oBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,sDAAsD,EAAE,CAAC;IAC3D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.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,sDAAsD;;;QACnE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,aAAa,GAAG,mCAAmC,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,oCAAoC,CACnF,aAAa,CACd,CAAA,IAAA,sDAAE;gBAFoB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,sDAAsD,EAAE,CAAC;IAC3D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all aggregated global event subscriptions under a specific Azure subscription.
17
17
  *
18
18
  * @summary List all aggregated global event subscriptions under a specific Azure subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_ListGlobalBySubscription.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_ListGlobalBySubscription.json
20
20
  */
21
21
  function eventSubscriptionsListGlobalBySubscription() {
22
22
  var _a, e_1, _b, _c;
@@ -27,16 +27,11 @@ function eventSubscriptionsListGlobalBySubscription() {
27
27
  const client = new EventGridManagementClient(credential, subscriptionId);
28
28
  const resArray = new Array();
29
29
  try {
30
- for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
30
+ for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
31
31
  _c = _f.value;
32
32
  _d = false;
33
- try {
34
- let item = _c;
35
- resArray.push(item);
36
- }
37
- finally {
38
- _d = true;
39
- }
33
+ let item = _c;
34
+ resArray.push(item);
40
35
  }
41
36
  }
42
37
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsListGlobalBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.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,0CAA0C;;;QACvD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,wBAAwB,EAAE,CAAA,IAAA;gBAApD,cAAoD;gBAApD,WAAoD;;oBAAhE,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,0CAA0C,EAAE,CAAC;IAC/C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"eventSubscriptionsListGlobalBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.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,0CAA0C;;;QACvD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,wBAAwB,EAAE,CAAA,IAAA,sDAAE;gBAAtD,cAAoD;gBAApD,WAAoD;gBAAhE,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,0CAA0C,EAAE,CAAC;IAC/C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all event subscriptions from the given location under a specific Azure subscription and resource group and topic type.
17
17
  *
18
18
  * @summary List all event subscriptions from the given location under a specific Azure subscription and resource group and topic type.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json
20
20
  */
21
21
  function eventSubscriptionsListRegionalByResourceGroupForTopicType() {
22
22
  var _a, e_1, _b, _c;
@@ -30,16 +30,11 @@ function eventSubscriptionsListRegionalByResourceGroupForTopicType() {
30
30
  const client = new EventGridManagementClient(credential, subscriptionId);
31
31
  const resArray = new Array();
32
32
  try {
33
- for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listRegionalByResourceGroupForTopicType(resourceGroupName, location, topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
33
+ for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listRegionalByResourceGroupForTopicType(resourceGroupName, location, topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
34
34
  _c = _f.value;
35
35
  _d = false;
36
- try {
37
- let item = _c;
38
- resArray.push(item);
39
- }
40
- finally {
41
- _d = true;
42
- }
36
+ let item = _c;
37
+ resArray.push(item);
43
38
  }
44
39
  }
45
40
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1 +1 @@
1
- {"version":3,"file":"eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.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,yDAAyD;;;QACtE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,aAAa,GAAG,+BAA+B,CAAC;QACtD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,uCAAuC,CACtF,iBAAiB,EACjB,QAAQ,EACR,aAAa,CACd,CAAA,IAAA;gBAJsB,cAItB;gBAJsB,WAItB;;oBAJU,IAAI,IAAI,KAAA,CAAA;oBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,yDAAyD,EAAE,CAAC;IAC9D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.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,yDAAyD;;;QACtE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,aAAa,GAAG,+BAA+B,CAAC;QACtD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,uCAAuC,CACtF,iBAAiB,EACjB,QAAQ,EACR,aAAa,CACd,CAAA,IAAA,sDAAE;gBAJoB,cAItB;gBAJsB,WAItB;gBAJU,IAAI,IAAI,KAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,yDAAyD,EAAE,CAAC;IAC9D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}