@azure/arm-eventgrid 12.0.0 → 13.0.0

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 (287) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -82
  4. package/dist/index.js +7613 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/eventGridManagementClient.d.ts +29 -0
  9. package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/eventGridManagementClient.js +62 -0
  11. package/dist-esm/src/eventGridManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +1943 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +204 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +107 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +1216 -1303
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +42 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +347 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/domainTopics.d.ts +79 -0
  33. package/dist-esm/src/operations/domainTopics.d.ts.map +1 -0
  34. package/dist-esm/src/operations/domainTopics.js +310 -0
  35. package/dist-esm/src/operations/domainTopics.js.map +1 -0
  36. package/dist-esm/src/operations/domains.d.ts +122 -0
  37. package/dist-esm/src/operations/domains.d.ts.map +1 -0
  38. package/dist-esm/src/operations/domains.js +522 -0
  39. package/dist-esm/src/operations/domains.js.map +1 -0
  40. package/dist-esm/src/operations/eventSubscriptions.d.ts +404 -0
  41. package/dist-esm/src/operations/eventSubscriptions.d.ts.map +1 -0
  42. package/dist-esm/src/operations/eventSubscriptions.js +1504 -0
  43. package/dist-esm/src/operations/eventSubscriptions.js.map +1 -0
  44. package/dist-esm/src/operations/extensionTopics.d.ts +24 -0
  45. package/dist-esm/src/operations/extensionTopics.d.ts.map +1 -0
  46. package/dist-esm/src/operations/extensionTopics.js +50 -0
  47. package/dist-esm/src/operations/extensionTopics.js.map +1 -0
  48. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/{esm → dist-esm/src}/operations/index.js +1 -2
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/operations.d.ts +26 -0
  53. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/operations.js +88 -0
  55. package/dist-esm/src/operations/operations.js.map +1 -0
  56. package/dist-esm/src/operations/privateEndpointConnections.d.ts +89 -0
  57. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  58. package/dist-esm/src/operations/privateEndpointConnections.js +346 -0
  59. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  60. package/dist-esm/src/operations/privateLinkResources.d.ts +50 -0
  61. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  62. package/dist-esm/src/operations/privateLinkResources.js +176 -0
  63. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  64. package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts +128 -0
  65. package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts.map +1 -0
  66. package/dist-esm/src/operations/systemTopicEventSubscriptions.js +483 -0
  67. package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -0
  68. package/dist-esm/src/operations/systemTopics.d.ts +107 -0
  69. package/dist-esm/src/operations/systemTopics.d.ts.map +1 -0
  70. package/dist-esm/src/operations/systemTopics.js +482 -0
  71. package/dist-esm/src/operations/systemTopics.js.map +1 -0
  72. package/dist-esm/src/operations/topicTypes.d.ts +46 -0
  73. package/dist-esm/src/operations/topicTypes.d.ts.map +1 -0
  74. package/dist-esm/src/operations/topicTypes.js +175 -0
  75. package/dist-esm/src/operations/topicTypes.js.map +1 -0
  76. package/dist-esm/src/operations/topics.d.ts +150 -0
  77. package/dist-esm/src/operations/topics.d.ts.map +1 -0
  78. package/dist-esm/src/operations/topics.js +656 -0
  79. package/dist-esm/src/operations/topics.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/domainTopics.d.ts +54 -0
  81. package/dist-esm/src/operationsInterfaces/domainTopics.d.ts.map +1 -0
  82. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/domainTopics.js} +2 -8
  83. package/dist-esm/src/operationsInterfaces/domainTopics.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/domains.d.ts +86 -0
  85. package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -0
  86. package/{src/models/privateLinkResourcesMappers.ts → dist-esm/src/operationsInterfaces/domains.js} +2 -7
  87. package/dist-esm/src/operationsInterfaces/domains.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts +217 -0
  89. package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts.map +1 -0
  90. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/eventSubscriptions.js} +2 -2
  91. package/dist-esm/src/operationsInterfaces/eventSubscriptions.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts +16 -0
  93. package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/extensionTopics.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/extensionTopics.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
  97. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/index.js +19 -0
  99. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  101. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +62 -0
  105. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +23 -0
  109. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts +103 -0
  113. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/systemTopics.d.ts +71 -0
  117. package/dist-esm/src/operationsInterfaces/systemTopics.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/systemTopics.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/systemTopics.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/topicTypes.d.ts +23 -0
  121. package/dist-esm/src/operationsInterfaces/topicTypes.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/topicTypes.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/topicTypes.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/topics.d.ts +103 -0
  125. package/dist-esm/src/operationsInterfaces/topics.d.ts.map +1 -0
  126. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/topics.js} +2 -1
  127. package/dist-esm/src/operationsInterfaces/topics.js.map +1 -0
  128. package/dist-esm/test/eventgrid_examples.d.ts +4 -0
  129. package/dist-esm/test/eventgrid_examples.d.ts.map +1 -0
  130. package/dist-esm/test/eventgrid_examples.js +166 -0
  131. package/dist-esm/test/eventgrid_examples.js.map +1 -0
  132. package/package.json +65 -32
  133. package/review/arm-eventgrid.api.md +1777 -0
  134. package/rollup.config.js +181 -30
  135. package/src/eventGridManagementClient.ts +107 -53
  136. package/{esm/models/privateLinkResourcesMappers.js → src/index.ts} +5 -2
  137. package/src/lroImpl.ts +34 -0
  138. package/src/models/index.ts +1844 -3910
  139. package/src/models/mappers.ts +1261 -1339
  140. package/src/models/parameters.ts +239 -82
  141. package/src/operations/domainTopics.ts +346 -224
  142. package/src/operations/domains.ts +545 -454
  143. package/src/operations/eventSubscriptions.ts +1658 -1236
  144. package/src/operations/extensionTopics.ts +37 -66
  145. package/src/operations/index.ts +1 -2
  146. package/src/operations/operations.ts +65 -43
  147. package/src/operations/privateEndpointConnections.ts +386 -253
  148. package/src/operations/privateLinkResources.ts +178 -150
  149. package/src/operations/systemTopicEventSubscriptions.ts +537 -394
  150. package/src/operations/systemTopics.ts +505 -349
  151. package/src/operations/topicTypes.ts +138 -114
  152. package/src/operations/topics.ts +728 -494
  153. package/src/operationsInterfaces/domainTopics.ts +105 -0
  154. package/src/operationsInterfaces/domains.ts +162 -0
  155. package/src/operationsInterfaces/eventSubscriptions.ts +339 -0
  156. package/src/operationsInterfaces/extensionTopics.ts +30 -0
  157. package/src/operationsInterfaces/index.ts +19 -0
  158. package/src/operationsInterfaces/operations.ts +22 -0
  159. package/src/operationsInterfaces/privateEndpointConnections.ts +125 -0
  160. package/src/operationsInterfaces/privateLinkResources.ts +48 -0
  161. package/src/operationsInterfaces/systemTopicEventSubscriptions.ts +190 -0
  162. package/src/operationsInterfaces/systemTopics.ts +139 -0
  163. package/src/operationsInterfaces/topicTypes.ts +47 -0
  164. package/src/operationsInterfaces/topics.ts +197 -0
  165. package/tsconfig.json +3 -3
  166. package/types/arm-eventgrid.d.ts +2998 -0
  167. package/types/tsdoc-metadata.json +11 -0
  168. package/dist/arm-eventgrid.js +0 -6824
  169. package/dist/arm-eventgrid.js.map +0 -1
  170. package/dist/arm-eventgrid.min.js +0 -1
  171. package/dist/arm-eventgrid.min.js.map +0 -1
  172. package/esm/eventGridManagementClient.d.ts +0 -35
  173. package/esm/eventGridManagementClient.d.ts.map +0 -1
  174. package/esm/eventGridManagementClient.js +0 -48
  175. package/esm/eventGridManagementClient.js.map +0 -1
  176. package/esm/eventGridManagementClientContext.d.ts +0 -23
  177. package/esm/eventGridManagementClientContext.d.ts.map +0 -1
  178. package/esm/eventGridManagementClientContext.js +0 -61
  179. package/esm/eventGridManagementClientContext.js.map +0 -1
  180. package/esm/models/domainTopicsMappers.d.ts +0 -2
  181. package/esm/models/domainTopicsMappers.d.ts.map +0 -1
  182. package/esm/models/domainTopicsMappers.js +0 -9
  183. package/esm/models/domainTopicsMappers.js.map +0 -1
  184. package/esm/models/domainsMappers.d.ts +0 -2
  185. package/esm/models/domainsMappers.d.ts.map +0 -1
  186. package/esm/models/domainsMappers.js +0 -9
  187. package/esm/models/domainsMappers.js.map +0 -1
  188. package/esm/models/eventSubscriptionsMappers.d.ts +0 -2
  189. package/esm/models/eventSubscriptionsMappers.d.ts.map +0 -1
  190. package/esm/models/eventSubscriptionsMappers.js +0 -9
  191. package/esm/models/eventSubscriptionsMappers.js.map +0 -1
  192. package/esm/models/extensionTopicsMappers.d.ts +0 -2
  193. package/esm/models/extensionTopicsMappers.d.ts.map +0 -1
  194. package/esm/models/extensionTopicsMappers.js +0 -9
  195. package/esm/models/extensionTopicsMappers.js.map +0 -1
  196. package/esm/models/index.d.ts +0 -4080
  197. package/esm/models/index.d.ts.map +0 -1
  198. package/esm/models/index.js.map +0 -1
  199. package/esm/models/mappers.d.ts +0 -109
  200. package/esm/models/mappers.d.ts.map +0 -1
  201. package/esm/models/mappers.js.map +0 -1
  202. package/esm/models/operationsMappers.d.ts +0 -2
  203. package/esm/models/operationsMappers.d.ts.map +0 -1
  204. package/esm/models/operationsMappers.js.map +0 -1
  205. package/esm/models/parameters.d.ts +0 -25
  206. package/esm/models/parameters.d.ts.map +0 -1
  207. package/esm/models/parameters.js +0 -245
  208. package/esm/models/parameters.js.map +0 -1
  209. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  210. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  211. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  212. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  213. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  214. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  215. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  216. package/esm/models/systemTopicEventSubscriptionsMappers.d.ts +0 -2
  217. package/esm/models/systemTopicEventSubscriptionsMappers.d.ts.map +0 -1
  218. package/esm/models/systemTopicEventSubscriptionsMappers.js +0 -9
  219. package/esm/models/systemTopicEventSubscriptionsMappers.js.map +0 -1
  220. package/esm/models/systemTopicsMappers.d.ts +0 -2
  221. package/esm/models/systemTopicsMappers.d.ts.map +0 -1
  222. package/esm/models/systemTopicsMappers.js +0 -9
  223. package/esm/models/systemTopicsMappers.js.map +0 -1
  224. package/esm/models/topicTypesMappers.d.ts +0 -2
  225. package/esm/models/topicTypesMappers.d.ts.map +0 -1
  226. package/esm/models/topicTypesMappers.js +0 -9
  227. package/esm/models/topicTypesMappers.js.map +0 -1
  228. package/esm/models/topicsMappers.d.ts +0 -2
  229. package/esm/models/topicsMappers.d.ts.map +0 -1
  230. package/esm/models/topicsMappers.js +0 -9
  231. package/esm/models/topicsMappers.js.map +0 -1
  232. package/esm/operations/domainTopics.d.ts +0 -120
  233. package/esm/operations/domainTopics.d.ts.map +0 -1
  234. package/esm/operations/domainTopics.js +0 -233
  235. package/esm/operations/domainTopics.js.map +0 -1
  236. package/esm/operations/domains.d.ts +0 -214
  237. package/esm/operations/domains.d.ts.map +0 -1
  238. package/esm/operations/domains.js +0 -415
  239. package/esm/operations/domains.js.map +0 -1
  240. package/esm/operations/eventSubscriptions.d.ts +0 -666
  241. package/esm/operations/eventSubscriptions.d.ts.map +0 -1
  242. package/esm/operations/eventSubscriptions.js +0 -969
  243. package/esm/operations/eventSubscriptions.js.map +0 -1
  244. package/esm/operations/extensionTopics.d.ts +0 -47
  245. package/esm/operations/extensionTopics.d.ts.map +0 -1
  246. package/esm/operations/extensionTopics.js +0 -54
  247. package/esm/operations/extensionTopics.js.map +0 -1
  248. package/esm/operations/index.d.ts.map +0 -1
  249. package/esm/operations/index.js.map +0 -1
  250. package/esm/operations/operations.d.ts +0 -29
  251. package/esm/operations/operations.d.ts.map +0 -1
  252. package/esm/operations/operations.js +0 -50
  253. package/esm/operations/operations.js.map +0 -1
  254. package/esm/operations/privateEndpointConnections.d.ts +0 -152
  255. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  256. package/esm/operations/privateEndpointConnections.js +0 -263
  257. package/esm/operations/privateEndpointConnections.js.map +0 -1
  258. package/esm/operations/privateLinkResources.d.ts +0 -91
  259. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  260. package/esm/operations/privateLinkResources.js +0 -127
  261. package/esm/operations/privateLinkResources.js.map +0 -1
  262. package/esm/operations/systemTopicEventSubscriptions.d.ts +0 -213
  263. package/esm/operations/systemTopicEventSubscriptions.d.ts.map +0 -1
  264. package/esm/operations/systemTopicEventSubscriptions.js +0 -379
  265. package/esm/operations/systemTopicEventSubscriptions.js.map +0 -1
  266. package/esm/operations/systemTopics.d.ts +0 -167
  267. package/esm/operations/systemTopics.d.ts.map +0 -1
  268. package/esm/operations/systemTopics.js +0 -353
  269. package/esm/operations/systemTopics.js.map +0 -1
  270. package/esm/operations/topicTypes.d.ts +0 -67
  271. package/esm/operations/topicTypes.d.ts.map +0 -1
  272. package/esm/operations/topicTypes.js +0 -106
  273. package/esm/operations/topicTypes.js.map +0 -1
  274. package/esm/operations/topics.d.ts +0 -237
  275. package/esm/operations/topics.d.ts.map +0 -1
  276. package/esm/operations/topics.js +0 -471
  277. package/esm/operations/topics.js.map +0 -1
  278. package/src/eventGridManagementClientContext.ts +0 -68
  279. package/src/models/domainTopicsMappers.ts +0 -66
  280. package/src/models/domainsMappers.ts +0 -69
  281. package/src/models/eventSubscriptionsMappers.ts +0 -69
  282. package/src/models/extensionTopicsMappers.ts +0 -65
  283. package/src/models/privateEndpointConnectionsMappers.ts +0 -66
  284. package/src/models/systemTopicEventSubscriptionsMappers.ts +0 -69
  285. package/src/models/systemTopicsMappers.ts +0 -67
  286. package/src/models/topicTypesMappers.ts +0 -67
  287. package/src/models/topicsMappers.ts +0 -70
@@ -0,0 +1,105 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ DomainTopic,
13
+ DomainTopicsListByDomainOptionalParams,
14
+ DomainTopicsGetOptionalParams,
15
+ DomainTopicsGetResponse,
16
+ DomainTopicsCreateOrUpdateOptionalParams,
17
+ DomainTopicsCreateOrUpdateResponse,
18
+ DomainTopicsDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a DomainTopics. */
23
+ export interface DomainTopics {
24
+ /**
25
+ * List all the topics in a domain.
26
+ * @param resourceGroupName The name of the resource group within the user's subscription.
27
+ * @param domainName Domain name.
28
+ * @param options The options parameters.
29
+ */
30
+ listByDomain(
31
+ resourceGroupName: string,
32
+ domainName: string,
33
+ options?: DomainTopicsListByDomainOptionalParams
34
+ ): PagedAsyncIterableIterator<DomainTopic>;
35
+ /**
36
+ * Get properties of a domain topic.
37
+ * @param resourceGroupName The name of the resource group within the user's subscription.
38
+ * @param domainName Name of the domain.
39
+ * @param domainTopicName Name of the topic.
40
+ * @param options The options parameters.
41
+ */
42
+ get(
43
+ resourceGroupName: string,
44
+ domainName: string,
45
+ domainTopicName: string,
46
+ options?: DomainTopicsGetOptionalParams
47
+ ): Promise<DomainTopicsGetResponse>;
48
+ /**
49
+ * Asynchronously creates or updates a new domain topic with the specified parameters.
50
+ * @param resourceGroupName The name of the resource group within the user's subscription.
51
+ * @param domainName Name of the domain.
52
+ * @param domainTopicName Name of the domain topic.
53
+ * @param options The options parameters.
54
+ */
55
+ beginCreateOrUpdate(
56
+ resourceGroupName: string,
57
+ domainName: string,
58
+ domainTopicName: string,
59
+ options?: DomainTopicsCreateOrUpdateOptionalParams
60
+ ): Promise<
61
+ PollerLike<
62
+ PollOperationState<DomainTopicsCreateOrUpdateResponse>,
63
+ DomainTopicsCreateOrUpdateResponse
64
+ >
65
+ >;
66
+ /**
67
+ * Asynchronously creates or updates a new domain topic with the specified parameters.
68
+ * @param resourceGroupName The name of the resource group within the user's subscription.
69
+ * @param domainName Name of the domain.
70
+ * @param domainTopicName Name of the domain topic.
71
+ * @param options The options parameters.
72
+ */
73
+ beginCreateOrUpdateAndWait(
74
+ resourceGroupName: string,
75
+ domainName: string,
76
+ domainTopicName: string,
77
+ options?: DomainTopicsCreateOrUpdateOptionalParams
78
+ ): Promise<DomainTopicsCreateOrUpdateResponse>;
79
+ /**
80
+ * Delete existing domain topic.
81
+ * @param resourceGroupName The name of the resource group within the user's subscription.
82
+ * @param domainName Name of the domain.
83
+ * @param domainTopicName Name of the domain topic.
84
+ * @param options The options parameters.
85
+ */
86
+ beginDelete(
87
+ resourceGroupName: string,
88
+ domainName: string,
89
+ domainTopicName: string,
90
+ options?: DomainTopicsDeleteOptionalParams
91
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
92
+ /**
93
+ * Delete existing domain topic.
94
+ * @param resourceGroupName The name of the resource group within the user's subscription.
95
+ * @param domainName Name of the domain.
96
+ * @param domainTopicName Name of the domain topic.
97
+ * @param options The options parameters.
98
+ */
99
+ beginDeleteAndWait(
100
+ resourceGroupName: string,
101
+ domainName: string,
102
+ domainTopicName: string,
103
+ options?: DomainTopicsDeleteOptionalParams
104
+ ): Promise<void>;
105
+ }
@@ -0,0 +1,162 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ Domain,
13
+ DomainsListBySubscriptionOptionalParams,
14
+ DomainsListByResourceGroupOptionalParams,
15
+ DomainsGetOptionalParams,
16
+ DomainsGetResponse,
17
+ DomainsCreateOrUpdateOptionalParams,
18
+ DomainsCreateOrUpdateResponse,
19
+ DomainsDeleteOptionalParams,
20
+ DomainUpdateParameters,
21
+ DomainsUpdateOptionalParams,
22
+ DomainsListSharedAccessKeysOptionalParams,
23
+ DomainsListSharedAccessKeysResponse,
24
+ DomainRegenerateKeyRequest,
25
+ DomainsRegenerateKeyOptionalParams,
26
+ DomainsRegenerateKeyResponse
27
+ } from "../models";
28
+
29
+ /// <reference lib="esnext.asynciterable" />
30
+ /** Interface representing a Domains. */
31
+ export interface Domains {
32
+ /**
33
+ * List all the domains under an Azure subscription.
34
+ * @param options The options parameters.
35
+ */
36
+ listBySubscription(
37
+ options?: DomainsListBySubscriptionOptionalParams
38
+ ): PagedAsyncIterableIterator<Domain>;
39
+ /**
40
+ * List all the domains under a resource group.
41
+ * @param resourceGroupName The name of the resource group within the user's subscription.
42
+ * @param options The options parameters.
43
+ */
44
+ listByResourceGroup(
45
+ resourceGroupName: string,
46
+ options?: DomainsListByResourceGroupOptionalParams
47
+ ): PagedAsyncIterableIterator<Domain>;
48
+ /**
49
+ * Get properties of a domain.
50
+ * @param resourceGroupName The name of the resource group within the user's subscription.
51
+ * @param domainName Name of the domain.
52
+ * @param options The options parameters.
53
+ */
54
+ get(
55
+ resourceGroupName: string,
56
+ domainName: string,
57
+ options?: DomainsGetOptionalParams
58
+ ): Promise<DomainsGetResponse>;
59
+ /**
60
+ * Asynchronously creates or updates a new domain with the specified parameters.
61
+ * @param resourceGroupName The name of the resource group within the user's subscription.
62
+ * @param domainName Name of the domain.
63
+ * @param domainInfo Domain information.
64
+ * @param options The options parameters.
65
+ */
66
+ beginCreateOrUpdate(
67
+ resourceGroupName: string,
68
+ domainName: string,
69
+ domainInfo: Domain,
70
+ options?: DomainsCreateOrUpdateOptionalParams
71
+ ): Promise<
72
+ PollerLike<
73
+ PollOperationState<DomainsCreateOrUpdateResponse>,
74
+ DomainsCreateOrUpdateResponse
75
+ >
76
+ >;
77
+ /**
78
+ * Asynchronously creates or updates a new domain with the specified parameters.
79
+ * @param resourceGroupName The name of the resource group within the user's subscription.
80
+ * @param domainName Name of the domain.
81
+ * @param domainInfo Domain information.
82
+ * @param options The options parameters.
83
+ */
84
+ beginCreateOrUpdateAndWait(
85
+ resourceGroupName: string,
86
+ domainName: string,
87
+ domainInfo: Domain,
88
+ options?: DomainsCreateOrUpdateOptionalParams
89
+ ): Promise<DomainsCreateOrUpdateResponse>;
90
+ /**
91
+ * Delete existing domain.
92
+ * @param resourceGroupName The name of the resource group within the user's subscription.
93
+ * @param domainName Name of the domain.
94
+ * @param options The options parameters.
95
+ */
96
+ beginDelete(
97
+ resourceGroupName: string,
98
+ domainName: string,
99
+ options?: DomainsDeleteOptionalParams
100
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
101
+ /**
102
+ * Delete existing domain.
103
+ * @param resourceGroupName The name of the resource group within the user's subscription.
104
+ * @param domainName Name of the domain.
105
+ * @param options The options parameters.
106
+ */
107
+ beginDeleteAndWait(
108
+ resourceGroupName: string,
109
+ domainName: string,
110
+ options?: DomainsDeleteOptionalParams
111
+ ): Promise<void>;
112
+ /**
113
+ * Asynchronously updates a domain with the specified parameters.
114
+ * @param resourceGroupName The name of the resource group within the user's subscription.
115
+ * @param domainName Name of the domain.
116
+ * @param domainUpdateParameters Domain update information.
117
+ * @param options The options parameters.
118
+ */
119
+ beginUpdate(
120
+ resourceGroupName: string,
121
+ domainName: string,
122
+ domainUpdateParameters: DomainUpdateParameters,
123
+ options?: DomainsUpdateOptionalParams
124
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
125
+ /**
126
+ * Asynchronously updates a domain with the specified parameters.
127
+ * @param resourceGroupName The name of the resource group within the user's subscription.
128
+ * @param domainName Name of the domain.
129
+ * @param domainUpdateParameters Domain update information.
130
+ * @param options The options parameters.
131
+ */
132
+ beginUpdateAndWait(
133
+ resourceGroupName: string,
134
+ domainName: string,
135
+ domainUpdateParameters: DomainUpdateParameters,
136
+ options?: DomainsUpdateOptionalParams
137
+ ): Promise<void>;
138
+ /**
139
+ * List the two keys used to publish to a domain.
140
+ * @param resourceGroupName The name of the resource group within the user's subscription.
141
+ * @param domainName Name of the domain.
142
+ * @param options The options parameters.
143
+ */
144
+ listSharedAccessKeys(
145
+ resourceGroupName: string,
146
+ domainName: string,
147
+ options?: DomainsListSharedAccessKeysOptionalParams
148
+ ): Promise<DomainsListSharedAccessKeysResponse>;
149
+ /**
150
+ * Regenerate a shared access key for a domain.
151
+ * @param resourceGroupName The name of the resource group within the user's subscription.
152
+ * @param domainName Name of the domain.
153
+ * @param regenerateKeyRequest Request body to regenerate key.
154
+ * @param options The options parameters.
155
+ */
156
+ regenerateKey(
157
+ resourceGroupName: string,
158
+ domainName: string,
159
+ regenerateKeyRequest: DomainRegenerateKeyRequest,
160
+ options?: DomainsRegenerateKeyOptionalParams
161
+ ): Promise<DomainsRegenerateKeyResponse>;
162
+ }
@@ -0,0 +1,339 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ EventSubscription,
13
+ EventSubscriptionsListGlobalBySubscriptionOptionalParams,
14
+ EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,
15
+ EventSubscriptionsListGlobalByResourceGroupOptionalParams,
16
+ EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,
17
+ EventSubscriptionsListRegionalBySubscriptionOptionalParams,
18
+ EventSubscriptionsListRegionalByResourceGroupOptionalParams,
19
+ EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,
20
+ EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,
21
+ EventSubscriptionsListByResourceOptionalParams,
22
+ EventSubscriptionsListByDomainTopicOptionalParams,
23
+ EventSubscriptionsGetOptionalParams,
24
+ EventSubscriptionsGetResponse,
25
+ EventSubscriptionsCreateOrUpdateOptionalParams,
26
+ EventSubscriptionsCreateOrUpdateResponse,
27
+ EventSubscriptionsDeleteOptionalParams,
28
+ EventSubscriptionUpdateParameters,
29
+ EventSubscriptionsUpdateOptionalParams,
30
+ EventSubscriptionsUpdateResponse,
31
+ EventSubscriptionsGetFullUrlOptionalParams,
32
+ EventSubscriptionsGetFullUrlResponse,
33
+ EventSubscriptionsGetDeliveryAttributesOptionalParams,
34
+ EventSubscriptionsGetDeliveryAttributesResponse
35
+ } from "../models";
36
+
37
+ /// <reference lib="esnext.asynciterable" />
38
+ /** Interface representing a EventSubscriptions. */
39
+ export interface EventSubscriptions {
40
+ /**
41
+ * List all aggregated global event subscriptions under a specific Azure subscription.
42
+ * @param options The options parameters.
43
+ */
44
+ listGlobalBySubscription(
45
+ options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams
46
+ ): PagedAsyncIterableIterator<EventSubscription>;
47
+ /**
48
+ * List all global event subscriptions under an Azure subscription for a topic type.
49
+ * @param topicTypeName Name of the topic type.
50
+ * @param options The options parameters.
51
+ */
52
+ listGlobalBySubscriptionForTopicType(
53
+ topicTypeName: string,
54
+ options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams
55
+ ): PagedAsyncIterableIterator<EventSubscription>;
56
+ /**
57
+ * List all global event subscriptions under a specific Azure subscription and resource group.
58
+ * @param resourceGroupName The name of the resource group within the user's subscription.
59
+ * @param options The options parameters.
60
+ */
61
+ listGlobalByResourceGroup(
62
+ resourceGroupName: string,
63
+ options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams
64
+ ): PagedAsyncIterableIterator<EventSubscription>;
65
+ /**
66
+ * List all global event subscriptions under a resource group for a specific topic type.
67
+ * @param resourceGroupName The name of the resource group within the user's subscription.
68
+ * @param topicTypeName Name of the topic type.
69
+ * @param options The options parameters.
70
+ */
71
+ listGlobalByResourceGroupForTopicType(
72
+ resourceGroupName: string,
73
+ topicTypeName: string,
74
+ options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams
75
+ ): PagedAsyncIterableIterator<EventSubscription>;
76
+ /**
77
+ * List all event subscriptions from the given location under a specific Azure subscription.
78
+ * @param location Name of the location.
79
+ * @param options The options parameters.
80
+ */
81
+ listRegionalBySubscription(
82
+ location: string,
83
+ options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams
84
+ ): PagedAsyncIterableIterator<EventSubscription>;
85
+ /**
86
+ * List all event subscriptions from the given location under a specific Azure subscription and
87
+ * resource group.
88
+ * @param resourceGroupName The name of the resource group within the user's subscription.
89
+ * @param location Name of the location.
90
+ * @param options The options parameters.
91
+ */
92
+ listRegionalByResourceGroup(
93
+ resourceGroupName: string,
94
+ location: string,
95
+ options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams
96
+ ): PagedAsyncIterableIterator<EventSubscription>;
97
+ /**
98
+ * List all event subscriptions from the given location under a specific Azure subscription and topic
99
+ * type.
100
+ * @param location Name of the location.
101
+ * @param topicTypeName Name of the topic type.
102
+ * @param options The options parameters.
103
+ */
104
+ listRegionalBySubscriptionForTopicType(
105
+ location: string,
106
+ topicTypeName: string,
107
+ options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams
108
+ ): PagedAsyncIterableIterator<EventSubscription>;
109
+ /**
110
+ * List all event subscriptions from the given location under a specific Azure subscription and
111
+ * resource group and topic type.
112
+ * @param resourceGroupName The name of the resource group within the user's subscription.
113
+ * @param location Name of the location.
114
+ * @param topicTypeName Name of the topic type.
115
+ * @param options The options parameters.
116
+ */
117
+ listRegionalByResourceGroupForTopicType(
118
+ resourceGroupName: string,
119
+ location: string,
120
+ topicTypeName: string,
121
+ options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams
122
+ ): PagedAsyncIterableIterator<EventSubscription>;
123
+ /**
124
+ * List all event subscriptions that have been created for a specific topic.
125
+ * @param resourceGroupName The name of the resource group within the user's subscription.
126
+ * @param providerNamespace Namespace of the provider of the topic.
127
+ * @param resourceTypeName Name of the resource type.
128
+ * @param resourceName Name of the resource.
129
+ * @param options The options parameters.
130
+ */
131
+ listByResource(
132
+ resourceGroupName: string,
133
+ providerNamespace: string,
134
+ resourceTypeName: string,
135
+ resourceName: string,
136
+ options?: EventSubscriptionsListByResourceOptionalParams
137
+ ): PagedAsyncIterableIterator<EventSubscription>;
138
+ /**
139
+ * List all event subscriptions that have been created for a specific domain topic.
140
+ * @param resourceGroupName The name of the resource group within the user's subscription.
141
+ * @param domainName Name of the top level domain.
142
+ * @param topicName Name of the domain topic.
143
+ * @param options The options parameters.
144
+ */
145
+ listByDomainTopic(
146
+ resourceGroupName: string,
147
+ domainName: string,
148
+ topicName: string,
149
+ options?: EventSubscriptionsListByDomainTopicOptionalParams
150
+ ): PagedAsyncIterableIterator<EventSubscription>;
151
+ /**
152
+ * Get properties of an event subscription.
153
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
154
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
155
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
156
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
157
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
158
+ * for a resource, and
159
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
160
+ * for an EventGrid topic.
161
+ * @param eventSubscriptionName Name of the event subscription.
162
+ * @param options The options parameters.
163
+ */
164
+ get(
165
+ scope: string,
166
+ eventSubscriptionName: string,
167
+ options?: EventSubscriptionsGetOptionalParams
168
+ ): Promise<EventSubscriptionsGetResponse>;
169
+ /**
170
+ * Asynchronously creates a new event subscription or updates an existing event subscription based on
171
+ * the specified scope.
172
+ * @param scope The identifier of the resource to which the event subscription needs to be created or
173
+ * updated. The scope can be a subscription, or a resource group, or a top level resource belonging to
174
+ * a resource provider namespace, or an EventGrid topic. For example, use
175
+ * '/subscriptions/{subscriptionId}/' for a subscription,
176
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
177
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
178
+ * for a resource, and
179
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
180
+ * for an EventGrid topic.
181
+ * @param eventSubscriptionName Name of the event subscription. Event subscription names must be
182
+ * between 3 and 64 characters in length and should use alphanumeric letters only.
183
+ * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
184
+ * information.
185
+ * @param options The options parameters.
186
+ */
187
+ beginCreateOrUpdate(
188
+ scope: string,
189
+ eventSubscriptionName: string,
190
+ eventSubscriptionInfo: EventSubscription,
191
+ options?: EventSubscriptionsCreateOrUpdateOptionalParams
192
+ ): Promise<
193
+ PollerLike<
194
+ PollOperationState<EventSubscriptionsCreateOrUpdateResponse>,
195
+ EventSubscriptionsCreateOrUpdateResponse
196
+ >
197
+ >;
198
+ /**
199
+ * Asynchronously creates a new event subscription or updates an existing event subscription based on
200
+ * the specified scope.
201
+ * @param scope The identifier of the resource to which the event subscription needs to be created or
202
+ * updated. The scope can be a subscription, or a resource group, or a top level resource belonging to
203
+ * a resource provider namespace, or an EventGrid topic. For example, use
204
+ * '/subscriptions/{subscriptionId}/' for a subscription,
205
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
206
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
207
+ * for a resource, and
208
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
209
+ * for an EventGrid topic.
210
+ * @param eventSubscriptionName Name of the event subscription. Event subscription names must be
211
+ * between 3 and 64 characters in length and should use alphanumeric letters only.
212
+ * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
213
+ * information.
214
+ * @param options The options parameters.
215
+ */
216
+ beginCreateOrUpdateAndWait(
217
+ scope: string,
218
+ eventSubscriptionName: string,
219
+ eventSubscriptionInfo: EventSubscription,
220
+ options?: EventSubscriptionsCreateOrUpdateOptionalParams
221
+ ): Promise<EventSubscriptionsCreateOrUpdateResponse>;
222
+ /**
223
+ * Delete an existing event subscription.
224
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
225
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
226
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
227
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
228
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
229
+ * for a resource, and
230
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
231
+ * for an EventGrid topic.
232
+ * @param eventSubscriptionName Name of the event subscription.
233
+ * @param options The options parameters.
234
+ */
235
+ beginDelete(
236
+ scope: string,
237
+ eventSubscriptionName: string,
238
+ options?: EventSubscriptionsDeleteOptionalParams
239
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
240
+ /**
241
+ * Delete an existing event subscription.
242
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
243
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
244
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
245
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
246
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
247
+ * for a resource, and
248
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
249
+ * for an EventGrid topic.
250
+ * @param eventSubscriptionName Name of the event subscription.
251
+ * @param options The options parameters.
252
+ */
253
+ beginDeleteAndWait(
254
+ scope: string,
255
+ eventSubscriptionName: string,
256
+ options?: EventSubscriptionsDeleteOptionalParams
257
+ ): Promise<void>;
258
+ /**
259
+ * Asynchronously updates an existing event subscription.
260
+ * @param scope The scope of existing event subscription. The scope can be a subscription, or a
261
+ * resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid
262
+ * topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
263
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
264
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
265
+ * for a resource, and
266
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
267
+ * for an EventGrid topic.
268
+ * @param eventSubscriptionName Name of the event subscription to be updated.
269
+ * @param eventSubscriptionUpdateParameters Updated event subscription information.
270
+ * @param options The options parameters.
271
+ */
272
+ beginUpdate(
273
+ scope: string,
274
+ eventSubscriptionName: string,
275
+ eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
276
+ options?: EventSubscriptionsUpdateOptionalParams
277
+ ): Promise<
278
+ PollerLike<
279
+ PollOperationState<EventSubscriptionsUpdateResponse>,
280
+ EventSubscriptionsUpdateResponse
281
+ >
282
+ >;
283
+ /**
284
+ * Asynchronously updates an existing event subscription.
285
+ * @param scope The scope of existing event subscription. The scope can be a subscription, or a
286
+ * resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid
287
+ * topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
288
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
289
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
290
+ * for a resource, and
291
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
292
+ * for an EventGrid topic.
293
+ * @param eventSubscriptionName Name of the event subscription to be updated.
294
+ * @param eventSubscriptionUpdateParameters Updated event subscription information.
295
+ * @param options The options parameters.
296
+ */
297
+ beginUpdateAndWait(
298
+ scope: string,
299
+ eventSubscriptionName: string,
300
+ eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
301
+ options?: EventSubscriptionsUpdateOptionalParams
302
+ ): Promise<EventSubscriptionsUpdateResponse>;
303
+ /**
304
+ * Get the full endpoint URL for an event subscription.
305
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
306
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
307
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
308
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
309
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
310
+ * for a resource, and
311
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
312
+ * for an EventGrid topic.
313
+ * @param eventSubscriptionName Name of the event subscription.
314
+ * @param options The options parameters.
315
+ */
316
+ getFullUrl(
317
+ scope: string,
318
+ eventSubscriptionName: string,
319
+ options?: EventSubscriptionsGetFullUrlOptionalParams
320
+ ): Promise<EventSubscriptionsGetFullUrlResponse>;
321
+ /**
322
+ * Get all delivery attributes for an event subscription.
323
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
324
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
325
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
326
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
327
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
328
+ * for a resource, and
329
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
330
+ * for an EventGrid topic.
331
+ * @param eventSubscriptionName Name of the event subscription.
332
+ * @param options The options parameters.
333
+ */
334
+ getDeliveryAttributes(
335
+ scope: string,
336
+ eventSubscriptionName: string,
337
+ options?: EventSubscriptionsGetDeliveryAttributesOptionalParams
338
+ ): Promise<EventSubscriptionsGetDeliveryAttributesResponse>;
339
+ }
@@ -0,0 +1,30 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ ExtensionTopicsGetOptionalParams,
11
+ ExtensionTopicsGetResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a ExtensionTopics. */
15
+ export interface ExtensionTopics {
16
+ /**
17
+ * Get the properties of an extension topic.
18
+ * @param scope The identifier of the resource to which extension topic is queried. The scope can be a
19
+ * subscription, or a resource group, or a top level resource belonging to a resource provider
20
+ * namespace. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
21
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
22
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
23
+ * for Azure resource.
24
+ * @param options The options parameters.
25
+ */
26
+ get(
27
+ scope: string,
28
+ options?: ExtensionTopicsGetOptionalParams
29
+ ): Promise<ExtensionTopicsGetResponse>;
30
+ }
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export * from "./domains";
10
+ export * from "./domainTopics";
11
+ export * from "./eventSubscriptions";
12
+ export * from "./systemTopicEventSubscriptions";
13
+ export * from "./operations";
14
+ export * from "./topics";
15
+ export * from "./privateEndpointConnections";
16
+ export * from "./privateLinkResources";
17
+ export * from "./systemTopics";
18
+ export * from "./extensionTopics";
19
+ export * from "./topicTypes";
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Operation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * List the available operations supported by the Microsoft.EventGrid resource provider.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }