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

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 (365) hide show
  1. package/CHANGELOG.md +354 -1
  2. package/dist/index.js +1889 -1345
  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 +495 -177
  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 +33 -22
  264. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  265. package/dist-esm/src/models/mappers.js +872 -517
  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 +6 -16
  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 +224 -25
  353. package/src/eventGridManagementClient.ts +25 -5
  354. package/src/models/index.ts +603 -247
  355. package/src/models/mappers.ts +937 -556
  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/operationsInterfaces/index.ts +1 -0
  361. package/src/operationsInterfaces/namespaceTopicEventSubscriptions.ts +19 -1
  362. package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +98 -0
  363. package/types/arm-eventgrid.d.ts +453 -45
  364. package/types/tsdoc-metadata.json +1 -1
  365. package/rollup.config.js +0 -122
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to List all the partner destinations under a resource group.
17
17
  *
18
18
  * @summary List all the partner destinations under a resource group.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerDestinations_ListByResourceGroup.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerDestinations_ListByResourceGroup.json
20
20
  */
21
21
  function partnerDestinationsListByResourceGroup() {
22
22
  var _a, e_1, _b, _c;
@@ -28,16 +28,11 @@ function partnerDestinationsListByResourceGroup() {
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.partnerDestinations.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
31
+ for (var _d = true, _e = __asyncValues(client.partnerDestinations.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":"partnerDestinationsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/partnerDestinationsListByResourceGroupSample.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,sCAAsC;;;QACnD,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,mBAAmB,CAAC,mBAAmB,CACnE,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,sCAAsC,EAAE,CAAC;IAC3C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"partnerDestinationsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/partnerDestinationsListByResourceGroupSample.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,sCAAsC;;;QACnD,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,mBAAmB,CAAC,mBAAmB,CACnE,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,sCAAsC,EAAE,CAAC;IAC3C,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 partner destinations under an Azure subscription.
17
17
  *
18
18
  * @summary List all the partner destinations under an Azure subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerDestinations_ListBySubscription.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerDestinations_ListBySubscription.json
20
20
  */
21
21
  function partnerDestinationsListBySubscription() {
22
22
  var _a, e_1, _b, _c;
@@ -27,16 +27,11 @@ function partnerDestinationsListBySubscription() {
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.partnerDestinations.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
30
+ for (var _d = true, _e = __asyncValues(client.partnerDestinations.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":"partnerDestinationsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/partnerDestinationsListBySubscriptionSample.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,qCAAqC;;;QAClD,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,mBAAmB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA/C,cAA+C;gBAA/C,WAA+C;;oBAA3D,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,qCAAqC,EAAE,CAAC;IAC1C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"partnerDestinationsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/partnerDestinationsListBySubscriptionSample.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,qCAAqC;;;QAClD,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,mBAAmB,CAAC,kBAAkB,EAAE,CAAA,IAAA,sDAAE;gBAAjD,cAA+C;gBAA/C,WAA+C;gBAA3D,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,qCAAqC,EAAE,CAAC;IAC1C,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 partner destination with the specified parameters.
17
17
  *
18
18
  * @summary Asynchronously updates a partner destination with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerDestinations_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerDestinations_Update.json
20
20
  */
21
21
  function partnerDestinationsUpdate() {
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 partner namespace with the specified parameters.
17
17
  *
18
18
  * @summary Asynchronously creates a new partner namespace with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerNamespaces_CreateOrUpdate.json
20
20
  */
21
21
  function partnerNamespacesCreateOrUpdate() {
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 partner namespace.
17
17
  *
18
18
  * @summary Delete existing partner namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerNamespaces_Delete.json
20
20
  */
21
21
  function partnerNamespacesDelete() {
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 partner namespace.
17
17
  *
18
18
  * @summary Get properties of a partner namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerNamespaces_Get.json
20
20
  */
21
21
  function partnerNamespacesGet() {
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 partner namespaces under a resource group.
17
17
  *
18
18
  * @summary List all the partner namespaces under a resource group.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_ListByResourceGroup.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerNamespaces_ListByResourceGroup.json
20
20
  */
21
21
  function partnerNamespacesListByResourceGroup() {
22
22
  var _a, e_1, _b, _c;
@@ -28,16 +28,11 @@ function partnerNamespacesListByResourceGroup() {
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.partnerNamespaces.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
31
+ for (var _d = true, _e = __asyncValues(client.partnerNamespaces.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":"partnerNamespacesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/partnerNamespacesListByResourceGroupSample.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,oCAAoC;;;QACjD,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,iBAAiB,CAAC,mBAAmB,CACjE,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,oCAAoC,EAAE,CAAC;IACzC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"partnerNamespacesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/partnerNamespacesListByResourceGroupSample.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,oCAAoC;;;QACjD,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,iBAAiB,CAAC,mBAAmB,CACjE,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,oCAAoC,EAAE,CAAC;IACzC,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 partner namespaces under an Azure subscription.
17
17
  *
18
18
  * @summary List all the partner namespaces under an Azure subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_ListBySubscription.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerNamespaces_ListBySubscription.json
20
20
  */
21
21
  function partnerNamespacesListBySubscription() {
22
22
  var _a, e_1, _b, _c;
@@ -27,16 +27,11 @@ function partnerNamespacesListBySubscription() {
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.partnerNamespaces.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
30
+ for (var _d = true, _e = __asyncValues(client.partnerNamespaces.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":"partnerNamespacesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/partnerNamespacesListBySubscriptionSample.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,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,iBAAiB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA7C,cAA6C;gBAA7C,WAA6C;;oBAAzD,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,mCAAmC,EAAE,CAAC;IACxC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"partnerNamespacesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/partnerNamespacesListBySubscriptionSample.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,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,iBAAiB,CAAC,kBAAkB,EAAE,CAAA,IAAA,sDAAE;gBAA/C,cAA6C;gBAA7C,WAA6C;gBAAzD,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,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 the two keys used to publish to a partner namespace.
17
17
  *
18
18
  * @summary List the two keys used to publish to a partner namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_ListSharedAccessKeys.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerNamespaces_ListSharedAccessKeys.json
20
20
  */
21
21
  function partnerNamespacesListSharedAccessKeys() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Regenerate a shared access key for a partner namespace.
17
17
  *
18
18
  * @summary Regenerate a shared access key for a partner namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_RegenerateKey.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerNamespaces_RegenerateKey.json
20
20
  */
21
21
  function partnerNamespacesRegenerateKey() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Asynchronously updates a partner namespace with the specified parameters.
17
17
  *
18
18
  * @summary Asynchronously updates a partner namespace with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerNamespaces_Update.json
20
20
  */
21
21
  function partnerNamespacesUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates a new partner registration with the specified parameters.
17
17
  *
18
18
  * @summary Creates a new partner registration with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerRegistrations_CreateOrUpdate.json
20
20
  */
21
21
  function partnerRegistrationsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes a partner registration with the specified parameters.
17
17
  *
18
18
  * @summary Deletes a partner registration with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerRegistrations_Delete.json
20
20
  */
21
21
  function partnerRegistrationsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets a partner registration with the specified parameters.
17
17
  *
18
18
  * @summary Gets a partner registration with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerRegistrations_Get.json
20
20
  */
21
21
  function partnerRegistrationsGet() {
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 partner registrations under a resource group.
17
17
  *
18
18
  * @summary List all the partner registrations under a resource group.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_ListByResourceGroup.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerRegistrations_ListByResourceGroup.json
20
20
  */
21
21
  function partnerRegistrationsListByResourceGroup() {
22
22
  var _a, e_1, _b, _c;
@@ -28,16 +28,11 @@ function partnerRegistrationsListByResourceGroup() {
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.partnerRegistrations.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
31
+ for (var _d = true, _e = __asyncValues(client.partnerRegistrations.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":"partnerRegistrationsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/partnerRegistrationsListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uCAAuC;;;QACpD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,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,oBAAoB,CAAC,mBAAmB,CACpE,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,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"partnerRegistrationsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/partnerRegistrationsListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,uCAAuC;;;QACpD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,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,oBAAoB,CAAC,mBAAmB,CACpE,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,uCAAuC,EAAE,CAAC;IAC5C,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 partner registrations under an Azure subscription.
17
17
  *
18
18
  * @summary List all the partner registrations under an Azure subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_ListBySubscription.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerRegistrations_ListBySubscription.json
20
20
  */
21
21
  function partnerRegistrationsListBySubscription() {
22
22
  var _a, e_1, _b, _c;
@@ -27,16 +27,11 @@ function partnerRegistrationsListBySubscription() {
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.partnerRegistrations.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
30
+ for (var _d = true, _e = __asyncValues(client.partnerRegistrations.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":"partnerRegistrationsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/partnerRegistrationsListBySubscriptionSample.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,sCAAsC;;;QACnD,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,oBAAoB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAAhD,cAAgD;gBAAhD,WAAgD;;oBAA5D,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,sCAAsC,EAAE,CAAC;IAC3C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"partnerRegistrationsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/partnerRegistrationsListBySubscriptionSample.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,sCAAsC;;;QACnD,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,oBAAoB,CAAC,kBAAkB,EAAE,CAAA,IAAA,sDAAE;gBAAlD,cAAgD;gBAAhD,WAAgD;gBAA5D,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,sCAAsC,EAAE,CAAC;IAC3C,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 Updates a partner registration with the specified parameters.
17
17
  *
18
18
  * @summary Updates a partner registration with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerRegistrations_Update.json
20
20
  */
21
21
  function partnerRegistrationsUpdate() {
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 or updates an event subscription of a partner topic 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 of a partner topic 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/PartnerTopicEventSubscriptions_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopicEventSubscriptions_CreateOrUpdate.json
20
20
  */
21
21
  function partnerTopicEventSubscriptionsCreateOrUpdate() {
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 partner topic.
17
17
  *
18
18
  * @summary Delete an existing event subscription of a partner topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopicEventSubscriptions_Delete.json
20
20
  */
21
21
  function partnerTopicEventSubscriptionsDelete() {
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 of a partner topic.
17
17
  *
18
18
  * @summary Get all delivery attributes for an event subscription of a partner topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_GetDeliveryAttributes.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopicEventSubscriptions_GetDeliveryAttributes.json
20
20
  */
21
21
  function partnerTopicEventSubscriptionsGetDeliveryAttributes() {
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 partner topic.
17
17
  *
18
18
  * @summary Get the full endpoint URL for an event subscription of a partner topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_GetFullUrl.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopicEventSubscriptions_GetFullUrl.json
20
20
  */
21
21
  function partnerTopicEventSubscriptionsGetFullUrl() {
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 partner topic.
17
17
  *
18
18
  * @summary Get properties of an event subscription of a partner topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopicEventSubscriptions_Get.json
20
20
  */
21
21
  function partnerTopicEventSubscriptionsGet() {
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 partner topic.
17
17
  *
18
18
  * @summary List event subscriptions that belong to a specific partner topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_ListByPartnerTopic.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopicEventSubscriptions_ListByPartnerTopic.json
20
20
  */
21
21
  function partnerTopicEventSubscriptionsListByPartnerTopic() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function partnerTopicEventSubscriptionsListByPartnerTopic() {
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.partnerTopicEventSubscriptions.listByPartnerTopic(resourceGroupName, partnerTopicName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.partnerTopicEventSubscriptions.listByPartnerTopic(resourceGroupName, partnerTopicName)), _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":"partnerTopicEventSubscriptionsListByPartnerTopicSample.js","sourceRoot":"","sources":["../../samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.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,gDAAgD;;;QAC7D,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,gBAAgB,GAAG,sBAAsB,CAAC;QAChD,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,8BAA8B,CAAC,kBAAkB,CAC7E,iBAAiB,EACjB,gBAAgB,CACjB,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,gDAAgD,EAAE,CAAC;IACrD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"partnerTopicEventSubscriptionsListByPartnerTopicSample.js","sourceRoot":"","sources":["../../samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.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,gDAAgD;;;QAC7D,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,gBAAgB,GAAG,sBAAsB,CAAC;QAChD,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,8BAA8B,CAAC,kBAAkB,CAC7E,iBAAiB,EACjB,gBAAgB,CACjB,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,gDAAgD,EAAE,CAAC;IACrD,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 partner topic.
17
17
  *
18
18
  * @summary Update an existing event subscription of a partner topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopicEventSubscriptions_Update.json
20
20
  */
21
21
  function partnerTopicEventSubscriptionsUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Activate a newly created partner topic.
17
17
  *
18
18
  * @summary Activate a newly created partner topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_Activate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopics_Activate.json
20
20
  */
21
21
  function partnerTopicsActivate() {
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 partner topic with the specified parameters.
17
17
  *
18
18
  * @summary Asynchronously creates a new partner topic with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopics_CreateOrUpdate.json
20
20
  */
21
21
  function partnerTopicsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deactivate specific partner topic.
17
17
  *
18
18
  * @summary Deactivate specific partner topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_Deactivate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopics_Deactivate.json
20
20
  */
21
21
  function partnerTopicsDeactivate() {
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 partner topic.
17
17
  *
18
18
  * @summary Delete existing partner topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopics_Delete.json
20
20
  */
21
21
  function partnerTopicsDelete() {
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 partner topic.
17
17
  *
18
18
  * @summary Get properties of a partner topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopics_Get.json
20
20
  */
21
21
  function partnerTopicsGet() {
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 partner topics under a resource group.
17
17
  *
18
18
  * @summary List all the partner topics under a resource group.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_ListByResourceGroup.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopics_ListByResourceGroup.json
20
20
  */
21
21
  function partnerTopicsListByResourceGroup() {
22
22
  var _a, e_1, _b, _c;
@@ -28,16 +28,11 @@ function partnerTopicsListByResourceGroup() {
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.partnerTopics.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
31
+ for (var _d = true, _e = __asyncValues(client.partnerTopics.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":"partnerTopicsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/partnerTopicsListByResourceGroupSample.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,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,aAAa,CAAC,mBAAmB,CAC7D,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,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"partnerTopicsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/partnerTopicsListByResourceGroupSample.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,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,aAAa,CAAC,mBAAmB,CAC7D,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,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 the partner topics under an Azure subscription.
17
17
  *
18
18
  * @summary List all the partner topics under an Azure subscription.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_ListBySubscription.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopics_ListBySubscription.json
20
20
  */
21
21
  function partnerTopicsListBySubscription() {
22
22
  var _a, e_1, _b, _c;
@@ -27,16 +27,11 @@ function partnerTopicsListBySubscription() {
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.partnerTopics.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
30
+ for (var _d = true, _e = __asyncValues(client.partnerTopics.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":"partnerTopicsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/partnerTopicsListBySubscriptionSample.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,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,aAAa,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAAzC,cAAyC;gBAAzC,WAAyC;;oBAArD,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,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"partnerTopicsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/partnerTopicsListBySubscriptionSample.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,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,aAAa,CAAC,kBAAkB,EAAE,CAAA,IAAA,sDAAE;gBAA3C,cAAyC;gBAAzC,WAAyC;gBAArD,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,+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 Asynchronously updates a partner topic with the specified parameters.
17
17
  *
18
18
  * @summary Asynchronously updates a partner topic with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PartnerTopics_Update.json
20
20
  */
21
21
  function partnerTopicsUpdate() {
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 permission binding with the specified parameters.
17
17
  *
18
18
  * @summary Create or update a permission binding with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PermissionBindings_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/PermissionBindings_CreateOrUpdate.json
20
20
  */
21
21
  function permissionBindingsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {