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

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 (488) hide show
  1. package/CHANGELOG.md +375 -0
  2. package/LICENSE +1 -1
  3. package/dist/index.js +4115 -3680
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/caCertificatesCreateOrUpdateSample.js +2 -2
  8. package/dist-esm/samples-dev/caCertificatesDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/caCertificatesGetSample.js +1 -1
  10. package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js +2 -2
  11. package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js.map +1 -1
  12. package/dist-esm/samples-dev/channelsCreateOrUpdateSample.js +3 -3
  13. package/dist-esm/samples-dev/channelsDeleteSample.js +1 -1
  14. package/dist-esm/samples-dev/channelsGetFullUrlSample.js +1 -1
  15. package/dist-esm/samples-dev/channelsGetSample.js +1 -1
  16. package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js +2 -2
  17. package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js.map +1 -1
  18. package/dist-esm/samples-dev/channelsUpdateSample.js +3 -3
  19. package/dist-esm/samples-dev/channelsUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.js +2 -2
  21. package/dist-esm/samples-dev/clientGroupsDeleteSample.js +1 -1
  22. package/dist-esm/samples-dev/clientGroupsGetSample.js +1 -1
  23. package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js +2 -2
  24. package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js.map +1 -1
  25. package/dist-esm/samples-dev/clientsCreateOrUpdateSample.js +3 -3
  26. package/dist-esm/samples-dev/clientsDeleteSample.js +1 -1
  27. package/dist-esm/samples-dev/clientsGetSample.js +1 -1
  28. package/dist-esm/samples-dev/clientsListByNamespaceSample.js +2 -2
  29. package/dist-esm/samples-dev/clientsListByNamespaceSample.js.map +1 -1
  30. package/dist-esm/samples-dev/domainEventSubscriptionsCreateOrUpdateSample.js +5 -5
  31. package/dist-esm/samples-dev/domainEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
  32. package/dist-esm/samples-dev/domainEventSubscriptionsDeleteSample.js +1 -1
  33. package/dist-esm/samples-dev/domainEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  34. package/dist-esm/samples-dev/domainEventSubscriptionsGetFullUrlSample.js +1 -1
  35. package/dist-esm/samples-dev/domainEventSubscriptionsGetSample.js +1 -1
  36. package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js +2 -2
  37. package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js.map +1 -1
  38. package/dist-esm/samples-dev/domainEventSubscriptionsUpdateSample.js +5 -5
  39. package/dist-esm/samples-dev/domainEventSubscriptionsUpdateSample.js.map +1 -1
  40. package/dist-esm/samples-dev/domainTopicEventSubscriptionsCreateOrUpdateSample.js +5 -5
  41. package/dist-esm/samples-dev/domainTopicEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
  42. package/dist-esm/samples-dev/domainTopicEventSubscriptionsDeleteSample.js +1 -1
  43. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  44. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
  45. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetFullUrlSample.js +1 -1
  46. package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetSample.js +1 -1
  47. package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js +2 -2
  48. package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js.map +1 -1
  49. package/dist-esm/samples-dev/domainTopicEventSubscriptionsUpdateSample.js +5 -5
  50. package/dist-esm/samples-dev/domainTopicEventSubscriptionsUpdateSample.js.map +1 -1
  51. package/dist-esm/samples-dev/domainTopicsCreateOrUpdateSample.js +1 -1
  52. package/dist-esm/samples-dev/domainTopicsDeleteSample.js +1 -1
  53. package/dist-esm/samples-dev/domainTopicsGetSample.js +1 -1
  54. package/dist-esm/samples-dev/domainTopicsListByDomainSample.js +2 -2
  55. package/dist-esm/samples-dev/domainTopicsListByDomainSample.js.map +1 -1
  56. package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js +3 -3
  57. package/dist-esm/samples-dev/domainsDeleteSample.js +1 -1
  58. package/dist-esm/samples-dev/domainsGetSample.js +1 -1
  59. package/dist-esm/samples-dev/domainsListByResourceGroupSample.js +2 -2
  60. package/dist-esm/samples-dev/domainsListByResourceGroupSample.js.map +1 -1
  61. package/dist-esm/samples-dev/domainsListBySubscriptionSample.js +2 -2
  62. package/dist-esm/samples-dev/domainsListBySubscriptionSample.js.map +1 -1
  63. package/dist-esm/samples-dev/domainsListSharedAccessKeysSample.js +1 -1
  64. package/dist-esm/samples-dev/domainsRegenerateKeySample.js +2 -2
  65. package/dist-esm/samples-dev/domainsRegenerateKeySample.js.map +1 -1
  66. package/dist-esm/samples-dev/domainsUpdateSample.js +4 -4
  67. package/dist-esm/samples-dev/domainsUpdateSample.js.map +1 -1
  68. package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js +50 -50
  69. package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js.map +1 -1
  70. package/dist-esm/samples-dev/eventSubscriptionsDeleteSample.js +4 -4
  71. package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  72. package/dist-esm/samples-dev/eventSubscriptionsGetFullUrlSample.js +4 -4
  73. package/dist-esm/samples-dev/eventSubscriptionsGetSample.js +11 -11
  74. package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js +2 -2
  75. package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js.map +1 -1
  76. package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js +2 -2
  77. package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js.map +1 -1
  78. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js +2 -2
  79. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js.map +1 -1
  80. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js +2 -2
  81. package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js.map +1 -1
  82. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js +2 -2
  83. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js.map +1 -1
  84. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js +2 -2
  85. package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js.map +1 -1
  86. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js +2 -2
  87. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js.map +1 -1
  88. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js +2 -2
  89. package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js.map +1 -1
  90. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js +2 -2
  91. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js.map +1 -1
  92. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js +2 -2
  93. package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js.map +1 -1
  94. package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js +48 -48
  95. package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js.map +1 -1
  96. package/dist-esm/samples-dev/extensionTopicsGetSample.js +1 -1
  97. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.js +4 -4
  98. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
  99. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.js +1 -1
  100. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.js.map +1 -1
  101. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  102. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
  103. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetFullUrlSample.d.ts +2 -0
  104. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetFullUrlSample.d.ts.map +1 -0
  105. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetFullUrlSample.js +41 -0
  106. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetFullUrlSample.js.map +1 -0
  107. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.js +1 -1
  108. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js +2 -2
  109. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js.map +1 -1
  110. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.js +5 -5
  111. package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.js.map +1 -1
  112. package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.js +3 -3
  113. package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.js.map +1 -1
  114. package/dist-esm/samples-dev/namespaceTopicsDeleteSample.js +1 -1
  115. package/dist-esm/samples-dev/namespaceTopicsGetSample.js +1 -1
  116. package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js +2 -2
  117. package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js.map +1 -1
  118. package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.js +1 -1
  119. package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.js +2 -2
  120. package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.js.map +1 -1
  121. package/dist-esm/samples-dev/namespaceTopicsUpdateSample.js +3 -3
  122. package/dist-esm/samples-dev/namespaceTopicsUpdateSample.js.map +1 -1
  123. package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +3 -3
  124. package/dist-esm/samples-dev/namespacesDeleteSample.js +1 -1
  125. package/dist-esm/samples-dev/namespacesGetSample.js +1 -1
  126. package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js +2 -2
  127. package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js.map +1 -1
  128. package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js +2 -2
  129. package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js.map +1 -1
  130. package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.js +1 -1
  131. package/dist-esm/samples-dev/namespacesRegenerateKeySample.js +3 -3
  132. package/dist-esm/samples-dev/namespacesRegenerateKeySample.js.map +1 -1
  133. package/dist-esm/samples-dev/namespacesUpdateSample.js +3 -3
  134. package/dist-esm/samples-dev/namespacesUpdateSample.js.map +1 -1
  135. package/dist-esm/samples-dev/namespacesValidateCustomDomainOwnershipSample.d.ts +2 -0
  136. package/dist-esm/samples-dev/namespacesValidateCustomDomainOwnershipSample.d.ts.map +1 -0
  137. package/dist-esm/samples-dev/namespacesValidateCustomDomainOwnershipSample.js +39 -0
  138. package/dist-esm/samples-dev/namespacesValidateCustomDomainOwnershipSample.js.map +1 -0
  139. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +1 -1
  140. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js +2 -2
  141. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js.map +1 -1
  142. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +1 -1
  143. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -1
  144. package/dist-esm/samples-dev/operationsListSample.js +2 -2
  145. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  146. package/dist-esm/samples-dev/partnerConfigurationsAuthorizePartnerSample.js +2 -2
  147. package/dist-esm/samples-dev/partnerConfigurationsCreateOrUpdateSample.js +7 -7
  148. package/dist-esm/samples-dev/partnerConfigurationsCreateOrUpdateSample.js.map +1 -1
  149. package/dist-esm/samples-dev/partnerConfigurationsDeleteSample.js +1 -1
  150. package/dist-esm/samples-dev/partnerConfigurationsDeleteSample.js.map +1 -1
  151. package/dist-esm/samples-dev/partnerConfigurationsGetSample.js +1 -1
  152. package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js +2 -2
  153. package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js.map +1 -1
  154. package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js +2 -2
  155. package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js.map +1 -1
  156. package/dist-esm/samples-dev/partnerConfigurationsUnauthorizePartnerSample.js +2 -2
  157. package/dist-esm/samples-dev/partnerConfigurationsUpdateSample.js +3 -3
  158. package/dist-esm/samples-dev/partnerConfigurationsUpdateSample.js.map +1 -1
  159. package/dist-esm/samples-dev/partnerDestinationsActivateSample.js +1 -1
  160. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js +3 -3
  161. package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js.map +1 -1
  162. package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js +1 -1
  163. package/dist-esm/samples-dev/partnerDestinationsGetSample.js +1 -1
  164. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js +2 -2
  165. package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js.map +1 -1
  166. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js +2 -2
  167. package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js.map +1 -1
  168. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js +3 -5
  169. package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js.map +1 -1
  170. package/dist-esm/samples-dev/partnerNamespacesCreateOrUpdateSample.js +3 -3
  171. package/dist-esm/samples-dev/partnerNamespacesCreateOrUpdateSample.js.map +1 -1
  172. package/dist-esm/samples-dev/partnerNamespacesDeleteSample.js +1 -1
  173. package/dist-esm/samples-dev/partnerNamespacesGetSample.js +1 -1
  174. package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js +2 -2
  175. package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js.map +1 -1
  176. package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js +2 -2
  177. package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js.map +1 -1
  178. package/dist-esm/samples-dev/partnerNamespacesListSharedAccessKeysSample.js +1 -1
  179. package/dist-esm/samples-dev/partnerNamespacesRegenerateKeySample.js +3 -3
  180. package/dist-esm/samples-dev/partnerNamespacesRegenerateKeySample.js.map +1 -1
  181. package/dist-esm/samples-dev/partnerNamespacesUpdateSample.js +3 -3
  182. package/dist-esm/samples-dev/partnerNamespacesUpdateSample.js.map +1 -1
  183. package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js +3 -3
  184. package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js.map +1 -1
  185. package/dist-esm/samples-dev/partnerRegistrationsDeleteSample.js +1 -1
  186. package/dist-esm/samples-dev/partnerRegistrationsGetSample.js +1 -1
  187. package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js +2 -2
  188. package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js.map +1 -1
  189. package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js +2 -2
  190. package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js.map +1 -1
  191. package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js +3 -5
  192. package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js.map +1 -1
  193. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsCreateOrUpdateSample.js +5 -5
  194. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
  195. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsDeleteSample.js +1 -1
  196. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  197. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
  198. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetFullUrlSample.js +1 -1
  199. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetSample.js +1 -1
  200. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js +2 -2
  201. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js.map +1 -1
  202. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsUpdateSample.js +5 -5
  203. package/dist-esm/samples-dev/partnerTopicEventSubscriptionsUpdateSample.js.map +1 -1
  204. package/dist-esm/samples-dev/partnerTopicsActivateSample.js +1 -1
  205. package/dist-esm/samples-dev/partnerTopicsCreateOrUpdateSample.js +2 -2
  206. package/dist-esm/samples-dev/partnerTopicsDeactivateSample.js +1 -1
  207. package/dist-esm/samples-dev/partnerTopicsDeleteSample.js +1 -1
  208. package/dist-esm/samples-dev/partnerTopicsGetSample.js +1 -1
  209. package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js +2 -2
  210. package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js.map +1 -1
  211. package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js +2 -2
  212. package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js.map +1 -1
  213. package/dist-esm/samples-dev/partnerTopicsUpdateSample.js +3 -3
  214. package/dist-esm/samples-dev/partnerTopicsUpdateSample.js.map +1 -1
  215. package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.js +3 -3
  216. package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.js.map +1 -1
  217. package/dist-esm/samples-dev/permissionBindingsDeleteSample.js +1 -1
  218. package/dist-esm/samples-dev/permissionBindingsGetSample.js +1 -1
  219. package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js +2 -2
  220. package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js.map +1 -1
  221. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  222. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  223. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js +2 -2
  224. package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js.map +1 -1
  225. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +4 -4
  226. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +1 -1
  227. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  228. package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js +2 -2
  229. package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js.map +1 -1
  230. package/dist-esm/samples-dev/systemTopicEventSubscriptionsCreateOrUpdateSample.js +5 -5
  231. package/dist-esm/samples-dev/systemTopicEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
  232. package/dist-esm/samples-dev/systemTopicEventSubscriptionsDeleteSample.js +1 -1
  233. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  234. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
  235. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetFullUrlSample.js +1 -1
  236. package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetSample.js +1 -1
  237. package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js +2 -2
  238. package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js.map +1 -1
  239. package/dist-esm/samples-dev/systemTopicEventSubscriptionsUpdateSample.js +5 -5
  240. package/dist-esm/samples-dev/systemTopicEventSubscriptionsUpdateSample.js.map +1 -1
  241. package/dist-esm/samples-dev/systemTopicsCreateOrUpdateSample.js +2 -2
  242. package/dist-esm/samples-dev/systemTopicsDeleteSample.js +1 -1
  243. package/dist-esm/samples-dev/systemTopicsGetSample.js +1 -1
  244. package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js +2 -2
  245. package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js.map +1 -1
  246. package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js +2 -2
  247. package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js.map +1 -1
  248. package/dist-esm/samples-dev/systemTopicsUpdateSample.js +3 -3
  249. package/dist-esm/samples-dev/systemTopicsUpdateSample.js.map +1 -1
  250. package/dist-esm/samples-dev/topicEventSubscriptionsCreateOrUpdateSample.js +5 -5
  251. package/dist-esm/samples-dev/topicEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
  252. package/dist-esm/samples-dev/topicEventSubscriptionsDeleteSample.js +1 -1
  253. package/dist-esm/samples-dev/topicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
  254. package/dist-esm/samples-dev/topicEventSubscriptionsGetFullUrlSample.js +1 -1
  255. package/dist-esm/samples-dev/topicEventSubscriptionsGetSample.js +1 -1
  256. package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js +2 -2
  257. package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js.map +1 -1
  258. package/dist-esm/samples-dev/topicEventSubscriptionsUpdateSample.js +5 -5
  259. package/dist-esm/samples-dev/topicEventSubscriptionsUpdateSample.js.map +1 -1
  260. package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.js +1 -1
  261. package/dist-esm/samples-dev/topicSpacesDeleteSample.js +1 -1
  262. package/dist-esm/samples-dev/topicSpacesGetSample.js +1 -1
  263. package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js +2 -2
  264. package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js.map +1 -1
  265. package/dist-esm/samples-dev/topicTypesGetSample.js +1 -1
  266. package/dist-esm/samples-dev/topicTypesListEventTypesSample.js +2 -2
  267. package/dist-esm/samples-dev/topicTypesListEventTypesSample.js.map +1 -1
  268. package/dist-esm/samples-dev/topicTypesListSample.js +2 -2
  269. package/dist-esm/samples-dev/topicTypesListSample.js.map +1 -1
  270. package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js +6 -6
  271. package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js.map +1 -1
  272. package/dist-esm/samples-dev/topicsDeleteSample.js +1 -1
  273. package/dist-esm/samples-dev/topicsGetSample.js +1 -1
  274. package/dist-esm/samples-dev/topicsListByResourceGroupSample.js +2 -2
  275. package/dist-esm/samples-dev/topicsListByResourceGroupSample.js.map +1 -1
  276. package/dist-esm/samples-dev/topicsListBySubscriptionSample.js +2 -2
  277. package/dist-esm/samples-dev/topicsListBySubscriptionSample.js.map +1 -1
  278. package/dist-esm/samples-dev/topicsListEventTypesSample.js +2 -2
  279. package/dist-esm/samples-dev/topicsListEventTypesSample.js.map +1 -1
  280. package/dist-esm/samples-dev/topicsListSharedAccessKeysSample.js +1 -1
  281. package/dist-esm/samples-dev/topicsRegenerateKeySample.js +2 -2
  282. package/dist-esm/samples-dev/topicsRegenerateKeySample.js.map +1 -1
  283. package/dist-esm/samples-dev/topicsUpdateSample.js +4 -4
  284. package/dist-esm/samples-dev/topicsUpdateSample.js.map +1 -1
  285. package/dist-esm/samples-dev/verifiedPartnersGetSample.js +1 -1
  286. package/dist-esm/samples-dev/verifiedPartnersListSample.js +2 -2
  287. package/dist-esm/samples-dev/verifiedPartnersListSample.js.map +1 -1
  288. package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -1
  289. package/dist-esm/src/eventGridManagementClient.js +15 -12
  290. package/dist-esm/src/eventGridManagementClient.js.map +1 -1
  291. package/dist-esm/src/lroImpl.js +1 -1
  292. package/dist-esm/src/models/index.d.ts +181 -10
  293. package/dist-esm/src/models/index.d.ts.map +1 -1
  294. package/dist-esm/src/models/index.js +26 -0
  295. package/dist-esm/src/models/index.js.map +1 -1
  296. package/dist-esm/src/models/mappers.d.ts +10 -0
  297. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  298. package/dist-esm/src/models/mappers.js +2293 -1995
  299. package/dist-esm/src/models/mappers.js.map +1 -1
  300. package/dist-esm/src/models/parameters.js +181 -181
  301. package/dist-esm/src/models/parameters.js.map +1 -1
  302. package/dist-esm/src/operations/caCertificates.d.ts.map +1 -1
  303. package/dist-esm/src/operations/caCertificates.js +38 -38
  304. package/dist-esm/src/operations/caCertificates.js.map +1 -1
  305. package/dist-esm/src/operations/channels.d.ts.map +1 -1
  306. package/dist-esm/src/operations/channels.js +33 -33
  307. package/dist-esm/src/operations/channels.js.map +1 -1
  308. package/dist-esm/src/operations/clientGroups.d.ts.map +1 -1
  309. package/dist-esm/src/operations/clientGroups.js +38 -38
  310. package/dist-esm/src/operations/clientGroups.js.map +1 -1
  311. package/dist-esm/src/operations/clients.d.ts.map +1 -1
  312. package/dist-esm/src/operations/clients.js +38 -38
  313. package/dist-esm/src/operations/clients.js.map +1 -1
  314. package/dist-esm/src/operations/domainEventSubscriptions.d.ts +5 -8
  315. package/dist-esm/src/operations/domainEventSubscriptions.d.ts.map +1 -1
  316. package/dist-esm/src/operations/domainEventSubscriptions.js +57 -60
  317. package/dist-esm/src/operations/domainEventSubscriptions.js.map +1 -1
  318. package/dist-esm/src/operations/domainTopicEventSubscriptions.d.ts +5 -7
  319. package/dist-esm/src/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
  320. package/dist-esm/src/operations/domainTopicEventSubscriptions.js +61 -63
  321. package/dist-esm/src/operations/domainTopicEventSubscriptions.js.map +1 -1
  322. package/dist-esm/src/operations/domainTopics.d.ts.map +1 -1
  323. package/dist-esm/src/operations/domainTopics.js +31 -31
  324. package/dist-esm/src/operations/domainTopics.js.map +1 -1
  325. package/dist-esm/src/operations/domains.d.ts.map +1 -1
  326. package/dist-esm/src/operations/domains.js +53 -53
  327. package/dist-esm/src/operations/domains.js.map +1 -1
  328. package/dist-esm/src/operations/eventSubscriptions.d.ts +7 -7
  329. package/dist-esm/src/operations/eventSubscriptions.d.ts.map +1 -1
  330. package/dist-esm/src/operations/eventSubscriptions.js +140 -140
  331. package/dist-esm/src/operations/eventSubscriptions.js.map +1 -1
  332. package/dist-esm/src/operations/extensionTopics.js +3 -3
  333. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts +18 -15
  334. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts.map +1 -1
  335. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js +107 -73
  336. package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js.map +1 -1
  337. package/dist-esm/src/operations/namespaceTopics.d.ts.map +1 -1
  338. package/dist-esm/src/operations/namespaceTopics.js +69 -69
  339. package/dist-esm/src/operations/namespaceTopics.js.map +1 -1
  340. package/dist-esm/src/operations/namespaces.d.ts +15 -1
  341. package/dist-esm/src/operations/namespaces.d.ts.map +1 -1
  342. package/dist-esm/src/operations/namespaces.js +163 -77
  343. package/dist-esm/src/operations/namespaces.js.map +1 -1
  344. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  345. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +26 -26
  346. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  347. package/dist-esm/src/operations/operations.js +4 -4
  348. package/dist-esm/src/operations/operations.js.map +1 -1
  349. package/dist-esm/src/operations/partnerConfigurations.d.ts.map +1 -1
  350. package/dist-esm/src/operations/partnerConfigurations.js +55 -55
  351. package/dist-esm/src/operations/partnerConfigurations.js.map +1 -1
  352. package/dist-esm/src/operations/partnerDestinations.d.ts.map +1 -1
  353. package/dist-esm/src/operations/partnerDestinations.js +66 -66
  354. package/dist-esm/src/operations/partnerDestinations.js.map +1 -1
  355. package/dist-esm/src/operations/partnerNamespaces.d.ts.map +1 -1
  356. package/dist-esm/src/operations/partnerNamespaces.js +68 -68
  357. package/dist-esm/src/operations/partnerNamespaces.js.map +1 -1
  358. package/dist-esm/src/operations/partnerRegistrations.d.ts.map +1 -1
  359. package/dist-esm/src/operations/partnerRegistrations.js +47 -47
  360. package/dist-esm/src/operations/partnerRegistrations.js.map +1 -1
  361. package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts +9 -16
  362. package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts.map +1 -1
  363. package/dist-esm/src/operations/partnerTopicEventSubscriptions.js +62 -69
  364. package/dist-esm/src/operations/partnerTopicEventSubscriptions.js.map +1 -1
  365. package/dist-esm/src/operations/partnerTopics.d.ts.map +1 -1
  366. package/dist-esm/src/operations/partnerTopics.js +46 -46
  367. package/dist-esm/src/operations/partnerTopics.js.map +1 -1
  368. package/dist-esm/src/operations/permissionBindings.d.ts.map +1 -1
  369. package/dist-esm/src/operations/permissionBindings.js +39 -39
  370. package/dist-esm/src/operations/permissionBindings.js.map +1 -1
  371. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  372. package/dist-esm/src/operations/privateEndpointConnections.js +39 -39
  373. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  374. package/dist-esm/src/operations/privateLinkResources.js +14 -14
  375. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  376. package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts +9 -16
  377. package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
  378. package/dist-esm/src/operations/systemTopicEventSubscriptions.js +62 -69
  379. package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -1
  380. package/dist-esm/src/operations/systemTopics.d.ts.map +1 -1
  381. package/dist-esm/src/operations/systemTopics.js +51 -51
  382. package/dist-esm/src/operations/systemTopics.js.map +1 -1
  383. package/dist-esm/src/operations/topicEventSubscriptions.d.ts +5 -8
  384. package/dist-esm/src/operations/topicEventSubscriptions.d.ts.map +1 -1
  385. package/dist-esm/src/operations/topicEventSubscriptions.js +57 -60
  386. package/dist-esm/src/operations/topicEventSubscriptions.js.map +1 -1
  387. package/dist-esm/src/operations/topicSpaces.d.ts.map +1 -1
  388. package/dist-esm/src/operations/topicSpaces.js +38 -38
  389. package/dist-esm/src/operations/topicSpaces.js.map +1 -1
  390. package/dist-esm/src/operations/topicTypes.js +11 -11
  391. package/dist-esm/src/operations/topicTypes.js.map +1 -1
  392. package/dist-esm/src/operations/topics.d.ts.map +1 -1
  393. package/dist-esm/src/operations/topics.js +71 -71
  394. package/dist-esm/src/operations/topics.js.map +1 -1
  395. package/dist-esm/src/operations/verifiedPartners.js +10 -10
  396. package/dist-esm/src/operations/verifiedPartners.js.map +1 -1
  397. package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts +5 -8
  398. package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts.map +1 -1
  399. package/dist-esm/src/operationsInterfaces/domainTopicEventSubscriptions.d.ts +5 -7
  400. package/dist-esm/src/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
  401. package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts +7 -7
  402. package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts +18 -15
  403. package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts.map +1 -1
  404. package/dist-esm/src/operationsInterfaces/namespaces.d.ts +15 -1
  405. package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -1
  406. package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts +9 -16
  407. package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts.map +1 -1
  408. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -16
  409. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
  410. package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts +5 -8
  411. package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts.map +1 -1
  412. package/dist-esm/src/pagingHelper.js.map +1 -1
  413. package/dist-esm/test/eventgrid_examples.d.ts +3 -0
  414. package/dist-esm/test/eventgrid_examples.d.ts.map +1 -1
  415. package/dist-esm/test/eventgrid_examples.js +14 -8
  416. package/dist-esm/test/eventgrid_examples.js.map +1 -1
  417. package/package.json +7 -9
  418. package/review/arm-eventgrid.api.md +117 -3
  419. package/src/eventGridManagementClient.ts +28 -30
  420. package/src/lroImpl.ts +3 -3
  421. package/src/models/index.ts +435 -160
  422. package/src/models/mappers.ts +2974 -2624
  423. package/src/models/parameters.ts +182 -182
  424. package/src/operations/caCertificates.ts +77 -83
  425. package/src/operations/channels.ts +70 -77
  426. package/src/operations/clientGroups.ts +77 -83
  427. package/src/operations/clients.ts +77 -83
  428. package/src/operations/domainEventSubscriptions.ts +111 -124
  429. package/src/operations/domainTopicEventSubscriptions.ts +119 -130
  430. package/src/operations/domainTopics.ts +69 -75
  431. package/src/operations/domains.ts +114 -124
  432. package/src/operations/eventSubscriptions.ts +428 -449
  433. package/src/operations/extensionTopics.ts +6 -6
  434. package/src/operations/namespaceTopicEventSubscriptions.ts +174 -136
  435. package/src/operations/namespaceTopics.ts +133 -144
  436. package/src/operations/namespaces.ts +269 -159
  437. package/src/operations/networkSecurityPerimeterConfigurations.ts +53 -56
  438. package/src/operations/operations.ts +9 -9
  439. package/src/operations/partnerConfigurations.ts +113 -124
  440. package/src/operations/partnerDestinations.ts +125 -135
  441. package/src/operations/partnerNamespaces.ts +130 -141
  442. package/src/operations/partnerRegistrations.ts +103 -112
  443. package/src/operations/partnerTopicEventSubscriptions.ts +120 -136
  444. package/src/operations/partnerTopics.ts +92 -101
  445. package/src/operations/permissionBindings.ts +78 -84
  446. package/src/operations/privateEndpointConnections.ts +80 -85
  447. package/src/operations/privateLinkResources.ts +31 -33
  448. package/src/operations/systemTopicEventSubscriptions.ts +120 -136
  449. package/src/operations/systemTopics.ts +107 -116
  450. package/src/operations/topicEventSubscriptions.ts +111 -124
  451. package/src/operations/topicSpaces.ts +77 -83
  452. package/src/operations/topicTypes.ts +24 -24
  453. package/src/operations/topics.ts +150 -162
  454. package/src/operations/verifiedPartners.ts +19 -19
  455. package/src/operationsInterfaces/caCertificates.ts +7 -7
  456. package/src/operationsInterfaces/channels.ts +8 -8
  457. package/src/operationsInterfaces/clientGroups.ts +7 -7
  458. package/src/operationsInterfaces/clients.ts +7 -7
  459. package/src/operationsInterfaces/domainEventSubscriptions.ts +16 -19
  460. package/src/operationsInterfaces/domainTopicEventSubscriptions.ts +16 -18
  461. package/src/operationsInterfaces/domainTopics.ts +7 -7
  462. package/src/operationsInterfaces/domains.ts +12 -12
  463. package/src/operationsInterfaces/eventSubscriptions.ts +27 -27
  464. package/src/operationsInterfaces/extensionTopics.ts +2 -2
  465. package/src/operationsInterfaces/namespaceTopicEventSubscriptions.ts +35 -24
  466. package/src/operationsInterfaces/namespaceTopics.ts +12 -12
  467. package/src/operationsInterfaces/namespaces.ts +42 -13
  468. package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +5 -5
  469. package/src/operationsInterfaces/operations.ts +1 -1
  470. package/src/operationsInterfaces/partnerConfigurations.ts +12 -12
  471. package/src/operationsInterfaces/partnerDestinations.ts +11 -11
  472. package/src/operationsInterfaces/partnerNamespaces.ts +12 -12
  473. package/src/operationsInterfaces/partnerRegistrations.ts +10 -10
  474. package/src/operationsInterfaces/partnerTopicEventSubscriptions.ts +20 -27
  475. package/src/operationsInterfaces/partnerTopics.ts +10 -10
  476. package/src/operationsInterfaces/permissionBindings.ts +7 -7
  477. package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
  478. package/src/operationsInterfaces/privateLinkResources.ts +3 -3
  479. package/src/operationsInterfaces/systemTopicEventSubscriptions.ts +20 -27
  480. package/src/operationsInterfaces/systemTopics.ts +10 -10
  481. package/src/operationsInterfaces/topicEventSubscriptions.ts +16 -19
  482. package/src/operationsInterfaces/topicSpaces.ts +7 -7
  483. package/src/operationsInterfaces/topicTypes.ts +4 -4
  484. package/src/operationsInterfaces/topics.ts +14 -14
  485. package/src/operationsInterfaces/verifiedPartners.ts +3 -3
  486. package/src/pagingHelper.ts +1 -1
  487. package/types/arm-eventgrid.d.ts +272 -86
  488. package/types/tsdoc-metadata.json +1 -1
@@ -16,7 +16,7 @@ import { EventGridManagementClient } from "../eventGridManagementClient";
16
16
  import {
17
17
  SimplePollerLike,
18
18
  OperationState,
19
- createHttpPoller
19
+ createHttpPoller,
20
20
  } from "@azure/core-lro";
21
21
  import { createLroSpec } from "../lroImpl";
22
22
  import {
@@ -72,7 +72,7 @@ import {
72
72
  EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextResponse,
73
73
  EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse,
74
74
  EventSubscriptionsListByResourceNextResponse,
75
- EventSubscriptionsListByDomainTopicNextResponse
75
+ EventSubscriptionsListByDomainTopicNextResponse,
76
76
  } from "../models";
77
77
 
78
78
  /// <reference lib="esnext.asynciterable" />
@@ -93,7 +93,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
93
93
  * @param options The options parameters.
94
94
  */
95
95
  public listGlobalBySubscription(
96
- options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams
96
+ options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams,
97
97
  ): PagedAsyncIterableIterator<EventSubscription> {
98
98
  const iter = this.listGlobalBySubscriptionPagingAll(options);
99
99
  return {
@@ -108,13 +108,13 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
108
108
  throw new Error("maxPageSize is not supported by this operation.");
109
109
  }
110
110
  return this.listGlobalBySubscriptionPagingPage(options, settings);
111
- }
111
+ },
112
112
  };
113
113
  }
114
114
 
115
115
  private async *listGlobalBySubscriptionPagingPage(
116
116
  options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams,
117
- settings?: PageSettings
117
+ settings?: PageSettings,
118
118
  ): AsyncIterableIterator<EventSubscription[]> {
119
119
  let result: EventSubscriptionsListGlobalBySubscriptionResponse;
120
120
  let continuationToken = settings?.continuationToken;
@@ -128,7 +128,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
128
128
  while (continuationToken) {
129
129
  result = await this._listGlobalBySubscriptionNext(
130
130
  continuationToken,
131
- options
131
+ options,
132
132
  );
133
133
  continuationToken = result.nextLink;
134
134
  let page = result.value || [];
@@ -138,7 +138,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
138
138
  }
139
139
 
140
140
  private async *listGlobalBySubscriptionPagingAll(
141
- options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams
141
+ options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams,
142
142
  ): AsyncIterableIterator<EventSubscription> {
143
143
  for await (const page of this.listGlobalBySubscriptionPagingPage(options)) {
144
144
  yield* page;
@@ -152,11 +152,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
152
152
  */
153
153
  public listGlobalBySubscriptionForTopicType(
154
154
  topicTypeName: string,
155
- options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams
155
+ options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,
156
156
  ): PagedAsyncIterableIterator<EventSubscription> {
157
157
  const iter = this.listGlobalBySubscriptionForTopicTypePagingAll(
158
158
  topicTypeName,
159
- options
159
+ options,
160
160
  );
161
161
  return {
162
162
  next() {
@@ -172,23 +172,23 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
172
172
  return this.listGlobalBySubscriptionForTopicTypePagingPage(
173
173
  topicTypeName,
174
174
  options,
175
- settings
175
+ settings,
176
176
  );
177
- }
177
+ },
178
178
  };
179
179
  }
180
180
 
181
181
  private async *listGlobalBySubscriptionForTopicTypePagingPage(
182
182
  topicTypeName: string,
183
183
  options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,
184
- settings?: PageSettings
184
+ settings?: PageSettings,
185
185
  ): AsyncIterableIterator<EventSubscription[]> {
186
186
  let result: EventSubscriptionsListGlobalBySubscriptionForTopicTypeResponse;
187
187
  let continuationToken = settings?.continuationToken;
188
188
  if (!continuationToken) {
189
189
  result = await this._listGlobalBySubscriptionForTopicType(
190
190
  topicTypeName,
191
- options
191
+ options,
192
192
  );
193
193
  let page = result.value || [];
194
194
  continuationToken = result.nextLink;
@@ -199,7 +199,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
199
199
  result = await this._listGlobalBySubscriptionForTopicTypeNext(
200
200
  topicTypeName,
201
201
  continuationToken,
202
- options
202
+ options,
203
203
  );
204
204
  continuationToken = result.nextLink;
205
205
  let page = result.value || [];
@@ -210,11 +210,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
210
210
 
211
211
  private async *listGlobalBySubscriptionForTopicTypePagingAll(
212
212
  topicTypeName: string,
213
- options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams
213
+ options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,
214
214
  ): AsyncIterableIterator<EventSubscription> {
215
215
  for await (const page of this.listGlobalBySubscriptionForTopicTypePagingPage(
216
216
  topicTypeName,
217
- options
217
+ options,
218
218
  )) {
219
219
  yield* page;
220
220
  }
@@ -227,11 +227,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
227
227
  */
228
228
  public listGlobalByResourceGroup(
229
229
  resourceGroupName: string,
230
- options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams
230
+ options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams,
231
231
  ): PagedAsyncIterableIterator<EventSubscription> {
232
232
  const iter = this.listGlobalByResourceGroupPagingAll(
233
233
  resourceGroupName,
234
- options
234
+ options,
235
235
  );
236
236
  return {
237
237
  next() {
@@ -247,23 +247,23 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
247
247
  return this.listGlobalByResourceGroupPagingPage(
248
248
  resourceGroupName,
249
249
  options,
250
- settings
250
+ settings,
251
251
  );
252
- }
252
+ },
253
253
  };
254
254
  }
255
255
 
256
256
  private async *listGlobalByResourceGroupPagingPage(
257
257
  resourceGroupName: string,
258
258
  options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams,
259
- settings?: PageSettings
259
+ settings?: PageSettings,
260
260
  ): AsyncIterableIterator<EventSubscription[]> {
261
261
  let result: EventSubscriptionsListGlobalByResourceGroupResponse;
262
262
  let continuationToken = settings?.continuationToken;
263
263
  if (!continuationToken) {
264
264
  result = await this._listGlobalByResourceGroup(
265
265
  resourceGroupName,
266
- options
266
+ options,
267
267
  );
268
268
  let page = result.value || [];
269
269
  continuationToken = result.nextLink;
@@ -274,7 +274,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
274
274
  result = await this._listGlobalByResourceGroupNext(
275
275
  resourceGroupName,
276
276
  continuationToken,
277
- options
277
+ options,
278
278
  );
279
279
  continuationToken = result.nextLink;
280
280
  let page = result.value || [];
@@ -285,11 +285,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
285
285
 
286
286
  private async *listGlobalByResourceGroupPagingAll(
287
287
  resourceGroupName: string,
288
- options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams
288
+ options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams,
289
289
  ): AsyncIterableIterator<EventSubscription> {
290
290
  for await (const page of this.listGlobalByResourceGroupPagingPage(
291
291
  resourceGroupName,
292
- options
292
+ options,
293
293
  )) {
294
294
  yield* page;
295
295
  }
@@ -304,12 +304,12 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
304
304
  public listGlobalByResourceGroupForTopicType(
305
305
  resourceGroupName: string,
306
306
  topicTypeName: string,
307
- options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams
307
+ options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,
308
308
  ): PagedAsyncIterableIterator<EventSubscription> {
309
309
  const iter = this.listGlobalByResourceGroupForTopicTypePagingAll(
310
310
  resourceGroupName,
311
311
  topicTypeName,
312
- options
312
+ options,
313
313
  );
314
314
  return {
315
315
  next() {
@@ -326,9 +326,9 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
326
326
  resourceGroupName,
327
327
  topicTypeName,
328
328
  options,
329
- settings
329
+ settings,
330
330
  );
331
- }
331
+ },
332
332
  };
333
333
  }
334
334
 
@@ -336,7 +336,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
336
336
  resourceGroupName: string,
337
337
  topicTypeName: string,
338
338
  options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,
339
- settings?: PageSettings
339
+ settings?: PageSettings,
340
340
  ): AsyncIterableIterator<EventSubscription[]> {
341
341
  let result: EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse;
342
342
  let continuationToken = settings?.continuationToken;
@@ -344,7 +344,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
344
344
  result = await this._listGlobalByResourceGroupForTopicType(
345
345
  resourceGroupName,
346
346
  topicTypeName,
347
- options
347
+ options,
348
348
  );
349
349
  let page = result.value || [];
350
350
  continuationToken = result.nextLink;
@@ -356,7 +356,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
356
356
  resourceGroupName,
357
357
  topicTypeName,
358
358
  continuationToken,
359
- options
359
+ options,
360
360
  );
361
361
  continuationToken = result.nextLink;
362
362
  let page = result.value || [];
@@ -368,12 +368,12 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
368
368
  private async *listGlobalByResourceGroupForTopicTypePagingAll(
369
369
  resourceGroupName: string,
370
370
  topicTypeName: string,
371
- options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams
371
+ options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,
372
372
  ): AsyncIterableIterator<EventSubscription> {
373
373
  for await (const page of this.listGlobalByResourceGroupForTopicTypePagingPage(
374
374
  resourceGroupName,
375
375
  topicTypeName,
376
- options
376
+ options,
377
377
  )) {
378
378
  yield* page;
379
379
  }
@@ -386,7 +386,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
386
386
  */
387
387
  public listRegionalBySubscription(
388
388
  location: string,
389
- options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams
389
+ options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams,
390
390
  ): PagedAsyncIterableIterator<EventSubscription> {
391
391
  const iter = this.listRegionalBySubscriptionPagingAll(location, options);
392
392
  return {
@@ -403,16 +403,16 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
403
403
  return this.listRegionalBySubscriptionPagingPage(
404
404
  location,
405
405
  options,
406
- settings
406
+ settings,
407
407
  );
408
- }
408
+ },
409
409
  };
410
410
  }
411
411
 
412
412
  private async *listRegionalBySubscriptionPagingPage(
413
413
  location: string,
414
414
  options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams,
415
- settings?: PageSettings
415
+ settings?: PageSettings,
416
416
  ): AsyncIterableIterator<EventSubscription[]> {
417
417
  let result: EventSubscriptionsListRegionalBySubscriptionResponse;
418
418
  let continuationToken = settings?.continuationToken;
@@ -427,7 +427,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
427
427
  result = await this._listRegionalBySubscriptionNext(
428
428
  location,
429
429
  continuationToken,
430
- options
430
+ options,
431
431
  );
432
432
  continuationToken = result.nextLink;
433
433
  let page = result.value || [];
@@ -438,11 +438,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
438
438
 
439
439
  private async *listRegionalBySubscriptionPagingAll(
440
440
  location: string,
441
- options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams
441
+ options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams,
442
442
  ): AsyncIterableIterator<EventSubscription> {
443
443
  for await (const page of this.listRegionalBySubscriptionPagingPage(
444
444
  location,
445
- options
445
+ options,
446
446
  )) {
447
447
  yield* page;
448
448
  }
@@ -458,12 +458,12 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
458
458
  public listRegionalByResourceGroup(
459
459
  resourceGroupName: string,
460
460
  location: string,
461
- options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams
461
+ options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams,
462
462
  ): PagedAsyncIterableIterator<EventSubscription> {
463
463
  const iter = this.listRegionalByResourceGroupPagingAll(
464
464
  resourceGroupName,
465
465
  location,
466
- options
466
+ options,
467
467
  );
468
468
  return {
469
469
  next() {
@@ -480,9 +480,9 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
480
480
  resourceGroupName,
481
481
  location,
482
482
  options,
483
- settings
483
+ settings,
484
484
  );
485
- }
485
+ },
486
486
  };
487
487
  }
488
488
 
@@ -490,7 +490,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
490
490
  resourceGroupName: string,
491
491
  location: string,
492
492
  options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams,
493
- settings?: PageSettings
493
+ settings?: PageSettings,
494
494
  ): AsyncIterableIterator<EventSubscription[]> {
495
495
  let result: EventSubscriptionsListRegionalByResourceGroupResponse;
496
496
  let continuationToken = settings?.continuationToken;
@@ -498,7 +498,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
498
498
  result = await this._listRegionalByResourceGroup(
499
499
  resourceGroupName,
500
500
  location,
501
- options
501
+ options,
502
502
  );
503
503
  let page = result.value || [];
504
504
  continuationToken = result.nextLink;
@@ -510,7 +510,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
510
510
  resourceGroupName,
511
511
  location,
512
512
  continuationToken,
513
- options
513
+ options,
514
514
  );
515
515
  continuationToken = result.nextLink;
516
516
  let page = result.value || [];
@@ -522,12 +522,12 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
522
522
  private async *listRegionalByResourceGroupPagingAll(
523
523
  resourceGroupName: string,
524
524
  location: string,
525
- options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams
525
+ options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams,
526
526
  ): AsyncIterableIterator<EventSubscription> {
527
527
  for await (const page of this.listRegionalByResourceGroupPagingPage(
528
528
  resourceGroupName,
529
529
  location,
530
- options
530
+ options,
531
531
  )) {
532
532
  yield* page;
533
533
  }
@@ -543,12 +543,12 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
543
543
  public listRegionalBySubscriptionForTopicType(
544
544
  location: string,
545
545
  topicTypeName: string,
546
- options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams
546
+ options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,
547
547
  ): PagedAsyncIterableIterator<EventSubscription> {
548
548
  const iter = this.listRegionalBySubscriptionForTopicTypePagingAll(
549
549
  location,
550
550
  topicTypeName,
551
- options
551
+ options,
552
552
  );
553
553
  return {
554
554
  next() {
@@ -565,9 +565,9 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
565
565
  location,
566
566
  topicTypeName,
567
567
  options,
568
- settings
568
+ settings,
569
569
  );
570
- }
570
+ },
571
571
  };
572
572
  }
573
573
 
@@ -575,7 +575,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
575
575
  location: string,
576
576
  topicTypeName: string,
577
577
  options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,
578
- settings?: PageSettings
578
+ settings?: PageSettings,
579
579
  ): AsyncIterableIterator<EventSubscription[]> {
580
580
  let result: EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse;
581
581
  let continuationToken = settings?.continuationToken;
@@ -583,7 +583,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
583
583
  result = await this._listRegionalBySubscriptionForTopicType(
584
584
  location,
585
585
  topicTypeName,
586
- options
586
+ options,
587
587
  );
588
588
  let page = result.value || [];
589
589
  continuationToken = result.nextLink;
@@ -595,7 +595,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
595
595
  location,
596
596
  topicTypeName,
597
597
  continuationToken,
598
- options
598
+ options,
599
599
  );
600
600
  continuationToken = result.nextLink;
601
601
  let page = result.value || [];
@@ -607,12 +607,12 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
607
607
  private async *listRegionalBySubscriptionForTopicTypePagingAll(
608
608
  location: string,
609
609
  topicTypeName: string,
610
- options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams
610
+ options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,
611
611
  ): AsyncIterableIterator<EventSubscription> {
612
612
  for await (const page of this.listRegionalBySubscriptionForTopicTypePagingPage(
613
613
  location,
614
614
  topicTypeName,
615
- options
615
+ options,
616
616
  )) {
617
617
  yield* page;
618
618
  }
@@ -630,13 +630,13 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
630
630
  resourceGroupName: string,
631
631
  location: string,
632
632
  topicTypeName: string,
633
- options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams
633
+ options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,
634
634
  ): PagedAsyncIterableIterator<EventSubscription> {
635
635
  const iter = this.listRegionalByResourceGroupForTopicTypePagingAll(
636
636
  resourceGroupName,
637
637
  location,
638
638
  topicTypeName,
639
- options
639
+ options,
640
640
  );
641
641
  return {
642
642
  next() {
@@ -654,9 +654,9 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
654
654
  location,
655
655
  topicTypeName,
656
656
  options,
657
- settings
657
+ settings,
658
658
  );
659
- }
659
+ },
660
660
  };
661
661
  }
662
662
 
@@ -665,7 +665,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
665
665
  location: string,
666
666
  topicTypeName: string,
667
667
  options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,
668
- settings?: PageSettings
668
+ settings?: PageSettings,
669
669
  ): AsyncIterableIterator<EventSubscription[]> {
670
670
  let result: EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse;
671
671
  let continuationToken = settings?.continuationToken;
@@ -674,7 +674,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
674
674
  resourceGroupName,
675
675
  location,
676
676
  topicTypeName,
677
- options
677
+ options,
678
678
  );
679
679
  let page = result.value || [];
680
680
  continuationToken = result.nextLink;
@@ -687,7 +687,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
687
687
  location,
688
688
  topicTypeName,
689
689
  continuationToken,
690
- options
690
+ options,
691
691
  );
692
692
  continuationToken = result.nextLink;
693
693
  let page = result.value || [];
@@ -700,13 +700,13 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
700
700
  resourceGroupName: string,
701
701
  location: string,
702
702
  topicTypeName: string,
703
- options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams
703
+ options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,
704
704
  ): AsyncIterableIterator<EventSubscription> {
705
705
  for await (const page of this.listRegionalByResourceGroupForTopicTypePagingPage(
706
706
  resourceGroupName,
707
707
  location,
708
708
  topicTypeName,
709
- options
709
+ options,
710
710
  )) {
711
711
  yield* page;
712
712
  }
@@ -725,14 +725,14 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
725
725
  providerNamespace: string,
726
726
  resourceTypeName: string,
727
727
  resourceName: string,
728
- options?: EventSubscriptionsListByResourceOptionalParams
728
+ options?: EventSubscriptionsListByResourceOptionalParams,
729
729
  ): PagedAsyncIterableIterator<EventSubscription> {
730
730
  const iter = this.listByResourcePagingAll(
731
731
  resourceGroupName,
732
732
  providerNamespace,
733
733
  resourceTypeName,
734
734
  resourceName,
735
- options
735
+ options,
736
736
  );
737
737
  return {
738
738
  next() {
@@ -751,9 +751,9 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
751
751
  resourceTypeName,
752
752
  resourceName,
753
753
  options,
754
- settings
754
+ settings,
755
755
  );
756
- }
756
+ },
757
757
  };
758
758
  }
759
759
 
@@ -763,7 +763,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
763
763
  resourceTypeName: string,
764
764
  resourceName: string,
765
765
  options?: EventSubscriptionsListByResourceOptionalParams,
766
- settings?: PageSettings
766
+ settings?: PageSettings,
767
767
  ): AsyncIterableIterator<EventSubscription[]> {
768
768
  let result: EventSubscriptionsListByResourceResponse;
769
769
  let continuationToken = settings?.continuationToken;
@@ -773,7 +773,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
773
773
  providerNamespace,
774
774
  resourceTypeName,
775
775
  resourceName,
776
- options
776
+ options,
777
777
  );
778
778
  let page = result.value || [];
779
779
  continuationToken = result.nextLink;
@@ -787,7 +787,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
787
787
  resourceTypeName,
788
788
  resourceName,
789
789
  continuationToken,
790
- options
790
+ options,
791
791
  );
792
792
  continuationToken = result.nextLink;
793
793
  let page = result.value || [];
@@ -801,14 +801,14 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
801
801
  providerNamespace: string,
802
802
  resourceTypeName: string,
803
803
  resourceName: string,
804
- options?: EventSubscriptionsListByResourceOptionalParams
804
+ options?: EventSubscriptionsListByResourceOptionalParams,
805
805
  ): AsyncIterableIterator<EventSubscription> {
806
806
  for await (const page of this.listByResourcePagingPage(
807
807
  resourceGroupName,
808
808
  providerNamespace,
809
809
  resourceTypeName,
810
810
  resourceName,
811
- options
811
+ options,
812
812
  )) {
813
813
  yield* page;
814
814
  }
@@ -825,13 +825,13 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
825
825
  resourceGroupName: string,
826
826
  domainName: string,
827
827
  topicName: string,
828
- options?: EventSubscriptionsListByDomainTopicOptionalParams
828
+ options?: EventSubscriptionsListByDomainTopicOptionalParams,
829
829
  ): PagedAsyncIterableIterator<EventSubscription> {
830
830
  const iter = this.listByDomainTopicPagingAll(
831
831
  resourceGroupName,
832
832
  domainName,
833
833
  topicName,
834
- options
834
+ options,
835
835
  );
836
836
  return {
837
837
  next() {
@@ -849,9 +849,9 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
849
849
  domainName,
850
850
  topicName,
851
851
  options,
852
- settings
852
+ settings,
853
853
  );
854
- }
854
+ },
855
855
  };
856
856
  }
857
857
 
@@ -860,7 +860,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
860
860
  domainName: string,
861
861
  topicName: string,
862
862
  options?: EventSubscriptionsListByDomainTopicOptionalParams,
863
- settings?: PageSettings
863
+ settings?: PageSettings,
864
864
  ): AsyncIterableIterator<EventSubscription[]> {
865
865
  let result: EventSubscriptionsListByDomainTopicResponse;
866
866
  let continuationToken = settings?.continuationToken;
@@ -869,7 +869,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
869
869
  resourceGroupName,
870
870
  domainName,
871
871
  topicName,
872
- options
872
+ options,
873
873
  );
874
874
  let page = result.value || [];
875
875
  continuationToken = result.nextLink;
@@ -882,7 +882,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
882
882
  domainName,
883
883
  topicName,
884
884
  continuationToken,
885
- options
885
+ options,
886
886
  );
887
887
  continuationToken = result.nextLink;
888
888
  let page = result.value || [];
@@ -895,13 +895,13 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
895
895
  resourceGroupName: string,
896
896
  domainName: string,
897
897
  topicName: string,
898
- options?: EventSubscriptionsListByDomainTopicOptionalParams
898
+ options?: EventSubscriptionsListByDomainTopicOptionalParams,
899
899
  ): AsyncIterableIterator<EventSubscription> {
900
900
  for await (const page of this.listByDomainTopicPagingPage(
901
901
  resourceGroupName,
902
902
  domainName,
903
903
  topicName,
904
- options
904
+ options,
905
905
  )) {
906
906
  yield* page;
907
907
  }
@@ -923,11 +923,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
923
923
  getDeliveryAttributes(
924
924
  scope: string,
925
925
  eventSubscriptionName: string,
926
- options?: EventSubscriptionsGetDeliveryAttributesOptionalParams
926
+ options?: EventSubscriptionsGetDeliveryAttributesOptionalParams,
927
927
  ): Promise<EventSubscriptionsGetDeliveryAttributesResponse> {
928
928
  return this.client.sendOperationRequest(
929
929
  { scope, eventSubscriptionName, options },
930
- getDeliveryAttributesOperationSpec
930
+ getDeliveryAttributesOperationSpec,
931
931
  );
932
932
  }
933
933
 
@@ -941,17 +941,17 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
941
941
  * for a resource, and
942
942
  * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
943
943
  * for an EventGrid topic.
944
- * @param eventSubscriptionName Name of the event subscription.
944
+ * @param eventSubscriptionName Name of the event subscription to be found.
945
945
  * @param options The options parameters.
946
946
  */
947
947
  get(
948
948
  scope: string,
949
949
  eventSubscriptionName: string,
950
- options?: EventSubscriptionsGetOptionalParams
950
+ options?: EventSubscriptionsGetOptionalParams,
951
951
  ): Promise<EventSubscriptionsGetResponse> {
952
952
  return this.client.sendOperationRequest(
953
953
  { scope, eventSubscriptionName, options },
954
- getOperationSpec
954
+ getOperationSpec,
955
955
  );
956
956
  }
957
957
 
@@ -967,8 +967,8 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
967
967
  * for a resource, and
968
968
  * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
969
969
  * for an EventGrid topic.
970
- * @param eventSubscriptionName Name of the event subscription. Event subscription names must be
971
- * between 3 and 64 characters in length and should use alphanumeric letters only.
970
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
971
+ * must be between 3 and 64 characters in length and should use alphanumeric letters only.
972
972
  * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
973
973
  * information.
974
974
  * @param options The options parameters.
@@ -977,7 +977,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
977
977
  scope: string,
978
978
  eventSubscriptionName: string,
979
979
  eventSubscriptionInfo: EventSubscription,
980
- options?: EventSubscriptionsCreateOrUpdateOptionalParams
980
+ options?: EventSubscriptionsCreateOrUpdateOptionalParams,
981
981
  ): Promise<
982
982
  SimplePollerLike<
983
983
  OperationState<EventSubscriptionsCreateOrUpdateResponse>,
@@ -986,21 +986,20 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
986
986
  > {
987
987
  const directSendOperation = async (
988
988
  args: coreClient.OperationArguments,
989
- spec: coreClient.OperationSpec
989
+ spec: coreClient.OperationSpec,
990
990
  ): Promise<EventSubscriptionsCreateOrUpdateResponse> => {
991
991
  return this.client.sendOperationRequest(args, spec);
992
992
  };
993
993
  const sendOperationFn = async (
994
994
  args: coreClient.OperationArguments,
995
- spec: coreClient.OperationSpec
995
+ spec: coreClient.OperationSpec,
996
996
  ) => {
997
- let currentRawResponse:
998
- | coreClient.FullOperationResponse
999
- | undefined = undefined;
997
+ let currentRawResponse: coreClient.FullOperationResponse | undefined =
998
+ undefined;
1000
999
  const providedCallback = args.options?.onResponse;
1001
1000
  const callback: coreClient.RawResponseCallback = (
1002
1001
  rawResponse: coreClient.FullOperationResponse,
1003
- flatResponse: unknown
1002
+ flatResponse: unknown,
1004
1003
  ) => {
1005
1004
  currentRawResponse = rawResponse;
1006
1005
  providedCallback?.(rawResponse, flatResponse);
@@ -1009,8 +1008,8 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1009
1008
  ...args,
1010
1009
  options: {
1011
1010
  ...args.options,
1012
- onResponse: callback
1013
- }
1011
+ onResponse: callback,
1012
+ },
1014
1013
  };
1015
1014
  const flatResponse = await directSendOperation(updatedArgs, spec);
1016
1015
  return {
@@ -1018,22 +1017,22 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1018
1017
  rawResponse: {
1019
1018
  statusCode: currentRawResponse!.status,
1020
1019
  body: currentRawResponse!.parsedBody,
1021
- headers: currentRawResponse!.headers.toJSON()
1022
- }
1020
+ headers: currentRawResponse!.headers.toJSON(),
1021
+ },
1023
1022
  };
1024
1023
  };
1025
1024
 
1026
1025
  const lro = createLroSpec({
1027
1026
  sendOperationFn,
1028
1027
  args: { scope, eventSubscriptionName, eventSubscriptionInfo, options },
1029
- spec: createOrUpdateOperationSpec
1028
+ spec: createOrUpdateOperationSpec,
1030
1029
  });
1031
1030
  const poller = await createHttpPoller<
1032
1031
  EventSubscriptionsCreateOrUpdateResponse,
1033
1032
  OperationState<EventSubscriptionsCreateOrUpdateResponse>
1034
1033
  >(lro, {
1035
1034
  restoreFrom: options?.resumeFrom,
1036
- intervalInMs: options?.updateIntervalInMs
1035
+ intervalInMs: options?.updateIntervalInMs,
1037
1036
  });
1038
1037
  await poller.poll();
1039
1038
  return poller;
@@ -1051,8 +1050,8 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1051
1050
  * for a resource, and
1052
1051
  * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1053
1052
  * for an EventGrid topic.
1054
- * @param eventSubscriptionName Name of the event subscription. Event subscription names must be
1055
- * between 3 and 64 characters in length and should use alphanumeric letters only.
1053
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
1054
+ * must be between 3 and 64 characters in length and should use alphanumeric letters only.
1056
1055
  * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
1057
1056
  * information.
1058
1057
  * @param options The options parameters.
@@ -1061,13 +1060,13 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1061
1060
  scope: string,
1062
1061
  eventSubscriptionName: string,
1063
1062
  eventSubscriptionInfo: EventSubscription,
1064
- options?: EventSubscriptionsCreateOrUpdateOptionalParams
1063
+ options?: EventSubscriptionsCreateOrUpdateOptionalParams,
1065
1064
  ): Promise<EventSubscriptionsCreateOrUpdateResponse> {
1066
1065
  const poller = await this.beginCreateOrUpdate(
1067
1066
  scope,
1068
1067
  eventSubscriptionName,
1069
1068
  eventSubscriptionInfo,
1070
- options
1069
+ options,
1071
1070
  );
1072
1071
  return poller.pollUntilDone();
1073
1072
  }
@@ -1082,31 +1081,30 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1082
1081
  * for a resource, and
1083
1082
  * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1084
1083
  * for an EventGrid topic.
1085
- * @param eventSubscriptionName Name of the event subscription.
1084
+ * @param eventSubscriptionName Name of the event subscription to be deleted.
1086
1085
  * @param options The options parameters.
1087
1086
  */
1088
1087
  async beginDelete(
1089
1088
  scope: string,
1090
1089
  eventSubscriptionName: string,
1091
- options?: EventSubscriptionsDeleteOptionalParams
1090
+ options?: EventSubscriptionsDeleteOptionalParams,
1092
1091
  ): Promise<SimplePollerLike<OperationState<void>, void>> {
1093
1092
  const directSendOperation = async (
1094
1093
  args: coreClient.OperationArguments,
1095
- spec: coreClient.OperationSpec
1094
+ spec: coreClient.OperationSpec,
1096
1095
  ): Promise<void> => {
1097
1096
  return this.client.sendOperationRequest(args, spec);
1098
1097
  };
1099
1098
  const sendOperationFn = async (
1100
1099
  args: coreClient.OperationArguments,
1101
- spec: coreClient.OperationSpec
1100
+ spec: coreClient.OperationSpec,
1102
1101
  ) => {
1103
- let currentRawResponse:
1104
- | coreClient.FullOperationResponse
1105
- | undefined = undefined;
1102
+ let currentRawResponse: coreClient.FullOperationResponse | undefined =
1103
+ undefined;
1106
1104
  const providedCallback = args.options?.onResponse;
1107
1105
  const callback: coreClient.RawResponseCallback = (
1108
1106
  rawResponse: coreClient.FullOperationResponse,
1109
- flatResponse: unknown
1107
+ flatResponse: unknown,
1110
1108
  ) => {
1111
1109
  currentRawResponse = rawResponse;
1112
1110
  providedCallback?.(rawResponse, flatResponse);
@@ -1115,8 +1113,8 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1115
1113
  ...args,
1116
1114
  options: {
1117
1115
  ...args.options,
1118
- onResponse: callback
1119
- }
1116
+ onResponse: callback,
1117
+ },
1120
1118
  };
1121
1119
  const flatResponse = await directSendOperation(updatedArgs, spec);
1122
1120
  return {
@@ -1124,19 +1122,19 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1124
1122
  rawResponse: {
1125
1123
  statusCode: currentRawResponse!.status,
1126
1124
  body: currentRawResponse!.parsedBody,
1127
- headers: currentRawResponse!.headers.toJSON()
1128
- }
1125
+ headers: currentRawResponse!.headers.toJSON(),
1126
+ },
1129
1127
  };
1130
1128
  };
1131
1129
 
1132
1130
  const lro = createLroSpec({
1133
1131
  sendOperationFn,
1134
1132
  args: { scope, eventSubscriptionName, options },
1135
- spec: deleteOperationSpec
1133
+ spec: deleteOperationSpec,
1136
1134
  });
1137
1135
  const poller = await createHttpPoller<void, OperationState<void>>(lro, {
1138
1136
  restoreFrom: options?.resumeFrom,
1139
- intervalInMs: options?.updateIntervalInMs
1137
+ intervalInMs: options?.updateIntervalInMs,
1140
1138
  });
1141
1139
  await poller.poll();
1142
1140
  return poller;
@@ -1152,18 +1150,18 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1152
1150
  * for a resource, and
1153
1151
  * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1154
1152
  * for an EventGrid topic.
1155
- * @param eventSubscriptionName Name of the event subscription.
1153
+ * @param eventSubscriptionName Name of the event subscription to be deleted.
1156
1154
  * @param options The options parameters.
1157
1155
  */
1158
1156
  async beginDeleteAndWait(
1159
1157
  scope: string,
1160
1158
  eventSubscriptionName: string,
1161
- options?: EventSubscriptionsDeleteOptionalParams
1159
+ options?: EventSubscriptionsDeleteOptionalParams,
1162
1160
  ): Promise<void> {
1163
1161
  const poller = await this.beginDelete(
1164
1162
  scope,
1165
1163
  eventSubscriptionName,
1166
- options
1164
+ options,
1167
1165
  );
1168
1166
  return poller.pollUntilDone();
1169
1167
  }
@@ -1186,7 +1184,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1186
1184
  scope: string,
1187
1185
  eventSubscriptionName: string,
1188
1186
  eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
1189
- options?: EventSubscriptionsUpdateOptionalParams
1187
+ options?: EventSubscriptionsUpdateOptionalParams,
1190
1188
  ): Promise<
1191
1189
  SimplePollerLike<
1192
1190
  OperationState<EventSubscriptionsUpdateResponse>,
@@ -1195,21 +1193,20 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1195
1193
  > {
1196
1194
  const directSendOperation = async (
1197
1195
  args: coreClient.OperationArguments,
1198
- spec: coreClient.OperationSpec
1196
+ spec: coreClient.OperationSpec,
1199
1197
  ): Promise<EventSubscriptionsUpdateResponse> => {
1200
1198
  return this.client.sendOperationRequest(args, spec);
1201
1199
  };
1202
1200
  const sendOperationFn = async (
1203
1201
  args: coreClient.OperationArguments,
1204
- spec: coreClient.OperationSpec
1202
+ spec: coreClient.OperationSpec,
1205
1203
  ) => {
1206
- let currentRawResponse:
1207
- | coreClient.FullOperationResponse
1208
- | undefined = undefined;
1204
+ let currentRawResponse: coreClient.FullOperationResponse | undefined =
1205
+ undefined;
1209
1206
  const providedCallback = args.options?.onResponse;
1210
1207
  const callback: coreClient.RawResponseCallback = (
1211
1208
  rawResponse: coreClient.FullOperationResponse,
1212
- flatResponse: unknown
1209
+ flatResponse: unknown,
1213
1210
  ) => {
1214
1211
  currentRawResponse = rawResponse;
1215
1212
  providedCallback?.(rawResponse, flatResponse);
@@ -1218,8 +1215,8 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1218
1215
  ...args,
1219
1216
  options: {
1220
1217
  ...args.options,
1221
- onResponse: callback
1222
- }
1218
+ onResponse: callback,
1219
+ },
1223
1220
  };
1224
1221
  const flatResponse = await directSendOperation(updatedArgs, spec);
1225
1222
  return {
@@ -1227,8 +1224,8 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1227
1224
  rawResponse: {
1228
1225
  statusCode: currentRawResponse!.status,
1229
1226
  body: currentRawResponse!.parsedBody,
1230
- headers: currentRawResponse!.headers.toJSON()
1231
- }
1227
+ headers: currentRawResponse!.headers.toJSON(),
1228
+ },
1232
1229
  };
1233
1230
  };
1234
1231
 
@@ -1238,16 +1235,16 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1238
1235
  scope,
1239
1236
  eventSubscriptionName,
1240
1237
  eventSubscriptionUpdateParameters,
1241
- options
1238
+ options,
1242
1239
  },
1243
- spec: updateOperationSpec
1240
+ spec: updateOperationSpec,
1244
1241
  });
1245
1242
  const poller = await createHttpPoller<
1246
1243
  EventSubscriptionsUpdateResponse,
1247
1244
  OperationState<EventSubscriptionsUpdateResponse>
1248
1245
  >(lro, {
1249
1246
  restoreFrom: options?.resumeFrom,
1250
- intervalInMs: options?.updateIntervalInMs
1247
+ intervalInMs: options?.updateIntervalInMs,
1251
1248
  });
1252
1249
  await poller.poll();
1253
1250
  return poller;
@@ -1271,13 +1268,13 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1271
1268
  scope: string,
1272
1269
  eventSubscriptionName: string,
1273
1270
  eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
1274
- options?: EventSubscriptionsUpdateOptionalParams
1271
+ options?: EventSubscriptionsUpdateOptionalParams,
1275
1272
  ): Promise<EventSubscriptionsUpdateResponse> {
1276
1273
  const poller = await this.beginUpdate(
1277
1274
  scope,
1278
1275
  eventSubscriptionName,
1279
1276
  eventSubscriptionUpdateParameters,
1280
- options
1277
+ options,
1281
1278
  );
1282
1279
  return poller.pollUntilDone();
1283
1280
  }
@@ -1298,11 +1295,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1298
1295
  getFullUrl(
1299
1296
  scope: string,
1300
1297
  eventSubscriptionName: string,
1301
- options?: EventSubscriptionsGetFullUrlOptionalParams
1298
+ options?: EventSubscriptionsGetFullUrlOptionalParams,
1302
1299
  ): Promise<EventSubscriptionsGetFullUrlResponse> {
1303
1300
  return this.client.sendOperationRequest(
1304
1301
  { scope, eventSubscriptionName, options },
1305
- getFullUrlOperationSpec
1302
+ getFullUrlOperationSpec,
1306
1303
  );
1307
1304
  }
1308
1305
 
@@ -1311,11 +1308,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1311
1308
  * @param options The options parameters.
1312
1309
  */
1313
1310
  private _listGlobalBySubscription(
1314
- options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams
1311
+ options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams,
1315
1312
  ): Promise<EventSubscriptionsListGlobalBySubscriptionResponse> {
1316
1313
  return this.client.sendOperationRequest(
1317
1314
  { options },
1318
- listGlobalBySubscriptionOperationSpec
1315
+ listGlobalBySubscriptionOperationSpec,
1319
1316
  );
1320
1317
  }
1321
1318
 
@@ -1326,11 +1323,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1326
1323
  */
1327
1324
  private _listGlobalBySubscriptionForTopicType(
1328
1325
  topicTypeName: string,
1329
- options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams
1326
+ options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,
1330
1327
  ): Promise<EventSubscriptionsListGlobalBySubscriptionForTopicTypeResponse> {
1331
1328
  return this.client.sendOperationRequest(
1332
1329
  { topicTypeName, options },
1333
- listGlobalBySubscriptionForTopicTypeOperationSpec
1330
+ listGlobalBySubscriptionForTopicTypeOperationSpec,
1334
1331
  );
1335
1332
  }
1336
1333
 
@@ -1341,11 +1338,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1341
1338
  */
1342
1339
  private _listGlobalByResourceGroup(
1343
1340
  resourceGroupName: string,
1344
- options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams
1341
+ options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams,
1345
1342
  ): Promise<EventSubscriptionsListGlobalByResourceGroupResponse> {
1346
1343
  return this.client.sendOperationRequest(
1347
1344
  { resourceGroupName, options },
1348
- listGlobalByResourceGroupOperationSpec
1345
+ listGlobalByResourceGroupOperationSpec,
1349
1346
  );
1350
1347
  }
1351
1348
 
@@ -1358,11 +1355,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1358
1355
  private _listGlobalByResourceGroupForTopicType(
1359
1356
  resourceGroupName: string,
1360
1357
  topicTypeName: string,
1361
- options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams
1358
+ options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,
1362
1359
  ): Promise<EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse> {
1363
1360
  return this.client.sendOperationRequest(
1364
1361
  { resourceGroupName, topicTypeName, options },
1365
- listGlobalByResourceGroupForTopicTypeOperationSpec
1362
+ listGlobalByResourceGroupForTopicTypeOperationSpec,
1366
1363
  );
1367
1364
  }
1368
1365
 
@@ -1373,11 +1370,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1373
1370
  */
1374
1371
  private _listRegionalBySubscription(
1375
1372
  location: string,
1376
- options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams
1373
+ options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams,
1377
1374
  ): Promise<EventSubscriptionsListRegionalBySubscriptionResponse> {
1378
1375
  return this.client.sendOperationRequest(
1379
1376
  { location, options },
1380
- listRegionalBySubscriptionOperationSpec
1377
+ listRegionalBySubscriptionOperationSpec,
1381
1378
  );
1382
1379
  }
1383
1380
 
@@ -1391,11 +1388,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1391
1388
  private _listRegionalByResourceGroup(
1392
1389
  resourceGroupName: string,
1393
1390
  location: string,
1394
- options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams
1391
+ options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams,
1395
1392
  ): Promise<EventSubscriptionsListRegionalByResourceGroupResponse> {
1396
1393
  return this.client.sendOperationRequest(
1397
1394
  { resourceGroupName, location, options },
1398
- listRegionalByResourceGroupOperationSpec
1395
+ listRegionalByResourceGroupOperationSpec,
1399
1396
  );
1400
1397
  }
1401
1398
 
@@ -1409,11 +1406,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1409
1406
  private _listRegionalBySubscriptionForTopicType(
1410
1407
  location: string,
1411
1408
  topicTypeName: string,
1412
- options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams
1409
+ options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,
1413
1410
  ): Promise<EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse> {
1414
1411
  return this.client.sendOperationRequest(
1415
1412
  { location, topicTypeName, options },
1416
- listRegionalBySubscriptionForTopicTypeOperationSpec
1413
+ listRegionalBySubscriptionForTopicTypeOperationSpec,
1417
1414
  );
1418
1415
  }
1419
1416
 
@@ -1429,13 +1426,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1429
1426
  resourceGroupName: string,
1430
1427
  location: string,
1431
1428
  topicTypeName: string,
1432
- options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams
1433
- ): Promise<
1434
- EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse
1435
- > {
1429
+ options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,
1430
+ ): Promise<EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse> {
1436
1431
  return this.client.sendOperationRequest(
1437
1432
  { resourceGroupName, location, topicTypeName, options },
1438
- listRegionalByResourceGroupForTopicTypeOperationSpec
1433
+ listRegionalByResourceGroupForTopicTypeOperationSpec,
1439
1434
  );
1440
1435
  }
1441
1436
 
@@ -1452,7 +1447,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1452
1447
  providerNamespace: string,
1453
1448
  resourceTypeName: string,
1454
1449
  resourceName: string,
1455
- options?: EventSubscriptionsListByResourceOptionalParams
1450
+ options?: EventSubscriptionsListByResourceOptionalParams,
1456
1451
  ): Promise<EventSubscriptionsListByResourceResponse> {
1457
1452
  return this.client.sendOperationRequest(
1458
1453
  {
@@ -1460,9 +1455,9 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1460
1455
  providerNamespace,
1461
1456
  resourceTypeName,
1462
1457
  resourceName,
1463
- options
1458
+ options,
1464
1459
  },
1465
- listByResourceOperationSpec
1460
+ listByResourceOperationSpec,
1466
1461
  );
1467
1462
  }
1468
1463
 
@@ -1477,11 +1472,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1477
1472
  resourceGroupName: string,
1478
1473
  domainName: string,
1479
1474
  topicName: string,
1480
- options?: EventSubscriptionsListByDomainTopicOptionalParams
1475
+ options?: EventSubscriptionsListByDomainTopicOptionalParams,
1481
1476
  ): Promise<EventSubscriptionsListByDomainTopicResponse> {
1482
1477
  return this.client.sendOperationRequest(
1483
1478
  { resourceGroupName, domainName, topicName, options },
1484
- listByDomainTopicOperationSpec
1479
+ listByDomainTopicOperationSpec,
1485
1480
  );
1486
1481
  }
1487
1482
 
@@ -1493,11 +1488,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1493
1488
  */
1494
1489
  private _listGlobalBySubscriptionNext(
1495
1490
  nextLink: string,
1496
- options?: EventSubscriptionsListGlobalBySubscriptionNextOptionalParams
1491
+ options?: EventSubscriptionsListGlobalBySubscriptionNextOptionalParams,
1497
1492
  ): Promise<EventSubscriptionsListGlobalBySubscriptionNextResponse> {
1498
1493
  return this.client.sendOperationRequest(
1499
1494
  { nextLink, options },
1500
- listGlobalBySubscriptionNextOperationSpec
1495
+ listGlobalBySubscriptionNextOperationSpec,
1501
1496
  );
1502
1497
  }
1503
1498
 
@@ -1511,13 +1506,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1511
1506
  private _listGlobalBySubscriptionForTopicTypeNext(
1512
1507
  topicTypeName: string,
1513
1508
  nextLink: string,
1514
- options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams
1515
- ): Promise<
1516
- EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse
1517
- > {
1509
+ options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams,
1510
+ ): Promise<EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse> {
1518
1511
  return this.client.sendOperationRequest(
1519
1512
  { topicTypeName, nextLink, options },
1520
- listGlobalBySubscriptionForTopicTypeNextOperationSpec
1513
+ listGlobalBySubscriptionForTopicTypeNextOperationSpec,
1521
1514
  );
1522
1515
  }
1523
1516
 
@@ -1531,11 +1524,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1531
1524
  private _listGlobalByResourceGroupNext(
1532
1525
  resourceGroupName: string,
1533
1526
  nextLink: string,
1534
- options?: EventSubscriptionsListGlobalByResourceGroupNextOptionalParams
1527
+ options?: EventSubscriptionsListGlobalByResourceGroupNextOptionalParams,
1535
1528
  ): Promise<EventSubscriptionsListGlobalByResourceGroupNextResponse> {
1536
1529
  return this.client.sendOperationRequest(
1537
1530
  { resourceGroupName, nextLink, options },
1538
- listGlobalByResourceGroupNextOperationSpec
1531
+ listGlobalByResourceGroupNextOperationSpec,
1539
1532
  );
1540
1533
  }
1541
1534
 
@@ -1551,13 +1544,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1551
1544
  resourceGroupName: string,
1552
1545
  topicTypeName: string,
1553
1546
  nextLink: string,
1554
- options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams
1555
- ): Promise<
1556
- EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse
1557
- > {
1547
+ options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams,
1548
+ ): Promise<EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse> {
1558
1549
  return this.client.sendOperationRequest(
1559
1550
  { resourceGroupName, topicTypeName, nextLink, options },
1560
- listGlobalByResourceGroupForTopicTypeNextOperationSpec
1551
+ listGlobalByResourceGroupForTopicTypeNextOperationSpec,
1561
1552
  );
1562
1553
  }
1563
1554
 
@@ -1571,11 +1562,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1571
1562
  private _listRegionalBySubscriptionNext(
1572
1563
  location: string,
1573
1564
  nextLink: string,
1574
- options?: EventSubscriptionsListRegionalBySubscriptionNextOptionalParams
1565
+ options?: EventSubscriptionsListRegionalBySubscriptionNextOptionalParams,
1575
1566
  ): Promise<EventSubscriptionsListRegionalBySubscriptionNextResponse> {
1576
1567
  return this.client.sendOperationRequest(
1577
1568
  { location, nextLink, options },
1578
- listRegionalBySubscriptionNextOperationSpec
1569
+ listRegionalBySubscriptionNextOperationSpec,
1579
1570
  );
1580
1571
  }
1581
1572
 
@@ -1591,11 +1582,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1591
1582
  resourceGroupName: string,
1592
1583
  location: string,
1593
1584
  nextLink: string,
1594
- options?: EventSubscriptionsListRegionalByResourceGroupNextOptionalParams
1585
+ options?: EventSubscriptionsListRegionalByResourceGroupNextOptionalParams,
1595
1586
  ): Promise<EventSubscriptionsListRegionalByResourceGroupNextResponse> {
1596
1587
  return this.client.sendOperationRequest(
1597
1588
  { resourceGroupName, location, nextLink, options },
1598
- listRegionalByResourceGroupNextOperationSpec
1589
+ listRegionalByResourceGroupNextOperationSpec,
1599
1590
  );
1600
1591
  }
1601
1592
 
@@ -1611,13 +1602,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1611
1602
  location: string,
1612
1603
  topicTypeName: string,
1613
1604
  nextLink: string,
1614
- options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams
1615
- ): Promise<
1616
- EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextResponse
1617
- > {
1605
+ options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams,
1606
+ ): Promise<EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextResponse> {
1618
1607
  return this.client.sendOperationRequest(
1619
1608
  { location, topicTypeName, nextLink, options },
1620
- listRegionalBySubscriptionForTopicTypeNextOperationSpec
1609
+ listRegionalBySubscriptionForTopicTypeNextOperationSpec,
1621
1610
  );
1622
1611
  }
1623
1612
 
@@ -1635,13 +1624,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1635
1624
  location: string,
1636
1625
  topicTypeName: string,
1637
1626
  nextLink: string,
1638
- options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams
1639
- ): Promise<
1640
- EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse
1641
- > {
1627
+ options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams,
1628
+ ): Promise<EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse> {
1642
1629
  return this.client.sendOperationRequest(
1643
1630
  { resourceGroupName, location, topicTypeName, nextLink, options },
1644
- listRegionalByResourceGroupForTopicTypeNextOperationSpec
1631
+ listRegionalByResourceGroupForTopicTypeNextOperationSpec,
1645
1632
  );
1646
1633
  }
1647
1634
 
@@ -1660,7 +1647,7 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1660
1647
  resourceTypeName: string,
1661
1648
  resourceName: string,
1662
1649
  nextLink: string,
1663
- options?: EventSubscriptionsListByResourceNextOptionalParams
1650
+ options?: EventSubscriptionsListByResourceNextOptionalParams,
1664
1651
  ): Promise<EventSubscriptionsListByResourceNextResponse> {
1665
1652
  return this.client.sendOperationRequest(
1666
1653
  {
@@ -1669,9 +1656,9 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1669
1656
  resourceTypeName,
1670
1657
  resourceName,
1671
1658
  nextLink,
1672
- options
1659
+ options,
1673
1660
  },
1674
- listByResourceNextOperationSpec
1661
+ listByResourceNextOperationSpec,
1675
1662
  );
1676
1663
  }
1677
1664
 
@@ -1688,11 +1675,11 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1688
1675
  domainName: string,
1689
1676
  topicName: string,
1690
1677
  nextLink: string,
1691
- options?: EventSubscriptionsListByDomainTopicNextOptionalParams
1678
+ options?: EventSubscriptionsListByDomainTopicNextOptionalParams,
1692
1679
  ): Promise<EventSubscriptionsListByDomainTopicNextResponse> {
1693
1680
  return this.client.sendOperationRequest(
1694
1681
  { resourceGroupName, domainName, topicName, nextLink, options },
1695
- listByDomainTopicNextOperationSpec
1682
+ listByDomainTopicNextOperationSpec,
1696
1683
  );
1697
1684
  }
1698
1685
  }
@@ -1700,297 +1687,286 @@ export class EventSubscriptionsImpl implements EventSubscriptions {
1700
1687
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
1701
1688
 
1702
1689
  const getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {
1703
- path:
1704
- "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
1690
+ path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
1705
1691
  httpMethod: "POST",
1706
1692
  responses: {
1707
1693
  200: {
1708
- bodyMapper: Mappers.DeliveryAttributeListResult
1694
+ bodyMapper: Mappers.DeliveryAttributeListResult,
1709
1695
  },
1710
- default: {}
1696
+ default: {},
1711
1697
  },
1712
1698
  queryParameters: [Parameters.apiVersion],
1713
1699
  urlParameters: [
1714
1700
  Parameters.$host,
1715
1701
  Parameters.eventSubscriptionName,
1716
- Parameters.scope
1702
+ Parameters.scope,
1717
1703
  ],
1718
1704
  headerParameters: [Parameters.accept],
1719
- serializer
1705
+ serializer,
1720
1706
  };
1721
1707
  const getOperationSpec: coreClient.OperationSpec = {
1722
- path:
1723
- "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
1708
+ path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
1724
1709
  httpMethod: "GET",
1725
1710
  responses: {
1726
1711
  200: {
1727
- bodyMapper: Mappers.EventSubscription
1712
+ bodyMapper: Mappers.EventSubscription,
1728
1713
  },
1729
- default: {}
1714
+ default: {},
1730
1715
  },
1731
1716
  queryParameters: [Parameters.apiVersion],
1732
1717
  urlParameters: [
1733
1718
  Parameters.$host,
1734
1719
  Parameters.eventSubscriptionName,
1735
- Parameters.scope
1720
+ Parameters.scope,
1736
1721
  ],
1737
1722
  headerParameters: [Parameters.accept],
1738
- serializer
1723
+ serializer,
1739
1724
  };
1740
1725
  const createOrUpdateOperationSpec: coreClient.OperationSpec = {
1741
- path:
1742
- "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
1726
+ path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
1743
1727
  httpMethod: "PUT",
1744
1728
  responses: {
1745
1729
  200: {
1746
- bodyMapper: Mappers.EventSubscription
1730
+ bodyMapper: Mappers.EventSubscription,
1747
1731
  },
1748
1732
  201: {
1749
- bodyMapper: Mappers.EventSubscription
1733
+ bodyMapper: Mappers.EventSubscription,
1750
1734
  },
1751
1735
  202: {
1752
- bodyMapper: Mappers.EventSubscription
1736
+ bodyMapper: Mappers.EventSubscription,
1753
1737
  },
1754
1738
  204: {
1755
- bodyMapper: Mappers.EventSubscription
1739
+ bodyMapper: Mappers.EventSubscription,
1756
1740
  },
1757
- default: {}
1741
+ default: {},
1758
1742
  },
1759
1743
  requestBody: Parameters.eventSubscriptionInfo,
1760
1744
  queryParameters: [Parameters.apiVersion],
1761
1745
  urlParameters: [
1762
1746
  Parameters.$host,
1763
1747
  Parameters.eventSubscriptionName,
1764
- Parameters.scope
1748
+ Parameters.scope,
1765
1749
  ],
1766
1750
  headerParameters: [Parameters.accept, Parameters.contentType],
1767
1751
  mediaType: "json",
1768
- serializer
1752
+ serializer,
1769
1753
  };
1770
1754
  const deleteOperationSpec: coreClient.OperationSpec = {
1771
- path:
1772
- "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
1755
+ path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
1773
1756
  httpMethod: "DELETE",
1774
1757
  responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
1775
1758
  queryParameters: [Parameters.apiVersion],
1776
1759
  urlParameters: [
1777
1760
  Parameters.$host,
1778
1761
  Parameters.eventSubscriptionName,
1779
- Parameters.scope
1762
+ Parameters.scope,
1780
1763
  ],
1781
- serializer
1764
+ serializer,
1782
1765
  };
1783
1766
  const updateOperationSpec: coreClient.OperationSpec = {
1784
- path:
1785
- "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
1767
+ path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
1786
1768
  httpMethod: "PATCH",
1787
1769
  responses: {
1788
1770
  200: {
1789
- bodyMapper: Mappers.EventSubscription
1771
+ bodyMapper: Mappers.EventSubscription,
1790
1772
  },
1791
1773
  201: {
1792
- bodyMapper: Mappers.EventSubscription
1774
+ bodyMapper: Mappers.EventSubscription,
1793
1775
  },
1794
1776
  202: {
1795
- bodyMapper: Mappers.EventSubscription
1777
+ bodyMapper: Mappers.EventSubscription,
1796
1778
  },
1797
1779
  204: {
1798
- bodyMapper: Mappers.EventSubscription
1780
+ bodyMapper: Mappers.EventSubscription,
1799
1781
  },
1800
- default: {}
1782
+ default: {},
1801
1783
  },
1802
1784
  requestBody: Parameters.eventSubscriptionUpdateParameters,
1803
1785
  queryParameters: [Parameters.apiVersion],
1804
1786
  urlParameters: [
1805
1787
  Parameters.$host,
1806
1788
  Parameters.eventSubscriptionName,
1807
- Parameters.scope
1789
+ Parameters.scope,
1808
1790
  ],
1809
1791
  headerParameters: [Parameters.accept, Parameters.contentType],
1810
1792
  mediaType: "json",
1811
- serializer
1793
+ serializer,
1812
1794
  };
1813
1795
  const getFullUrlOperationSpec: coreClient.OperationSpec = {
1814
- path:
1815
- "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl",
1796
+ path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl",
1816
1797
  httpMethod: "POST",
1817
1798
  responses: {
1818
1799
  200: {
1819
- bodyMapper: Mappers.EventSubscriptionFullUrl
1800
+ bodyMapper: Mappers.EventSubscriptionFullUrl,
1820
1801
  },
1821
- default: {}
1802
+ default: {},
1822
1803
  },
1823
1804
  queryParameters: [Parameters.apiVersion],
1824
1805
  urlParameters: [
1825
1806
  Parameters.$host,
1826
1807
  Parameters.eventSubscriptionName,
1827
- Parameters.scope
1808
+ Parameters.scope,
1828
1809
  ],
1829
1810
  headerParameters: [Parameters.accept],
1830
- serializer
1811
+ serializer,
1831
1812
  };
1832
1813
  const listGlobalBySubscriptionOperationSpec: coreClient.OperationSpec = {
1833
- path:
1834
- "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions",
1814
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions",
1835
1815
  httpMethod: "GET",
1836
1816
  responses: {
1837
1817
  200: {
1838
- bodyMapper: Mappers.EventSubscriptionsListResult
1818
+ bodyMapper: Mappers.EventSubscriptionsListResult,
1839
1819
  },
1840
- default: {}
1820
+ default: {},
1841
1821
  },
1842
1822
  queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1843
1823
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
1844
1824
  headerParameters: [Parameters.accept],
1845
- serializer
1825
+ serializer,
1846
1826
  };
1847
- const listGlobalBySubscriptionForTopicTypeOperationSpec: coreClient.OperationSpec = {
1848
- path:
1849
- "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions",
1850
- httpMethod: "GET",
1851
- responses: {
1852
- 200: {
1853
- bodyMapper: Mappers.EventSubscriptionsListResult
1827
+ const listGlobalBySubscriptionForTopicTypeOperationSpec: coreClient.OperationSpec =
1828
+ {
1829
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions",
1830
+ httpMethod: "GET",
1831
+ responses: {
1832
+ 200: {
1833
+ bodyMapper: Mappers.EventSubscriptionsListResult,
1834
+ },
1835
+ default: {},
1854
1836
  },
1855
- default: {}
1856
- },
1857
- queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1858
- urlParameters: [
1859
- Parameters.$host,
1860
- Parameters.subscriptionId,
1861
- Parameters.topicTypeName
1862
- ],
1863
- headerParameters: [Parameters.accept],
1864
- serializer
1865
- };
1837
+ queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1838
+ urlParameters: [
1839
+ Parameters.$host,
1840
+ Parameters.subscriptionId,
1841
+ Parameters.topicTypeName,
1842
+ ],
1843
+ headerParameters: [Parameters.accept],
1844
+ serializer,
1845
+ };
1866
1846
  const listGlobalByResourceGroupOperationSpec: coreClient.OperationSpec = {
1867
- path:
1868
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions",
1869
- httpMethod: "GET",
1870
- responses: {
1871
- 200: {
1872
- bodyMapper: Mappers.EventSubscriptionsListResult
1873
- },
1874
- default: {}
1875
- },
1876
- queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1877
- urlParameters: [
1878
- Parameters.$host,
1879
- Parameters.subscriptionId,
1880
- Parameters.resourceGroupName
1881
- ],
1882
- headerParameters: [Parameters.accept],
1883
- serializer
1884
- };
1885
- const listGlobalByResourceGroupForTopicTypeOperationSpec: coreClient.OperationSpec = {
1886
- path:
1887
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions",
1847
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions",
1888
1848
  httpMethod: "GET",
1889
1849
  responses: {
1890
1850
  200: {
1891
- bodyMapper: Mappers.EventSubscriptionsListResult
1851
+ bodyMapper: Mappers.EventSubscriptionsListResult,
1892
1852
  },
1893
- default: {}
1853
+ default: {},
1894
1854
  },
1895
1855
  queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1896
1856
  urlParameters: [
1897
1857
  Parameters.$host,
1898
1858
  Parameters.subscriptionId,
1899
1859
  Parameters.resourceGroupName,
1900
- Parameters.topicTypeName
1901
1860
  ],
1902
1861
  headerParameters: [Parameters.accept],
1903
- serializer
1862
+ serializer,
1904
1863
  };
1864
+ const listGlobalByResourceGroupForTopicTypeOperationSpec: coreClient.OperationSpec =
1865
+ {
1866
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions",
1867
+ httpMethod: "GET",
1868
+ responses: {
1869
+ 200: {
1870
+ bodyMapper: Mappers.EventSubscriptionsListResult,
1871
+ },
1872
+ default: {},
1873
+ },
1874
+ queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1875
+ urlParameters: [
1876
+ Parameters.$host,
1877
+ Parameters.subscriptionId,
1878
+ Parameters.resourceGroupName,
1879
+ Parameters.topicTypeName,
1880
+ ],
1881
+ headerParameters: [Parameters.accept],
1882
+ serializer,
1883
+ };
1905
1884
  const listRegionalBySubscriptionOperationSpec: coreClient.OperationSpec = {
1906
- path:
1907
- "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions",
1885
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions",
1908
1886
  httpMethod: "GET",
1909
1887
  responses: {
1910
1888
  200: {
1911
- bodyMapper: Mappers.EventSubscriptionsListResult
1889
+ bodyMapper: Mappers.EventSubscriptionsListResult,
1912
1890
  },
1913
- default: {}
1891
+ default: {},
1914
1892
  },
1915
1893
  queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1916
1894
  urlParameters: [
1917
1895
  Parameters.$host,
1918
1896
  Parameters.subscriptionId,
1919
- Parameters.location
1897
+ Parameters.location,
1920
1898
  ],
1921
1899
  headerParameters: [Parameters.accept],
1922
- serializer
1900
+ serializer,
1923
1901
  };
1924
1902
  const listRegionalByResourceGroupOperationSpec: coreClient.OperationSpec = {
1925
- path:
1926
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions",
1903
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions",
1927
1904
  httpMethod: "GET",
1928
1905
  responses: {
1929
1906
  200: {
1930
- bodyMapper: Mappers.EventSubscriptionsListResult
1907
+ bodyMapper: Mappers.EventSubscriptionsListResult,
1931
1908
  },
1932
- default: {}
1909
+ default: {},
1933
1910
  },
1934
1911
  queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1935
1912
  urlParameters: [
1936
1913
  Parameters.$host,
1937
1914
  Parameters.subscriptionId,
1938
1915
  Parameters.resourceGroupName,
1939
- Parameters.location
1916
+ Parameters.location,
1940
1917
  ],
1941
1918
  headerParameters: [Parameters.accept],
1942
- serializer
1919
+ serializer,
1943
1920
  };
1944
- const listRegionalBySubscriptionForTopicTypeOperationSpec: coreClient.OperationSpec = {
1945
- path:
1946
- "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions",
1947
- httpMethod: "GET",
1948
- responses: {
1949
- 200: {
1950
- bodyMapper: Mappers.EventSubscriptionsListResult
1921
+ const listRegionalBySubscriptionForTopicTypeOperationSpec: coreClient.OperationSpec =
1922
+ {
1923
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions",
1924
+ httpMethod: "GET",
1925
+ responses: {
1926
+ 200: {
1927
+ bodyMapper: Mappers.EventSubscriptionsListResult,
1928
+ },
1929
+ default: {},
1951
1930
  },
1952
- default: {}
1953
- },
1954
- queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1955
- urlParameters: [
1956
- Parameters.$host,
1957
- Parameters.subscriptionId,
1958
- Parameters.topicTypeName,
1959
- Parameters.location
1960
- ],
1961
- headerParameters: [Parameters.accept],
1962
- serializer
1963
- };
1964
- const listRegionalByResourceGroupForTopicTypeOperationSpec: coreClient.OperationSpec = {
1965
- path:
1966
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions",
1967
- httpMethod: "GET",
1968
- responses: {
1969
- 200: {
1970
- bodyMapper: Mappers.EventSubscriptionsListResult
1931
+ queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1932
+ urlParameters: [
1933
+ Parameters.$host,
1934
+ Parameters.subscriptionId,
1935
+ Parameters.topicTypeName,
1936
+ Parameters.location,
1937
+ ],
1938
+ headerParameters: [Parameters.accept],
1939
+ serializer,
1940
+ };
1941
+ const listRegionalByResourceGroupForTopicTypeOperationSpec: coreClient.OperationSpec =
1942
+ {
1943
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions",
1944
+ httpMethod: "GET",
1945
+ responses: {
1946
+ 200: {
1947
+ bodyMapper: Mappers.EventSubscriptionsListResult,
1948
+ },
1949
+ default: {},
1971
1950
  },
1972
- default: {}
1973
- },
1974
- queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1975
- urlParameters: [
1976
- Parameters.$host,
1977
- Parameters.subscriptionId,
1978
- Parameters.resourceGroupName,
1979
- Parameters.topicTypeName,
1980
- Parameters.location
1981
- ],
1982
- headerParameters: [Parameters.accept],
1983
- serializer
1984
- };
1951
+ queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1952
+ urlParameters: [
1953
+ Parameters.$host,
1954
+ Parameters.subscriptionId,
1955
+ Parameters.resourceGroupName,
1956
+ Parameters.topicTypeName,
1957
+ Parameters.location,
1958
+ ],
1959
+ headerParameters: [Parameters.accept],
1960
+ serializer,
1961
+ };
1985
1962
  const listByResourceOperationSpec: coreClient.OperationSpec = {
1986
- path:
1987
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions",
1963
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions",
1988
1964
  httpMethod: "GET",
1989
1965
  responses: {
1990
1966
  200: {
1991
- bodyMapper: Mappers.EventSubscriptionsListResult
1967
+ bodyMapper: Mappers.EventSubscriptionsListResult,
1992
1968
  },
1993
- default: {}
1969
+ default: {},
1994
1970
  },
1995
1971
  queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
1996
1972
  urlParameters: [
@@ -1999,20 +1975,19 @@ const listByResourceOperationSpec: coreClient.OperationSpec = {
1999
1975
  Parameters.resourceGroupName,
2000
1976
  Parameters.providerNamespace,
2001
1977
  Parameters.resourceTypeName,
2002
- Parameters.resourceName
1978
+ Parameters.resourceName,
2003
1979
  ],
2004
1980
  headerParameters: [Parameters.accept],
2005
- serializer
1981
+ serializer,
2006
1982
  };
2007
1983
  const listByDomainTopicOperationSpec: coreClient.OperationSpec = {
2008
- path:
2009
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions",
1984
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions",
2010
1985
  httpMethod: "GET",
2011
1986
  responses: {
2012
1987
  200: {
2013
- bodyMapper: Mappers.EventSubscriptionsListResult
1988
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2014
1989
  },
2015
- default: {}
1990
+ default: {},
2016
1991
  },
2017
1992
  queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
2018
1993
  urlParameters: [
@@ -2020,167 +1995,171 @@ const listByDomainTopicOperationSpec: coreClient.OperationSpec = {
2020
1995
  Parameters.subscriptionId,
2021
1996
  Parameters.resourceGroupName,
2022
1997
  Parameters.domainName,
2023
- Parameters.topicName
1998
+ Parameters.topicName,
2024
1999
  ],
2025
2000
  headerParameters: [Parameters.accept],
2026
- serializer
2001
+ serializer,
2027
2002
  };
2028
2003
  const listGlobalBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
2029
2004
  path: "{nextLink}",
2030
2005
  httpMethod: "GET",
2031
2006
  responses: {
2032
2007
  200: {
2033
- bodyMapper: Mappers.EventSubscriptionsListResult
2008
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2034
2009
  },
2035
- default: {}
2036
- },
2037
- urlParameters: [
2038
- Parameters.$host,
2039
- Parameters.subscriptionId,
2040
- Parameters.nextLink
2041
- ],
2042
- headerParameters: [Parameters.accept],
2043
- serializer
2044
- };
2045
- const listGlobalBySubscriptionForTopicTypeNextOperationSpec: coreClient.OperationSpec = {
2046
- path: "{nextLink}",
2047
- httpMethod: "GET",
2048
- responses: {
2049
- 200: {
2050
- bodyMapper: Mappers.EventSubscriptionsListResult
2051
- },
2052
- default: {}
2010
+ default: {},
2053
2011
  },
2054
2012
  urlParameters: [
2055
2013
  Parameters.$host,
2056
2014
  Parameters.subscriptionId,
2057
2015
  Parameters.nextLink,
2058
- Parameters.topicTypeName
2059
2016
  ],
2060
2017
  headerParameters: [Parameters.accept],
2061
- serializer
2018
+ serializer,
2062
2019
  };
2063
- const listGlobalByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
2064
- path: "{nextLink}",
2065
- httpMethod: "GET",
2066
- responses: {
2067
- 200: {
2068
- bodyMapper: Mappers.EventSubscriptionsListResult
2020
+ const listGlobalBySubscriptionForTopicTypeNextOperationSpec: coreClient.OperationSpec =
2021
+ {
2022
+ path: "{nextLink}",
2023
+ httpMethod: "GET",
2024
+ responses: {
2025
+ 200: {
2026
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2027
+ },
2028
+ default: {},
2069
2029
  },
2070
- default: {}
2071
- },
2072
- urlParameters: [
2073
- Parameters.$host,
2074
- Parameters.subscriptionId,
2075
- Parameters.resourceGroupName,
2076
- Parameters.nextLink
2077
- ],
2078
- headerParameters: [Parameters.accept],
2079
- serializer
2080
- };
2081
- const listGlobalByResourceGroupForTopicTypeNextOperationSpec: coreClient.OperationSpec = {
2030
+ urlParameters: [
2031
+ Parameters.$host,
2032
+ Parameters.subscriptionId,
2033
+ Parameters.nextLink,
2034
+ Parameters.topicTypeName,
2035
+ ],
2036
+ headerParameters: [Parameters.accept],
2037
+ serializer,
2038
+ };
2039
+ const listGlobalByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
2082
2040
  path: "{nextLink}",
2083
2041
  httpMethod: "GET",
2084
2042
  responses: {
2085
2043
  200: {
2086
- bodyMapper: Mappers.EventSubscriptionsListResult
2044
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2087
2045
  },
2088
- default: {}
2046
+ default: {},
2089
2047
  },
2090
2048
  urlParameters: [
2091
2049
  Parameters.$host,
2092
2050
  Parameters.subscriptionId,
2093
2051
  Parameters.resourceGroupName,
2094
2052
  Parameters.nextLink,
2095
- Parameters.topicTypeName
2096
2053
  ],
2097
2054
  headerParameters: [Parameters.accept],
2098
- serializer
2055
+ serializer,
2099
2056
  };
2057
+ const listGlobalByResourceGroupForTopicTypeNextOperationSpec: coreClient.OperationSpec =
2058
+ {
2059
+ path: "{nextLink}",
2060
+ httpMethod: "GET",
2061
+ responses: {
2062
+ 200: {
2063
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2064
+ },
2065
+ default: {},
2066
+ },
2067
+ urlParameters: [
2068
+ Parameters.$host,
2069
+ Parameters.subscriptionId,
2070
+ Parameters.resourceGroupName,
2071
+ Parameters.nextLink,
2072
+ Parameters.topicTypeName,
2073
+ ],
2074
+ headerParameters: [Parameters.accept],
2075
+ serializer,
2076
+ };
2100
2077
  const listRegionalBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
2101
2078
  path: "{nextLink}",
2102
2079
  httpMethod: "GET",
2103
2080
  responses: {
2104
2081
  200: {
2105
- bodyMapper: Mappers.EventSubscriptionsListResult
2082
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2106
2083
  },
2107
- default: {}
2084
+ default: {},
2108
2085
  },
2109
2086
  urlParameters: [
2110
2087
  Parameters.$host,
2111
2088
  Parameters.subscriptionId,
2112
2089
  Parameters.nextLink,
2113
- Parameters.location
2090
+ Parameters.location,
2114
2091
  ],
2115
2092
  headerParameters: [Parameters.accept],
2116
- serializer
2093
+ serializer,
2117
2094
  };
2118
2095
  const listRegionalByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
2119
2096
  path: "{nextLink}",
2120
2097
  httpMethod: "GET",
2121
2098
  responses: {
2122
2099
  200: {
2123
- bodyMapper: Mappers.EventSubscriptionsListResult
2100
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2124
2101
  },
2125
- default: {}
2102
+ default: {},
2126
2103
  },
2127
2104
  urlParameters: [
2128
2105
  Parameters.$host,
2129
2106
  Parameters.subscriptionId,
2130
2107
  Parameters.resourceGroupName,
2131
2108
  Parameters.nextLink,
2132
- Parameters.location
2109
+ Parameters.location,
2133
2110
  ],
2134
2111
  headerParameters: [Parameters.accept],
2135
- serializer
2112
+ serializer,
2136
2113
  };
2137
- const listRegionalBySubscriptionForTopicTypeNextOperationSpec: coreClient.OperationSpec = {
2138
- path: "{nextLink}",
2139
- httpMethod: "GET",
2140
- responses: {
2141
- 200: {
2142
- bodyMapper: Mappers.EventSubscriptionsListResult
2114
+ const listRegionalBySubscriptionForTopicTypeNextOperationSpec: coreClient.OperationSpec =
2115
+ {
2116
+ path: "{nextLink}",
2117
+ httpMethod: "GET",
2118
+ responses: {
2119
+ 200: {
2120
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2121
+ },
2122
+ default: {},
2143
2123
  },
2144
- default: {}
2145
- },
2146
- urlParameters: [
2147
- Parameters.$host,
2148
- Parameters.subscriptionId,
2149
- Parameters.nextLink,
2150
- Parameters.topicTypeName,
2151
- Parameters.location
2152
- ],
2153
- headerParameters: [Parameters.accept],
2154
- serializer
2155
- };
2156
- const listRegionalByResourceGroupForTopicTypeNextOperationSpec: coreClient.OperationSpec = {
2157
- path: "{nextLink}",
2158
- httpMethod: "GET",
2159
- responses: {
2160
- 200: {
2161
- bodyMapper: Mappers.EventSubscriptionsListResult
2124
+ urlParameters: [
2125
+ Parameters.$host,
2126
+ Parameters.subscriptionId,
2127
+ Parameters.nextLink,
2128
+ Parameters.topicTypeName,
2129
+ Parameters.location,
2130
+ ],
2131
+ headerParameters: [Parameters.accept],
2132
+ serializer,
2133
+ };
2134
+ const listRegionalByResourceGroupForTopicTypeNextOperationSpec: coreClient.OperationSpec =
2135
+ {
2136
+ path: "{nextLink}",
2137
+ httpMethod: "GET",
2138
+ responses: {
2139
+ 200: {
2140
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2141
+ },
2142
+ default: {},
2162
2143
  },
2163
- default: {}
2164
- },
2165
- urlParameters: [
2166
- Parameters.$host,
2167
- Parameters.subscriptionId,
2168
- Parameters.resourceGroupName,
2169
- Parameters.nextLink,
2170
- Parameters.topicTypeName,
2171
- Parameters.location
2172
- ],
2173
- headerParameters: [Parameters.accept],
2174
- serializer
2175
- };
2144
+ urlParameters: [
2145
+ Parameters.$host,
2146
+ Parameters.subscriptionId,
2147
+ Parameters.resourceGroupName,
2148
+ Parameters.nextLink,
2149
+ Parameters.topicTypeName,
2150
+ Parameters.location,
2151
+ ],
2152
+ headerParameters: [Parameters.accept],
2153
+ serializer,
2154
+ };
2176
2155
  const listByResourceNextOperationSpec: coreClient.OperationSpec = {
2177
2156
  path: "{nextLink}",
2178
2157
  httpMethod: "GET",
2179
2158
  responses: {
2180
2159
  200: {
2181
- bodyMapper: Mappers.EventSubscriptionsListResult
2160
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2182
2161
  },
2183
- default: {}
2162
+ default: {},
2184
2163
  },
2185
2164
  urlParameters: [
2186
2165
  Parameters.$host,
@@ -2189,19 +2168,19 @@ const listByResourceNextOperationSpec: coreClient.OperationSpec = {
2189
2168
  Parameters.nextLink,
2190
2169
  Parameters.providerNamespace,
2191
2170
  Parameters.resourceTypeName,
2192
- Parameters.resourceName
2171
+ Parameters.resourceName,
2193
2172
  ],
2194
2173
  headerParameters: [Parameters.accept],
2195
- serializer
2174
+ serializer,
2196
2175
  };
2197
2176
  const listByDomainTopicNextOperationSpec: coreClient.OperationSpec = {
2198
2177
  path: "{nextLink}",
2199
2178
  httpMethod: "GET",
2200
2179
  responses: {
2201
2180
  200: {
2202
- bodyMapper: Mappers.EventSubscriptionsListResult
2181
+ bodyMapper: Mappers.EventSubscriptionsListResult,
2203
2182
  },
2204
- default: {}
2183
+ default: {},
2205
2184
  },
2206
2185
  urlParameters: [
2207
2186
  Parameters.$host,
@@ -2209,8 +2188,8 @@ const listByDomainTopicNextOperationSpec: coreClient.OperationSpec = {
2209
2188
  Parameters.resourceGroupName,
2210
2189
  Parameters.nextLink,
2211
2190
  Parameters.domainName,
2212
- Parameters.topicName
2191
+ Parameters.topicName,
2213
2192
  ],
2214
2193
  headerParameters: [Parameters.accept],
2215
- serializer
2194
+ serializer,
2216
2195
  };