@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 Create or update a CA certificate with the specified parameters.
17
17
  *
18
18
  * @summary Create or update a CA certificate with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/CaCertificates_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/CaCertificates_CreateOrUpdate.json
20
20
  */
21
21
  function caCertificatesCreateOrUpdate() {
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 CA certificate.
17
17
  *
18
18
  * @summary Delete an existing CA certificate.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/CaCertificates_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/CaCertificates_Delete.json
20
20
  */
21
21
  function caCertificatesDelete() {
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 CA certificate.
17
17
  *
18
18
  * @summary Get properties of a CA certificate.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/CaCertificates_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/CaCertificates_Get.json
20
20
  */
21
21
  function caCertificatesGet() {
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 CA certificates under a namespace.
17
17
  *
18
18
  * @summary Get all the CA certificates under a namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/CaCertificates_ListByNamespace.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/CaCertificates_ListByNamespace.json
20
20
  */
21
21
  function caCertificatesListByNamespace() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function caCertificatesListByNamespace() {
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.caCertificates.listByNamespace(resourceGroupName, namespaceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.caCertificates.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":"caCertificatesListByNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/caCertificatesListByNamespaceSample.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,6BAA6B;;;QAC1C,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,cAAc,CAAC,eAAe,CAC1D,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,6BAA6B,EAAE,CAAC;IAClC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"caCertificatesListByNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/caCertificatesListByNamespaceSample.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,6BAA6B;;;QAC1C,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,cAAc,CAAC,eAAe,CAC1D,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,6BAA6B,EAAE,CAAC;IAClC,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 Synchronously creates or updates a new channel with the specified parameters.
17
17
  *
18
18
  * @summary Synchronously creates or updates a new channel with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Channels_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/Channels_CreateOrUpdate.json
20
20
  */
21
21
  function channelsCreateOrUpdate() {
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 channel.
17
17
  *
18
18
  * @summary Delete an existing channel.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Channels_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/Channels_Delete.json
20
20
  */
21
21
  function channelsDelete() {
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 of a partner destination channel.
17
17
  *
18
18
  * @summary Get the full endpoint URL of a partner destination channel.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Channels_GetFullUrl.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/Channels_GetFullUrl.json
20
20
  */
21
21
  function channelsGetFullUrl() {
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 channel.
17
17
  *
18
18
  * @summary Get properties of a channel.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Channels_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/Channels_Get.json
20
20
  */
21
21
  function channelsGet() {
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 channels in a partner namespace.
17
17
  *
18
18
  * @summary List all the channels in a partner namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Channels_ListByPartnerNamespace.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/Channels_ListByPartnerNamespace.json
20
20
  */
21
21
  function channelsListByPartnerNamespace() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function channelsListByPartnerNamespace() {
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.channels.listByPartnerNamespace(resourceGroupName, partnerNamespaceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.channels.listByPartnerNamespace(resourceGroupName, partnerNamespaceName)), _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":"channelsListByPartnerNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/channelsListByPartnerNamespaceSample.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,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,oBAAoB,GAAG,8BAA8B,CAAC;QAC5D,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,QAAQ,CAAC,sBAAsB,CAC3D,iBAAiB,EACjB,oBAAoB,CACrB,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,8BAA8B,EAAE,CAAC;IACnC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"channelsListByPartnerNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/channelsListByPartnerNamespaceSample.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,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,oBAAoB,GAAG,8BAA8B,CAAC;QAC5D,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,QAAQ,CAAC,sBAAsB,CAC3D,iBAAiB,EACjB,oBAAoB,CACrB,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,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 Synchronously updates a channel with the specified parameters.
17
17
  *
18
18
  * @summary Synchronously updates a channel with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Channels_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/Channels_Update.json
20
20
  */
21
21
  function channelsUpdate() {
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 client group with the specified parameters.
17
17
  *
18
18
  * @summary Create or update a client group with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/ClientGroups_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/ClientGroups_CreateOrUpdate.json
20
20
  */
21
21
  function clientGroupsCreateOrUpdate() {
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 client group.
17
17
  *
18
18
  * @summary Delete an existing client group.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/ClientGroups_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/ClientGroups_Delete.json
20
20
  */
21
21
  function clientGroupsDelete() {
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 client group.
17
17
  *
18
18
  * @summary Get properties of a client group.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/ClientGroups_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/ClientGroups_Get.json
20
20
  */
21
21
  function clientGroupsGet() {
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 client groups under a namespace.
17
17
  *
18
18
  * @summary Get all the client groups under a namespace.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/ClientGroups_ListByNamespace.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/ClientGroups_ListByNamespace.json
20
20
  */
21
21
  function clientGroupsListByNamespace() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function clientGroupsListByNamespace() {
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.clientGroups.listByNamespace(resourceGroupName, namespaceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.clientGroups.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":"clientGroupsListByNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/clientGroupsListByNamespaceSample.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,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,YAAY,CAAC,eAAe,CACxD,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,2BAA2B,EAAE,CAAC;IAChC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"clientGroupsListByNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/clientGroupsListByNamespaceSample.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,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,YAAY,CAAC,eAAe,CACxD,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,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 Create or update a client with the specified parameters.
17
17
  *
18
18
  * @summary Create or update a client with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Clients_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/Clients_CreateOrUpdate.json
20
20
  */
21
21
  function clientsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -28,13 +28,8 @@ function clientsCreateOrUpdate() {
28
28
  const clientInfo = {
29
29
  description: "This is a test client",
30
30
  attributes: { deviceTypes: ["Fan", "Light", "AC"], floor: 3, room: "345" },
31
- authentication: {
32
- certificateSubject: {
33
- commonName: "CertificateCommonName",
34
- countryCode: "US",
35
- organization: "Microsoft",
36
- organizationUnit: "Azure"
37
- }
31
+ clientCertificateAuthentication: {
32
+ validationScheme: "SubjectMatchesAuthenticationName"
38
33
  },
39
34
  state: "Enabled"
40
35
  };
@@ -1 +1 @@
1
- {"version":3,"file":"clientsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/clientsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAU,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,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,uBAAuB,CAAC;QAC9C,MAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,MAAM,UAAU,GAAW;YACzB,WAAW,EAAE,uBAAuB;YACpC,UAAU,EAAE,EAAE,WAAW,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;YAC1E,cAAc,EAAE;gBACd,kBAAkB,EAAE;oBAClB,UAAU,EAAE,uBAAuB;oBACnC,WAAW,EAAE,IAAI;oBACjB,YAAY,EAAE,WAAW;oBACzB,gBAAgB,EAAE,OAAO;iBAC1B;aACF;YACD,KAAK,EAAE,SAAS;SACjB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,0BAA0B,CAC5D,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"clientsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/clientsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAU,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,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,uBAAuB,CAAC;QAC9C,MAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,MAAM,UAAU,GAAW;YACzB,WAAW,EAAE,uBAAuB;YACpC,UAAU,EAAE,EAAE,WAAW,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;YAC1E,+BAA+B,EAAE;gBAC/B,gBAAgB,EAAE,kCAAkC;aACrD;YACD,KAAK,EAAE,SAAS;SACjB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,0BAA0B,CAC5D,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,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 an existing client.
17
17
  *
18
18
  * @summary Delete an existing client.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Clients_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/Clients_Delete.json
20
20
  */
21
21
  function clientsDelete() {
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 client.
17
17
  *
18
18
  * @summary Get properties of a client.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/Clients_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/Clients_Get.json
20
20
  */
21
21
  function clientsGet() {
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/Clients_ListByNamespace.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/Clients_ListByNamespace.json
20
20
  */
21
21
  function clientsListByNamespace() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function clientsListByNamespace() {
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.clients.listByNamespace(resourceGroupName, namespaceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.clients.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":"clientsListByNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/clientsListByNamespaceSample.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,sBAAsB;;;QACnC,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,OAAO,CAAC,eAAe,CACnD,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,sBAAsB,EAAE,CAAC;IAC3B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"clientsListByNamespaceSample.js","sourceRoot":"","sources":["../../samples-dev/clientsListByNamespaceSample.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,sBAAsB;;;QACnC,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,OAAO,CAAC,eAAe,CACnD,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,sBAAsB,EAAE,CAAC;IAC3B,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 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/DomainEventSubscriptions_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainEventSubscriptions_CreateOrUpdate.json
20
20
  */
21
21
  function domainEventSubscriptionsCreateOrUpdate() {
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 domain.
17
17
  *
18
18
  * @summary Delete an existing event subscription for a domain.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainEventSubscriptions_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainEventSubscriptions_Delete.json
20
20
  */
21
21
  function domainEventSubscriptionsDelete() {
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 domain.
17
17
  *
18
18
  * @summary Get all delivery attributes for an event subscription for domain.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainEventSubscriptions_GetDeliveryAttributes.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainEventSubscriptions_GetDeliveryAttributes.json
20
20
  */
21
21
  function domainEventSubscriptionsGetDeliveryAttributes() {
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 domain.
17
17
  *
18
18
  * @summary Get the full endpoint URL for an event subscription for domain.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainEventSubscriptions_GetFullUrl.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainEventSubscriptions_GetFullUrl.json
20
20
  */
21
21
  function domainEventSubscriptionsGetFullUrl() {
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 domain.
17
17
  *
18
18
  * @summary Get properties of an event subscription of a domain.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainEventSubscriptions_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainEventSubscriptions_Get.json
20
20
  */
21
21
  function domainEventSubscriptionsGet() {
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/DomainEventSubscriptions_List.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainEventSubscriptions_List.json
20
20
  */
21
21
  function domainEventSubscriptionsList() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function domainEventSubscriptionsList() {
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.domainEventSubscriptions.list(resourceGroupName, domainName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.domainEventSubscriptions.list(resourceGroupName, domainName)), _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":"domainEventSubscriptionsListSample.js","sourceRoot":"","sources":["../../samples-dev/domainEventSubscriptionsListSample.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,4BAA4B;;;QACzC,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,gBAAgB,CAAC;QACpC,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,wBAAwB,CAAC,IAAI,CACzD,iBAAiB,EACjB,UAAU,CACX,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,4BAA4B,EAAE,CAAC;IACjC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"domainEventSubscriptionsListSample.js","sourceRoot":"","sources":["../../samples-dev/domainEventSubscriptionsListSample.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,4BAA4B;;;QACzC,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,gBAAgB,CAAC;QACpC,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,wBAAwB,CAAC,IAAI,CACzD,iBAAiB,EACjB,UAAU,CACX,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,4BAA4B,EAAE,CAAC;IACjC,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/DomainEventSubscriptions_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainEventSubscriptions_Update.json
20
20
  */
21
21
  function domainEventSubscriptionsUpdate() {
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/DomainTopicEventSubscriptions_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopicEventSubscriptions_CreateOrUpdate.json
20
20
  */
21
21
  function domainTopicEventSubscriptionsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Delete a nested existing event subscription for a domain topic.
17
17
  *
18
18
  * @summary Delete a nested existing event subscription for a domain topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainTopicEventSubscriptions_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopicEventSubscriptions_Delete.json
20
20
  */
21
21
  function domainTopicEventSubscriptionsDelete() {
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 domain topic.
17
17
  *
18
18
  * @summary Get all delivery attributes for an event subscription for domain topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainTopicEventSubscriptions_GetDeliveryAttributes.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopicEventSubscriptions_GetDeliveryAttributes.json
20
20
  */
21
21
  function domainTopicEventSubscriptionsGetDeliveryAttributes() {
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 a nested event subscription for domain topic.
17
17
  *
18
18
  * @summary Get the full endpoint URL for a nested event subscription for domain topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainTopicEventSubscriptions_GetFullUrl.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopicEventSubscriptions_GetFullUrl.json
20
20
  */
21
21
  function domainTopicEventSubscriptionsGetFullUrl() {
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 nested event subscription for a domain topic.
17
17
  *
18
18
  * @summary Get properties of a nested event subscription for a domain topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainTopicEventSubscriptions_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopicEventSubscriptions_Get.json
20
20
  */
21
21
  function domainTopicEventSubscriptionsGet() {
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 domain topic.
17
17
  *
18
18
  * @summary List all event subscriptions that have been created for a specific domain topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainTopicEventSubscriptions_List.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopicEventSubscriptions_List.json
20
20
  */
21
21
  function domainTopicEventSubscriptionsList() {
22
22
  var _a, e_1, _b, _c;
@@ -30,16 +30,11 @@ function domainTopicEventSubscriptionsList() {
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.domainTopicEventSubscriptions.list(resourceGroupName, domainName, topicName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
33
+ for (var _d = true, _e = __asyncValues(client.domainTopicEventSubscriptions.list(resourceGroupName, domainName, topicName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
34
34
  _c = _f.value;
35
35
  _d = false;
36
- try {
37
- let item = _c;
38
- resArray.push(item);
39
- }
40
- finally {
41
- _d = true;
42
- }
36
+ let item = _c;
37
+ resArray.push(item);
43
38
  }
44
39
  }
45
40
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1 +1 @@
1
- {"version":3,"file":"domainTopicEventSubscriptionsListSample.js","sourceRoot":"","sources":["../../samples-dev/domainTopicEventSubscriptionsListSample.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,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,SAAS,GAAG,qBAAqB,CAAC;QACxC,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,IAAI,CAC9D,iBAAiB,EACjB,UAAU,EACV,SAAS,CACV,CAAA,IAAA;gBAJsB,cAItB;gBAJsB,WAItB;;oBAJU,IAAI,IAAI,KAAA,CAAA;oBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,iCAAiC,EAAE,CAAC;IACtC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"domainTopicEventSubscriptionsListSample.js","sourceRoot":"","sources":["../../samples-dev/domainTopicEventSubscriptionsListSample.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,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,SAAS,GAAG,qBAAqB,CAAC;QACxC,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,IAAI,CAC9D,iBAAiB,EACjB,UAAU,EACV,SAAS,CACV,CAAA,IAAA,sDAAE;gBAJoB,cAItB;gBAJsB,WAItB;gBAJU,IAAI,IAAI,KAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,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 Update an existing event subscription for a domain topic.
17
17
  *
18
18
  * @summary Update an existing event subscription for a domain topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainTopicEventSubscriptions_Update.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopicEventSubscriptions_Update.json
20
20
  */
21
21
  function domainTopicEventSubscriptionsUpdate() {
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 a new domain topic with the specified parameters.
17
17
  *
18
18
  * @summary Asynchronously creates or updates a new domain topic with the specified parameters.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainTopics_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopics_CreateOrUpdate.json
20
20
  */
21
21
  function domainTopicsCreateOrUpdate() {
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 domain topic.
17
17
  *
18
18
  * @summary Delete existing domain topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainTopics_Delete.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopics_Delete.json
20
20
  */
21
21
  function domainTopicsDelete() {
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 domain topic.
17
17
  *
18
18
  * @summary Get properties of a domain topic.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainTopics_Get.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopics_Get.json
20
20
  */
21
21
  function domainTopicsGet() {
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 topics in a domain.
17
17
  *
18
18
  * @summary List all the topics in a domain.
19
- * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/DomainTopics_ListByDomain.json
19
+ * x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/DomainTopics_ListByDomain.json
20
20
  */
21
21
  function domainTopicsListByDomain() {
22
22
  var _a, e_1, _b, _c;
@@ -29,16 +29,11 @@ function domainTopicsListByDomain() {
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.domainTopics.listByDomain(resourceGroupName, domainName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
32
+ for (var _d = true, _e = __asyncValues(client.domainTopics.listByDomain(resourceGroupName, domainName)), _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":"domainTopicsListByDomainSample.js","sourceRoot":"","sources":["../../samples-dev/domainTopicsListByDomainSample.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,wBAAwB;;;QACrC,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,gBAAgB,CAAC;QACpC,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,YAAY,CACrD,iBAAiB,EACjB,UAAU,CACX,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,wBAAwB,EAAE,CAAC;IAC7B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"domainTopicsListByDomainSample.js","sourceRoot":"","sources":["../../samples-dev/domainTopicsListByDomainSample.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,wBAAwB;;;QACrC,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,gBAAgB,CAAC;QACpC,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,YAAY,CACrD,iBAAiB,EACjB,UAAU,CACX,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,wBAAwB,EAAE,CAAC;IAC7B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}