@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,125 @@
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
+ PrivateEndpointConnection,
13
+ Enum21,
14
+ PrivateEndpointConnectionsListByResourceOptionalParams,
15
+ Enum18,
16
+ PrivateEndpointConnectionsGetOptionalParams,
17
+ PrivateEndpointConnectionsGetResponse,
18
+ Enum19,
19
+ PrivateEndpointConnectionsUpdateOptionalParams,
20
+ PrivateEndpointConnectionsUpdateResponse,
21
+ Enum20,
22
+ PrivateEndpointConnectionsDeleteOptionalParams
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a PrivateEndpointConnections. */
27
+ export interface PrivateEndpointConnections {
28
+ /**
29
+ * Get all private endpoint connections under a topic or domain.
30
+ * @param resourceGroupName The name of the resource group within the user's subscription.
31
+ * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
32
+ * @param parentName The name of the parent resource (namely, either, the topic name or domain name).
33
+ * @param options The options parameters.
34
+ */
35
+ listByResource(
36
+ resourceGroupName: string,
37
+ parentType: Enum21,
38
+ parentName: string,
39
+ options?: PrivateEndpointConnectionsListByResourceOptionalParams
40
+ ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
41
+ /**
42
+ * Get a specific private endpoint connection under a topic or domain.
43
+ * @param resourceGroupName The name of the resource group within the user's subscription.
44
+ * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
45
+ * @param parentName The name of the parent resource (namely, either, the topic name or domain name).
46
+ * @param privateEndpointConnectionName The name of the private endpoint connection connection.
47
+ * @param options The options parameters.
48
+ */
49
+ get(
50
+ resourceGroupName: string,
51
+ parentType: Enum18,
52
+ parentName: string,
53
+ privateEndpointConnectionName: string,
54
+ options?: PrivateEndpointConnectionsGetOptionalParams
55
+ ): Promise<PrivateEndpointConnectionsGetResponse>;
56
+ /**
57
+ * Update a specific private endpoint connection under a topic or domain.
58
+ * @param resourceGroupName The name of the resource group within the user's subscription.
59
+ * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
60
+ * @param parentName The name of the parent resource (namely, either, the topic name or domain name).
61
+ * @param privateEndpointConnectionName The name of the private endpoint connection connection.
62
+ * @param privateEndpointConnection The private endpoint connection object to update.
63
+ * @param options The options parameters.
64
+ */
65
+ beginUpdate(
66
+ resourceGroupName: string,
67
+ parentType: Enum19,
68
+ parentName: string,
69
+ privateEndpointConnectionName: string,
70
+ privateEndpointConnection: PrivateEndpointConnection,
71
+ options?: PrivateEndpointConnectionsUpdateOptionalParams
72
+ ): Promise<
73
+ PollerLike<
74
+ PollOperationState<PrivateEndpointConnectionsUpdateResponse>,
75
+ PrivateEndpointConnectionsUpdateResponse
76
+ >
77
+ >;
78
+ /**
79
+ * Update a specific private endpoint connection under a topic or domain.
80
+ * @param resourceGroupName The name of the resource group within the user's subscription.
81
+ * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
82
+ * @param parentName The name of the parent resource (namely, either, the topic name or domain name).
83
+ * @param privateEndpointConnectionName The name of the private endpoint connection connection.
84
+ * @param privateEndpointConnection The private endpoint connection object to update.
85
+ * @param options The options parameters.
86
+ */
87
+ beginUpdateAndWait(
88
+ resourceGroupName: string,
89
+ parentType: Enum19,
90
+ parentName: string,
91
+ privateEndpointConnectionName: string,
92
+ privateEndpointConnection: PrivateEndpointConnection,
93
+ options?: PrivateEndpointConnectionsUpdateOptionalParams
94
+ ): Promise<PrivateEndpointConnectionsUpdateResponse>;
95
+ /**
96
+ * Delete a specific private endpoint connection under a topic or domain.
97
+ * @param resourceGroupName The name of the resource group within the user's subscription.
98
+ * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
99
+ * @param parentName The name of the parent resource (namely, either, the topic name or domain name).
100
+ * @param privateEndpointConnectionName The name of the private endpoint connection connection.
101
+ * @param options The options parameters.
102
+ */
103
+ beginDelete(
104
+ resourceGroupName: string,
105
+ parentType: Enum20,
106
+ parentName: string,
107
+ privateEndpointConnectionName: string,
108
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
109
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
110
+ /**
111
+ * Delete a specific private endpoint connection under a topic or domain.
112
+ * @param resourceGroupName The name of the resource group within the user's subscription.
113
+ * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
114
+ * @param parentName The name of the parent resource (namely, either, the topic name or domain name).
115
+ * @param privateEndpointConnectionName The name of the private endpoint connection connection.
116
+ * @param options The options parameters.
117
+ */
118
+ beginDeleteAndWait(
119
+ resourceGroupName: string,
120
+ parentType: Enum20,
121
+ parentName: string,
122
+ privateEndpointConnectionName: string,
123
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
124
+ ): Promise<void>;
125
+ }
@@ -0,0 +1,48 @@
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 {
11
+ PrivateLinkResource,
12
+ PrivateLinkResourcesListByResourceOptionalParams,
13
+ PrivateLinkResourcesGetOptionalParams,
14
+ PrivateLinkResourcesGetResponse
15
+ } from "../models";
16
+
17
+ /// <reference lib="esnext.asynciterable" />
18
+ /** Interface representing a PrivateLinkResources. */
19
+ export interface PrivateLinkResources {
20
+ /**
21
+ * List all the private link resources under a topic or domain.
22
+ * @param resourceGroupName The name of the resource group within the user's subscription.
23
+ * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
24
+ * @param parentName The name of the parent resource (namely, either, the topic name or domain name).
25
+ * @param options The options parameters.
26
+ */
27
+ listByResource(
28
+ resourceGroupName: string,
29
+ parentType: string,
30
+ parentName: string,
31
+ options?: PrivateLinkResourcesListByResourceOptionalParams
32
+ ): PagedAsyncIterableIterator<PrivateLinkResource>;
33
+ /**
34
+ * Get properties of a private link resource.
35
+ * @param resourceGroupName The name of the resource group within the user's subscription.
36
+ * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'.
37
+ * @param parentName The name of the parent resource (namely, either, the topic name or domain name).
38
+ * @param privateLinkResourceName The name of private link resource.
39
+ * @param options The options parameters.
40
+ */
41
+ get(
42
+ resourceGroupName: string,
43
+ parentType: string,
44
+ parentName: string,
45
+ privateLinkResourceName: string,
46
+ options?: PrivateLinkResourcesGetOptionalParams
47
+ ): Promise<PrivateLinkResourcesGetResponse>;
48
+ }
@@ -0,0 +1,190 @@
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
+ SystemTopicEventSubscriptionsListBySystemTopicOptionalParams,
14
+ SystemTopicEventSubscriptionsGetOptionalParams,
15
+ SystemTopicEventSubscriptionsGetResponse,
16
+ SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams,
17
+ SystemTopicEventSubscriptionsCreateOrUpdateResponse,
18
+ SystemTopicEventSubscriptionsDeleteOptionalParams,
19
+ EventSubscriptionUpdateParameters,
20
+ SystemTopicEventSubscriptionsUpdateOptionalParams,
21
+ SystemTopicEventSubscriptionsUpdateResponse,
22
+ SystemTopicEventSubscriptionsGetFullUrlOptionalParams,
23
+ SystemTopicEventSubscriptionsGetFullUrlResponse,
24
+ SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,
25
+ SystemTopicEventSubscriptionsGetDeliveryAttributesResponse
26
+ } from "../models";
27
+
28
+ /// <reference lib="esnext.asynciterable" />
29
+ /** Interface representing a SystemTopicEventSubscriptions. */
30
+ export interface SystemTopicEventSubscriptions {
31
+ /**
32
+ * List event subscriptions that belong to a specific system topic.
33
+ * @param resourceGroupName The name of the resource group within the user's subscription.
34
+ * @param systemTopicName Name of the system topic.
35
+ * @param options The options parameters.
36
+ */
37
+ listBySystemTopic(
38
+ resourceGroupName: string,
39
+ systemTopicName: string,
40
+ options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams
41
+ ): PagedAsyncIterableIterator<EventSubscription>;
42
+ /**
43
+ * Get an event subscription.
44
+ * @param resourceGroupName The name of the resource group within the user's subscription.
45
+ * @param systemTopicName Name of the system topic.
46
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
47
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
48
+ * @param options The options parameters.
49
+ */
50
+ get(
51
+ resourceGroupName: string,
52
+ systemTopicName: string,
53
+ eventSubscriptionName: string,
54
+ options?: SystemTopicEventSubscriptionsGetOptionalParams
55
+ ): Promise<SystemTopicEventSubscriptionsGetResponse>;
56
+ /**
57
+ * Asynchronously creates or updates an event subscription with the specified parameters. Existing
58
+ * event subscriptions will be updated with this API.
59
+ * @param resourceGroupName The name of the resource group within the user's subscription.
60
+ * @param systemTopicName Name of the system topic.
61
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
62
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
63
+ * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
64
+ * information.
65
+ * @param options The options parameters.
66
+ */
67
+ beginCreateOrUpdate(
68
+ resourceGroupName: string,
69
+ systemTopicName: string,
70
+ eventSubscriptionName: string,
71
+ eventSubscriptionInfo: EventSubscription,
72
+ options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams
73
+ ): Promise<
74
+ PollerLike<
75
+ PollOperationState<SystemTopicEventSubscriptionsCreateOrUpdateResponse>,
76
+ SystemTopicEventSubscriptionsCreateOrUpdateResponse
77
+ >
78
+ >;
79
+ /**
80
+ * Asynchronously creates or updates an event subscription with the specified parameters. Existing
81
+ * event subscriptions will be updated with this API.
82
+ * @param resourceGroupName The name of the resource group within the user's subscription.
83
+ * @param systemTopicName Name of the system topic.
84
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
85
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
86
+ * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
87
+ * information.
88
+ * @param options The options parameters.
89
+ */
90
+ beginCreateOrUpdateAndWait(
91
+ resourceGroupName: string,
92
+ systemTopicName: string,
93
+ eventSubscriptionName: string,
94
+ eventSubscriptionInfo: EventSubscription,
95
+ options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams
96
+ ): Promise<SystemTopicEventSubscriptionsCreateOrUpdateResponse>;
97
+ /**
98
+ * Delete an event subscription of a system topic.
99
+ * @param resourceGroupName The name of the resource group within the user's subscription.
100
+ * @param systemTopicName Name of the system topic.
101
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
102
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
103
+ * @param options The options parameters.
104
+ */
105
+ beginDelete(
106
+ resourceGroupName: string,
107
+ systemTopicName: string,
108
+ eventSubscriptionName: string,
109
+ options?: SystemTopicEventSubscriptionsDeleteOptionalParams
110
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
111
+ /**
112
+ * Delete an event subscription of a system topic.
113
+ * @param resourceGroupName The name of the resource group within the user's subscription.
114
+ * @param systemTopicName Name of the system topic.
115
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
116
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
117
+ * @param options The options parameters.
118
+ */
119
+ beginDeleteAndWait(
120
+ resourceGroupName: string,
121
+ systemTopicName: string,
122
+ eventSubscriptionName: string,
123
+ options?: SystemTopicEventSubscriptionsDeleteOptionalParams
124
+ ): Promise<void>;
125
+ /**
126
+ * Update event subscription of a system topic.
127
+ * @param resourceGroupName The name of the resource group within the user's subscription.
128
+ * @param systemTopicName Name of the system topic.
129
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
130
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
131
+ * @param eventSubscriptionUpdateParameters Updated event subscription information.
132
+ * @param options The options parameters.
133
+ */
134
+ beginUpdate(
135
+ resourceGroupName: string,
136
+ systemTopicName: string,
137
+ eventSubscriptionName: string,
138
+ eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
139
+ options?: SystemTopicEventSubscriptionsUpdateOptionalParams
140
+ ): Promise<
141
+ PollerLike<
142
+ PollOperationState<SystemTopicEventSubscriptionsUpdateResponse>,
143
+ SystemTopicEventSubscriptionsUpdateResponse
144
+ >
145
+ >;
146
+ /**
147
+ * Update event subscription of a system topic.
148
+ * @param resourceGroupName The name of the resource group within the user's subscription.
149
+ * @param systemTopicName Name of the system topic.
150
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
151
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
152
+ * @param eventSubscriptionUpdateParameters Updated event subscription information.
153
+ * @param options The options parameters.
154
+ */
155
+ beginUpdateAndWait(
156
+ resourceGroupName: string,
157
+ systemTopicName: string,
158
+ eventSubscriptionName: string,
159
+ eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
160
+ options?: SystemTopicEventSubscriptionsUpdateOptionalParams
161
+ ): Promise<SystemTopicEventSubscriptionsUpdateResponse>;
162
+ /**
163
+ * Get the full endpoint URL for an event subscription of a system topic.
164
+ * @param resourceGroupName The name of the resource group within the user's subscription.
165
+ * @param systemTopicName Name of the system topic.
166
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
167
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
168
+ * @param options The options parameters.
169
+ */
170
+ getFullUrl(
171
+ resourceGroupName: string,
172
+ systemTopicName: string,
173
+ eventSubscriptionName: string,
174
+ options?: SystemTopicEventSubscriptionsGetFullUrlOptionalParams
175
+ ): Promise<SystemTopicEventSubscriptionsGetFullUrlResponse>;
176
+ /**
177
+ * Get all delivery attributes for an event subscription.
178
+ * @param resourceGroupName The name of the resource group within the user's subscription.
179
+ * @param systemTopicName Name of the system topic.
180
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
181
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
182
+ * @param options The options parameters.
183
+ */
184
+ getDeliveryAttributes(
185
+ resourceGroupName: string,
186
+ systemTopicName: string,
187
+ eventSubscriptionName: string,
188
+ options?: SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams
189
+ ): Promise<SystemTopicEventSubscriptionsGetDeliveryAttributesResponse>;
190
+ }
@@ -0,0 +1,139 @@
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
+ SystemTopic,
13
+ SystemTopicsListBySubscriptionOptionalParams,
14
+ SystemTopicsListByResourceGroupOptionalParams,
15
+ SystemTopicsGetOptionalParams,
16
+ SystemTopicsGetResponse,
17
+ SystemTopicsCreateOrUpdateOptionalParams,
18
+ SystemTopicsCreateOrUpdateResponse,
19
+ SystemTopicsDeleteOptionalParams,
20
+ SystemTopicUpdateParameters,
21
+ SystemTopicsUpdateOptionalParams,
22
+ SystemTopicsUpdateResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a SystemTopics. */
27
+ export interface SystemTopics {
28
+ /**
29
+ * List all the system topics under an Azure subscription.
30
+ * @param options The options parameters.
31
+ */
32
+ listBySubscription(
33
+ options?: SystemTopicsListBySubscriptionOptionalParams
34
+ ): PagedAsyncIterableIterator<SystemTopic>;
35
+ /**
36
+ * List all the system topics under a resource group.
37
+ * @param resourceGroupName The name of the resource group within the user's subscription.
38
+ * @param options The options parameters.
39
+ */
40
+ listByResourceGroup(
41
+ resourceGroupName: string,
42
+ options?: SystemTopicsListByResourceGroupOptionalParams
43
+ ): PagedAsyncIterableIterator<SystemTopic>;
44
+ /**
45
+ * Get properties of a system topic.
46
+ * @param resourceGroupName The name of the resource group within the user's subscription.
47
+ * @param systemTopicName Name of the system topic.
48
+ * @param options The options parameters.
49
+ */
50
+ get(
51
+ resourceGroupName: string,
52
+ systemTopicName: string,
53
+ options?: SystemTopicsGetOptionalParams
54
+ ): Promise<SystemTopicsGetResponse>;
55
+ /**
56
+ * Asynchronously creates a new system topic with the specified parameters.
57
+ * @param resourceGroupName The name of the resource group within the user's subscription.
58
+ * @param systemTopicName Name of the system topic.
59
+ * @param systemTopicInfo System Topic information.
60
+ * @param options The options parameters.
61
+ */
62
+ beginCreateOrUpdate(
63
+ resourceGroupName: string,
64
+ systemTopicName: string,
65
+ systemTopicInfo: SystemTopic,
66
+ options?: SystemTopicsCreateOrUpdateOptionalParams
67
+ ): Promise<
68
+ PollerLike<
69
+ PollOperationState<SystemTopicsCreateOrUpdateResponse>,
70
+ SystemTopicsCreateOrUpdateResponse
71
+ >
72
+ >;
73
+ /**
74
+ * Asynchronously creates a new system topic with the specified parameters.
75
+ * @param resourceGroupName The name of the resource group within the user's subscription.
76
+ * @param systemTopicName Name of the system topic.
77
+ * @param systemTopicInfo System Topic information.
78
+ * @param options The options parameters.
79
+ */
80
+ beginCreateOrUpdateAndWait(
81
+ resourceGroupName: string,
82
+ systemTopicName: string,
83
+ systemTopicInfo: SystemTopic,
84
+ options?: SystemTopicsCreateOrUpdateOptionalParams
85
+ ): Promise<SystemTopicsCreateOrUpdateResponse>;
86
+ /**
87
+ * Delete existing system topic.
88
+ * @param resourceGroupName The name of the resource group within the user's subscription.
89
+ * @param systemTopicName Name of the system topic.
90
+ * @param options The options parameters.
91
+ */
92
+ beginDelete(
93
+ resourceGroupName: string,
94
+ systemTopicName: string,
95
+ options?: SystemTopicsDeleteOptionalParams
96
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
97
+ /**
98
+ * Delete existing system topic.
99
+ * @param resourceGroupName The name of the resource group within the user's subscription.
100
+ * @param systemTopicName Name of the system topic.
101
+ * @param options The options parameters.
102
+ */
103
+ beginDeleteAndWait(
104
+ resourceGroupName: string,
105
+ systemTopicName: string,
106
+ options?: SystemTopicsDeleteOptionalParams
107
+ ): Promise<void>;
108
+ /**
109
+ * Asynchronously updates a system topic with the specified parameters.
110
+ * @param resourceGroupName The name of the resource group within the user's subscription.
111
+ * @param systemTopicName Name of the system topic.
112
+ * @param systemTopicUpdateParameters SystemTopic update information.
113
+ * @param options The options parameters.
114
+ */
115
+ beginUpdate(
116
+ resourceGroupName: string,
117
+ systemTopicName: string,
118
+ systemTopicUpdateParameters: SystemTopicUpdateParameters,
119
+ options?: SystemTopicsUpdateOptionalParams
120
+ ): Promise<
121
+ PollerLike<
122
+ PollOperationState<SystemTopicsUpdateResponse>,
123
+ SystemTopicsUpdateResponse
124
+ >
125
+ >;
126
+ /**
127
+ * Asynchronously updates a system topic with the specified parameters.
128
+ * @param resourceGroupName The name of the resource group within the user's subscription.
129
+ * @param systemTopicName Name of the system topic.
130
+ * @param systemTopicUpdateParameters SystemTopic update information.
131
+ * @param options The options parameters.
132
+ */
133
+ beginUpdateAndWait(
134
+ resourceGroupName: string,
135
+ systemTopicName: string,
136
+ systemTopicUpdateParameters: SystemTopicUpdateParameters,
137
+ options?: SystemTopicsUpdateOptionalParams
138
+ ): Promise<SystemTopicsUpdateResponse>;
139
+ }
@@ -0,0 +1,47 @@
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 {
11
+ TopicTypeInfo,
12
+ TopicTypesListOptionalParams,
13
+ EventType,
14
+ TopicTypesListEventTypesOptionalParams,
15
+ TopicTypesGetOptionalParams,
16
+ TopicTypesGetResponse
17
+ } from "../models";
18
+
19
+ /// <reference lib="esnext.asynciterable" />
20
+ /** Interface representing a TopicTypes. */
21
+ export interface TopicTypes {
22
+ /**
23
+ * List all registered topic types.
24
+ * @param options The options parameters.
25
+ */
26
+ list(
27
+ options?: TopicTypesListOptionalParams
28
+ ): PagedAsyncIterableIterator<TopicTypeInfo>;
29
+ /**
30
+ * List event types for a topic type.
31
+ * @param topicTypeName Name of the topic type.
32
+ * @param options The options parameters.
33
+ */
34
+ listEventTypes(
35
+ topicTypeName: string,
36
+ options?: TopicTypesListEventTypesOptionalParams
37
+ ): PagedAsyncIterableIterator<EventType>;
38
+ /**
39
+ * Get information about a topic type.
40
+ * @param topicTypeName Name of the topic type.
41
+ * @param options The options parameters.
42
+ */
43
+ get(
44
+ topicTypeName: string,
45
+ options?: TopicTypesGetOptionalParams
46
+ ): Promise<TopicTypesGetResponse>;
47
+ }