@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,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Delete an existing permission binding.
17
17
  *
18
18
  * @summary Delete an existing permission binding.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PermissionBindings_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PermissionBindings_Delete.json
20
20
  */
21
21
  function permissionBindingsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get properties of a permission binding.
17
17
  *
18
18
  * @summary Get properties of a permission binding.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PermissionBindings_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PermissionBindings_Get.json
20
20
  */
21
21
  function permissionBindingsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get all the permission bindings under a namespace.
17
17
  *
18
18
  * @summary Get all the permission bindings under a namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PermissionBindings_ListByNamespace.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PermissionBindings_ListByNamespace.json
20
20
  */
21
21
  function permissionBindingsListByNamespace() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function permissionBindingsListByNamespace() {
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.permissionBindings.listByNamespace(resourceGroupName, namespaceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.permissionBindings.listByNamespace(resourceGroupName, namespaceName)), _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":"permissionBindingsListByNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/permissionBindingsListByNamespaceSample.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,iCAAiC;;;QAC9C,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,cAAc,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,eAAe,CAC9D,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,iCAAiC,EAAE,CAAC;IACtC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"permissionBindingsListByNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/permissionBindingsListByNamespaceSample.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,iCAAiC;;;QAC9C,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,cAAc,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,eAAe,CAC9D,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,iCAAiC,EAAE,CAAC;IACtC,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 Delete a specific private endpoint connection under a topic, domain, or partner namespace or namespace.
17
17
  *
18
18
  * @summary Delete a specific private endpoint connection under a topic, domain, or partner namespace or namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PrivateEndpointConnections_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PrivateEndpointConnections_Delete.json
20
20
  */
21
21
  function privateEndpointConnectionsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get a specific private endpoint connection under a topic, domain, or partner namespace or namespace.
17
17
  *
18
18
  * @summary Get a specific private endpoint connection under a topic, domain, or partner namespace or namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PrivateEndpointConnections_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PrivateEndpointConnections_Get.json
20
20
  */
21
21
  function privateEndpointConnectionsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get all private endpoint connections under a topic, domain, or partner namespace or namespace.
17
17
  *
18
18
  * @summary Get all private endpoint connections under a topic, domain, or partner namespace or namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PrivateEndpointConnections_ListByResource.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PrivateEndpointConnections_ListByResource.json
20
20
  */
21
21
  function privateEndpointConnectionsListByResource() {
22
22
  var _a, e_1, _b, _c;
@@ -30,16 +30,11 @@ function privateEndpointConnectionsListByResource() {
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.privateEndpointConnections.listByResource(resourceGroupName, parentType, parentName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
33
+ for (var _d = true, _e = __asyncValues(client.privateEndpointConnections.listByResource(resourceGroupName, parentType, parentName)), _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":"privateEndpointConnectionsListByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsListByResourceSample.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,wCAAwC;;;QACrD,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,QAAQ,CAAC;QAC5B,MAAM,UAAU,GAAG,eAAe,CAAC;QACnC,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,0BAA0B,CAAC,cAAc,CACrE,iBAAiB,EACjB,UAAU,EACV,UAAU,CACX,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,wCAAwC,EAAE,CAAC;IAC7C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"privateEndpointConnectionsListByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsListByResourceSample.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,wCAAwC;;;QACrD,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,QAAQ,CAAC;QAC5B,MAAM,UAAU,GAAG,eAAe,CAAC;QACnC,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,0BAA0B,CAAC,cAAc,CACrE,iBAAiB,EACjB,UAAU,EACV,UAAU,CACX,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,wCAAwC,EAAE,CAAC;IAC7C,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 Update a specific private endpoint connection under a topic, domain or partner namespace.
17
17
  *
18
18
  * @summary Update a specific private endpoint connection under a topic, domain or partner namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PrivateEndpointConnections_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PrivateEndpointConnections_Update.json
20
20
  */
21
21
  function privateEndpointConnectionsUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get properties of a private link resource.
17
17
  *
18
18
  * @summary Get properties of a private link resource.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PrivateLinkResources_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PrivateLinkResources_Get.json
20
20
  */
21
21
  function privateLinkResourcesGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all the private link resources under a topic, domain, or partner namespace or namespace.
17
17
  *
18
18
  * @summary List all the private link resources under a topic, domain, or partner namespace or namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PrivateLinkResources_ListByResource.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PrivateLinkResources_ListByResource.json
20
20
  */
21
21
  function privateLinkResourcesListByResource() {
22
22
  var _a, e_1, _b, _c;
@@ -30,16 +30,11 @@ function privateLinkResourcesListByResource() {
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.privateLinkResources.listByResource(resourceGroupName, parentType, parentName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
33
+ for (var _d = true, _e = __asyncValues(client.privateLinkResources.listByResource(resourceGroupName, parentType, parentName)), _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":"privateLinkResourcesListByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/privateLinkResourcesListByResourceSample.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,kCAAkC;;;QAC/C,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,QAAQ,CAAC;QAC5B,MAAM,UAAU,GAAG,eAAe,CAAC;QACnC,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,oBAAoB,CAAC,cAAc,CAC/D,iBAAiB,EACjB,UAAU,EACV,UAAU,CACX,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,kCAAkC,EAAE,CAAC;IACvC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"privateLinkResourcesListByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/privateLinkResourcesListByResourceSample.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,kCAAkC;;;QAC/C,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,QAAQ,CAAC;QAC5B,MAAM,UAAU,GAAG,eAAe,CAAC;QACnC,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,oBAAoB,CAAC,cAAc,CAC/D,iBAAiB,EACjB,UAAU,EACV,UAAU,CACX,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,kCAAkC,EAAE,CAAC;IACvC,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 Asynchronously creates or updates an event subscription with the specified parameters. Existing event subscriptions will be updated with this API.
17
17
  *
18
18
  * @summary Asynchronously creates or updates an event subscription with the specified parameters. Existing event subscriptions will be updated with this API.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopicEventSubscriptions_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopicEventSubscriptions_CreateOrUpdate.json
20
20
  */
21
21
  function systemTopicEventSubscriptionsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Delete an existing event subscription of a system topic.
17
17
  *
18
18
  * @summary Delete an existing event subscription of a system topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopicEventSubscriptions_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopicEventSubscriptions_Delete.json
20
20
  */
21
21
  function systemTopicEventSubscriptionsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ 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/preview/2023-06-01-preview/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes.json
20
20
  */
21
21
  function systemTopicEventSubscriptionsGetDeliveryAttributes() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the full endpoint URL for an event subscription of a system topic.
17
17
  *
18
18
  * @summary Get the full endpoint URL for an event subscription of a system topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopicEventSubscriptions_GetFullUrl.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopicEventSubscriptions_GetFullUrl.json
20
20
  */
21
21
  function systemTopicEventSubscriptionsGetFullUrl() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get an event subscription.
17
17
  *
18
18
  * @summary Get an event subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopicEventSubscriptions_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopicEventSubscriptions_Get.json
20
20
  */
21
21
  function systemTopicEventSubscriptionsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List event subscriptions that belong to a specific system topic.
17
17
  *
18
18
  * @summary List event subscriptions that belong to a specific system topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopicEventSubscriptions_ListBySystemTopic.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopicEventSubscriptions_ListBySystemTopic.json
20
20
  */
21
21
  function systemTopicEventSubscriptionsListBySystemTopic() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function systemTopicEventSubscriptionsListBySystemTopic() {
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.systemTopicEventSubscriptions.listBySystemTopic(resourceGroupName, systemTopicName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.systemTopicEventSubscriptions.listBySystemTopic(resourceGroupName, systemTopicName)), _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":"systemTopicEventSubscriptionsListBySystemTopicSample.js","sourceRoot":"","sources":["../../samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.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,8CAA8C;;;QAC3D,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,eAAe,GAAG,qBAAqB,CAAC;QAC9C,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,6BAA6B,CAAC,iBAAiB,CAC3E,iBAAiB,EACjB,eAAe,CAChB,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,8CAA8C,EAAE,CAAC;IACnD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"systemTopicEventSubscriptionsListBySystemTopicSample.js","sourceRoot":"","sources":["../../samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.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,8CAA8C;;;QAC3D,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,eAAe,GAAG,qBAAqB,CAAC;QAC9C,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,6BAA6B,CAAC,iBAAiB,CAC3E,iBAAiB,EACjB,eAAe,CAChB,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,8CAA8C,EAAE,CAAC;IACnD,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 Update an existing event subscription of a system topic.
17
17
  *
18
18
  * @summary Update an existing event subscription of a system topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopicEventSubscriptions_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopicEventSubscriptions_Update.json
20
20
  */
21
21
  function systemTopicEventSubscriptionsUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Asynchronously creates a new system topic with the specified parameters.
17
17
  *
18
18
  * @summary Asynchronously creates a new system topic with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopics_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopics_CreateOrUpdate.json
20
20
  */
21
21
  function systemTopicsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Delete existing system topic.
17
17
  *
18
18
  * @summary Delete existing system topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopics_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopics_Delete.json
20
20
  */
21
21
  function systemTopicsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get properties of a system topic.
17
17
  *
18
18
  * @summary Get properties of a system topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopics_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopics_Get.json
20
20
  */
21
21
  function systemTopicsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all the system topics under a resource group.
17
17
  *
18
18
  * @summary List all the system topics under a resource group.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopics_ListByResourceGroup.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopics_ListByResourceGroup.json
20
20
  */
21
21
  function systemTopicsListByResourceGroup() {
22
22
  var _a, e_1, _b, _c;
@@ -28,16 +28,11 @@ function systemTopicsListByResourceGroup() {
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.systemTopics.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
31
+ for (var _d = true, _e = __asyncValues(client.systemTopics.listByResourceGroup(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":"systemTopicsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/systemTopicsListByResourceGroupSample.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,+BAA+B;;;QAC5C,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,YAAY,CAAC,mBAAmB,CAC5D,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,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"systemTopicsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/systemTopicsListByResourceGroupSample.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,+BAA+B;;;QAC5C,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,YAAY,CAAC,mBAAmB,CAC5D,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,+BAA+B,EAAE,CAAC;IACpC,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 the system topics under an Azure subscription.
17
17
  *
18
18
  * @summary List all the system topics under an Azure subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopics_ListBySubscription.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopics_ListBySubscription.json
20
20
  */
21
21
  function systemTopicsListBySubscription() {
22
22
  var _a, e_1, _b, _c;
@@ -27,16 +27,11 @@ function systemTopicsListBySubscription() {
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.systemTopics.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
30
+ for (var _d = true, _e = __asyncValues(client.systemTopics.listBySubscription()), _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":"systemTopicsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/systemTopicsListBySubscriptionSample.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,8BAA8B;;;QAC3C,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,YAAY,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAAxC,cAAwC;gBAAxC,WAAwC;;oBAApD,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,8BAA8B,EAAE,CAAC;IACnC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"systemTopicsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/systemTopicsListBySubscriptionSample.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,8BAA8B;;;QAC3C,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,YAAY,CAAC,kBAAkB,EAAE,CAAA,IAAA,sDAAE;gBAA1C,cAAwC;gBAAxC,WAAwC;gBAApD,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,8BAA8B,EAAE,CAAC;IACnC,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 Asynchronously updates a system topic with the specified parameters.
17
17
  *
18
18
  * @summary Asynchronously updates a system topic with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/SystemTopics_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/SystemTopics_Update.json
20
20
  */
21
21
  function systemTopicsUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription.
17
17
  *
18
18
  * @summary Asynchronously creates a new event subscription or updates an existing event subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicEventSubscriptions_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicEventSubscriptions_CreateOrUpdate.json
20
20
  */
21
21
  function topicEventSubscriptionsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Delete an existing event subscription for a topic.
17
17
  *
18
18
  * @summary Delete an existing event subscription for a topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicEventSubscriptions_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicEventSubscriptions_Delete.json
20
20
  */
21
21
  function topicEventSubscriptionsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get all delivery attributes for an event subscription for topic.
17
17
  *
18
18
  * @summary Get all delivery attributes for an event subscription for topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicEventSubscriptions_GetDeliveryAttributes.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicEventSubscriptions_GetDeliveryAttributes.json
20
20
  */
21
21
  function topicEventSubscriptionsGetDeliveryAttributes() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the full endpoint URL for an event subscription for topic.
17
17
  *
18
18
  * @summary Get the full endpoint URL for an event subscription for topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicEventSubscriptions_GetFullUrl.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicEventSubscriptions_GetFullUrl.json
20
20
  */
21
21
  function topicEventSubscriptionsGetFullUrl() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get properties of an event subscription of a topic.
17
17
  *
18
18
  * @summary Get properties of an event subscription of a topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicEventSubscriptions_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicEventSubscriptions_Get.json
20
20
  */
21
21
  function topicEventSubscriptionsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all event subscriptions that have been created for a specific topic.
17
17
  *
18
18
  * @summary List all event subscriptions that have been created for a specific topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicEventSubscriptions_List.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicEventSubscriptions_List.json
20
20
  */
21
21
  function topicEventSubscriptionsList() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function topicEventSubscriptionsList() {
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.topicEventSubscriptions.list(resourceGroupName, topicName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.topicEventSubscriptions.list(resourceGroupName, topicName)), _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":"topicEventSubscriptionsListSample.js","sourceRoot":"","sources":["../../samples-dev/topicEventSubscriptionsListSample.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,2BAA2B;;;QACxC,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,SAAS,GAAG,eAAe,CAAC;QAClC,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,uBAAuB,CAAC,IAAI,CACxD,iBAAiB,EACjB,SAAS,CACV,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,2BAA2B,EAAE,CAAC;IAChC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"topicEventSubscriptionsListSample.js","sourceRoot":"","sources":["../../samples-dev/topicEventSubscriptionsListSample.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,2BAA2B;;;QACxC,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,SAAS,GAAG,eAAe,CAAC;QAClC,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,uBAAuB,CAAC,IAAI,CACxD,iBAAiB,EACjB,SAAS,CACV,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,2BAA2B,EAAE,CAAC;IAChC,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 Update an existing event subscription for a topic.
17
17
  *
18
18
  * @summary Update an existing event subscription for a topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicEventSubscriptions_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicEventSubscriptions_Update.json
20
20
  */
21
21
  function topicEventSubscriptionsUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Create or update a topic space with the specified parameters.
17
17
  *
18
18
  * @summary Create or update a topic space with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicSpaces_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicSpaces_CreateOrUpdate.json
20
20
  */
21
21
  function topicSpacesCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Delete an existing topic space.
17
17
  *
18
18
  * @summary Delete an existing topic space.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicSpaces_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicSpaces_Delete.json
20
20
  */
21
21
  function topicSpacesDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get properties of a topic space.
17
17
  *
18
18
  * @summary Get properties of a topic space.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicSpaces_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicSpaces_Get.json
20
20
  */
21
21
  function topicSpacesGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get all the topic spaces under a namespace.
17
17
  *
18
18
  * @summary Get all the topic spaces under a namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicSpaces_ListByNamespace.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicSpaces_ListByNamespace.json
20
20
  */
21
21
  function topicSpacesListByNamespace() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function topicSpacesListByNamespace() {
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.topicSpaces.listByNamespace(resourceGroupName, namespaceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.topicSpaces.listByNamespace(resourceGroupName, namespaceName)), _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":"topicSpacesListByNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/topicSpacesListByNamespaceSample.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,0BAA0B;;;QACvC,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,cAAc,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,WAAW,CAAC,eAAe,CACvD,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,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"topicSpacesListByNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/topicSpacesListByNamespaceSample.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,0BAA0B;;;QACvC,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,cAAc,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,WAAW,CAAC,eAAe,CACvD,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,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,15 +16,13 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get information about a topic type.
17
17
  *
18
18
  * @summary Get information about a topic type.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/TopicTypes_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/TopicTypes_Get.json
20
20
  */
21
21
  function topicTypesGet() {
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 topicTypeName = "Microsoft.Storage.StorageAccounts";
26
24
  const credential = new DefaultAzureCredential();
27
- const client = new EventGridManagementClient(credential, subscriptionId);
25
+ const client = new EventGridManagementClient(credential);
28
26
  const result = yield client.topicTypes.get(topicTypeName);
29
27
  console.log(result);
30
28
  });
@@ -1 +1 @@
1
- {"version":3,"file":"topicTypesGetSample.js","sourceRoot":"","sources":["../../samples-dev/topicTypesGetSample.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,aAAa;;QAC1B,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,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAC1D,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,aAAa,EAAE,CAAC;IAClB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"topicTypesGetSample.js","sourceRoot":"","sources":["../../samples-dev/topicTypesGetSample.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,aAAa;;QAC1B,MAAM,aAAa,GAAG,mCAAmC,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;QAC1D,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,aAAa,EAAE,CAAC;IAClB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}