@azure/arm-eventgrid 30.0.0-alpha.20210929.1

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 (222) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/LICENSE +21 -0
  3. package/README.md +94 -0
  4. package/dist/index.js +10620 -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 +31 -0
  9. package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/eventGridManagementClient.js +38 -0
  11. package/dist-esm/src/eventGridManagementClient.js.map +1 -0
  12. package/dist-esm/src/eventGridManagementClientContext.d.ts +17 -0
  13. package/dist-esm/src/eventGridManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/eventGridManagementClientContext.js +50 -0
  15. package/dist-esm/src/eventGridManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +2765 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/dist-esm/src/models/index.js +289 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +139 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/dist-esm/src/models/mappers.js +2979 -0
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +53 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +415 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/domainTopics.d.ts +79 -0
  37. package/dist-esm/src/operations/domainTopics.d.ts.map +1 -0
  38. package/dist-esm/src/operations/domainTopics.js +310 -0
  39. package/dist-esm/src/operations/domainTopics.js.map +1 -0
  40. package/dist-esm/src/operations/domains.d.ts +122 -0
  41. package/dist-esm/src/operations/domains.d.ts.map +1 -0
  42. package/dist-esm/src/operations/domains.js +522 -0
  43. package/dist-esm/src/operations/domains.js.map +1 -0
  44. package/dist-esm/src/operations/eventChannels.d.ts +72 -0
  45. package/dist-esm/src/operations/eventChannels.d.ts.map +1 -0
  46. package/dist-esm/src/operations/eventChannels.js +269 -0
  47. package/dist-esm/src/operations/eventChannels.js.map +1 -0
  48. package/dist-esm/src/operations/eventSubscriptions.d.ts +404 -0
  49. package/dist-esm/src/operations/eventSubscriptions.d.ts.map +1 -0
  50. package/dist-esm/src/operations/eventSubscriptions.js +1504 -0
  51. package/dist-esm/src/operations/eventSubscriptions.js.map +1 -0
  52. package/dist-esm/src/operations/extensionTopics.d.ts +24 -0
  53. package/dist-esm/src/operations/extensionTopics.d.ts.map +1 -0
  54. package/dist-esm/src/operations/extensionTopics.js +50 -0
  55. package/dist-esm/src/operations/extensionTopics.js.map +1 -0
  56. package/dist-esm/src/operations/index.d.ts +17 -0
  57. package/dist-esm/src/operations/index.d.ts.map +1 -0
  58. package/dist-esm/src/operations/index.js +24 -0
  59. package/dist-esm/src/operations/index.js.map +1 -0
  60. package/dist-esm/src/operations/operations.d.ts +26 -0
  61. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operations/operations.js +88 -0
  63. package/dist-esm/src/operations/operations.js.map +1 -0
  64. package/dist-esm/src/operations/partnerNamespaces.d.ts +122 -0
  65. package/dist-esm/src/operations/partnerNamespaces.d.ts.map +1 -0
  66. package/dist-esm/src/operations/partnerNamespaces.js +537 -0
  67. package/dist-esm/src/operations/partnerNamespaces.js.map +1 -0
  68. package/dist-esm/src/operations/partnerRegistrations.d.ts +83 -0
  69. package/dist-esm/src/operations/partnerRegistrations.d.ts.map +1 -0
  70. package/dist-esm/src/operations/partnerRegistrations.js +349 -0
  71. package/dist-esm/src/operations/partnerRegistrations.js.map +1 -0
  72. package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts +128 -0
  73. package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts.map +1 -0
  74. package/dist-esm/src/operations/partnerTopicEventSubscriptions.js +483 -0
  75. package/dist-esm/src/operations/partnerTopicEventSubscriptions.js.map +1 -0
  76. package/dist-esm/src/operations/partnerTopics.d.ts +97 -0
  77. package/dist-esm/src/operations/partnerTopics.d.ts.map +1 -0
  78. package/dist-esm/src/operations/partnerTopics.js +408 -0
  79. package/dist-esm/src/operations/partnerTopics.js.map +1 -0
  80. package/dist-esm/src/operations/privateEndpointConnections.d.ts +105 -0
  81. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  82. package/dist-esm/src/operations/privateEndpointConnections.js +362 -0
  83. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  84. package/dist-esm/src/operations/privateLinkResources.d.ts +58 -0
  85. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  86. package/dist-esm/src/operations/privateLinkResources.js +184 -0
  87. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  88. package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts +128 -0
  89. package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts.map +1 -0
  90. package/dist-esm/src/operations/systemTopicEventSubscriptions.js +483 -0
  91. package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -0
  92. package/dist-esm/src/operations/systemTopics.d.ts +107 -0
  93. package/dist-esm/src/operations/systemTopics.d.ts.map +1 -0
  94. package/dist-esm/src/operations/systemTopics.js +482 -0
  95. package/dist-esm/src/operations/systemTopics.js.map +1 -0
  96. package/dist-esm/src/operations/topicTypes.d.ts +46 -0
  97. package/dist-esm/src/operations/topicTypes.d.ts.map +1 -0
  98. package/dist-esm/src/operations/topicTypes.js +175 -0
  99. package/dist-esm/src/operations/topicTypes.js.map +1 -0
  100. package/dist-esm/src/operations/topics.d.ts +150 -0
  101. package/dist-esm/src/operations/topics.d.ts.map +1 -0
  102. package/dist-esm/src/operations/topics.js +656 -0
  103. package/dist-esm/src/operations/topics.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/domainTopics.d.ts +54 -0
  105. package/dist-esm/src/operationsInterfaces/domainTopics.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/domainTopics.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/domainTopics.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/domains.d.ts +86 -0
  109. package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/domains.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/domains.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/eventChannels.d.ts +47 -0
  113. package/dist-esm/src/operationsInterfaces/eventChannels.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/eventChannels.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/eventChannels.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts +217 -0
  117. package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/eventSubscriptions.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/eventSubscriptions.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts +16 -0
  121. package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/extensionTopics.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/extensionTopics.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/index.d.ts +17 -0
  125. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/index.js +24 -0
  127. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  129. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/partnerNamespaces.d.ts +86 -0
  133. package/dist-esm/src/operationsInterfaces/partnerNamespaces.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/partnerNamespaces.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/partnerNamespaces.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/partnerRegistrations.d.ts +47 -0
  137. package/dist-esm/src/operationsInterfaces/partnerRegistrations.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/partnerRegistrations.js +9 -0
  139. package/dist-esm/src/operationsInterfaces/partnerRegistrations.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts +103 -0
  141. package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/partnerTopics.d.ts +61 -0
  145. package/dist-esm/src/operationsInterfaces/partnerTopics.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/partnerTopics.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/partnerTopics.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +74 -0
  149. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +27 -0
  153. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts +103 -0
  157. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/systemTopics.d.ts +71 -0
  161. package/dist-esm/src/operationsInterfaces/systemTopics.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/systemTopics.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/systemTopics.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/topicTypes.d.ts +23 -0
  165. package/dist-esm/src/operationsInterfaces/topicTypes.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/topicTypes.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/topicTypes.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/topics.d.ts +103 -0
  169. package/dist-esm/src/operationsInterfaces/topics.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/topics.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/topics.js.map +1 -0
  172. package/dist-esm/test/eventgrid_examples.d.ts +2 -0
  173. package/dist-esm/test/eventgrid_examples.d.ts.map +1 -0
  174. package/dist-esm/test/eventgrid_examples.js +163 -0
  175. package/dist-esm/test/eventgrid_examples.js.map +1 -0
  176. package/package.json +102 -0
  177. package/review/arm-eventgrid.api.md +2518 -0
  178. package/rollup.config.js +188 -0
  179. package/src/eventGridManagementClient.ts +101 -0
  180. package/src/eventGridManagementClientContext.ts +71 -0
  181. package/src/index.ts +13 -0
  182. package/src/lroImpl.ts +34 -0
  183. package/src/models/index.ts +3297 -0
  184. package/src/models/mappers.ts +3334 -0
  185. package/src/models/parameters.ts +490 -0
  186. package/src/operations/domainTopics.ts +452 -0
  187. package/src/operations/domains.ts +713 -0
  188. package/src/operations/eventChannels.ts +382 -0
  189. package/src/operations/eventSubscriptions.ts +2077 -0
  190. package/src/operations/extensionTopics.ts +67 -0
  191. package/src/operations/index.ts +24 -0
  192. package/src/operations/operations.ts +96 -0
  193. package/src/operations/partnerNamespaces.ts +729 -0
  194. package/src/operations/partnerRegistrations.ts +440 -0
  195. package/src/operations/partnerTopicEventSubscriptions.ts +699 -0
  196. package/src/operations/partnerTopics.ts +532 -0
  197. package/src/operations/privateEndpointConnections.ts +529 -0
  198. package/src/operations/privateLinkResources.ts +259 -0
  199. package/src/operations/systemTopicEventSubscriptions.ts +699 -0
  200. package/src/operations/systemTopics.ts +656 -0
  201. package/src/operations/topicTypes.ts +202 -0
  202. package/src/operations/topics.ts +921 -0
  203. package/src/operationsInterfaces/domainTopics.ts +105 -0
  204. package/src/operationsInterfaces/domains.ts +162 -0
  205. package/src/operationsInterfaces/eventChannels.ts +89 -0
  206. package/src/operationsInterfaces/eventSubscriptions.ts +339 -0
  207. package/src/operationsInterfaces/extensionTopics.ts +30 -0
  208. package/src/operationsInterfaces/index.ts +24 -0
  209. package/src/operationsInterfaces/operations.ts +22 -0
  210. package/src/operationsInterfaces/partnerNamespaces.ts +162 -0
  211. package/src/operationsInterfaces/partnerRegistrations.ts +91 -0
  212. package/src/operationsInterfaces/partnerTopicEventSubscriptions.ts +190 -0
  213. package/src/operationsInterfaces/partnerTopics.ts +114 -0
  214. package/src/operationsInterfaces/privateEndpointConnections.ts +137 -0
  215. package/src/operationsInterfaces/privateLinkResources.ts +52 -0
  216. package/src/operationsInterfaces/systemTopicEventSubscriptions.ts +190 -0
  217. package/src/operationsInterfaces/systemTopics.ts +139 -0
  218. package/src/operationsInterfaces/topicTypes.ts +47 -0
  219. package/src/operationsInterfaces/topics.ts +197 -0
  220. package/tsconfig.json +19 -0
  221. package/types/arm-eventgrid.d.ts +4299 -0
  222. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,4299 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /** This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter. */
8
+ export declare interface AdvancedFilter {
9
+ /** Polymorphic discriminator, which specifies the different types this object can be */
10
+ operatorType: "NumberIn" | "NumberNotIn" | "NumberLessThan" | "NumberGreaterThan" | "NumberLessThanOrEquals" | "NumberGreaterThanOrEquals" | "BoolEquals" | "StringIn" | "StringNotIn" | "StringBeginsWith" | "StringEndsWith" | "StringContains" | "NumberInRange" | "NumberNotInRange" | "StringNotBeginsWith" | "StringNotEndsWith" | "StringNotContains" | "IsNullOrUndefined" | "IsNotNull";
11
+ /** The field/property in the event based on which you want to filter. */
12
+ key?: string;
13
+ }
14
+
15
+ /**
16
+ * Defines values for AdvancedFilterOperatorType. \
17
+ * {@link KnownAdvancedFilterOperatorType} can be used interchangeably with AdvancedFilterOperatorType,
18
+ * this enum contains the known values that the service supports.
19
+ * ### Known values supported by the service
20
+ * **NumberIn** \
21
+ * **NumberNotIn** \
22
+ * **NumberLessThan** \
23
+ * **NumberGreaterThan** \
24
+ * **NumberLessThanOrEquals** \
25
+ * **NumberGreaterThanOrEquals** \
26
+ * **BoolEquals** \
27
+ * **StringIn** \
28
+ * **StringNotIn** \
29
+ * **StringBeginsWith** \
30
+ * **StringEndsWith** \
31
+ * **StringContains** \
32
+ * **NumberInRange** \
33
+ * **NumberNotInRange** \
34
+ * **StringNotBeginsWith** \
35
+ * **StringNotEndsWith** \
36
+ * **StringNotContains** \
37
+ * **IsNullOrUndefined** \
38
+ * **IsNotNull**
39
+ */
40
+ export declare type AdvancedFilterOperatorType = string;
41
+
42
+ export declare type AdvancedFilterUnion = AdvancedFilter | NumberInAdvancedFilter | NumberNotInAdvancedFilter | NumberLessThanAdvancedFilter | NumberGreaterThanAdvancedFilter | NumberLessThanOrEqualsAdvancedFilter | NumberGreaterThanOrEqualsAdvancedFilter | BoolEqualsAdvancedFilter | StringInAdvancedFilter | StringNotInAdvancedFilter | StringBeginsWithAdvancedFilter | StringEndsWithAdvancedFilter | StringContainsAdvancedFilter | NumberInRangeAdvancedFilter | NumberNotInRangeAdvancedFilter | StringNotBeginsWithAdvancedFilter | StringNotEndsWithAdvancedFilter | StringNotContainsAdvancedFilter | IsNullOrUndefinedAdvancedFilter | IsNotNullAdvancedFilter;
43
+
44
+ /** Information about the azure function destination for an event subscription. */
45
+ export declare type AzureFunctionEventSubscriptionDestination = EventSubscriptionDestination & {
46
+ /** Polymorphic discriminator, which specifies the different types this object can be */
47
+ endpointType: "AzureFunction";
48
+ /** The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription. */
49
+ resourceId?: string;
50
+ /** Maximum number of events per batch. */
51
+ maxEventsPerBatch?: number;
52
+ /** Preferred batch size in Kilobytes. */
53
+ preferredBatchSizeInKilobytes?: number;
54
+ /** Delivery attribute details. */
55
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
56
+ };
57
+
58
+ /** BoolEquals Advanced Filter. */
59
+ export declare type BoolEqualsAdvancedFilter = AdvancedFilter & {
60
+ /** Polymorphic discriminator, which specifies the different types this object can be */
61
+ operatorType: "BoolEquals";
62
+ /** The boolean filter value. */
63
+ value?: boolean;
64
+ };
65
+
66
+ /** ConnectionState information. */
67
+ export declare interface ConnectionState {
68
+ /** Status of the connection. */
69
+ status?: PersistedConnectionStatus;
70
+ /** Description of the connection state. */
71
+ description?: string;
72
+ /** Actions required (if any). */
73
+ actionsRequired?: string;
74
+ }
75
+
76
+ /**
77
+ * Defines values for CreatedByType. \
78
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
79
+ * this enum contains the known values that the service supports.
80
+ * ### Known values supported by the service
81
+ * **User** \
82
+ * **Application** \
83
+ * **ManagedIdentity** \
84
+ * **Key**
85
+ */
86
+ export declare type CreatedByType = string;
87
+
88
+ /** Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class. */
89
+ export declare interface DeadLetterDestination {
90
+ /** Polymorphic discriminator, which specifies the different types this object can be */
91
+ endpointType: "StorageBlob";
92
+ }
93
+
94
+ export declare type DeadLetterDestinationUnion = DeadLetterDestination | StorageBlobDeadLetterDestination;
95
+
96
+ /**
97
+ * Defines values for DeadLetterEndPointType. \
98
+ * {@link KnownDeadLetterEndPointType} can be used interchangeably with DeadLetterEndPointType,
99
+ * this enum contains the known values that the service supports.
100
+ * ### Known values supported by the service
101
+ * **StorageBlob**
102
+ */
103
+ export declare type DeadLetterEndPointType = string;
104
+
105
+ /** Information about the deadletter destination with resource identity. */
106
+ export declare interface DeadLetterWithResourceIdentity {
107
+ /** The identity to use when dead-lettering events. */
108
+ identity?: EventSubscriptionIdentity;
109
+ /**
110
+ * Information about the destination where events have to be delivered for the event subscription.
111
+ * Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
112
+ */
113
+ deadLetterDestination?: DeadLetterDestinationUnion;
114
+ }
115
+
116
+ /** Result of the Get delivery attributes operation. */
117
+ export declare interface DeliveryAttributeListResult {
118
+ /** A collection of DeliveryAttributeMapping */
119
+ value?: DeliveryAttributeMappingUnion[];
120
+ }
121
+
122
+ /** Delivery attribute mapping details. */
123
+ export declare interface DeliveryAttributeMapping {
124
+ /** Polymorphic discriminator, which specifies the different types this object can be */
125
+ type: "Static" | "Dynamic";
126
+ /** Name of the delivery attribute or header. */
127
+ name?: string;
128
+ }
129
+
130
+ /**
131
+ * Defines values for DeliveryAttributeMappingType. \
132
+ * {@link KnownDeliveryAttributeMappingType} can be used interchangeably with DeliveryAttributeMappingType,
133
+ * this enum contains the known values that the service supports.
134
+ * ### Known values supported by the service
135
+ * **Static** \
136
+ * **Dynamic**
137
+ */
138
+ export declare type DeliveryAttributeMappingType = string;
139
+
140
+ export declare type DeliveryAttributeMappingUnion = DeliveryAttributeMapping | StaticDeliveryAttributeMapping | DynamicDeliveryAttributeMapping;
141
+
142
+ /** Information about the delivery for an event subscription with resource identity. */
143
+ export declare interface DeliveryWithResourceIdentity {
144
+ /** The identity to use when delivering events. */
145
+ identity?: EventSubscriptionIdentity;
146
+ /**
147
+ * Information about the destination where events have to be delivered for the event subscription.
148
+ * Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
149
+ */
150
+ destination?: EventSubscriptionDestinationUnion;
151
+ }
152
+
153
+ /** EventGrid Domain. */
154
+ export declare type Domain = TrackedResource & {
155
+ /** The Sku pricing tier for the Event Grid Domain resource. */
156
+ sku?: ResourceSku;
157
+ /** Identity information for the Event Grid Domain resource. */
158
+ identity?: IdentityInfo;
159
+ /**
160
+ * The system metadata relating to the Event Grid Domain resource.
161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
162
+ */
163
+ readonly systemData?: SystemData;
164
+ /**
165
+ * List of private endpoint connections.
166
+ * NOTE: This property will not be serialized. It can only be populated by the server.
167
+ */
168
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
169
+ /**
170
+ * Provisioning state of the Event Grid Domain Resource.
171
+ * NOTE: This property will not be serialized. It can only be populated by the server.
172
+ */
173
+ readonly provisioningState?: DomainProvisioningState;
174
+ /**
175
+ * Endpoint for the Event Grid Domain Resource which is used for publishing the events.
176
+ * NOTE: This property will not be serialized. It can only be populated by the server.
177
+ */
178
+ readonly endpoint?: string;
179
+ /** This determines the format that Event Grid should expect for incoming events published to the Event Grid Domain Resource. */
180
+ inputSchema?: InputSchema;
181
+ /** Information about the InputSchemaMapping which specified the info about mapping event payload. */
182
+ inputSchemaMapping?: InputSchemaMappingUnion;
183
+ /**
184
+ * Metric resource id for the Event Grid Domain Resource.
185
+ * NOTE: This property will not be serialized. It can only be populated by the server.
186
+ */
187
+ readonly metricResourceId?: string;
188
+ /**
189
+ * This determines if traffic is allowed over public network. By default it is enabled.
190
+ * You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainProperties.InboundIpRules" />
191
+ */
192
+ publicNetworkAccess?: PublicNetworkAccess;
193
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
194
+ inboundIpRules?: InboundIpRule[];
195
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain. */
196
+ disableLocalAuth?: boolean;
197
+ /**
198
+ * This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
199
+ * In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
200
+ * When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is
201
+ * created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic
202
+ * by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the
203
+ * flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the
204
+ * domain topic on demand if needed.
205
+ */
206
+ autoCreateTopicWithFirstSubscription?: boolean;
207
+ /**
208
+ * This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
209
+ * In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
210
+ * When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope
211
+ * of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed
212
+ * (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full
213
+ * control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer
214
+ * resources by the user.
215
+ */
216
+ autoDeleteTopicWithLastSubscription?: boolean;
217
+ };
218
+
219
+ /**
220
+ * Defines values for DomainProvisioningState. \
221
+ * {@link KnownDomainProvisioningState} can be used interchangeably with DomainProvisioningState,
222
+ * this enum contains the known values that the service supports.
223
+ * ### Known values supported by the service
224
+ * **Creating** \
225
+ * **Updating** \
226
+ * **Deleting** \
227
+ * **Succeeded** \
228
+ * **Canceled** \
229
+ * **Failed**
230
+ */
231
+ export declare type DomainProvisioningState = string;
232
+
233
+ /** Domain regenerate share access key request. */
234
+ export declare interface DomainRegenerateKeyRequest {
235
+ /** Key name to regenerate key1 or key2. */
236
+ keyName: string;
237
+ }
238
+
239
+ /** Interface representing a Domains. */
240
+ export declare interface Domains {
241
+ /**
242
+ * List all the domains under an Azure subscription.
243
+ * @param options The options parameters.
244
+ */
245
+ listBySubscription(options?: DomainsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Domain>;
246
+ /**
247
+ * List all the domains under a resource group.
248
+ * @param resourceGroupName The name of the resource group within the user's subscription.
249
+ * @param options The options parameters.
250
+ */
251
+ listByResourceGroup(resourceGroupName: string, options?: DomainsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Domain>;
252
+ /**
253
+ * Get properties of a domain.
254
+ * @param resourceGroupName The name of the resource group within the user's subscription.
255
+ * @param domainName Name of the domain.
256
+ * @param options The options parameters.
257
+ */
258
+ get(resourceGroupName: string, domainName: string, options?: DomainsGetOptionalParams): Promise<DomainsGetResponse>;
259
+ /**
260
+ * Asynchronously creates or updates a new domain with the specified parameters.
261
+ * @param resourceGroupName The name of the resource group within the user's subscription.
262
+ * @param domainName Name of the domain.
263
+ * @param domainInfo Domain information.
264
+ * @param options The options parameters.
265
+ */
266
+ beginCreateOrUpdate(resourceGroupName: string, domainName: string, domainInfo: Domain, options?: DomainsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DomainsCreateOrUpdateResponse>, DomainsCreateOrUpdateResponse>>;
267
+ /**
268
+ * Asynchronously creates or updates a new domain with the specified parameters.
269
+ * @param resourceGroupName The name of the resource group within the user's subscription.
270
+ * @param domainName Name of the domain.
271
+ * @param domainInfo Domain information.
272
+ * @param options The options parameters.
273
+ */
274
+ beginCreateOrUpdateAndWait(resourceGroupName: string, domainName: string, domainInfo: Domain, options?: DomainsCreateOrUpdateOptionalParams): Promise<DomainsCreateOrUpdateResponse>;
275
+ /**
276
+ * Delete existing domain.
277
+ * @param resourceGroupName The name of the resource group within the user's subscription.
278
+ * @param domainName Name of the domain.
279
+ * @param options The options parameters.
280
+ */
281
+ beginDelete(resourceGroupName: string, domainName: string, options?: DomainsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
282
+ /**
283
+ * Delete existing domain.
284
+ * @param resourceGroupName The name of the resource group within the user's subscription.
285
+ * @param domainName Name of the domain.
286
+ * @param options The options parameters.
287
+ */
288
+ beginDeleteAndWait(resourceGroupName: string, domainName: string, options?: DomainsDeleteOptionalParams): Promise<void>;
289
+ /**
290
+ * Asynchronously updates a domain with the specified parameters.
291
+ * @param resourceGroupName The name of the resource group within the user's subscription.
292
+ * @param domainName Name of the domain.
293
+ * @param domainUpdateParameters Domain update information.
294
+ * @param options The options parameters.
295
+ */
296
+ beginUpdate(resourceGroupName: string, domainName: string, domainUpdateParameters: DomainUpdateParameters, options?: DomainsUpdateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
297
+ /**
298
+ * Asynchronously updates a domain with the specified parameters.
299
+ * @param resourceGroupName The name of the resource group within the user's subscription.
300
+ * @param domainName Name of the domain.
301
+ * @param domainUpdateParameters Domain update information.
302
+ * @param options The options parameters.
303
+ */
304
+ beginUpdateAndWait(resourceGroupName: string, domainName: string, domainUpdateParameters: DomainUpdateParameters, options?: DomainsUpdateOptionalParams): Promise<void>;
305
+ /**
306
+ * List the two keys used to publish to a domain.
307
+ * @param resourceGroupName The name of the resource group within the user's subscription.
308
+ * @param domainName Name of the domain.
309
+ * @param options The options parameters.
310
+ */
311
+ listSharedAccessKeys(resourceGroupName: string, domainName: string, options?: DomainsListSharedAccessKeysOptionalParams): Promise<DomainsListSharedAccessKeysResponse>;
312
+ /**
313
+ * Regenerate a shared access key for a domain.
314
+ * @param resourceGroupName The name of the resource group within the user's subscription.
315
+ * @param domainName Name of the domain.
316
+ * @param regenerateKeyRequest Request body to regenerate key.
317
+ * @param options The options parameters.
318
+ */
319
+ regenerateKey(resourceGroupName: string, domainName: string, regenerateKeyRequest: DomainRegenerateKeyRequest, options?: DomainsRegenerateKeyOptionalParams): Promise<DomainsRegenerateKeyResponse>;
320
+ }
321
+
322
+ /** Optional parameters. */
323
+ export declare interface DomainsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
324
+ /** Delay to wait until next poll, in milliseconds. */
325
+ updateIntervalInMs?: number;
326
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
327
+ resumeFrom?: string;
328
+ }
329
+
330
+ /** Contains response data for the createOrUpdate operation. */
331
+ export declare type DomainsCreateOrUpdateResponse = Domain;
332
+
333
+ /** Optional parameters. */
334
+ export declare interface DomainsDeleteOptionalParams extends coreClient.OperationOptions {
335
+ /** Delay to wait until next poll, in milliseconds. */
336
+ updateIntervalInMs?: number;
337
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
338
+ resumeFrom?: string;
339
+ }
340
+
341
+ /** Optional parameters. */
342
+ export declare interface DomainsGetOptionalParams extends coreClient.OperationOptions {
343
+ }
344
+
345
+ /** Contains response data for the get operation. */
346
+ export declare type DomainsGetResponse = Domain;
347
+
348
+ /** Shared access keys of the Domain. */
349
+ export declare interface DomainSharedAccessKeys {
350
+ /** Shared access key1 for the domain. */
351
+ key1?: string;
352
+ /** Shared access key2 for the domain. */
353
+ key2?: string;
354
+ }
355
+
356
+ /** Optional parameters. */
357
+ export declare interface DomainsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
358
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
359
+ filter?: string;
360
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
361
+ top?: number;
362
+ }
363
+
364
+ /** Contains response data for the listByResourceGroupNext operation. */
365
+ export declare type DomainsListByResourceGroupNextResponse = DomainsListResult;
366
+
367
+ /** Optional parameters. */
368
+ export declare interface DomainsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
369
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
370
+ filter?: string;
371
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
372
+ top?: number;
373
+ }
374
+
375
+ /** Contains response data for the listByResourceGroup operation. */
376
+ export declare type DomainsListByResourceGroupResponse = DomainsListResult;
377
+
378
+ /** Optional parameters. */
379
+ export declare interface DomainsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
380
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
381
+ filter?: string;
382
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
383
+ top?: number;
384
+ }
385
+
386
+ /** Contains response data for the listBySubscriptionNext operation. */
387
+ export declare type DomainsListBySubscriptionNextResponse = DomainsListResult;
388
+
389
+ /** Optional parameters. */
390
+ export declare interface DomainsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
391
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
392
+ filter?: string;
393
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
394
+ top?: number;
395
+ }
396
+
397
+ /** Contains response data for the listBySubscription operation. */
398
+ export declare type DomainsListBySubscriptionResponse = DomainsListResult;
399
+
400
+ /** Result of the List Domains operation */
401
+ export declare interface DomainsListResult {
402
+ /** A collection of Domains */
403
+ value?: Domain[];
404
+ /** A link for the next page of domains */
405
+ nextLink?: string;
406
+ }
407
+
408
+ /** Optional parameters. */
409
+ export declare interface DomainsListSharedAccessKeysOptionalParams extends coreClient.OperationOptions {
410
+ }
411
+
412
+ /** Contains response data for the listSharedAccessKeys operation. */
413
+ export declare type DomainsListSharedAccessKeysResponse = DomainSharedAccessKeys;
414
+
415
+ /** Optional parameters. */
416
+ export declare interface DomainsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
417
+ }
418
+
419
+ /** Contains response data for the regenerateKey operation. */
420
+ export declare type DomainsRegenerateKeyResponse = DomainSharedAccessKeys;
421
+
422
+ /** Optional parameters. */
423
+ export declare interface DomainsUpdateOptionalParams extends coreClient.OperationOptions {
424
+ /** Delay to wait until next poll, in milliseconds. */
425
+ updateIntervalInMs?: number;
426
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
427
+ resumeFrom?: string;
428
+ }
429
+
430
+ /** Domain Topic. */
431
+ export declare type DomainTopic = Resource & {
432
+ /**
433
+ * The system metadata relating to Domain Topic resource.
434
+ * NOTE: This property will not be serialized. It can only be populated by the server.
435
+ */
436
+ readonly systemData?: SystemData;
437
+ /**
438
+ * Provisioning state of the domain topic.
439
+ * NOTE: This property will not be serialized. It can only be populated by the server.
440
+ */
441
+ readonly provisioningState?: DomainTopicProvisioningState;
442
+ };
443
+
444
+ /**
445
+ * Defines values for DomainTopicProvisioningState. \
446
+ * {@link KnownDomainTopicProvisioningState} can be used interchangeably with DomainTopicProvisioningState,
447
+ * this enum contains the known values that the service supports.
448
+ * ### Known values supported by the service
449
+ * **Creating** \
450
+ * **Updating** \
451
+ * **Deleting** \
452
+ * **Succeeded** \
453
+ * **Canceled** \
454
+ * **Failed**
455
+ */
456
+ export declare type DomainTopicProvisioningState = string;
457
+
458
+ /** Interface representing a DomainTopics. */
459
+ export declare interface DomainTopics {
460
+ /**
461
+ * List all the topics in a domain.
462
+ * @param resourceGroupName The name of the resource group within the user's subscription.
463
+ * @param domainName Domain name.
464
+ * @param options The options parameters.
465
+ */
466
+ listByDomain(resourceGroupName: string, domainName: string, options?: DomainTopicsListByDomainOptionalParams): PagedAsyncIterableIterator<DomainTopic>;
467
+ /**
468
+ * Get properties of a domain topic.
469
+ * @param resourceGroupName The name of the resource group within the user's subscription.
470
+ * @param domainName Name of the domain.
471
+ * @param domainTopicName Name of the topic.
472
+ * @param options The options parameters.
473
+ */
474
+ get(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsGetOptionalParams): Promise<DomainTopicsGetResponse>;
475
+ /**
476
+ * Asynchronously creates or updates a new domain topic with the specified parameters.
477
+ * @param resourceGroupName The name of the resource group within the user's subscription.
478
+ * @param domainName Name of the domain.
479
+ * @param domainTopicName Name of the domain topic.
480
+ * @param options The options parameters.
481
+ */
482
+ beginCreateOrUpdate(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DomainTopicsCreateOrUpdateResponse>, DomainTopicsCreateOrUpdateResponse>>;
483
+ /**
484
+ * Asynchronously creates or updates a new domain topic with the specified parameters.
485
+ * @param resourceGroupName The name of the resource group within the user's subscription.
486
+ * @param domainName Name of the domain.
487
+ * @param domainTopicName Name of the domain topic.
488
+ * @param options The options parameters.
489
+ */
490
+ beginCreateOrUpdateAndWait(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsCreateOrUpdateOptionalParams): Promise<DomainTopicsCreateOrUpdateResponse>;
491
+ /**
492
+ * Delete existing domain topic.
493
+ * @param resourceGroupName The name of the resource group within the user's subscription.
494
+ * @param domainName Name of the domain.
495
+ * @param domainTopicName Name of the domain topic.
496
+ * @param options The options parameters.
497
+ */
498
+ beginDelete(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
499
+ /**
500
+ * Delete existing domain topic.
501
+ * @param resourceGroupName The name of the resource group within the user's subscription.
502
+ * @param domainName Name of the domain.
503
+ * @param domainTopicName Name of the domain topic.
504
+ * @param options The options parameters.
505
+ */
506
+ beginDeleteAndWait(resourceGroupName: string, domainName: string, domainTopicName: string, options?: DomainTopicsDeleteOptionalParams): Promise<void>;
507
+ }
508
+
509
+ /** Optional parameters. */
510
+ export declare interface DomainTopicsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
511
+ /** Delay to wait until next poll, in milliseconds. */
512
+ updateIntervalInMs?: number;
513
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
514
+ resumeFrom?: string;
515
+ }
516
+
517
+ /** Contains response data for the createOrUpdate operation. */
518
+ export declare type DomainTopicsCreateOrUpdateResponse = DomainTopic;
519
+
520
+ /** Optional parameters. */
521
+ export declare interface DomainTopicsDeleteOptionalParams extends coreClient.OperationOptions {
522
+ /** Delay to wait until next poll, in milliseconds. */
523
+ updateIntervalInMs?: number;
524
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
525
+ resumeFrom?: string;
526
+ }
527
+
528
+ /** Optional parameters. */
529
+ export declare interface DomainTopicsGetOptionalParams extends coreClient.OperationOptions {
530
+ }
531
+
532
+ /** Contains response data for the get operation. */
533
+ export declare type DomainTopicsGetResponse = DomainTopic;
534
+
535
+ /** Optional parameters. */
536
+ export declare interface DomainTopicsListByDomainNextOptionalParams extends coreClient.OperationOptions {
537
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
538
+ filter?: string;
539
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
540
+ top?: number;
541
+ }
542
+
543
+ /** Contains response data for the listByDomainNext operation. */
544
+ export declare type DomainTopicsListByDomainNextResponse = DomainTopicsListResult;
545
+
546
+ /** Optional parameters. */
547
+ export declare interface DomainTopicsListByDomainOptionalParams extends coreClient.OperationOptions {
548
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
549
+ filter?: string;
550
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
551
+ top?: number;
552
+ }
553
+
554
+ /** Contains response data for the listByDomain operation. */
555
+ export declare type DomainTopicsListByDomainResponse = DomainTopicsListResult;
556
+
557
+ /** Result of the List Domain Topics operation. */
558
+ export declare interface DomainTopicsListResult {
559
+ /** A collection of Domain Topics. */
560
+ value?: DomainTopic[];
561
+ /** A link for the next page of domain topics. */
562
+ nextLink?: string;
563
+ }
564
+
565
+ /** Properties of the Domain update. */
566
+ export declare interface DomainUpdateParameters {
567
+ /** Tags of the domains resource. */
568
+ tags?: {
569
+ [propertyName: string]: string;
570
+ };
571
+ /** Identity information for the resource. */
572
+ identity?: IdentityInfo;
573
+ /** The Sku pricing tier for the domain. */
574
+ sku?: ResourceSku;
575
+ /**
576
+ * This determines if traffic is allowed over public network. By default it is enabled.
577
+ * You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainUpdateParameterProperties.InboundIpRules" />
578
+ */
579
+ publicNetworkAccess?: PublicNetworkAccess;
580
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
581
+ inboundIpRules?: InboundIpRule[];
582
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain. */
583
+ disableLocalAuth?: boolean;
584
+ /**
585
+ * This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
586
+ * In this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
587
+ * When this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is
588
+ * created at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic
589
+ * by the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the
590
+ * flexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the
591
+ * domain topic on demand if needed.
592
+ */
593
+ autoCreateTopicWithFirstSubscription?: boolean;
594
+ /**
595
+ * This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.
596
+ * In this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.
597
+ * When this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope
598
+ * of the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed
599
+ * (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full
600
+ * control of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer
601
+ * resources by the user.
602
+ */
603
+ autoDeleteTopicWithLastSubscription?: boolean;
604
+ }
605
+
606
+ /** Dynamic delivery attribute mapping details. */
607
+ export declare type DynamicDeliveryAttributeMapping = DeliveryAttributeMapping & {
608
+ /** Polymorphic discriminator, which specifies the different types this object can be */
609
+ type: "Dynamic";
610
+ /** JSON path in the event which contains attribute value. */
611
+ sourceField?: string;
612
+ };
613
+
614
+ /**
615
+ * Defines values for EndpointType. \
616
+ * {@link KnownEndpointType} can be used interchangeably with EndpointType,
617
+ * this enum contains the known values that the service supports.
618
+ * ### Known values supported by the service
619
+ * **WebHook** \
620
+ * **EventHub** \
621
+ * **StorageQueue** \
622
+ * **HybridConnection** \
623
+ * **ServiceBusQueue** \
624
+ * **ServiceBusTopic** \
625
+ * **AzureFunction**
626
+ */
627
+ export declare type EndpointType = string;
628
+
629
+ /**
630
+ * Defines values for Enum25. \
631
+ * {@link KnownEnum25} can be used interchangeably with Enum25,
632
+ * this enum contains the known values that the service supports.
633
+ * ### Known values supported by the service
634
+ * **topics** \
635
+ * **domains** \
636
+ * **partnerNamespaces**
637
+ */
638
+ export declare type Enum25 = string;
639
+
640
+ /**
641
+ * Defines values for Enum26. \
642
+ * {@link KnownEnum26} can be used interchangeably with Enum26,
643
+ * this enum contains the known values that the service supports.
644
+ * ### Known values supported by the service
645
+ * **topics** \
646
+ * **domains** \
647
+ * **partnerNamespaces**
648
+ */
649
+ export declare type Enum26 = string;
650
+
651
+ /**
652
+ * Defines values for Enum27. \
653
+ * {@link KnownEnum27} can be used interchangeably with Enum27,
654
+ * this enum contains the known values that the service supports.
655
+ * ### Known values supported by the service
656
+ * **topics** \
657
+ * **domains** \
658
+ * **partnerNamespaces**
659
+ */
660
+ export declare type Enum27 = string;
661
+
662
+ /**
663
+ * Defines values for Enum28. \
664
+ * {@link KnownEnum28} can be used interchangeably with Enum28,
665
+ * this enum contains the known values that the service supports.
666
+ * ### Known values supported by the service
667
+ * **topics** \
668
+ * **domains** \
669
+ * **partnerNamespaces**
670
+ */
671
+ export declare type Enum28 = string;
672
+
673
+ /** Event Channel. */
674
+ export declare type EventChannel = Resource & {
675
+ /**
676
+ * The system metadata relating to Event Channel resource.
677
+ * NOTE: This property will not be serialized. It can only be populated by the server.
678
+ */
679
+ readonly systemData?: SystemData;
680
+ /** Source of the event channel. This represents a unique resource in the partner's resource model. */
681
+ source?: EventChannelSource;
682
+ /** Represents the destination of an event channel. */
683
+ destination?: EventChannelDestination;
684
+ /**
685
+ * Provisioning state of the event channel.
686
+ * NOTE: This property will not be serialized. It can only be populated by the server.
687
+ */
688
+ readonly provisioningState?: EventChannelProvisioningState;
689
+ /**
690
+ * The readiness state of the corresponding partner topic.
691
+ * NOTE: This property will not be serialized. It can only be populated by the server.
692
+ */
693
+ readonly partnerTopicReadinessState?: PartnerTopicReadinessState;
694
+ /**
695
+ * Expiration time of the event channel. If this timer expires while the corresponding partner topic is never activated,
696
+ * the event channel and corresponding partner topic are deleted.
697
+ */
698
+ expirationTimeIfNotActivatedUtc?: Date;
699
+ /** Information about the filter for the event channel. */
700
+ filter?: EventChannelFilter;
701
+ /**
702
+ * Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.
703
+ * This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
704
+ */
705
+ partnerTopicFriendlyDescription?: string;
706
+ };
707
+
708
+ /** Properties of the destination of an event channel. */
709
+ export declare interface EventChannelDestination {
710
+ /**
711
+ * Azure subscription ID of the customer creating the event channel. The partner topic
712
+ * associated with the event channel will be created under this Azure subscription.
713
+ */
714
+ azureSubscriptionId?: string;
715
+ /**
716
+ * Azure Resource Group of the customer creating the event channel. The partner topic
717
+ * associated with the event channel will be created under this resource group.
718
+ */
719
+ resourceGroup?: string;
720
+ /** Name of the partner topic associated with the event channel. */
721
+ partnerTopicName?: string;
722
+ }
723
+
724
+ /** Filter for the Event Channel. */
725
+ export declare interface EventChannelFilter {
726
+ /** Allows advanced filters to be evaluated against an array of values instead of expecting a singular value. The default value is either false or null. */
727
+ enableAdvancedFilteringOnArrays?: boolean;
728
+ /** An array of advanced filters that are used for filtering event channels. */
729
+ advancedFilters?: AdvancedFilterUnion[];
730
+ }
731
+
732
+ /**
733
+ * Defines values for EventChannelProvisioningState. \
734
+ * {@link KnownEventChannelProvisioningState} can be used interchangeably with EventChannelProvisioningState,
735
+ * this enum contains the known values that the service supports.
736
+ * ### Known values supported by the service
737
+ * **Creating** \
738
+ * **Updating** \
739
+ * **Deleting** \
740
+ * **Succeeded** \
741
+ * **Canceled** \
742
+ * **Failed**
743
+ */
744
+ export declare type EventChannelProvisioningState = string;
745
+
746
+ /** Interface representing a EventChannels. */
747
+ export declare interface EventChannels {
748
+ /**
749
+ * List all the event channels in a partner namespace.
750
+ * @param resourceGroupName The name of the resource group within the user's subscription.
751
+ * @param partnerNamespaceName Name of the partner namespace.
752
+ * @param options The options parameters.
753
+ */
754
+ listByPartnerNamespace(resourceGroupName: string, partnerNamespaceName: string, options?: EventChannelsListByPartnerNamespaceOptionalParams): PagedAsyncIterableIterator<EventChannel>;
755
+ /**
756
+ * Get properties of an event channel.
757
+ * @param resourceGroupName The name of the resource group within the user's subscription.
758
+ * @param partnerNamespaceName Name of the partner namespace.
759
+ * @param eventChannelName Name of the event channel.
760
+ * @param options The options parameters.
761
+ */
762
+ get(resourceGroupName: string, partnerNamespaceName: string, eventChannelName: string, options?: EventChannelsGetOptionalParams): Promise<EventChannelsGetResponse>;
763
+ /**
764
+ * Asynchronously creates a new event channel with the specified parameters.
765
+ * @param resourceGroupName The name of the resource group within the user's subscription.
766
+ * @param partnerNamespaceName Name of the partner namespace.
767
+ * @param eventChannelName Name of the event channel.
768
+ * @param eventChannelInfo EventChannel information.
769
+ * @param options The options parameters.
770
+ */
771
+ createOrUpdate(resourceGroupName: string, partnerNamespaceName: string, eventChannelName: string, eventChannelInfo: EventChannel, options?: EventChannelsCreateOrUpdateOptionalParams): Promise<EventChannelsCreateOrUpdateResponse>;
772
+ /**
773
+ * Delete existing event channel.
774
+ * @param resourceGroupName The name of the resource group within the user's subscription.
775
+ * @param partnerNamespaceName Name of the partner namespace.
776
+ * @param eventChannelName Name of the event channel.
777
+ * @param options The options parameters.
778
+ */
779
+ beginDelete(resourceGroupName: string, partnerNamespaceName: string, eventChannelName: string, options?: EventChannelsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
780
+ /**
781
+ * Delete existing event channel.
782
+ * @param resourceGroupName The name of the resource group within the user's subscription.
783
+ * @param partnerNamespaceName Name of the partner namespace.
784
+ * @param eventChannelName Name of the event channel.
785
+ * @param options The options parameters.
786
+ */
787
+ beginDeleteAndWait(resourceGroupName: string, partnerNamespaceName: string, eventChannelName: string, options?: EventChannelsDeleteOptionalParams): Promise<void>;
788
+ }
789
+
790
+ /** Optional parameters. */
791
+ export declare interface EventChannelsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
792
+ }
793
+
794
+ /** Contains response data for the createOrUpdate operation. */
795
+ export declare type EventChannelsCreateOrUpdateResponse = EventChannel;
796
+
797
+ /** Optional parameters. */
798
+ export declare interface EventChannelsDeleteOptionalParams extends coreClient.OperationOptions {
799
+ /** Delay to wait until next poll, in milliseconds. */
800
+ updateIntervalInMs?: number;
801
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
802
+ resumeFrom?: string;
803
+ }
804
+
805
+ /** Optional parameters. */
806
+ export declare interface EventChannelsGetOptionalParams extends coreClient.OperationOptions {
807
+ }
808
+
809
+ /** Contains response data for the get operation. */
810
+ export declare type EventChannelsGetResponse = EventChannel;
811
+
812
+ /** Optional parameters. */
813
+ export declare interface EventChannelsListByPartnerNamespaceNextOptionalParams extends coreClient.OperationOptions {
814
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
815
+ filter?: string;
816
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
817
+ top?: number;
818
+ }
819
+
820
+ /** Contains response data for the listByPartnerNamespaceNext operation. */
821
+ export declare type EventChannelsListByPartnerNamespaceNextResponse = EventChannelsListResult;
822
+
823
+ /** Optional parameters. */
824
+ export declare interface EventChannelsListByPartnerNamespaceOptionalParams extends coreClient.OperationOptions {
825
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
826
+ filter?: string;
827
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
828
+ top?: number;
829
+ }
830
+
831
+ /** Contains response data for the listByPartnerNamespace operation. */
832
+ export declare type EventChannelsListByPartnerNamespaceResponse = EventChannelsListResult;
833
+
834
+ /** Result of the List Event Channels operation */
835
+ export declare interface EventChannelsListResult {
836
+ /** A collection of Event Channels */
837
+ value?: EventChannel[];
838
+ /** A link for the next page of event channels */
839
+ nextLink?: string;
840
+ }
841
+
842
+ /** Properties of the source of an event channel. */
843
+ export declare interface EventChannelSource {
844
+ /**
845
+ * The identifier of the resource that's the source of the events.
846
+ * This represents a unique resource in the partner's resource model.
847
+ */
848
+ source?: string;
849
+ }
850
+
851
+ /**
852
+ * Defines values for EventDeliverySchema. \
853
+ * {@link KnownEventDeliverySchema} can be used interchangeably with EventDeliverySchema,
854
+ * this enum contains the known values that the service supports.
855
+ * ### Known values supported by the service
856
+ * **EventGridSchema** \
857
+ * **CustomInputSchema** \
858
+ * **CloudEventSchemaV1_0**
859
+ */
860
+ export declare type EventDeliverySchema = string;
861
+
862
+ export declare class EventGridManagementClient extends EventGridManagementClientContext {
863
+ /**
864
+ * Initializes a new instance of the EventGridManagementClient class.
865
+ * @param credentials Subscription credentials which uniquely identify client subscription.
866
+ * @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure
867
+ * subscription. The subscription ID forms part of the URI for every service call.
868
+ * @param options The parameter options
869
+ */
870
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: EventGridManagementClientOptionalParams);
871
+ domains: Domains;
872
+ domainTopics: DomainTopics;
873
+ eventChannels: EventChannels;
874
+ eventSubscriptions: EventSubscriptions;
875
+ systemTopicEventSubscriptions: SystemTopicEventSubscriptions;
876
+ partnerTopicEventSubscriptions: PartnerTopicEventSubscriptions;
877
+ operations: Operations;
878
+ partnerNamespaces: PartnerNamespaces;
879
+ partnerRegistrations: PartnerRegistrations;
880
+ partnerTopics: PartnerTopics;
881
+ privateEndpointConnections: PrivateEndpointConnections;
882
+ privateLinkResources: PrivateLinkResources;
883
+ systemTopics: SystemTopics;
884
+ topics: Topics;
885
+ extensionTopics: ExtensionTopics;
886
+ topicTypes: TopicTypes;
887
+ }
888
+
889
+ export declare class EventGridManagementClientContext extends coreClient.ServiceClient {
890
+ $host: string;
891
+ subscriptionId: string;
892
+ apiVersion: string;
893
+ /**
894
+ * Initializes a new instance of the EventGridManagementClientContext class.
895
+ * @param credentials Subscription credentials which uniquely identify client subscription.
896
+ * @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure
897
+ * subscription. The subscription ID forms part of the URI for every service call.
898
+ * @param options The parameter options
899
+ */
900
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: EventGridManagementClientOptionalParams);
901
+ }
902
+
903
+ /** Optional parameters. */
904
+ export declare interface EventGridManagementClientOptionalParams extends coreClient.ServiceClientOptions {
905
+ /** server parameter */
906
+ $host?: string;
907
+ /** Api Version */
908
+ apiVersion?: string;
909
+ /** Overrides client endpoint. */
910
+ endpoint?: string;
911
+ }
912
+
913
+ /** Information about the event hub destination for an event subscription. */
914
+ export declare type EventHubEventSubscriptionDestination = EventSubscriptionDestination & {
915
+ /** Polymorphic discriminator, which specifies the different types this object can be */
916
+ endpointType: "EventHub";
917
+ /** The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription. */
918
+ resourceId?: string;
919
+ /** Delivery attribute details. */
920
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
921
+ };
922
+
923
+ /** Event Subscription */
924
+ export declare type EventSubscription = Resource & {
925
+ /**
926
+ * The system metadata relating to Event Subscription resource.
927
+ * NOTE: This property will not be serialized. It can only be populated by the server.
928
+ */
929
+ readonly systemData?: SystemData;
930
+ /**
931
+ * Name of the topic of the event subscription.
932
+ * NOTE: This property will not be serialized. It can only be populated by the server.
933
+ */
934
+ readonly topic?: string;
935
+ /**
936
+ * Provisioning state of the event subscription.
937
+ * NOTE: This property will not be serialized. It can only be populated by the server.
938
+ */
939
+ readonly provisioningState?: EventSubscriptionProvisioningState;
940
+ /**
941
+ * Information about the destination where events have to be delivered for the event subscription.
942
+ * Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
943
+ */
944
+ destination?: EventSubscriptionDestinationUnion;
945
+ /**
946
+ * Information about the destination where events have to be delivered for the event subscription.
947
+ * Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
948
+ */
949
+ deliveryWithResourceIdentity?: DeliveryWithResourceIdentity;
950
+ /** Information about the filter for the event subscription. */
951
+ filter?: EventSubscriptionFilter;
952
+ /** List of user defined labels. */
953
+ labels?: string[];
954
+ /** Expiration time of the event subscription. */
955
+ expirationTimeUtc?: Date;
956
+ /** The event delivery schema for the event subscription. */
957
+ eventDeliverySchema?: EventDeliverySchema;
958
+ /** The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. */
959
+ retryPolicy?: RetryPolicy;
960
+ /**
961
+ * The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
962
+ * Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
963
+ */
964
+ deadLetterDestination?: DeadLetterDestinationUnion;
965
+ /**
966
+ * The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
967
+ * Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
968
+ */
969
+ deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity;
970
+ };
971
+
972
+ /** Information about the destination for an event subscription. */
973
+ export declare interface EventSubscriptionDestination {
974
+ /** Polymorphic discriminator, which specifies the different types this object can be */
975
+ endpointType: "WebHook" | "EventHub" | "StorageQueue" | "HybridConnection" | "ServiceBusQueue" | "ServiceBusTopic" | "AzureFunction";
976
+ }
977
+
978
+ export declare type EventSubscriptionDestinationUnion = EventSubscriptionDestination | WebHookEventSubscriptionDestination | EventHubEventSubscriptionDestination | StorageQueueEventSubscriptionDestination | HybridConnectionEventSubscriptionDestination | ServiceBusQueueEventSubscriptionDestination | ServiceBusTopicEventSubscriptionDestination | AzureFunctionEventSubscriptionDestination;
979
+
980
+ /** Filter for the Event Subscription. */
981
+ export declare interface EventSubscriptionFilter {
982
+ /**
983
+ * An optional string to filter events for an event subscription based on a resource path prefix.
984
+ * The format of this depends on the publisher of the events.
985
+ * Wildcard characters are not supported in this path.
986
+ */
987
+ subjectBeginsWith?: string;
988
+ /**
989
+ * An optional string to filter events for an event subscription based on a resource path suffix.
990
+ * Wildcard characters are not supported in this path.
991
+ */
992
+ subjectEndsWith?: string;
993
+ /** A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null. */
994
+ includedEventTypes?: string[];
995
+ /**
996
+ * Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter
997
+ * should be compared in a case sensitive manner.
998
+ */
999
+ isSubjectCaseSensitive?: boolean;
1000
+ /** Allows advanced filters to be evaluated against an array of values instead of expecting a singular value. */
1001
+ enableAdvancedFilteringOnArrays?: boolean;
1002
+ /** An array of advanced filters that are used for filtering event subscriptions. */
1003
+ advancedFilters?: AdvancedFilterUnion[];
1004
+ }
1005
+
1006
+ /** Full endpoint url of an event subscription */
1007
+ export declare interface EventSubscriptionFullUrl {
1008
+ /** The URL that represents the endpoint of the destination of an event subscription. */
1009
+ endpointUrl?: string;
1010
+ }
1011
+
1012
+ /** The identity information with the event subscription. */
1013
+ export declare interface EventSubscriptionIdentity {
1014
+ /** The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. */
1015
+ type?: EventSubscriptionIdentityType;
1016
+ /** The user identity associated with the resource. */
1017
+ userAssignedIdentity?: string;
1018
+ }
1019
+
1020
+ /**
1021
+ * Defines values for EventSubscriptionIdentityType. \
1022
+ * {@link KnownEventSubscriptionIdentityType} can be used interchangeably with EventSubscriptionIdentityType,
1023
+ * this enum contains the known values that the service supports.
1024
+ * ### Known values supported by the service
1025
+ * **SystemAssigned** \
1026
+ * **UserAssigned**
1027
+ */
1028
+ export declare type EventSubscriptionIdentityType = string;
1029
+
1030
+ /**
1031
+ * Defines values for EventSubscriptionProvisioningState. \
1032
+ * {@link KnownEventSubscriptionProvisioningState} can be used interchangeably with EventSubscriptionProvisioningState,
1033
+ * this enum contains the known values that the service supports.
1034
+ * ### Known values supported by the service
1035
+ * **Creating** \
1036
+ * **Updating** \
1037
+ * **Deleting** \
1038
+ * **Succeeded** \
1039
+ * **Canceled** \
1040
+ * **Failed** \
1041
+ * **AwaitingManualAction**
1042
+ */
1043
+ export declare type EventSubscriptionProvisioningState = string;
1044
+
1045
+ /** Interface representing a EventSubscriptions. */
1046
+ export declare interface EventSubscriptions {
1047
+ /**
1048
+ * List all aggregated global event subscriptions under a specific Azure subscription.
1049
+ * @param options The options parameters.
1050
+ */
1051
+ listGlobalBySubscription(options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
1052
+ /**
1053
+ * List all global event subscriptions under an Azure subscription for a topic type.
1054
+ * @param topicTypeName Name of the topic type.
1055
+ * @param options The options parameters.
1056
+ */
1057
+ listGlobalBySubscriptionForTopicType(topicTypeName: string, options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
1058
+ /**
1059
+ * List all global event subscriptions under a specific Azure subscription and resource group.
1060
+ * @param resourceGroupName The name of the resource group within the user's subscription.
1061
+ * @param options The options parameters.
1062
+ */
1063
+ listGlobalByResourceGroup(resourceGroupName: string, options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
1064
+ /**
1065
+ * List all global event subscriptions under a resource group for a specific topic type.
1066
+ * @param resourceGroupName The name of the resource group within the user's subscription.
1067
+ * @param topicTypeName Name of the topic type.
1068
+ * @param options The options parameters.
1069
+ */
1070
+ listGlobalByResourceGroupForTopicType(resourceGroupName: string, topicTypeName: string, options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
1071
+ /**
1072
+ * List all event subscriptions from the given location under a specific Azure subscription.
1073
+ * @param location Name of the location.
1074
+ * @param options The options parameters.
1075
+ */
1076
+ listRegionalBySubscription(location: string, options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
1077
+ /**
1078
+ * List all event subscriptions from the given location under a specific Azure subscription and
1079
+ * resource group.
1080
+ * @param resourceGroupName The name of the resource group within the user's subscription.
1081
+ * @param location Name of the location.
1082
+ * @param options The options parameters.
1083
+ */
1084
+ listRegionalByResourceGroup(resourceGroupName: string, location: string, options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
1085
+ /**
1086
+ * List all event subscriptions from the given location under a specific Azure subscription and topic
1087
+ * type.
1088
+ * @param location Name of the location.
1089
+ * @param topicTypeName Name of the topic type.
1090
+ * @param options The options parameters.
1091
+ */
1092
+ listRegionalBySubscriptionForTopicType(location: string, topicTypeName: string, options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
1093
+ /**
1094
+ * List all event subscriptions from the given location under a specific Azure subscription and
1095
+ * resource group and topic type.
1096
+ * @param resourceGroupName The name of the resource group within the user's subscription.
1097
+ * @param location Name of the location.
1098
+ * @param topicTypeName Name of the topic type.
1099
+ * @param options The options parameters.
1100
+ */
1101
+ listRegionalByResourceGroupForTopicType(resourceGroupName: string, location: string, topicTypeName: string, options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
1102
+ /**
1103
+ * List all event subscriptions that have been created for a specific topic.
1104
+ * @param resourceGroupName The name of the resource group within the user's subscription.
1105
+ * @param providerNamespace Namespace of the provider of the topic.
1106
+ * @param resourceTypeName Name of the resource type.
1107
+ * @param resourceName Name of the resource.
1108
+ * @param options The options parameters.
1109
+ */
1110
+ listByResource(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: EventSubscriptionsListByResourceOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
1111
+ /**
1112
+ * List all event subscriptions that have been created for a specific domain topic.
1113
+ * @param resourceGroupName The name of the resource group within the user's subscription.
1114
+ * @param domainName Name of the top level domain.
1115
+ * @param topicName Name of the domain topic.
1116
+ * @param options The options parameters.
1117
+ */
1118
+ listByDomainTopic(resourceGroupName: string, domainName: string, topicName: string, options?: EventSubscriptionsListByDomainTopicOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
1119
+ /**
1120
+ * Get properties of an event subscription.
1121
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
1122
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
1123
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
1124
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1125
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1126
+ * for a resource, and
1127
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1128
+ * for an EventGrid topic.
1129
+ * @param eventSubscriptionName Name of the event subscription.
1130
+ * @param options The options parameters.
1131
+ */
1132
+ get(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetOptionalParams): Promise<EventSubscriptionsGetResponse>;
1133
+ /**
1134
+ * Asynchronously creates a new event subscription or updates an existing event subscription based on
1135
+ * the specified scope.
1136
+ * @param scope The identifier of the resource to which the event subscription needs to be created or
1137
+ * updated. The scope can be a subscription, or a resource group, or a top level resource belonging to
1138
+ * a resource provider namespace, or an EventGrid topic. For example, use
1139
+ * '/subscriptions/{subscriptionId}/' for a subscription,
1140
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1141
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1142
+ * for a resource, and
1143
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1144
+ * for an EventGrid topic.
1145
+ * @param eventSubscriptionName Name of the event subscription. Event subscription names must be
1146
+ * between 3 and 64 characters in length and should use alphanumeric letters only.
1147
+ * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
1148
+ * information.
1149
+ * @param options The options parameters.
1150
+ */
1151
+ beginCreateOrUpdate(scope: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: EventSubscriptionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<EventSubscriptionsCreateOrUpdateResponse>, EventSubscriptionsCreateOrUpdateResponse>>;
1152
+ /**
1153
+ * Asynchronously creates a new event subscription or updates an existing event subscription based on
1154
+ * the specified scope.
1155
+ * @param scope The identifier of the resource to which the event subscription needs to be created or
1156
+ * updated. The scope can be a subscription, or a resource group, or a top level resource belonging to
1157
+ * a resource provider namespace, or an EventGrid topic. For example, use
1158
+ * '/subscriptions/{subscriptionId}/' for a subscription,
1159
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1160
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1161
+ * for a resource, and
1162
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1163
+ * for an EventGrid topic.
1164
+ * @param eventSubscriptionName Name of the event subscription. Event subscription names must be
1165
+ * between 3 and 64 characters in length and should use alphanumeric letters only.
1166
+ * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
1167
+ * information.
1168
+ * @param options The options parameters.
1169
+ */
1170
+ beginCreateOrUpdateAndWait(scope: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: EventSubscriptionsCreateOrUpdateOptionalParams): Promise<EventSubscriptionsCreateOrUpdateResponse>;
1171
+ /**
1172
+ * Delete an existing event subscription.
1173
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
1174
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
1175
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
1176
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1177
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1178
+ * for a resource, and
1179
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1180
+ * for an EventGrid topic.
1181
+ * @param eventSubscriptionName Name of the event subscription.
1182
+ * @param options The options parameters.
1183
+ */
1184
+ beginDelete(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1185
+ /**
1186
+ * Delete an existing event subscription.
1187
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
1188
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
1189
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
1190
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1191
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1192
+ * for a resource, and
1193
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1194
+ * for an EventGrid topic.
1195
+ * @param eventSubscriptionName Name of the event subscription.
1196
+ * @param options The options parameters.
1197
+ */
1198
+ beginDeleteAndWait(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsDeleteOptionalParams): Promise<void>;
1199
+ /**
1200
+ * Asynchronously updates an existing event subscription.
1201
+ * @param scope The scope of existing event subscription. The scope can be a subscription, or a
1202
+ * resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid
1203
+ * topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
1204
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1205
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1206
+ * for a resource, and
1207
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1208
+ * for an EventGrid topic.
1209
+ * @param eventSubscriptionName Name of the event subscription to be updated.
1210
+ * @param eventSubscriptionUpdateParameters Updated event subscription information.
1211
+ * @param options The options parameters.
1212
+ */
1213
+ beginUpdate(scope: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: EventSubscriptionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<EventSubscriptionsUpdateResponse>, EventSubscriptionsUpdateResponse>>;
1214
+ /**
1215
+ * Asynchronously updates an existing event subscription.
1216
+ * @param scope The scope of existing event subscription. The scope can be a subscription, or a
1217
+ * resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid
1218
+ * topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
1219
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1220
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1221
+ * for a resource, and
1222
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1223
+ * for an EventGrid topic.
1224
+ * @param eventSubscriptionName Name of the event subscription to be updated.
1225
+ * @param eventSubscriptionUpdateParameters Updated event subscription information.
1226
+ * @param options The options parameters.
1227
+ */
1228
+ beginUpdateAndWait(scope: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: EventSubscriptionsUpdateOptionalParams): Promise<EventSubscriptionsUpdateResponse>;
1229
+ /**
1230
+ * Get the full endpoint URL for an event subscription.
1231
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
1232
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
1233
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
1234
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1235
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1236
+ * for a resource, and
1237
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1238
+ * for an EventGrid topic.
1239
+ * @param eventSubscriptionName Name of the event subscription.
1240
+ * @param options The options parameters.
1241
+ */
1242
+ getFullUrl(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetFullUrlOptionalParams): Promise<EventSubscriptionsGetFullUrlResponse>;
1243
+ /**
1244
+ * Get all delivery attributes for an event subscription.
1245
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource
1246
+ * group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
1247
+ * For example, use '/subscriptions/{subscriptionId}/' for a subscription,
1248
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1249
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1250
+ * for a resource, and
1251
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
1252
+ * for an EventGrid topic.
1253
+ * @param eventSubscriptionName Name of the event subscription.
1254
+ * @param options The options parameters.
1255
+ */
1256
+ getDeliveryAttributes(scope: string, eventSubscriptionName: string, options?: EventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<EventSubscriptionsGetDeliveryAttributesResponse>;
1257
+ }
1258
+
1259
+ /** Optional parameters. */
1260
+ export declare interface EventSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1261
+ /** Delay to wait until next poll, in milliseconds. */
1262
+ updateIntervalInMs?: number;
1263
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1264
+ resumeFrom?: string;
1265
+ }
1266
+
1267
+ /** Contains response data for the createOrUpdate operation. */
1268
+ export declare type EventSubscriptionsCreateOrUpdateResponse = EventSubscription;
1269
+
1270
+ /** Optional parameters. */
1271
+ export declare interface EventSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
1272
+ /** Delay to wait until next poll, in milliseconds. */
1273
+ updateIntervalInMs?: number;
1274
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1275
+ resumeFrom?: string;
1276
+ }
1277
+
1278
+ /** Optional parameters. */
1279
+ export declare interface EventSubscriptionsGetDeliveryAttributesOptionalParams extends coreClient.OperationOptions {
1280
+ }
1281
+
1282
+ /** Contains response data for the getDeliveryAttributes operation. */
1283
+ export declare type EventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
1284
+
1285
+ /** Optional parameters. */
1286
+ export declare interface EventSubscriptionsGetFullUrlOptionalParams extends coreClient.OperationOptions {
1287
+ }
1288
+
1289
+ /** Contains response data for the getFullUrl operation. */
1290
+ export declare type EventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
1291
+
1292
+ /** Optional parameters. */
1293
+ export declare interface EventSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
1294
+ }
1295
+
1296
+ /** Contains response data for the get operation. */
1297
+ export declare type EventSubscriptionsGetResponse = EventSubscription;
1298
+
1299
+ /** Optional parameters. */
1300
+ export declare interface EventSubscriptionsListByDomainTopicNextOptionalParams extends coreClient.OperationOptions {
1301
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1302
+ filter?: string;
1303
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1304
+ top?: number;
1305
+ }
1306
+
1307
+ /** Contains response data for the listByDomainTopicNext operation. */
1308
+ export declare type EventSubscriptionsListByDomainTopicNextResponse = EventSubscriptionsListResult;
1309
+
1310
+ /** Optional parameters. */
1311
+ export declare interface EventSubscriptionsListByDomainTopicOptionalParams extends coreClient.OperationOptions {
1312
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1313
+ filter?: string;
1314
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1315
+ top?: number;
1316
+ }
1317
+
1318
+ /** Contains response data for the listByDomainTopic operation. */
1319
+ export declare type EventSubscriptionsListByDomainTopicResponse = EventSubscriptionsListResult;
1320
+
1321
+ /** Optional parameters. */
1322
+ export declare interface EventSubscriptionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
1323
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1324
+ filter?: string;
1325
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1326
+ top?: number;
1327
+ }
1328
+
1329
+ /** Contains response data for the listByResourceNext operation. */
1330
+ export declare type EventSubscriptionsListByResourceNextResponse = EventSubscriptionsListResult;
1331
+
1332
+ /** Optional parameters. */
1333
+ export declare interface EventSubscriptionsListByResourceOptionalParams extends coreClient.OperationOptions {
1334
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1335
+ filter?: string;
1336
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1337
+ top?: number;
1338
+ }
1339
+
1340
+ /** Contains response data for the listByResource operation. */
1341
+ export declare type EventSubscriptionsListByResourceResponse = EventSubscriptionsListResult;
1342
+
1343
+ /** Optional parameters. */
1344
+ export declare interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
1345
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1346
+ filter?: string;
1347
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1348
+ top?: number;
1349
+ }
1350
+
1351
+ /** Contains response data for the listGlobalByResourceGroupForTopicTypeNext operation. */
1352
+ export declare type EventSubscriptionsListGlobalByResourceGroupForTopicTypeNextResponse = EventSubscriptionsListResult;
1353
+
1354
+ /** Optional parameters. */
1355
+ export declare interface EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams extends coreClient.OperationOptions {
1356
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1357
+ filter?: string;
1358
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1359
+ top?: number;
1360
+ }
1361
+
1362
+ /** Contains response data for the listGlobalByResourceGroupForTopicType operation. */
1363
+ export declare type EventSubscriptionsListGlobalByResourceGroupForTopicTypeResponse = EventSubscriptionsListResult;
1364
+
1365
+ /** Optional parameters. */
1366
+ export declare interface EventSubscriptionsListGlobalByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1367
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1368
+ filter?: string;
1369
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1370
+ top?: number;
1371
+ }
1372
+
1373
+ /** Contains response data for the listGlobalByResourceGroupNext operation. */
1374
+ export declare type EventSubscriptionsListGlobalByResourceGroupNextResponse = EventSubscriptionsListResult;
1375
+
1376
+ /** Optional parameters. */
1377
+ export declare interface EventSubscriptionsListGlobalByResourceGroupOptionalParams extends coreClient.OperationOptions {
1378
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1379
+ filter?: string;
1380
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1381
+ top?: number;
1382
+ }
1383
+
1384
+ /** Contains response data for the listGlobalByResourceGroup operation. */
1385
+ export declare type EventSubscriptionsListGlobalByResourceGroupResponse = EventSubscriptionsListResult;
1386
+
1387
+ /** Optional parameters. */
1388
+ export declare interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
1389
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1390
+ filter?: string;
1391
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1392
+ top?: number;
1393
+ }
1394
+
1395
+ /** Contains response data for the listGlobalBySubscriptionForTopicTypeNext operation. */
1396
+ export declare type EventSubscriptionsListGlobalBySubscriptionForTopicTypeNextResponse = EventSubscriptionsListResult;
1397
+
1398
+ /** Optional parameters. */
1399
+ export declare interface EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams extends coreClient.OperationOptions {
1400
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1401
+ filter?: string;
1402
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1403
+ top?: number;
1404
+ }
1405
+
1406
+ /** Contains response data for the listGlobalBySubscriptionForTopicType operation. */
1407
+ export declare type EventSubscriptionsListGlobalBySubscriptionForTopicTypeResponse = EventSubscriptionsListResult;
1408
+
1409
+ /** Optional parameters. */
1410
+ export declare interface EventSubscriptionsListGlobalBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1411
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1412
+ filter?: string;
1413
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1414
+ top?: number;
1415
+ }
1416
+
1417
+ /** Contains response data for the listGlobalBySubscriptionNext operation. */
1418
+ export declare type EventSubscriptionsListGlobalBySubscriptionNextResponse = EventSubscriptionsListResult;
1419
+
1420
+ /** Optional parameters. */
1421
+ export declare interface EventSubscriptionsListGlobalBySubscriptionOptionalParams extends coreClient.OperationOptions {
1422
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1423
+ filter?: string;
1424
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1425
+ top?: number;
1426
+ }
1427
+
1428
+ /** Contains response data for the listGlobalBySubscription operation. */
1429
+ export declare type EventSubscriptionsListGlobalBySubscriptionResponse = EventSubscriptionsListResult;
1430
+
1431
+ /** Optional parameters. */
1432
+ export declare interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
1433
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1434
+ filter?: string;
1435
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1436
+ top?: number;
1437
+ }
1438
+
1439
+ /** Contains response data for the listRegionalByResourceGroupForTopicTypeNext operation. */
1440
+ export declare type EventSubscriptionsListRegionalByResourceGroupForTopicTypeNextResponse = EventSubscriptionsListResult;
1441
+
1442
+ /** Optional parameters. */
1443
+ export declare interface EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams extends coreClient.OperationOptions {
1444
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1445
+ filter?: string;
1446
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1447
+ top?: number;
1448
+ }
1449
+
1450
+ /** Contains response data for the listRegionalByResourceGroupForTopicType operation. */
1451
+ export declare type EventSubscriptionsListRegionalByResourceGroupForTopicTypeResponse = EventSubscriptionsListResult;
1452
+
1453
+ /** Optional parameters. */
1454
+ export declare interface EventSubscriptionsListRegionalByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1455
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1456
+ filter?: string;
1457
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1458
+ top?: number;
1459
+ }
1460
+
1461
+ /** Contains response data for the listRegionalByResourceGroupNext operation. */
1462
+ export declare type EventSubscriptionsListRegionalByResourceGroupNextResponse = EventSubscriptionsListResult;
1463
+
1464
+ /** Optional parameters. */
1465
+ export declare interface EventSubscriptionsListRegionalByResourceGroupOptionalParams extends coreClient.OperationOptions {
1466
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1467
+ filter?: string;
1468
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1469
+ top?: number;
1470
+ }
1471
+
1472
+ /** Contains response data for the listRegionalByResourceGroup operation. */
1473
+ export declare type EventSubscriptionsListRegionalByResourceGroupResponse = EventSubscriptionsListResult;
1474
+
1475
+ /** Optional parameters. */
1476
+ export declare interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextOptionalParams extends coreClient.OperationOptions {
1477
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1478
+ filter?: string;
1479
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1480
+ top?: number;
1481
+ }
1482
+
1483
+ /** Contains response data for the listRegionalBySubscriptionForTopicTypeNext operation. */
1484
+ export declare type EventSubscriptionsListRegionalBySubscriptionForTopicTypeNextResponse = EventSubscriptionsListResult;
1485
+
1486
+ /** Optional parameters. */
1487
+ export declare interface EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams extends coreClient.OperationOptions {
1488
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1489
+ filter?: string;
1490
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1491
+ top?: number;
1492
+ }
1493
+
1494
+ /** Contains response data for the listRegionalBySubscriptionForTopicType operation. */
1495
+ export declare type EventSubscriptionsListRegionalBySubscriptionForTopicTypeResponse = EventSubscriptionsListResult;
1496
+
1497
+ /** Optional parameters. */
1498
+ export declare interface EventSubscriptionsListRegionalBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1499
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1500
+ filter?: string;
1501
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1502
+ top?: number;
1503
+ }
1504
+
1505
+ /** Contains response data for the listRegionalBySubscriptionNext operation. */
1506
+ export declare type EventSubscriptionsListRegionalBySubscriptionNextResponse = EventSubscriptionsListResult;
1507
+
1508
+ /** Optional parameters. */
1509
+ export declare interface EventSubscriptionsListRegionalBySubscriptionOptionalParams extends coreClient.OperationOptions {
1510
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
1511
+ filter?: string;
1512
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
1513
+ top?: number;
1514
+ }
1515
+
1516
+ /** Contains response data for the listRegionalBySubscription operation. */
1517
+ export declare type EventSubscriptionsListRegionalBySubscriptionResponse = EventSubscriptionsListResult;
1518
+
1519
+ /** Result of the List EventSubscriptions operation */
1520
+ export declare interface EventSubscriptionsListResult {
1521
+ /** A collection of EventSubscriptions */
1522
+ value?: EventSubscription[];
1523
+ /** A link for the next page of event subscriptions */
1524
+ nextLink?: string;
1525
+ }
1526
+
1527
+ /** Optional parameters. */
1528
+ export declare interface EventSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
1529
+ /** Delay to wait until next poll, in milliseconds. */
1530
+ updateIntervalInMs?: number;
1531
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1532
+ resumeFrom?: string;
1533
+ }
1534
+
1535
+ /** Contains response data for the update operation. */
1536
+ export declare type EventSubscriptionsUpdateResponse = EventSubscription;
1537
+
1538
+ /** Properties of the Event Subscription update. */
1539
+ export declare interface EventSubscriptionUpdateParameters {
1540
+ /**
1541
+ * Information about the destination where events have to be delivered for the event subscription.
1542
+ * Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
1543
+ */
1544
+ destination?: EventSubscriptionDestinationUnion;
1545
+ /**
1546
+ * Information about the destination where events have to be delivered for the event subscription.
1547
+ * Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
1548
+ */
1549
+ deliveryWithResourceIdentity?: DeliveryWithResourceIdentity;
1550
+ /** Information about the filter for the event subscription. */
1551
+ filter?: EventSubscriptionFilter;
1552
+ /** List of user defined labels. */
1553
+ labels?: string[];
1554
+ /** Information about the expiration time for the event subscription. */
1555
+ expirationTimeUtc?: Date;
1556
+ /** The event delivery schema for the event subscription. */
1557
+ eventDeliverySchema?: EventDeliverySchema;
1558
+ /** The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events. */
1559
+ retryPolicy?: RetryPolicy;
1560
+ /**
1561
+ * The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
1562
+ * Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
1563
+ */
1564
+ deadLetterDestination?: DeadLetterDestinationUnion;
1565
+ /**
1566
+ * The dead letter destination of the event subscription. Any event that cannot be delivered to its' destination is sent to the dead letter destination.
1567
+ * Uses the managed identity setup on the parent resource (topic / domain) to acquire the authentication tokens being used during delivery / dead-lettering.
1568
+ */
1569
+ deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity;
1570
+ }
1571
+
1572
+ /** Event Type for a subject under a topic */
1573
+ export declare type EventType = Resource & {
1574
+ /** Display name of the event type. */
1575
+ displayName?: string;
1576
+ /** Description of the event type. */
1577
+ description?: string;
1578
+ /** Url of the schema for this event type. */
1579
+ schemaUrl?: string;
1580
+ /** IsInDefaultSet flag of the event type. */
1581
+ isInDefaultSet?: boolean;
1582
+ };
1583
+
1584
+ /** Result of the List Event Types operation */
1585
+ export declare interface EventTypesListResult {
1586
+ /** A collection of event types */
1587
+ value?: EventType[];
1588
+ }
1589
+
1590
+ /** Definition of an Extended Location */
1591
+ export declare interface ExtendedLocation {
1592
+ /** Fully qualified name of the extended location. */
1593
+ name?: string;
1594
+ /** Type of the extended location. */
1595
+ type?: string;
1596
+ }
1597
+
1598
+ /** Event grid Extension Topic. This is used for getting Event Grid related metrics for Azure resources. */
1599
+ export declare type ExtensionTopic = Resource & {
1600
+ /** Description of the extension topic. */
1601
+ description?: string;
1602
+ /** System topic resource id which is mapped to the source. */
1603
+ systemTopic?: string;
1604
+ };
1605
+
1606
+ /** Interface representing a ExtensionTopics. */
1607
+ export declare interface ExtensionTopics {
1608
+ /**
1609
+ * Get the properties of an extension topic.
1610
+ * @param scope The identifier of the resource to which extension topic is queried. The scope can be a
1611
+ * subscription, or a resource group, or a top level resource belonging to a resource provider
1612
+ * namespace. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
1613
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
1614
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
1615
+ * for Azure resource.
1616
+ * @param options The options parameters.
1617
+ */
1618
+ get(scope: string, options?: ExtensionTopicsGetOptionalParams): Promise<ExtensionTopicsGetResponse>;
1619
+ }
1620
+
1621
+ /** Optional parameters. */
1622
+ export declare interface ExtensionTopicsGetOptionalParams extends coreClient.OperationOptions {
1623
+ }
1624
+
1625
+ /** Contains response data for the get operation. */
1626
+ export declare type ExtensionTopicsGetResponse = ExtensionTopic;
1627
+
1628
+ /** Information about the HybridConnection destination for an event subscription. */
1629
+ export declare type HybridConnectionEventSubscriptionDestination = EventSubscriptionDestination & {
1630
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1631
+ endpointType: "HybridConnection";
1632
+ /** The Azure Resource ID of an hybrid connection that is the destination of an event subscription. */
1633
+ resourceId?: string;
1634
+ /** Delivery attribute details. */
1635
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
1636
+ };
1637
+
1638
+ /** The identity information for the resource. */
1639
+ export declare interface IdentityInfo {
1640
+ /** The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. */
1641
+ type?: IdentityType;
1642
+ /** The principal ID of resource identity. */
1643
+ principalId?: string;
1644
+ /** The tenant ID of resource. */
1645
+ tenantId?: string;
1646
+ /**
1647
+ * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
1648
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
1649
+ * This property is currently not used and reserved for future usage.
1650
+ */
1651
+ userAssignedIdentities?: {
1652
+ [propertyName: string]: UserIdentityProperties;
1653
+ };
1654
+ }
1655
+
1656
+ /**
1657
+ * Defines values for IdentityType. \
1658
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
1659
+ * this enum contains the known values that the service supports.
1660
+ * ### Known values supported by the service
1661
+ * **None** \
1662
+ * **SystemAssigned** \
1663
+ * **UserAssigned** \
1664
+ * **SystemAssigned, UserAssigned**
1665
+ */
1666
+ export declare type IdentityType = string;
1667
+
1668
+ export declare interface InboundIpRule {
1669
+ /** IP Address in CIDR notation e.g., 10.0.0.0/8. */
1670
+ ipMask?: string;
1671
+ /** Action to perform based on the match or no match of the IpMask. */
1672
+ action?: IpActionType;
1673
+ }
1674
+
1675
+ /**
1676
+ * Defines values for InputSchema. \
1677
+ * {@link KnownInputSchema} can be used interchangeably with InputSchema,
1678
+ * this enum contains the known values that the service supports.
1679
+ * ### Known values supported by the service
1680
+ * **EventGridSchema** \
1681
+ * **CustomEventSchema** \
1682
+ * **CloudEventSchemaV1_0**
1683
+ */
1684
+ export declare type InputSchema = string;
1685
+
1686
+ /** By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'. */
1687
+ export declare interface InputSchemaMapping {
1688
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1689
+ inputSchemaMappingType: "Json";
1690
+ }
1691
+
1692
+ /**
1693
+ * Defines values for InputSchemaMappingType. \
1694
+ * {@link KnownInputSchemaMappingType} can be used interchangeably with InputSchemaMappingType,
1695
+ * this enum contains the known values that the service supports.
1696
+ * ### Known values supported by the service
1697
+ * **Json**
1698
+ */
1699
+ export declare type InputSchemaMappingType = string;
1700
+
1701
+ export declare type InputSchemaMappingUnion = InputSchemaMapping | JsonInputSchemaMapping;
1702
+
1703
+ /**
1704
+ * Defines values for IpActionType. \
1705
+ * {@link KnownIpActionType} can be used interchangeably with IpActionType,
1706
+ * this enum contains the known values that the service supports.
1707
+ * ### Known values supported by the service
1708
+ * **Allow**
1709
+ */
1710
+ export declare type IpActionType = string;
1711
+
1712
+ /** IsNotNull Advanced Filter. */
1713
+ export declare type IsNotNullAdvancedFilter = AdvancedFilter & {
1714
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1715
+ operatorType: "IsNotNull";
1716
+ };
1717
+
1718
+ /** IsNullOrUndefined Advanced Filter. */
1719
+ export declare type IsNullOrUndefinedAdvancedFilter = AdvancedFilter & {
1720
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1721
+ operatorType: "IsNullOrUndefined";
1722
+ };
1723
+
1724
+ /** This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema. */
1725
+ export declare interface JsonField {
1726
+ /** Name of a field in the input event schema that's to be used as the source of a mapping. */
1727
+ sourceField?: string;
1728
+ }
1729
+
1730
+ /**
1731
+ * This is used to express the source of an input schema mapping for a single target field
1732
+ * in the Event Grid Event schema. This is currently used in the mappings for the 'subject',
1733
+ * 'eventtype' and 'dataversion' properties. This represents a field in the input event schema
1734
+ * along with a default value to be used, and at least one of these two properties should be provided.
1735
+ */
1736
+ export declare interface JsonFieldWithDefault {
1737
+ /** Name of a field in the input event schema that's to be used as the source of a mapping. */
1738
+ sourceField?: string;
1739
+ /** The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload. */
1740
+ defaultValue?: string;
1741
+ }
1742
+
1743
+ /** This enables publishing to Event Grid using a custom input schema. This can be used to map properties from a custom input JSON schema to the Event Grid event schema. */
1744
+ export declare type JsonInputSchemaMapping = InputSchemaMapping & {
1745
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1746
+ inputSchemaMappingType: "Json";
1747
+ /** The mapping information for the Id property of the Event Grid Event. */
1748
+ id?: JsonField;
1749
+ /** The mapping information for the Topic property of the Event Grid Event. */
1750
+ topic?: JsonField;
1751
+ /** The mapping information for the EventTime property of the Event Grid Event. */
1752
+ eventTime?: JsonField;
1753
+ /** The mapping information for the EventType property of the Event Grid Event. */
1754
+ eventType?: JsonFieldWithDefault;
1755
+ /** The mapping information for the Subject property of the Event Grid Event. */
1756
+ subject?: JsonFieldWithDefault;
1757
+ /** The mapping information for the DataVersion property of the Event Grid Event. */
1758
+ dataVersion?: JsonFieldWithDefault;
1759
+ };
1760
+
1761
+ /** Known values of {@link AdvancedFilterOperatorType} that the service accepts. */
1762
+ export declare enum KnownAdvancedFilterOperatorType {
1763
+ NumberIn = "NumberIn",
1764
+ NumberNotIn = "NumberNotIn",
1765
+ NumberLessThan = "NumberLessThan",
1766
+ NumberGreaterThan = "NumberGreaterThan",
1767
+ NumberLessThanOrEquals = "NumberLessThanOrEquals",
1768
+ NumberGreaterThanOrEquals = "NumberGreaterThanOrEquals",
1769
+ BoolEquals = "BoolEquals",
1770
+ StringIn = "StringIn",
1771
+ StringNotIn = "StringNotIn",
1772
+ StringBeginsWith = "StringBeginsWith",
1773
+ StringEndsWith = "StringEndsWith",
1774
+ StringContains = "StringContains",
1775
+ NumberInRange = "NumberInRange",
1776
+ NumberNotInRange = "NumberNotInRange",
1777
+ StringNotBeginsWith = "StringNotBeginsWith",
1778
+ StringNotEndsWith = "StringNotEndsWith",
1779
+ StringNotContains = "StringNotContains",
1780
+ IsNullOrUndefined = "IsNullOrUndefined",
1781
+ IsNotNull = "IsNotNull"
1782
+ }
1783
+
1784
+ /** Known values of {@link CreatedByType} that the service accepts. */
1785
+ export declare enum KnownCreatedByType {
1786
+ User = "User",
1787
+ Application = "Application",
1788
+ ManagedIdentity = "ManagedIdentity",
1789
+ Key = "Key"
1790
+ }
1791
+
1792
+ /** Known values of {@link DeadLetterEndPointType} that the service accepts. */
1793
+ export declare enum KnownDeadLetterEndPointType {
1794
+ StorageBlob = "StorageBlob"
1795
+ }
1796
+
1797
+ /** Known values of {@link DeliveryAttributeMappingType} that the service accepts. */
1798
+ export declare enum KnownDeliveryAttributeMappingType {
1799
+ Static = "Static",
1800
+ Dynamic = "Dynamic"
1801
+ }
1802
+
1803
+ /** Known values of {@link DomainProvisioningState} that the service accepts. */
1804
+ export declare enum KnownDomainProvisioningState {
1805
+ Creating = "Creating",
1806
+ Updating = "Updating",
1807
+ Deleting = "Deleting",
1808
+ Succeeded = "Succeeded",
1809
+ Canceled = "Canceled",
1810
+ Failed = "Failed"
1811
+ }
1812
+
1813
+ /** Known values of {@link DomainTopicProvisioningState} that the service accepts. */
1814
+ export declare enum KnownDomainTopicProvisioningState {
1815
+ Creating = "Creating",
1816
+ Updating = "Updating",
1817
+ Deleting = "Deleting",
1818
+ Succeeded = "Succeeded",
1819
+ Canceled = "Canceled",
1820
+ Failed = "Failed"
1821
+ }
1822
+
1823
+ /** Known values of {@link EndpointType} that the service accepts. */
1824
+ export declare enum KnownEndpointType {
1825
+ WebHook = "WebHook",
1826
+ EventHub = "EventHub",
1827
+ StorageQueue = "StorageQueue",
1828
+ HybridConnection = "HybridConnection",
1829
+ ServiceBusQueue = "ServiceBusQueue",
1830
+ ServiceBusTopic = "ServiceBusTopic",
1831
+ AzureFunction = "AzureFunction"
1832
+ }
1833
+
1834
+ /** Known values of {@link Enum25} that the service accepts. */
1835
+ export declare enum KnownEnum25 {
1836
+ Topics = "topics",
1837
+ Domains = "domains",
1838
+ PartnerNamespaces = "partnerNamespaces"
1839
+ }
1840
+
1841
+ /** Known values of {@link Enum26} that the service accepts. */
1842
+ export declare enum KnownEnum26 {
1843
+ Topics = "topics",
1844
+ Domains = "domains",
1845
+ PartnerNamespaces = "partnerNamespaces"
1846
+ }
1847
+
1848
+ /** Known values of {@link Enum27} that the service accepts. */
1849
+ export declare enum KnownEnum27 {
1850
+ Topics = "topics",
1851
+ Domains = "domains",
1852
+ PartnerNamespaces = "partnerNamespaces"
1853
+ }
1854
+
1855
+ /** Known values of {@link Enum28} that the service accepts. */
1856
+ export declare enum KnownEnum28 {
1857
+ Topics = "topics",
1858
+ Domains = "domains",
1859
+ PartnerNamespaces = "partnerNamespaces"
1860
+ }
1861
+
1862
+ /** Known values of {@link EventChannelProvisioningState} that the service accepts. */
1863
+ export declare enum KnownEventChannelProvisioningState {
1864
+ Creating = "Creating",
1865
+ Updating = "Updating",
1866
+ Deleting = "Deleting",
1867
+ Succeeded = "Succeeded",
1868
+ Canceled = "Canceled",
1869
+ Failed = "Failed"
1870
+ }
1871
+
1872
+ /** Known values of {@link EventDeliverySchema} that the service accepts. */
1873
+ export declare enum KnownEventDeliverySchema {
1874
+ EventGridSchema = "EventGridSchema",
1875
+ CustomInputSchema = "CustomInputSchema",
1876
+ CloudEventSchemaV10 = "CloudEventSchemaV1_0"
1877
+ }
1878
+
1879
+ /** Known values of {@link EventSubscriptionIdentityType} that the service accepts. */
1880
+ export declare enum KnownEventSubscriptionIdentityType {
1881
+ SystemAssigned = "SystemAssigned",
1882
+ UserAssigned = "UserAssigned"
1883
+ }
1884
+
1885
+ /** Known values of {@link EventSubscriptionProvisioningState} that the service accepts. */
1886
+ export declare enum KnownEventSubscriptionProvisioningState {
1887
+ Creating = "Creating",
1888
+ Updating = "Updating",
1889
+ Deleting = "Deleting",
1890
+ Succeeded = "Succeeded",
1891
+ Canceled = "Canceled",
1892
+ Failed = "Failed",
1893
+ AwaitingManualAction = "AwaitingManualAction"
1894
+ }
1895
+
1896
+ /** Known values of {@link IdentityType} that the service accepts. */
1897
+ export declare enum KnownIdentityType {
1898
+ None = "None",
1899
+ SystemAssigned = "SystemAssigned",
1900
+ UserAssigned = "UserAssigned",
1901
+ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned"
1902
+ }
1903
+
1904
+ /** Known values of {@link InputSchema} that the service accepts. */
1905
+ export declare enum KnownInputSchema {
1906
+ EventGridSchema = "EventGridSchema",
1907
+ CustomEventSchema = "CustomEventSchema",
1908
+ CloudEventSchemaV10 = "CloudEventSchemaV1_0"
1909
+ }
1910
+
1911
+ /** Known values of {@link InputSchemaMappingType} that the service accepts. */
1912
+ export declare enum KnownInputSchemaMappingType {
1913
+ Json = "Json"
1914
+ }
1915
+
1916
+ /** Known values of {@link IpActionType} that the service accepts. */
1917
+ export declare enum KnownIpActionType {
1918
+ Allow = "Allow"
1919
+ }
1920
+
1921
+ /** Known values of {@link PartnerNamespaceProvisioningState} that the service accepts. */
1922
+ export declare enum KnownPartnerNamespaceProvisioningState {
1923
+ Creating = "Creating",
1924
+ Updating = "Updating",
1925
+ Deleting = "Deleting",
1926
+ Succeeded = "Succeeded",
1927
+ Canceled = "Canceled",
1928
+ Failed = "Failed"
1929
+ }
1930
+
1931
+ /** Known values of {@link PartnerRegistrationProvisioningState} that the service accepts. */
1932
+ export declare enum KnownPartnerRegistrationProvisioningState {
1933
+ Creating = "Creating",
1934
+ Updating = "Updating",
1935
+ Deleting = "Deleting",
1936
+ Succeeded = "Succeeded",
1937
+ Canceled = "Canceled",
1938
+ Failed = "Failed"
1939
+ }
1940
+
1941
+ /** Known values of {@link PartnerRegistrationVisibilityState} that the service accepts. */
1942
+ export declare enum KnownPartnerRegistrationVisibilityState {
1943
+ Hidden = "Hidden",
1944
+ PublicPreview = "PublicPreview",
1945
+ GenerallyAvailable = "GenerallyAvailable"
1946
+ }
1947
+
1948
+ /** Known values of {@link PartnerTopicActivationState} that the service accepts. */
1949
+ export declare enum KnownPartnerTopicActivationState {
1950
+ NeverActivated = "NeverActivated",
1951
+ Activated = "Activated",
1952
+ Deactivated = "Deactivated"
1953
+ }
1954
+
1955
+ /** Known values of {@link PartnerTopicProvisioningState} that the service accepts. */
1956
+ export declare enum KnownPartnerTopicProvisioningState {
1957
+ Creating = "Creating",
1958
+ Updating = "Updating",
1959
+ Deleting = "Deleting",
1960
+ Succeeded = "Succeeded",
1961
+ Canceled = "Canceled",
1962
+ Failed = "Failed"
1963
+ }
1964
+
1965
+ /** Known values of {@link PartnerTopicReadinessState} that the service accepts. */
1966
+ export declare enum KnownPartnerTopicReadinessState {
1967
+ NotActivatedByUserYet = "NotActivatedByUserYet",
1968
+ ActivatedByUser = "ActivatedByUser",
1969
+ DeactivatedByUser = "DeactivatedByUser",
1970
+ DeletedByUser = "DeletedByUser"
1971
+ }
1972
+
1973
+ /** Known values of {@link PersistedConnectionStatus} that the service accepts. */
1974
+ export declare enum KnownPersistedConnectionStatus {
1975
+ Pending = "Pending",
1976
+ Approved = "Approved",
1977
+ Rejected = "Rejected",
1978
+ Disconnected = "Disconnected"
1979
+ }
1980
+
1981
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1982
+ export declare enum KnownPublicNetworkAccess {
1983
+ Enabled = "Enabled",
1984
+ Disabled = "Disabled"
1985
+ }
1986
+
1987
+ /** Known values of {@link ResourceKind} that the service accepts. */
1988
+ export declare enum KnownResourceKind {
1989
+ Azure = "Azure",
1990
+ AzureArc = "AzureArc"
1991
+ }
1992
+
1993
+ /** Known values of {@link ResourceProvisioningState} that the service accepts. */
1994
+ export declare enum KnownResourceProvisioningState {
1995
+ Creating = "Creating",
1996
+ Updating = "Updating",
1997
+ Deleting = "Deleting",
1998
+ Succeeded = "Succeeded",
1999
+ Canceled = "Canceled",
2000
+ Failed = "Failed"
2001
+ }
2002
+
2003
+ /** Known values of {@link ResourceRegionType} that the service accepts. */
2004
+ export declare enum KnownResourceRegionType {
2005
+ RegionalResource = "RegionalResource",
2006
+ GlobalResource = "GlobalResource"
2007
+ }
2008
+
2009
+ /** Known values of {@link Sku} that the service accepts. */
2010
+ export declare enum KnownSku {
2011
+ Basic = "Basic",
2012
+ Premium = "Premium"
2013
+ }
2014
+
2015
+ /** Known values of {@link TopicProvisioningState} that the service accepts. */
2016
+ export declare enum KnownTopicProvisioningState {
2017
+ Creating = "Creating",
2018
+ Updating = "Updating",
2019
+ Deleting = "Deleting",
2020
+ Succeeded = "Succeeded",
2021
+ Canceled = "Canceled",
2022
+ Failed = "Failed"
2023
+ }
2024
+
2025
+ /** Known values of {@link TopicTypePropertiesSupportedScopesForSourceItem} that the service accepts. */
2026
+ export declare enum KnownTopicTypePropertiesSupportedScopesForSourceItem {
2027
+ Resource = "Resource",
2028
+ ResourceGroup = "ResourceGroup",
2029
+ AzureSubscription = "AzureSubscription"
2030
+ }
2031
+
2032
+ /** Known values of {@link TopicTypeProvisioningState} that the service accepts. */
2033
+ export declare enum KnownTopicTypeProvisioningState {
2034
+ Creating = "Creating",
2035
+ Updating = "Updating",
2036
+ Deleting = "Deleting",
2037
+ Succeeded = "Succeeded",
2038
+ Canceled = "Canceled",
2039
+ Failed = "Failed"
2040
+ }
2041
+
2042
+ /** NumberGreaterThan Advanced Filter. */
2043
+ export declare type NumberGreaterThanAdvancedFilter = AdvancedFilter & {
2044
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2045
+ operatorType: "NumberGreaterThan";
2046
+ /** The filter value. */
2047
+ value?: number;
2048
+ };
2049
+
2050
+ /** NumberGreaterThanOrEquals Advanced Filter. */
2051
+ export declare type NumberGreaterThanOrEqualsAdvancedFilter = AdvancedFilter & {
2052
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2053
+ operatorType: "NumberGreaterThanOrEquals";
2054
+ /** The filter value. */
2055
+ value?: number;
2056
+ };
2057
+
2058
+ /** NumberIn Advanced Filter. */
2059
+ export declare type NumberInAdvancedFilter = AdvancedFilter & {
2060
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2061
+ operatorType: "NumberIn";
2062
+ /** The set of filter values. */
2063
+ values?: number[];
2064
+ };
2065
+
2066
+ /** NumberInRange Advanced Filter. */
2067
+ export declare type NumberInRangeAdvancedFilter = AdvancedFilter & {
2068
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2069
+ operatorType: "NumberInRange";
2070
+ /** The set of filter values. */
2071
+ values?: number[][];
2072
+ };
2073
+
2074
+ /** NumberLessThan Advanced Filter. */
2075
+ export declare type NumberLessThanAdvancedFilter = AdvancedFilter & {
2076
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2077
+ operatorType: "NumberLessThan";
2078
+ /** The filter value. */
2079
+ value?: number;
2080
+ };
2081
+
2082
+ /** NumberLessThanOrEquals Advanced Filter. */
2083
+ export declare type NumberLessThanOrEqualsAdvancedFilter = AdvancedFilter & {
2084
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2085
+ operatorType: "NumberLessThanOrEquals";
2086
+ /** The filter value. */
2087
+ value?: number;
2088
+ };
2089
+
2090
+ /** NumberNotIn Advanced Filter. */
2091
+ export declare type NumberNotInAdvancedFilter = AdvancedFilter & {
2092
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2093
+ operatorType: "NumberNotIn";
2094
+ /** The set of filter values. */
2095
+ values?: number[];
2096
+ };
2097
+
2098
+ /** NumberNotInRange Advanced Filter. */
2099
+ export declare type NumberNotInRangeAdvancedFilter = AdvancedFilter & {
2100
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2101
+ operatorType: "NumberNotInRange";
2102
+ /** The set of filter values. */
2103
+ values?: number[][];
2104
+ };
2105
+
2106
+ /** Represents an operation returned by the GetOperations request */
2107
+ export declare interface Operation {
2108
+ /** Name of the operation */
2109
+ name?: string;
2110
+ /** Display name of the operation */
2111
+ display?: OperationInfo;
2112
+ /** Origin of the operation */
2113
+ origin?: string;
2114
+ /** This Boolean is used to determine if the operation is a data plane action or not. */
2115
+ isDataAction?: boolean;
2116
+ /** Properties of the operation */
2117
+ properties?: Record<string, unknown>;
2118
+ }
2119
+
2120
+ /** Information about an operation */
2121
+ export declare interface OperationInfo {
2122
+ /** Name of the provider */
2123
+ provider?: string;
2124
+ /** Name of the resource type */
2125
+ resource?: string;
2126
+ /** Name of the operation */
2127
+ operation?: string;
2128
+ /** Description of the operation */
2129
+ description?: string;
2130
+ }
2131
+
2132
+ /** Interface representing a Operations. */
2133
+ export declare interface Operations {
2134
+ /**
2135
+ * List the available operations supported by the Microsoft.EventGrid resource provider.
2136
+ * @param options The options parameters.
2137
+ */
2138
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
2139
+ }
2140
+
2141
+ /** Optional parameters. */
2142
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
2143
+ }
2144
+
2145
+ /** Contains response data for the list operation. */
2146
+ export declare type OperationsListResponse = OperationsListResult;
2147
+
2148
+ /** Result of the List Operations operation */
2149
+ export declare interface OperationsListResult {
2150
+ /** A collection of operations */
2151
+ value?: Operation[];
2152
+ }
2153
+
2154
+ /** EventGrid Partner Namespace. */
2155
+ export declare type PartnerNamespace = TrackedResource & {
2156
+ /**
2157
+ * The system metadata relating to Partner Namespace resource.
2158
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2159
+ */
2160
+ readonly systemData?: SystemData;
2161
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
2162
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
2163
+ /**
2164
+ * Provisioning state of the partner namespace.
2165
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2166
+ */
2167
+ readonly provisioningState?: PartnerNamespaceProvisioningState;
2168
+ /**
2169
+ * The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format:
2170
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}.
2171
+ */
2172
+ partnerRegistrationFullyQualifiedId?: string;
2173
+ /**
2174
+ * Endpoint for the partner namespace.
2175
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2176
+ */
2177
+ readonly endpoint?: string;
2178
+ /**
2179
+ * This determines if traffic is allowed over public network. By default it is enabled.
2180
+ * You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceProperties.InboundIpRules" />
2181
+ */
2182
+ publicNetworkAccess?: PublicNetworkAccess;
2183
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
2184
+ inboundIpRules?: InboundIpRule[];
2185
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace. */
2186
+ disableLocalAuth?: boolean;
2187
+ };
2188
+
2189
+ /**
2190
+ * Defines values for PartnerNamespaceProvisioningState. \
2191
+ * {@link KnownPartnerNamespaceProvisioningState} can be used interchangeably with PartnerNamespaceProvisioningState,
2192
+ * this enum contains the known values that the service supports.
2193
+ * ### Known values supported by the service
2194
+ * **Creating** \
2195
+ * **Updating** \
2196
+ * **Deleting** \
2197
+ * **Succeeded** \
2198
+ * **Canceled** \
2199
+ * **Failed**
2200
+ */
2201
+ export declare type PartnerNamespaceProvisioningState = string;
2202
+
2203
+ /** PartnerNamespace regenerate shared access key request. */
2204
+ export declare interface PartnerNamespaceRegenerateKeyRequest {
2205
+ /** Key name to regenerate (key1 or key2). */
2206
+ keyName: string;
2207
+ }
2208
+
2209
+ /** Interface representing a PartnerNamespaces. */
2210
+ export declare interface PartnerNamespaces {
2211
+ /**
2212
+ * List all the partner namespaces under an Azure subscription.
2213
+ * @param options The options parameters.
2214
+ */
2215
+ listBySubscription(options?: PartnerNamespacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PartnerNamespace>;
2216
+ /**
2217
+ * List all the partner namespaces under a resource group.
2218
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2219
+ * @param options The options parameters.
2220
+ */
2221
+ listByResourceGroup(resourceGroupName: string, options?: PartnerNamespacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PartnerNamespace>;
2222
+ /**
2223
+ * Get properties of a partner namespace.
2224
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2225
+ * @param partnerNamespaceName Name of the partner namespace.
2226
+ * @param options The options parameters.
2227
+ */
2228
+ get(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesGetOptionalParams): Promise<PartnerNamespacesGetResponse>;
2229
+ /**
2230
+ * Asynchronously creates a new partner namespace with the specified parameters.
2231
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2232
+ * @param partnerNamespaceName Name of the partner namespace.
2233
+ * @param partnerNamespaceInfo PartnerNamespace information.
2234
+ * @param options The options parameters.
2235
+ */
2236
+ beginCreateOrUpdate(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceInfo: PartnerNamespace, options?: PartnerNamespacesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PartnerNamespacesCreateOrUpdateResponse>, PartnerNamespacesCreateOrUpdateResponse>>;
2237
+ /**
2238
+ * Asynchronously creates a new partner namespace with the specified parameters.
2239
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2240
+ * @param partnerNamespaceName Name of the partner namespace.
2241
+ * @param partnerNamespaceInfo PartnerNamespace information.
2242
+ * @param options The options parameters.
2243
+ */
2244
+ beginCreateOrUpdateAndWait(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceInfo: PartnerNamespace, options?: PartnerNamespacesCreateOrUpdateOptionalParams): Promise<PartnerNamespacesCreateOrUpdateResponse>;
2245
+ /**
2246
+ * Delete existing partner namespace.
2247
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2248
+ * @param partnerNamespaceName Name of the partner namespace.
2249
+ * @param options The options parameters.
2250
+ */
2251
+ beginDelete(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2252
+ /**
2253
+ * Delete existing partner namespace.
2254
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2255
+ * @param partnerNamespaceName Name of the partner namespace.
2256
+ * @param options The options parameters.
2257
+ */
2258
+ beginDeleteAndWait(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesDeleteOptionalParams): Promise<void>;
2259
+ /**
2260
+ * Asynchronously updates a partner namespace with the specified parameters.
2261
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2262
+ * @param partnerNamespaceName Name of the partner namespace.
2263
+ * @param partnerNamespaceUpdateParameters Partner namespace update information.
2264
+ * @param options The options parameters.
2265
+ */
2266
+ beginUpdate(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceUpdateParameters: PartnerNamespaceUpdateParameters, options?: PartnerNamespacesUpdateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2267
+ /**
2268
+ * Asynchronously updates a partner namespace with the specified parameters.
2269
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2270
+ * @param partnerNamespaceName Name of the partner namespace.
2271
+ * @param partnerNamespaceUpdateParameters Partner namespace update information.
2272
+ * @param options The options parameters.
2273
+ */
2274
+ beginUpdateAndWait(resourceGroupName: string, partnerNamespaceName: string, partnerNamespaceUpdateParameters: PartnerNamespaceUpdateParameters, options?: PartnerNamespacesUpdateOptionalParams): Promise<void>;
2275
+ /**
2276
+ * List the two keys used to publish to a partner namespace.
2277
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2278
+ * @param partnerNamespaceName Name of the partner namespace.
2279
+ * @param options The options parameters.
2280
+ */
2281
+ listSharedAccessKeys(resourceGroupName: string, partnerNamespaceName: string, options?: PartnerNamespacesListSharedAccessKeysOptionalParams): Promise<PartnerNamespacesListSharedAccessKeysResponse>;
2282
+ /**
2283
+ * Regenerate a shared access key for a partner namespace.
2284
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2285
+ * @param partnerNamespaceName Name of the partner namespace.
2286
+ * @param regenerateKeyRequest Request body to regenerate key.
2287
+ * @param options The options parameters.
2288
+ */
2289
+ regenerateKey(resourceGroupName: string, partnerNamespaceName: string, regenerateKeyRequest: PartnerNamespaceRegenerateKeyRequest, options?: PartnerNamespacesRegenerateKeyOptionalParams): Promise<PartnerNamespacesRegenerateKeyResponse>;
2290
+ }
2291
+
2292
+ /** Optional parameters. */
2293
+ export declare interface PartnerNamespacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2294
+ /** Delay to wait until next poll, in milliseconds. */
2295
+ updateIntervalInMs?: number;
2296
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2297
+ resumeFrom?: string;
2298
+ }
2299
+
2300
+ /** Contains response data for the createOrUpdate operation. */
2301
+ export declare type PartnerNamespacesCreateOrUpdateResponse = PartnerNamespace;
2302
+
2303
+ /** Optional parameters. */
2304
+ export declare interface PartnerNamespacesDeleteOptionalParams extends coreClient.OperationOptions {
2305
+ /** Delay to wait until next poll, in milliseconds. */
2306
+ updateIntervalInMs?: number;
2307
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2308
+ resumeFrom?: string;
2309
+ }
2310
+
2311
+ /** Optional parameters. */
2312
+ export declare interface PartnerNamespacesGetOptionalParams extends coreClient.OperationOptions {
2313
+ }
2314
+
2315
+ /** Contains response data for the get operation. */
2316
+ export declare type PartnerNamespacesGetResponse = PartnerNamespace;
2317
+
2318
+ /** Shared access keys of the partner namespace. */
2319
+ export declare interface PartnerNamespaceSharedAccessKeys {
2320
+ /** Shared access key1 for the partner namespace. */
2321
+ key1?: string;
2322
+ /** Shared access key2 for the partner namespace. */
2323
+ key2?: string;
2324
+ }
2325
+
2326
+ /** Optional parameters. */
2327
+ export declare interface PartnerNamespacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2328
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2329
+ filter?: string;
2330
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2331
+ top?: number;
2332
+ }
2333
+
2334
+ /** Contains response data for the listByResourceGroupNext operation. */
2335
+ export declare type PartnerNamespacesListByResourceGroupNextResponse = PartnerNamespacesListResult;
2336
+
2337
+ /** Optional parameters. */
2338
+ export declare interface PartnerNamespacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2339
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2340
+ filter?: string;
2341
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2342
+ top?: number;
2343
+ }
2344
+
2345
+ /** Contains response data for the listByResourceGroup operation. */
2346
+ export declare type PartnerNamespacesListByResourceGroupResponse = PartnerNamespacesListResult;
2347
+
2348
+ /** Optional parameters. */
2349
+ export declare interface PartnerNamespacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2350
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2351
+ filter?: string;
2352
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2353
+ top?: number;
2354
+ }
2355
+
2356
+ /** Contains response data for the listBySubscriptionNext operation. */
2357
+ export declare type PartnerNamespacesListBySubscriptionNextResponse = PartnerNamespacesListResult;
2358
+
2359
+ /** Optional parameters. */
2360
+ export declare interface PartnerNamespacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2361
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2362
+ filter?: string;
2363
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2364
+ top?: number;
2365
+ }
2366
+
2367
+ /** Contains response data for the listBySubscription operation. */
2368
+ export declare type PartnerNamespacesListBySubscriptionResponse = PartnerNamespacesListResult;
2369
+
2370
+ /** Result of the List Partner Namespaces operation */
2371
+ export declare interface PartnerNamespacesListResult {
2372
+ /** A collection of partner namespaces. */
2373
+ value?: PartnerNamespace[];
2374
+ /** A link for the next page of partner namespaces. */
2375
+ nextLink?: string;
2376
+ }
2377
+
2378
+ /** Optional parameters. */
2379
+ export declare interface PartnerNamespacesListSharedAccessKeysOptionalParams extends coreClient.OperationOptions {
2380
+ }
2381
+
2382
+ /** Contains response data for the listSharedAccessKeys operation. */
2383
+ export declare type PartnerNamespacesListSharedAccessKeysResponse = PartnerNamespaceSharedAccessKeys;
2384
+
2385
+ /** Optional parameters. */
2386
+ export declare interface PartnerNamespacesRegenerateKeyOptionalParams extends coreClient.OperationOptions {
2387
+ }
2388
+
2389
+ /** Contains response data for the regenerateKey operation. */
2390
+ export declare type PartnerNamespacesRegenerateKeyResponse = PartnerNamespaceSharedAccessKeys;
2391
+
2392
+ /** Optional parameters. */
2393
+ export declare interface PartnerNamespacesUpdateOptionalParams extends coreClient.OperationOptions {
2394
+ /** Delay to wait until next poll, in milliseconds. */
2395
+ updateIntervalInMs?: number;
2396
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2397
+ resumeFrom?: string;
2398
+ }
2399
+
2400
+ /** Properties of the PartnerNamespace update. */
2401
+ export declare interface PartnerNamespaceUpdateParameters {
2402
+ /** Tags of the partner namespace. */
2403
+ tags?: {
2404
+ [propertyName: string]: string;
2405
+ };
2406
+ /**
2407
+ * This determines if traffic is allowed over public network. By default it is enabled.
2408
+ * You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceUpdateParameterProperties.InboundIpRules" />
2409
+ */
2410
+ publicNetworkAccess?: PublicNetworkAccess;
2411
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
2412
+ inboundIpRules?: InboundIpRule[];
2413
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace. */
2414
+ disableLocalAuth?: boolean;
2415
+ }
2416
+
2417
+ /** Information about a partner registration. */
2418
+ export declare type PartnerRegistration = TrackedResource & {
2419
+ /**
2420
+ * The system metadata relating to Partner Registration resource.
2421
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2422
+ */
2423
+ readonly systemData?: SystemData;
2424
+ /**
2425
+ * Provisioning state of the partner registration.
2426
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2427
+ */
2428
+ readonly provisioningState?: PartnerRegistrationProvisioningState;
2429
+ /** Official name of the partner name. For example: "Contoso". */
2430
+ partnerName?: string;
2431
+ /** Name of the partner resource type. */
2432
+ partnerResourceTypeName?: string;
2433
+ /** Display name of the partner resource type. */
2434
+ partnerResourceTypeDisplayName?: string;
2435
+ /** Short description of the partner resource type. The length of this description should not exceed 256 characters. */
2436
+ partnerResourceTypeDescription?: string;
2437
+ /**
2438
+ * Long description for the custom scenarios and integration to be displayed in the portal if needed.
2439
+ * Length of this description should not exceed 2048 characters.
2440
+ */
2441
+ longDescription?: string;
2442
+ /**
2443
+ * The customer service number of the publisher. The expected phone format should start with a '+' sign
2444
+ * followed by the country code. The remaining digits are then followed. Only digits and spaces are allowed and its
2445
+ * length cannot exceed 16 digits including country code. Examples of valid phone numbers are: +1 515 123 4567 and
2446
+ * +966 7 5115 2471. Examples of invalid phone numbers are: +1 (515) 123-4567, 1 515 123 4567 and +966 121 5115 24 7 551 1234 43
2447
+ */
2448
+ partnerCustomerServiceNumber?: string;
2449
+ /** The extension of the customer service number of the publisher. Only digits are allowed and number of digits should not exceed 10. */
2450
+ partnerCustomerServiceExtension?: string;
2451
+ /** The extension of the customer service URI of the publisher. */
2452
+ customerServiceUri?: string;
2453
+ /**
2454
+ * URI of the partner website that can be used by Azure customers to setup Event Grid
2455
+ * integration on an event source.
2456
+ */
2457
+ setupUri?: string;
2458
+ /** URI of the logo. */
2459
+ logoUri?: string;
2460
+ /** Visibility state of the partner registration. */
2461
+ visibilityState?: PartnerRegistrationVisibilityState;
2462
+ /**
2463
+ * List of Azure subscription Ids that are authorized to create a partner namespace
2464
+ * associated with this partner registration. This is an optional property. Creating
2465
+ * partner namespaces is always permitted under the same Azure subscription as the one used
2466
+ * for creating the partner registration.
2467
+ */
2468
+ authorizedAzureSubscriptionIds?: string[];
2469
+ };
2470
+
2471
+ /**
2472
+ * Defines values for PartnerRegistrationProvisioningState. \
2473
+ * {@link KnownPartnerRegistrationProvisioningState} can be used interchangeably with PartnerRegistrationProvisioningState,
2474
+ * this enum contains the known values that the service supports.
2475
+ * ### Known values supported by the service
2476
+ * **Creating** \
2477
+ * **Updating** \
2478
+ * **Deleting** \
2479
+ * **Succeeded** \
2480
+ * **Canceled** \
2481
+ * **Failed**
2482
+ */
2483
+ export declare type PartnerRegistrationProvisioningState = string;
2484
+
2485
+ /** Interface representing a PartnerRegistrations. */
2486
+ export declare interface PartnerRegistrations {
2487
+ /**
2488
+ * List all the partner registrations under an Azure subscription.
2489
+ * @param options The options parameters.
2490
+ */
2491
+ listBySubscription(options?: PartnerRegistrationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PartnerRegistration>;
2492
+ /**
2493
+ * List all the partner registrations under a resource group.
2494
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2495
+ * @param options The options parameters.
2496
+ */
2497
+ listByResourceGroup(resourceGroupName: string, options?: PartnerRegistrationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PartnerRegistration>;
2498
+ /**
2499
+ * Gets a partner registration with the specified parameters.
2500
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2501
+ * @param partnerRegistrationName Name of the partner registration.
2502
+ * @param options The options parameters.
2503
+ */
2504
+ get(resourceGroupName: string, partnerRegistrationName: string, options?: PartnerRegistrationsGetOptionalParams): Promise<PartnerRegistrationsGetResponse>;
2505
+ /**
2506
+ * Creates a new partner registration with the specified parameters.
2507
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2508
+ * @param partnerRegistrationName Name of the partner registration.
2509
+ * @param partnerRegistrationInfo PartnerRegistration information.
2510
+ * @param options The options parameters.
2511
+ */
2512
+ createOrUpdate(resourceGroupName: string, partnerRegistrationName: string, partnerRegistrationInfo: PartnerRegistration, options?: PartnerRegistrationsCreateOrUpdateOptionalParams): Promise<PartnerRegistrationsCreateOrUpdateResponse>;
2513
+ /**
2514
+ * Deletes a partner registration with the specified parameters.
2515
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2516
+ * @param partnerRegistrationName Name of the partner registration.
2517
+ * @param options The options parameters.
2518
+ */
2519
+ delete(resourceGroupName: string, partnerRegistrationName: string, options?: PartnerRegistrationsDeleteOptionalParams): Promise<void>;
2520
+ /**
2521
+ * Updates a partner registration with the specified parameters.
2522
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2523
+ * @param partnerRegistrationName Name of the partner registration.
2524
+ * @param partnerRegistrationUpdateParameters Partner registration update information.
2525
+ * @param options The options parameters.
2526
+ */
2527
+ update(resourceGroupName: string, partnerRegistrationName: string, partnerRegistrationUpdateParameters: PartnerRegistrationUpdateParameters, options?: PartnerRegistrationsUpdateOptionalParams): Promise<PartnerRegistrationsUpdateResponse>;
2528
+ }
2529
+
2530
+ /** Optional parameters. */
2531
+ export declare interface PartnerRegistrationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2532
+ }
2533
+
2534
+ /** Contains response data for the createOrUpdate operation. */
2535
+ export declare type PartnerRegistrationsCreateOrUpdateResponse = PartnerRegistration;
2536
+
2537
+ /** Optional parameters. */
2538
+ export declare interface PartnerRegistrationsDeleteOptionalParams extends coreClient.OperationOptions {
2539
+ }
2540
+
2541
+ /** Optional parameters. */
2542
+ export declare interface PartnerRegistrationsGetOptionalParams extends coreClient.OperationOptions {
2543
+ }
2544
+
2545
+ /** Contains response data for the get operation. */
2546
+ export declare type PartnerRegistrationsGetResponse = PartnerRegistration;
2547
+
2548
+ /** Optional parameters. */
2549
+ export declare interface PartnerRegistrationsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2550
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2551
+ filter?: string;
2552
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2553
+ top?: number;
2554
+ }
2555
+
2556
+ /** Contains response data for the listByResourceGroupNext operation. */
2557
+ export declare type PartnerRegistrationsListByResourceGroupNextResponse = PartnerRegistrationsListResult;
2558
+
2559
+ /** Optional parameters. */
2560
+ export declare interface PartnerRegistrationsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2561
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2562
+ filter?: string;
2563
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2564
+ top?: number;
2565
+ }
2566
+
2567
+ /** Contains response data for the listByResourceGroup operation. */
2568
+ export declare type PartnerRegistrationsListByResourceGroupResponse = PartnerRegistrationsListResult;
2569
+
2570
+ /** Optional parameters. */
2571
+ export declare interface PartnerRegistrationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2572
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2573
+ filter?: string;
2574
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2575
+ top?: number;
2576
+ }
2577
+
2578
+ /** Contains response data for the listBySubscriptionNext operation. */
2579
+ export declare type PartnerRegistrationsListBySubscriptionNextResponse = PartnerRegistrationsListResult;
2580
+
2581
+ /** Optional parameters. */
2582
+ export declare interface PartnerRegistrationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2583
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2584
+ filter?: string;
2585
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2586
+ top?: number;
2587
+ }
2588
+
2589
+ /** Contains response data for the listBySubscription operation. */
2590
+ export declare type PartnerRegistrationsListBySubscriptionResponse = PartnerRegistrationsListResult;
2591
+
2592
+ /** Result of the List Partner Registrations operation. */
2593
+ export declare interface PartnerRegistrationsListResult {
2594
+ /** A collection of partner registrations. */
2595
+ value?: PartnerRegistration[];
2596
+ /** A link for the next page of partner registrations. */
2597
+ nextLink?: string;
2598
+ }
2599
+
2600
+ /** Optional parameters. */
2601
+ export declare interface PartnerRegistrationsUpdateOptionalParams extends coreClient.OperationOptions {
2602
+ }
2603
+
2604
+ /** Contains response data for the update operation. */
2605
+ export declare type PartnerRegistrationsUpdateResponse = PartnerRegistration;
2606
+
2607
+ /** Properties of the Partner Registration update. */
2608
+ export declare interface PartnerRegistrationUpdateParameters {
2609
+ /** Tags of the partner registration resource. */
2610
+ tags?: {
2611
+ [propertyName: string]: string;
2612
+ };
2613
+ /** Name of the partner topic type. */
2614
+ partnerTopicTypeName?: string;
2615
+ /** Display name of the partner topic type. */
2616
+ partnerTopicTypeDisplayName?: string;
2617
+ /** Description of the partner topic type. */
2618
+ partnerTopicTypeDescription?: string;
2619
+ /**
2620
+ * URI of the partner website that can be used by Azure customers to setup Event Grid
2621
+ * integration on an event source.
2622
+ */
2623
+ setupUri?: string;
2624
+ /** URI of the partner logo. */
2625
+ logoUri?: string;
2626
+ /**
2627
+ * List of IDs of Azure AD applications that are authorized to create a partner namespace
2628
+ * associated with this partner registration. This is an optional property. Creating
2629
+ * partner namespaces is always permitted under the same Azure subscription as the one used
2630
+ * for creating the partner registration.
2631
+ */
2632
+ authorizedAzureSubscriptionIds?: string[];
2633
+ }
2634
+
2635
+ /**
2636
+ * Defines values for PartnerRegistrationVisibilityState. \
2637
+ * {@link KnownPartnerRegistrationVisibilityState} can be used interchangeably with PartnerRegistrationVisibilityState,
2638
+ * this enum contains the known values that the service supports.
2639
+ * ### Known values supported by the service
2640
+ * **Hidden** \
2641
+ * **PublicPreview** \
2642
+ * **GenerallyAvailable**
2643
+ */
2644
+ export declare type PartnerRegistrationVisibilityState = string;
2645
+
2646
+ /** EventGrid Partner Topic. */
2647
+ export declare type PartnerTopic = TrackedResource & {
2648
+ /**
2649
+ * The system metadata relating to Partner Topic resource.
2650
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2651
+ */
2652
+ readonly systemData?: SystemData;
2653
+ /** Identity information for the Partner Topic resource. */
2654
+ identity?: IdentityInfo;
2655
+ /** Source associated with this partner topic. This represents a unique partner resource. */
2656
+ source?: string;
2657
+ /**
2658
+ * Expiration time of the partner topic. If this timer expires while the partner topic is still never activated,
2659
+ * the partner topic and corresponding event channel are deleted.
2660
+ */
2661
+ expirationTimeIfNotActivatedUtc?: Date;
2662
+ /**
2663
+ * Provisioning state of the partner topic.
2664
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2665
+ */
2666
+ readonly provisioningState?: PartnerTopicProvisioningState;
2667
+ /** Activation state of the partner topic. */
2668
+ activationState?: PartnerTopicActivationState;
2669
+ /**
2670
+ * Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.
2671
+ * This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
2672
+ */
2673
+ partnerTopicFriendlyDescription?: string;
2674
+ };
2675
+
2676
+ /**
2677
+ * Defines values for PartnerTopicActivationState. \
2678
+ * {@link KnownPartnerTopicActivationState} can be used interchangeably with PartnerTopicActivationState,
2679
+ * this enum contains the known values that the service supports.
2680
+ * ### Known values supported by the service
2681
+ * **NeverActivated** \
2682
+ * **Activated** \
2683
+ * **Deactivated**
2684
+ */
2685
+ export declare type PartnerTopicActivationState = string;
2686
+
2687
+ /** Interface representing a PartnerTopicEventSubscriptions. */
2688
+ export declare interface PartnerTopicEventSubscriptions {
2689
+ /**
2690
+ * List event subscriptions that belong to a specific partner topic.
2691
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2692
+ * @param partnerTopicName Name of the partner topic.
2693
+ * @param options The options parameters.
2694
+ */
2695
+ listByPartnerTopic(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
2696
+ /**
2697
+ * Get an event subscription of a partner topic.
2698
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2699
+ * @param partnerTopicName Name of the partner topic.
2700
+ * @param eventSubscriptionName Name of the event subscription to be found. Event subscription names
2701
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
2702
+ * @param options The options parameters.
2703
+ */
2704
+ get(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, options?: PartnerTopicEventSubscriptionsGetOptionalParams): Promise<PartnerTopicEventSubscriptionsGetResponse>;
2705
+ /**
2706
+ * Asynchronously creates or updates an event subscription of a partner topic with the specified
2707
+ * parameters. Existing event subscriptions will be updated with this API.
2708
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2709
+ * @param partnerTopicName Name of the partner topic.
2710
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
2711
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
2712
+ * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
2713
+ * information.
2714
+ * @param options The options parameters.
2715
+ */
2716
+ beginCreateOrUpdate(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PartnerTopicEventSubscriptionsCreateOrUpdateResponse>, PartnerTopicEventSubscriptionsCreateOrUpdateResponse>>;
2717
+ /**
2718
+ * Asynchronously creates or updates an event subscription of a partner topic with the specified
2719
+ * parameters. Existing event subscriptions will be updated with this API.
2720
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2721
+ * @param partnerTopicName Name of the partner topic.
2722
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
2723
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
2724
+ * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
2725
+ * information.
2726
+ * @param options The options parameters.
2727
+ */
2728
+ beginCreateOrUpdateAndWait(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams): Promise<PartnerTopicEventSubscriptionsCreateOrUpdateResponse>;
2729
+ /**
2730
+ * Delete an event subscription of a partner topic.
2731
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2732
+ * @param partnerTopicName Name of the partner topic.
2733
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
2734
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
2735
+ * @param options The options parameters.
2736
+ */
2737
+ beginDelete(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, options?: PartnerTopicEventSubscriptionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2738
+ /**
2739
+ * Delete an event subscription of a partner topic.
2740
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2741
+ * @param partnerTopicName Name of the partner topic.
2742
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
2743
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
2744
+ * @param options The options parameters.
2745
+ */
2746
+ beginDeleteAndWait(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, options?: PartnerTopicEventSubscriptionsDeleteOptionalParams): Promise<void>;
2747
+ /**
2748
+ * Update event subscription of a partner topic.
2749
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2750
+ * @param partnerTopicName Name of the partner topic.
2751
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
2752
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
2753
+ * @param eventSubscriptionUpdateParameters Updated event subscription information.
2754
+ * @param options The options parameters.
2755
+ */
2756
+ beginUpdate(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: PartnerTopicEventSubscriptionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<PartnerTopicEventSubscriptionsUpdateResponse>, PartnerTopicEventSubscriptionsUpdateResponse>>;
2757
+ /**
2758
+ * Update event subscription of a partner topic.
2759
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2760
+ * @param partnerTopicName Name of the partner topic.
2761
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
2762
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
2763
+ * @param eventSubscriptionUpdateParameters Updated event subscription information.
2764
+ * @param options The options parameters.
2765
+ */
2766
+ beginUpdateAndWait(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: PartnerTopicEventSubscriptionsUpdateOptionalParams): Promise<PartnerTopicEventSubscriptionsUpdateResponse>;
2767
+ /**
2768
+ * Get the full endpoint URL for an event subscription of a partner topic.
2769
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2770
+ * @param partnerTopicName Name of the partner topic.
2771
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
2772
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
2773
+ * @param options The options parameters.
2774
+ */
2775
+ getFullUrl(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, options?: PartnerTopicEventSubscriptionsGetFullUrlOptionalParams): Promise<PartnerTopicEventSubscriptionsGetFullUrlResponse>;
2776
+ /**
2777
+ * Get all delivery attributes for an event subscription of a partner topic.
2778
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2779
+ * @param partnerTopicName Name of the partner topic.
2780
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
2781
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
2782
+ * @param options The options parameters.
2783
+ */
2784
+ getDeliveryAttributes(resourceGroupName: string, partnerTopicName: string, eventSubscriptionName: string, options?: PartnerTopicEventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<PartnerTopicEventSubscriptionsGetDeliveryAttributesResponse>;
2785
+ }
2786
+
2787
+ /** Optional parameters. */
2788
+ export declare interface PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2789
+ /** Delay to wait until next poll, in milliseconds. */
2790
+ updateIntervalInMs?: number;
2791
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2792
+ resumeFrom?: string;
2793
+ }
2794
+
2795
+ /** Contains response data for the createOrUpdate operation. */
2796
+ export declare type PartnerTopicEventSubscriptionsCreateOrUpdateResponse = EventSubscription;
2797
+
2798
+ /** Optional parameters. */
2799
+ export declare interface PartnerTopicEventSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
2800
+ /** Delay to wait until next poll, in milliseconds. */
2801
+ updateIntervalInMs?: number;
2802
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2803
+ resumeFrom?: string;
2804
+ }
2805
+
2806
+ /** Optional parameters. */
2807
+ export declare interface PartnerTopicEventSubscriptionsGetDeliveryAttributesOptionalParams extends coreClient.OperationOptions {
2808
+ }
2809
+
2810
+ /** Contains response data for the getDeliveryAttributes operation. */
2811
+ export declare type PartnerTopicEventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
2812
+
2813
+ /** Optional parameters. */
2814
+ export declare interface PartnerTopicEventSubscriptionsGetFullUrlOptionalParams extends coreClient.OperationOptions {
2815
+ }
2816
+
2817
+ /** Contains response data for the getFullUrl operation. */
2818
+ export declare type PartnerTopicEventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
2819
+
2820
+ /** Optional parameters. */
2821
+ export declare interface PartnerTopicEventSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
2822
+ }
2823
+
2824
+ /** Contains response data for the get operation. */
2825
+ export declare type PartnerTopicEventSubscriptionsGetResponse = EventSubscription;
2826
+
2827
+ /** Optional parameters. */
2828
+ export declare interface PartnerTopicEventSubscriptionsListByPartnerTopicNextOptionalParams extends coreClient.OperationOptions {
2829
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2830
+ filter?: string;
2831
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2832
+ top?: number;
2833
+ }
2834
+
2835
+ /** Contains response data for the listByPartnerTopicNext operation. */
2836
+ export declare type PartnerTopicEventSubscriptionsListByPartnerTopicNextResponse = EventSubscriptionsListResult;
2837
+
2838
+ /** Optional parameters. */
2839
+ export declare interface PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams extends coreClient.OperationOptions {
2840
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2841
+ filter?: string;
2842
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2843
+ top?: number;
2844
+ }
2845
+
2846
+ /** Contains response data for the listByPartnerTopic operation. */
2847
+ export declare type PartnerTopicEventSubscriptionsListByPartnerTopicResponse = EventSubscriptionsListResult;
2848
+
2849
+ /** Optional parameters. */
2850
+ export declare interface PartnerTopicEventSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
2851
+ /** Delay to wait until next poll, in milliseconds. */
2852
+ updateIntervalInMs?: number;
2853
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2854
+ resumeFrom?: string;
2855
+ }
2856
+
2857
+ /** Contains response data for the update operation. */
2858
+ export declare type PartnerTopicEventSubscriptionsUpdateResponse = EventSubscription;
2859
+
2860
+ /**
2861
+ * Defines values for PartnerTopicProvisioningState. \
2862
+ * {@link KnownPartnerTopicProvisioningState} can be used interchangeably with PartnerTopicProvisioningState,
2863
+ * this enum contains the known values that the service supports.
2864
+ * ### Known values supported by the service
2865
+ * **Creating** \
2866
+ * **Updating** \
2867
+ * **Deleting** \
2868
+ * **Succeeded** \
2869
+ * **Canceled** \
2870
+ * **Failed**
2871
+ */
2872
+ export declare type PartnerTopicProvisioningState = string;
2873
+
2874
+ /**
2875
+ * Defines values for PartnerTopicReadinessState. \
2876
+ * {@link KnownPartnerTopicReadinessState} can be used interchangeably with PartnerTopicReadinessState,
2877
+ * this enum contains the known values that the service supports.
2878
+ * ### Known values supported by the service
2879
+ * **NotActivatedByUserYet** \
2880
+ * **ActivatedByUser** \
2881
+ * **DeactivatedByUser** \
2882
+ * **DeletedByUser**
2883
+ */
2884
+ export declare type PartnerTopicReadinessState = string;
2885
+
2886
+ /** Interface representing a PartnerTopics. */
2887
+ export declare interface PartnerTopics {
2888
+ /**
2889
+ * List all the partner topics under an Azure subscription.
2890
+ * @param options The options parameters.
2891
+ */
2892
+ listBySubscription(options?: PartnerTopicsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PartnerTopic>;
2893
+ /**
2894
+ * List all the partner topics under a resource group.
2895
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2896
+ * @param options The options parameters.
2897
+ */
2898
+ listByResourceGroup(resourceGroupName: string, options?: PartnerTopicsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PartnerTopic>;
2899
+ /**
2900
+ * Get properties of a partner topic.
2901
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2902
+ * @param partnerTopicName Name of the partner topic.
2903
+ * @param options The options parameters.
2904
+ */
2905
+ get(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsGetOptionalParams): Promise<PartnerTopicsGetResponse>;
2906
+ /**
2907
+ * Delete existing partner topic.
2908
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2909
+ * @param partnerTopicName Name of the partner topic.
2910
+ * @param options The options parameters.
2911
+ */
2912
+ beginDelete(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
2913
+ /**
2914
+ * Delete existing partner topic.
2915
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2916
+ * @param partnerTopicName Name of the partner topic.
2917
+ * @param options The options parameters.
2918
+ */
2919
+ beginDeleteAndWait(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsDeleteOptionalParams): Promise<void>;
2920
+ /**
2921
+ * Asynchronously updates a partner topic with the specified parameters.
2922
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2923
+ * @param partnerTopicName Name of the partner topic.
2924
+ * @param partnerTopicUpdateParameters PartnerTopic update information.
2925
+ * @param options The options parameters.
2926
+ */
2927
+ update(resourceGroupName: string, partnerTopicName: string, partnerTopicUpdateParameters: PartnerTopicUpdateParameters, options?: PartnerTopicsUpdateOptionalParams): Promise<PartnerTopicsUpdateResponse>;
2928
+ /**
2929
+ * Activate a newly created partner topic.
2930
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2931
+ * @param partnerTopicName Name of the partner topic.
2932
+ * @param options The options parameters.
2933
+ */
2934
+ activate(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsActivateOptionalParams): Promise<PartnerTopicsActivateResponse>;
2935
+ /**
2936
+ * Deactivate specific partner topic.
2937
+ * @param resourceGroupName The name of the resource group within the user's subscription.
2938
+ * @param partnerTopicName Name of the partner topic.
2939
+ * @param options The options parameters.
2940
+ */
2941
+ deactivate(resourceGroupName: string, partnerTopicName: string, options?: PartnerTopicsDeactivateOptionalParams): Promise<PartnerTopicsDeactivateResponse>;
2942
+ }
2943
+
2944
+ /** Optional parameters. */
2945
+ export declare interface PartnerTopicsActivateOptionalParams extends coreClient.OperationOptions {
2946
+ }
2947
+
2948
+ /** Contains response data for the activate operation. */
2949
+ export declare type PartnerTopicsActivateResponse = PartnerTopic;
2950
+
2951
+ /** Optional parameters. */
2952
+ export declare interface PartnerTopicsDeactivateOptionalParams extends coreClient.OperationOptions {
2953
+ }
2954
+
2955
+ /** Contains response data for the deactivate operation. */
2956
+ export declare type PartnerTopicsDeactivateResponse = PartnerTopic;
2957
+
2958
+ /** Optional parameters. */
2959
+ export declare interface PartnerTopicsDeleteOptionalParams extends coreClient.OperationOptions {
2960
+ /** Delay to wait until next poll, in milliseconds. */
2961
+ updateIntervalInMs?: number;
2962
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2963
+ resumeFrom?: string;
2964
+ }
2965
+
2966
+ /** Optional parameters. */
2967
+ export declare interface PartnerTopicsGetOptionalParams extends coreClient.OperationOptions {
2968
+ }
2969
+
2970
+ /** Contains response data for the get operation. */
2971
+ export declare type PartnerTopicsGetResponse = PartnerTopic;
2972
+
2973
+ /** Optional parameters. */
2974
+ export declare interface PartnerTopicsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2975
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2976
+ filter?: string;
2977
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2978
+ top?: number;
2979
+ }
2980
+
2981
+ /** Contains response data for the listByResourceGroupNext operation. */
2982
+ export declare type PartnerTopicsListByResourceGroupNextResponse = PartnerTopicsListResult;
2983
+
2984
+ /** Optional parameters. */
2985
+ export declare interface PartnerTopicsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2986
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2987
+ filter?: string;
2988
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
2989
+ top?: number;
2990
+ }
2991
+
2992
+ /** Contains response data for the listByResourceGroup operation. */
2993
+ export declare type PartnerTopicsListByResourceGroupResponse = PartnerTopicsListResult;
2994
+
2995
+ /** Optional parameters. */
2996
+ export declare interface PartnerTopicsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
2997
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
2998
+ filter?: string;
2999
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3000
+ top?: number;
3001
+ }
3002
+
3003
+ /** Contains response data for the listBySubscriptionNext operation. */
3004
+ export declare type PartnerTopicsListBySubscriptionNextResponse = PartnerTopicsListResult;
3005
+
3006
+ /** Optional parameters. */
3007
+ export declare interface PartnerTopicsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
3008
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3009
+ filter?: string;
3010
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3011
+ top?: number;
3012
+ }
3013
+
3014
+ /** Contains response data for the listBySubscription operation. */
3015
+ export declare type PartnerTopicsListBySubscriptionResponse = PartnerTopicsListResult;
3016
+
3017
+ /** Result of the List Partner Topics operation. */
3018
+ export declare interface PartnerTopicsListResult {
3019
+ /** A collection of partner topics. */
3020
+ value?: PartnerTopic[];
3021
+ /** A link for the next page of partner topics. */
3022
+ nextLink?: string;
3023
+ }
3024
+
3025
+ /** Optional parameters. */
3026
+ export declare interface PartnerTopicsUpdateOptionalParams extends coreClient.OperationOptions {
3027
+ }
3028
+
3029
+ /** Contains response data for the update operation. */
3030
+ export declare type PartnerTopicsUpdateResponse = PartnerTopic;
3031
+
3032
+ /** Properties of the Partner Topic update. */
3033
+ export declare interface PartnerTopicUpdateParameters {
3034
+ /** Tags of the Partner Topic resource. */
3035
+ tags?: {
3036
+ [propertyName: string]: string;
3037
+ };
3038
+ /** Identity information for the Partner Topic resource. */
3039
+ identity?: IdentityInfo;
3040
+ }
3041
+
3042
+ /**
3043
+ * Defines values for PersistedConnectionStatus. \
3044
+ * {@link KnownPersistedConnectionStatus} can be used interchangeably with PersistedConnectionStatus,
3045
+ * this enum contains the known values that the service supports.
3046
+ * ### Known values supported by the service
3047
+ * **Pending** \
3048
+ * **Approved** \
3049
+ * **Rejected** \
3050
+ * **Disconnected**
3051
+ */
3052
+ export declare type PersistedConnectionStatus = string;
3053
+
3054
+ /** PrivateEndpoint information. */
3055
+ export declare interface PrivateEndpoint {
3056
+ /** The ARM identifier for Private Endpoint. */
3057
+ id?: string;
3058
+ }
3059
+
3060
+ export declare type PrivateEndpointConnection = Resource & {
3061
+ /** The Private Endpoint resource for this Connection. */
3062
+ privateEndpoint?: PrivateEndpoint;
3063
+ /** GroupIds from the private link service resource. */
3064
+ groupIds?: string[];
3065
+ /** Details about the state of the connection. */
3066
+ privateLinkServiceConnectionState?: ConnectionState;
3067
+ /** Provisioning state of the Private Endpoint Connection. */
3068
+ provisioningState?: ResourceProvisioningState;
3069
+ };
3070
+
3071
+ /** Result of the list of all private endpoint connections operation. */
3072
+ export declare interface PrivateEndpointConnectionListResult {
3073
+ /** A collection of private endpoint connection resources. */
3074
+ value?: PrivateEndpointConnection[];
3075
+ /** A link for the next page of private endpoint connection resources. */
3076
+ nextLink?: string;
3077
+ }
3078
+
3079
+ /** Interface representing a PrivateEndpointConnections. */
3080
+ export declare interface PrivateEndpointConnections {
3081
+ /**
3082
+ * Get all private endpoint connections under a topic, domain, or partner namespace.
3083
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3084
+ * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
3085
+ * \'partnerNamespaces\'.
3086
+ * @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
3087
+ * partner namespace name).
3088
+ * @param options The options parameters.
3089
+ */
3090
+ listByResource(resourceGroupName: string, parentType: Enum28, parentName: string, options?: PrivateEndpointConnectionsListByResourceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
3091
+ /**
3092
+ * Get a specific private endpoint connection under a topic, domain, or partner namespace.
3093
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3094
+ * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
3095
+ * \'partnerNamespaces\'.
3096
+ * @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
3097
+ * partner namespace name).
3098
+ * @param privateEndpointConnectionName The name of the private endpoint connection connection.
3099
+ * @param options The options parameters.
3100
+ */
3101
+ get(resourceGroupName: string, parentType: Enum25, parentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
3102
+ /**
3103
+ * Update a specific private endpoint connection under a topic, domain or partner namespace.
3104
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3105
+ * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
3106
+ * \'partnerNamespaces\'.
3107
+ * @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
3108
+ * partner namespace name).
3109
+ * @param privateEndpointConnectionName The name of the private endpoint connection connection.
3110
+ * @param privateEndpointConnection The private endpoint connection object to update.
3111
+ * @param options The options parameters.
3112
+ */
3113
+ beginUpdate(resourceGroupName: string, parentType: Enum26, parentName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsUpdateResponse>, PrivateEndpointConnectionsUpdateResponse>>;
3114
+ /**
3115
+ * Update a specific private endpoint connection under a topic, domain or partner namespace.
3116
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3117
+ * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
3118
+ * \'partnerNamespaces\'.
3119
+ * @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
3120
+ * partner namespace name).
3121
+ * @param privateEndpointConnectionName The name of the private endpoint connection connection.
3122
+ * @param privateEndpointConnection The private endpoint connection object to update.
3123
+ * @param options The options parameters.
3124
+ */
3125
+ beginUpdateAndWait(resourceGroupName: string, parentType: Enum26, parentName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PrivateEndpointConnectionsUpdateResponse>;
3126
+ /**
3127
+ * Delete a specific private endpoint connection under a topic, domain, or partner namespace.
3128
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3129
+ * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
3130
+ * \'partnerNamespaces\'.
3131
+ * @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
3132
+ * partner namespace name).
3133
+ * @param privateEndpointConnectionName The name of the private endpoint connection connection.
3134
+ * @param options The options parameters.
3135
+ */
3136
+ beginDelete(resourceGroupName: string, parentType: Enum27, parentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
3137
+ /**
3138
+ * Delete a specific private endpoint connection under a topic, domain, or partner namespace.
3139
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3140
+ * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
3141
+ * \'partnerNamespaces\'.
3142
+ * @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
3143
+ * partner namespace name).
3144
+ * @param privateEndpointConnectionName The name of the private endpoint connection connection.
3145
+ * @param options The options parameters.
3146
+ */
3147
+ beginDeleteAndWait(resourceGroupName: string, parentType: Enum27, parentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
3148
+ }
3149
+
3150
+ /** Optional parameters. */
3151
+ export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
3152
+ /** Delay to wait until next poll, in milliseconds. */
3153
+ updateIntervalInMs?: number;
3154
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3155
+ resumeFrom?: string;
3156
+ }
3157
+
3158
+ /** Optional parameters. */
3159
+ export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
3160
+ }
3161
+
3162
+ /** Contains response data for the get operation. */
3163
+ export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
3164
+
3165
+ /** Optional parameters. */
3166
+ export declare interface PrivateEndpointConnectionsListByResourceNextOptionalParams extends coreClient.OperationOptions {
3167
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3168
+ filter?: string;
3169
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3170
+ top?: number;
3171
+ }
3172
+
3173
+ /** Contains response data for the listByResourceNext operation. */
3174
+ export declare type PrivateEndpointConnectionsListByResourceNextResponse = PrivateEndpointConnectionListResult;
3175
+
3176
+ /** Optional parameters. */
3177
+ export declare interface PrivateEndpointConnectionsListByResourceOptionalParams extends coreClient.OperationOptions {
3178
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3179
+ filter?: string;
3180
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3181
+ top?: number;
3182
+ }
3183
+
3184
+ /** Contains response data for the listByResource operation. */
3185
+ export declare type PrivateEndpointConnectionsListByResourceResponse = PrivateEndpointConnectionListResult;
3186
+
3187
+ /** Optional parameters. */
3188
+ export declare interface PrivateEndpointConnectionsUpdateOptionalParams extends coreClient.OperationOptions {
3189
+ /** Delay to wait until next poll, in milliseconds. */
3190
+ updateIntervalInMs?: number;
3191
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3192
+ resumeFrom?: string;
3193
+ }
3194
+
3195
+ /** Contains response data for the update operation. */
3196
+ export declare type PrivateEndpointConnectionsUpdateResponse = PrivateEndpointConnection;
3197
+
3198
+ /** Information of the private link resource. */
3199
+ export declare interface PrivateLinkResource {
3200
+ /** Fully qualified identifier of the resource. */
3201
+ id?: string;
3202
+ /** Name of the resource. */
3203
+ name?: string;
3204
+ /** Type of the resource. */
3205
+ type?: string;
3206
+ groupId?: string;
3207
+ displayName?: string;
3208
+ requiredMembers?: string[];
3209
+ requiredZoneNames?: string[];
3210
+ }
3211
+
3212
+ /** Interface representing a PrivateLinkResources. */
3213
+ export declare interface PrivateLinkResources {
3214
+ /**
3215
+ * List all the private link resources under a topic, domain, or partner namespace.
3216
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3217
+ * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
3218
+ * \'partnerNamespaces\'.
3219
+ * @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
3220
+ * partner namespace name).
3221
+ * @param options The options parameters.
3222
+ */
3223
+ listByResource(resourceGroupName: string, parentType: string, parentName: string, options?: PrivateLinkResourcesListByResourceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
3224
+ /**
3225
+ * Get properties of a private link resource.
3226
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3227
+ * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', or
3228
+ * \'partnerNamespaces\'.
3229
+ * @param parentName The name of the parent resource (namely, either, the topic name, domain name, or
3230
+ * partner namespace name).
3231
+ * @param privateLinkResourceName The name of private link resource.
3232
+ * @param options The options parameters.
3233
+ */
3234
+ get(resourceGroupName: string, parentType: string, parentName: string, privateLinkResourceName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
3235
+ }
3236
+
3237
+ /** Optional parameters. */
3238
+ export declare interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
3239
+ }
3240
+
3241
+ /** Contains response data for the get operation. */
3242
+ export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource;
3243
+
3244
+ /** Optional parameters. */
3245
+ export declare interface PrivateLinkResourcesListByResourceNextOptionalParams extends coreClient.OperationOptions {
3246
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3247
+ filter?: string;
3248
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3249
+ top?: number;
3250
+ }
3251
+
3252
+ /** Contains response data for the listByResourceNext operation. */
3253
+ export declare type PrivateLinkResourcesListByResourceNextResponse = PrivateLinkResourcesListResult;
3254
+
3255
+ /** Optional parameters. */
3256
+ export declare interface PrivateLinkResourcesListByResourceOptionalParams extends coreClient.OperationOptions {
3257
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3258
+ filter?: string;
3259
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3260
+ top?: number;
3261
+ }
3262
+
3263
+ /** Contains response data for the listByResource operation. */
3264
+ export declare type PrivateLinkResourcesListByResourceResponse = PrivateLinkResourcesListResult;
3265
+
3266
+ /** Result of the List private link resources operation. */
3267
+ export declare interface PrivateLinkResourcesListResult {
3268
+ /** A collection of private link resources */
3269
+ value?: PrivateLinkResource[];
3270
+ /** A link for the next page of private link resources. */
3271
+ nextLink?: string;
3272
+ }
3273
+
3274
+ /**
3275
+ * Defines values for PublicNetworkAccess. \
3276
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
3277
+ * this enum contains the known values that the service supports.
3278
+ * ### Known values supported by the service
3279
+ * **Enabled** \
3280
+ * **Disabled**
3281
+ */
3282
+ export declare type PublicNetworkAccess = string;
3283
+
3284
+ /** Definition of a Resource */
3285
+ export declare interface Resource {
3286
+ /**
3287
+ * Fully qualified identifier of the resource.
3288
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3289
+ */
3290
+ readonly id?: string;
3291
+ /**
3292
+ * Name of the resource.
3293
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3294
+ */
3295
+ readonly name?: string;
3296
+ /**
3297
+ * Type of the resource.
3298
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3299
+ */
3300
+ readonly type?: string;
3301
+ }
3302
+
3303
+ /**
3304
+ * Defines values for ResourceKind. \
3305
+ * {@link KnownResourceKind} can be used interchangeably with ResourceKind,
3306
+ * this enum contains the known values that the service supports.
3307
+ * ### Known values supported by the service
3308
+ * **Azure** \
3309
+ * **AzureArc**
3310
+ */
3311
+ export declare type ResourceKind = string;
3312
+
3313
+ /**
3314
+ * Defines values for ResourceProvisioningState. \
3315
+ * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,
3316
+ * this enum contains the known values that the service supports.
3317
+ * ### Known values supported by the service
3318
+ * **Creating** \
3319
+ * **Updating** \
3320
+ * **Deleting** \
3321
+ * **Succeeded** \
3322
+ * **Canceled** \
3323
+ * **Failed**
3324
+ */
3325
+ export declare type ResourceProvisioningState = string;
3326
+
3327
+ /**
3328
+ * Defines values for ResourceRegionType. \
3329
+ * {@link KnownResourceRegionType} can be used interchangeably with ResourceRegionType,
3330
+ * this enum contains the known values that the service supports.
3331
+ * ### Known values supported by the service
3332
+ * **RegionalResource** \
3333
+ * **GlobalResource**
3334
+ */
3335
+ export declare type ResourceRegionType = string;
3336
+
3337
+ /** Describes an EventGrid Resource Sku. */
3338
+ export declare interface ResourceSku {
3339
+ /** The Sku name of the resource. The possible values are: Basic or Premium. */
3340
+ name?: Sku;
3341
+ }
3342
+
3343
+ /** Information about the retry policy for an event subscription. */
3344
+ export declare interface RetryPolicy {
3345
+ /** Maximum number of delivery retry attempts for events. */
3346
+ maxDeliveryAttempts?: number;
3347
+ /** Time To Live (in minutes) for events. */
3348
+ eventTimeToLiveInMinutes?: number;
3349
+ }
3350
+
3351
+ /** Information about the service bus destination for an event subscription. */
3352
+ export declare type ServiceBusQueueEventSubscriptionDestination = EventSubscriptionDestination & {
3353
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3354
+ endpointType: "ServiceBusQueue";
3355
+ /** The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription. */
3356
+ resourceId?: string;
3357
+ /** Delivery attribute details. */
3358
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
3359
+ };
3360
+
3361
+ /** Information about the service bus topic destination for an event subscription. */
3362
+ export declare type ServiceBusTopicEventSubscriptionDestination = EventSubscriptionDestination & {
3363
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3364
+ endpointType: "ServiceBusTopic";
3365
+ /** The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription. */
3366
+ resourceId?: string;
3367
+ /** Delivery attribute details. */
3368
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
3369
+ };
3370
+
3371
+ /**
3372
+ * Defines values for Sku. \
3373
+ * {@link KnownSku} can be used interchangeably with Sku,
3374
+ * this enum contains the known values that the service supports.
3375
+ * ### Known values supported by the service
3376
+ * **Basic** \
3377
+ * **Premium**
3378
+ */
3379
+ export declare type Sku = string;
3380
+
3381
+ /** Static delivery attribute mapping details. */
3382
+ export declare type StaticDeliveryAttributeMapping = DeliveryAttributeMapping & {
3383
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3384
+ type: "Static";
3385
+ /** Value of the delivery attribute. */
3386
+ value?: string;
3387
+ /** Boolean flag to tell if the attribute contains sensitive information . */
3388
+ isSecret?: boolean;
3389
+ };
3390
+
3391
+ /** Information about the storage blob based dead letter destination. */
3392
+ export declare type StorageBlobDeadLetterDestination = DeadLetterDestination & {
3393
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3394
+ endpointType: "StorageBlob";
3395
+ /** The Azure Resource ID of the storage account that is the destination of the deadletter events */
3396
+ resourceId?: string;
3397
+ /** The name of the Storage blob container that is the destination of the deadletter events */
3398
+ blobContainerName?: string;
3399
+ };
3400
+
3401
+ /** Information about the storage queue destination for an event subscription. */
3402
+ export declare type StorageQueueEventSubscriptionDestination = EventSubscriptionDestination & {
3403
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3404
+ endpointType: "StorageQueue";
3405
+ /** The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription. */
3406
+ resourceId?: string;
3407
+ /** The name of the Storage queue under a storage account that is the destination of an event subscription. */
3408
+ queueName?: string;
3409
+ /** Storage queue message time to live in seconds. */
3410
+ queueMessageTimeToLiveInSeconds?: number;
3411
+ };
3412
+
3413
+ /** StringBeginsWith Advanced Filter. */
3414
+ export declare type StringBeginsWithAdvancedFilter = AdvancedFilter & {
3415
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3416
+ operatorType: "StringBeginsWith";
3417
+ /** The set of filter values. */
3418
+ values?: string[];
3419
+ };
3420
+
3421
+ /** StringContains Advanced Filter. */
3422
+ export declare type StringContainsAdvancedFilter = AdvancedFilter & {
3423
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3424
+ operatorType: "StringContains";
3425
+ /** The set of filter values. */
3426
+ values?: string[];
3427
+ };
3428
+
3429
+ /** StringEndsWith Advanced Filter. */
3430
+ export declare type StringEndsWithAdvancedFilter = AdvancedFilter & {
3431
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3432
+ operatorType: "StringEndsWith";
3433
+ /** The set of filter values. */
3434
+ values?: string[];
3435
+ };
3436
+
3437
+ /** StringIn Advanced Filter. */
3438
+ export declare type StringInAdvancedFilter = AdvancedFilter & {
3439
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3440
+ operatorType: "StringIn";
3441
+ /** The set of filter values. */
3442
+ values?: string[];
3443
+ };
3444
+
3445
+ /** StringNotBeginsWith Advanced Filter. */
3446
+ export declare type StringNotBeginsWithAdvancedFilter = AdvancedFilter & {
3447
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3448
+ operatorType: "StringNotBeginsWith";
3449
+ /** The set of filter values. */
3450
+ values?: string[];
3451
+ };
3452
+
3453
+ /** StringNotContains Advanced Filter. */
3454
+ export declare type StringNotContainsAdvancedFilter = AdvancedFilter & {
3455
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3456
+ operatorType: "StringNotContains";
3457
+ /** The set of filter values. */
3458
+ values?: string[];
3459
+ };
3460
+
3461
+ /** StringNotEndsWith Advanced Filter. */
3462
+ export declare type StringNotEndsWithAdvancedFilter = AdvancedFilter & {
3463
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3464
+ operatorType: "StringNotEndsWith";
3465
+ /** The set of filter values. */
3466
+ values?: string[];
3467
+ };
3468
+
3469
+ /** StringNotIn Advanced Filter. */
3470
+ export declare type StringNotInAdvancedFilter = AdvancedFilter & {
3471
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3472
+ operatorType: "StringNotIn";
3473
+ /** The set of filter values. */
3474
+ values?: string[];
3475
+ };
3476
+
3477
+ /** Metadata pertaining to creation and last modification of the resource. */
3478
+ export declare interface SystemData {
3479
+ /** The identity that created the resource. */
3480
+ createdBy?: string;
3481
+ /** The type of identity that created the resource. */
3482
+ createdByType?: CreatedByType;
3483
+ /** The timestamp of resource creation (UTC). */
3484
+ createdAt?: Date;
3485
+ /** The identity that last modified the resource. */
3486
+ lastModifiedBy?: string;
3487
+ /** The type of identity that last modified the resource. */
3488
+ lastModifiedByType?: CreatedByType;
3489
+ /** The timestamp of resource last modification (UTC) */
3490
+ lastModifiedAt?: Date;
3491
+ }
3492
+
3493
+ /** EventGrid System Topic. */
3494
+ export declare type SystemTopic = TrackedResource & {
3495
+ /**
3496
+ * The system metadata relating to System Topic resource.
3497
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3498
+ */
3499
+ readonly systemData?: SystemData;
3500
+ /** Identity information for the resource. */
3501
+ identity?: IdentityInfo;
3502
+ /**
3503
+ * Provisioning state of the system topic.
3504
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3505
+ */
3506
+ readonly provisioningState?: ResourceProvisioningState;
3507
+ /** Source for the system topic. */
3508
+ source?: string;
3509
+ /** TopicType for the system topic. */
3510
+ topicType?: string;
3511
+ /**
3512
+ * Metric resource id for the system topic.
3513
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3514
+ */
3515
+ readonly metricResourceId?: string;
3516
+ };
3517
+
3518
+ /** Interface representing a SystemTopicEventSubscriptions. */
3519
+ export declare interface SystemTopicEventSubscriptions {
3520
+ /**
3521
+ * List event subscriptions that belong to a specific system topic.
3522
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3523
+ * @param systemTopicName Name of the system topic.
3524
+ * @param options The options parameters.
3525
+ */
3526
+ listBySystemTopic(resourceGroupName: string, systemTopicName: string, options?: SystemTopicEventSubscriptionsListBySystemTopicOptionalParams): PagedAsyncIterableIterator<EventSubscription>;
3527
+ /**
3528
+ * Get an event subscription.
3529
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3530
+ * @param systemTopicName Name of the system topic.
3531
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
3532
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
3533
+ * @param options The options parameters.
3534
+ */
3535
+ get(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetOptionalParams): Promise<SystemTopicEventSubscriptionsGetResponse>;
3536
+ /**
3537
+ * Asynchronously creates or updates an event subscription with the specified parameters. Existing
3538
+ * event subscriptions will be updated with this API.
3539
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3540
+ * @param systemTopicName Name of the system topic.
3541
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
3542
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
3543
+ * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
3544
+ * information.
3545
+ * @param options The options parameters.
3546
+ */
3547
+ beginCreateOrUpdate(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SystemTopicEventSubscriptionsCreateOrUpdateResponse>, SystemTopicEventSubscriptionsCreateOrUpdateResponse>>;
3548
+ /**
3549
+ * Asynchronously creates or updates an event subscription with the specified parameters. Existing
3550
+ * event subscriptions will be updated with this API.
3551
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3552
+ * @param systemTopicName Name of the system topic.
3553
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
3554
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
3555
+ * @param eventSubscriptionInfo Event subscription properties containing the destination and filter
3556
+ * information.
3557
+ * @param options The options parameters.
3558
+ */
3559
+ beginCreateOrUpdateAndWait(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionInfo: EventSubscription, options?: SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams): Promise<SystemTopicEventSubscriptionsCreateOrUpdateResponse>;
3560
+ /**
3561
+ * Delete an event subscription of a system topic.
3562
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3563
+ * @param systemTopicName Name of the system topic.
3564
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
3565
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
3566
+ * @param options The options parameters.
3567
+ */
3568
+ beginDelete(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
3569
+ /**
3570
+ * Delete an event subscription of a system topic.
3571
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3572
+ * @param systemTopicName Name of the system topic.
3573
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
3574
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
3575
+ * @param options The options parameters.
3576
+ */
3577
+ beginDeleteAndWait(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsDeleteOptionalParams): Promise<void>;
3578
+ /**
3579
+ * Update event subscription of a system topic.
3580
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3581
+ * @param systemTopicName Name of the system topic.
3582
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
3583
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
3584
+ * @param eventSubscriptionUpdateParameters Updated event subscription information.
3585
+ * @param options The options parameters.
3586
+ */
3587
+ beginUpdate(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: SystemTopicEventSubscriptionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<SystemTopicEventSubscriptionsUpdateResponse>, SystemTopicEventSubscriptionsUpdateResponse>>;
3588
+ /**
3589
+ * Update event subscription of a system topic.
3590
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3591
+ * @param systemTopicName Name of the system topic.
3592
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
3593
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
3594
+ * @param eventSubscriptionUpdateParameters Updated event subscription information.
3595
+ * @param options The options parameters.
3596
+ */
3597
+ beginUpdateAndWait(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters, options?: SystemTopicEventSubscriptionsUpdateOptionalParams): Promise<SystemTopicEventSubscriptionsUpdateResponse>;
3598
+ /**
3599
+ * Get the full endpoint URL for an event subscription of a system topic.
3600
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3601
+ * @param systemTopicName Name of the system topic.
3602
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
3603
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
3604
+ * @param options The options parameters.
3605
+ */
3606
+ getFullUrl(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetFullUrlOptionalParams): Promise<SystemTopicEventSubscriptionsGetFullUrlResponse>;
3607
+ /**
3608
+ * Get all delivery attributes for an event subscription.
3609
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3610
+ * @param systemTopicName Name of the system topic.
3611
+ * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
3612
+ * must be between 3 and 100 characters in length and use alphanumeric letters only.
3613
+ * @param options The options parameters.
3614
+ */
3615
+ getDeliveryAttributes(resourceGroupName: string, systemTopicName: string, eventSubscriptionName: string, options?: SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams): Promise<SystemTopicEventSubscriptionsGetDeliveryAttributesResponse>;
3616
+ }
3617
+
3618
+ /** Optional parameters. */
3619
+ export declare interface SystemTopicEventSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
3620
+ /** Delay to wait until next poll, in milliseconds. */
3621
+ updateIntervalInMs?: number;
3622
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3623
+ resumeFrom?: string;
3624
+ }
3625
+
3626
+ /** Contains response data for the createOrUpdate operation. */
3627
+ export declare type SystemTopicEventSubscriptionsCreateOrUpdateResponse = EventSubscription;
3628
+
3629
+ /** Optional parameters. */
3630
+ export declare interface SystemTopicEventSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
3631
+ /** Delay to wait until next poll, in milliseconds. */
3632
+ updateIntervalInMs?: number;
3633
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3634
+ resumeFrom?: string;
3635
+ }
3636
+
3637
+ /** Optional parameters. */
3638
+ export declare interface SystemTopicEventSubscriptionsGetDeliveryAttributesOptionalParams extends coreClient.OperationOptions {
3639
+ }
3640
+
3641
+ /** Contains response data for the getDeliveryAttributes operation. */
3642
+ export declare type SystemTopicEventSubscriptionsGetDeliveryAttributesResponse = DeliveryAttributeListResult;
3643
+
3644
+ /** Optional parameters. */
3645
+ export declare interface SystemTopicEventSubscriptionsGetFullUrlOptionalParams extends coreClient.OperationOptions {
3646
+ }
3647
+
3648
+ /** Contains response data for the getFullUrl operation. */
3649
+ export declare type SystemTopicEventSubscriptionsGetFullUrlResponse = EventSubscriptionFullUrl;
3650
+
3651
+ /** Optional parameters. */
3652
+ export declare interface SystemTopicEventSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
3653
+ }
3654
+
3655
+ /** Contains response data for the get operation. */
3656
+ export declare type SystemTopicEventSubscriptionsGetResponse = EventSubscription;
3657
+
3658
+ /** Optional parameters. */
3659
+ export declare interface SystemTopicEventSubscriptionsListBySystemTopicNextOptionalParams extends coreClient.OperationOptions {
3660
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3661
+ filter?: string;
3662
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3663
+ top?: number;
3664
+ }
3665
+
3666
+ /** Contains response data for the listBySystemTopicNext operation. */
3667
+ export declare type SystemTopicEventSubscriptionsListBySystemTopicNextResponse = EventSubscriptionsListResult;
3668
+
3669
+ /** Optional parameters. */
3670
+ export declare interface SystemTopicEventSubscriptionsListBySystemTopicOptionalParams extends coreClient.OperationOptions {
3671
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3672
+ filter?: string;
3673
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3674
+ top?: number;
3675
+ }
3676
+
3677
+ /** Contains response data for the listBySystemTopic operation. */
3678
+ export declare type SystemTopicEventSubscriptionsListBySystemTopicResponse = EventSubscriptionsListResult;
3679
+
3680
+ /** Optional parameters. */
3681
+ export declare interface SystemTopicEventSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
3682
+ /** Delay to wait until next poll, in milliseconds. */
3683
+ updateIntervalInMs?: number;
3684
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3685
+ resumeFrom?: string;
3686
+ }
3687
+
3688
+ /** Contains response data for the update operation. */
3689
+ export declare type SystemTopicEventSubscriptionsUpdateResponse = EventSubscription;
3690
+
3691
+ /** Interface representing a SystemTopics. */
3692
+ export declare interface SystemTopics {
3693
+ /**
3694
+ * List all the system topics under an Azure subscription.
3695
+ * @param options The options parameters.
3696
+ */
3697
+ listBySubscription(options?: SystemTopicsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SystemTopic>;
3698
+ /**
3699
+ * List all the system topics under a resource group.
3700
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3701
+ * @param options The options parameters.
3702
+ */
3703
+ listByResourceGroup(resourceGroupName: string, options?: SystemTopicsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SystemTopic>;
3704
+ /**
3705
+ * Get properties of a system topic.
3706
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3707
+ * @param systemTopicName Name of the system topic.
3708
+ * @param options The options parameters.
3709
+ */
3710
+ get(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsGetOptionalParams): Promise<SystemTopicsGetResponse>;
3711
+ /**
3712
+ * Asynchronously creates a new system topic with the specified parameters.
3713
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3714
+ * @param systemTopicName Name of the system topic.
3715
+ * @param systemTopicInfo System Topic information.
3716
+ * @param options The options parameters.
3717
+ */
3718
+ beginCreateOrUpdate(resourceGroupName: string, systemTopicName: string, systemTopicInfo: SystemTopic, options?: SystemTopicsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SystemTopicsCreateOrUpdateResponse>, SystemTopicsCreateOrUpdateResponse>>;
3719
+ /**
3720
+ * Asynchronously creates a new system topic with the specified parameters.
3721
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3722
+ * @param systemTopicName Name of the system topic.
3723
+ * @param systemTopicInfo System Topic information.
3724
+ * @param options The options parameters.
3725
+ */
3726
+ beginCreateOrUpdateAndWait(resourceGroupName: string, systemTopicName: string, systemTopicInfo: SystemTopic, options?: SystemTopicsCreateOrUpdateOptionalParams): Promise<SystemTopicsCreateOrUpdateResponse>;
3727
+ /**
3728
+ * Delete existing system topic.
3729
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3730
+ * @param systemTopicName Name of the system topic.
3731
+ * @param options The options parameters.
3732
+ */
3733
+ beginDelete(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
3734
+ /**
3735
+ * Delete existing system topic.
3736
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3737
+ * @param systemTopicName Name of the system topic.
3738
+ * @param options The options parameters.
3739
+ */
3740
+ beginDeleteAndWait(resourceGroupName: string, systemTopicName: string, options?: SystemTopicsDeleteOptionalParams): Promise<void>;
3741
+ /**
3742
+ * Asynchronously updates a system topic with the specified parameters.
3743
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3744
+ * @param systemTopicName Name of the system topic.
3745
+ * @param systemTopicUpdateParameters SystemTopic update information.
3746
+ * @param options The options parameters.
3747
+ */
3748
+ beginUpdate(resourceGroupName: string, systemTopicName: string, systemTopicUpdateParameters: SystemTopicUpdateParameters, options?: SystemTopicsUpdateOptionalParams): Promise<PollerLike<PollOperationState<SystemTopicsUpdateResponse>, SystemTopicsUpdateResponse>>;
3749
+ /**
3750
+ * Asynchronously updates a system topic with the specified parameters.
3751
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3752
+ * @param systemTopicName Name of the system topic.
3753
+ * @param systemTopicUpdateParameters SystemTopic update information.
3754
+ * @param options The options parameters.
3755
+ */
3756
+ beginUpdateAndWait(resourceGroupName: string, systemTopicName: string, systemTopicUpdateParameters: SystemTopicUpdateParameters, options?: SystemTopicsUpdateOptionalParams): Promise<SystemTopicsUpdateResponse>;
3757
+ }
3758
+
3759
+ /** Optional parameters. */
3760
+ export declare interface SystemTopicsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
3761
+ /** Delay to wait until next poll, in milliseconds. */
3762
+ updateIntervalInMs?: number;
3763
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3764
+ resumeFrom?: string;
3765
+ }
3766
+
3767
+ /** Contains response data for the createOrUpdate operation. */
3768
+ export declare type SystemTopicsCreateOrUpdateResponse = SystemTopic;
3769
+
3770
+ /** Optional parameters. */
3771
+ export declare interface SystemTopicsDeleteOptionalParams extends coreClient.OperationOptions {
3772
+ /** Delay to wait until next poll, in milliseconds. */
3773
+ updateIntervalInMs?: number;
3774
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3775
+ resumeFrom?: string;
3776
+ }
3777
+
3778
+ /** Optional parameters. */
3779
+ export declare interface SystemTopicsGetOptionalParams extends coreClient.OperationOptions {
3780
+ }
3781
+
3782
+ /** Contains response data for the get operation. */
3783
+ export declare type SystemTopicsGetResponse = SystemTopic;
3784
+
3785
+ /** Optional parameters. */
3786
+ export declare interface SystemTopicsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
3787
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3788
+ filter?: string;
3789
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3790
+ top?: number;
3791
+ }
3792
+
3793
+ /** Contains response data for the listByResourceGroupNext operation. */
3794
+ export declare type SystemTopicsListByResourceGroupNextResponse = SystemTopicsListResult;
3795
+
3796
+ /** Optional parameters. */
3797
+ export declare interface SystemTopicsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
3798
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3799
+ filter?: string;
3800
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3801
+ top?: number;
3802
+ }
3803
+
3804
+ /** Contains response data for the listByResourceGroup operation. */
3805
+ export declare type SystemTopicsListByResourceGroupResponse = SystemTopicsListResult;
3806
+
3807
+ /** Optional parameters. */
3808
+ export declare interface SystemTopicsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
3809
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3810
+ filter?: string;
3811
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3812
+ top?: number;
3813
+ }
3814
+
3815
+ /** Contains response data for the listBySubscriptionNext operation. */
3816
+ export declare type SystemTopicsListBySubscriptionNextResponse = SystemTopicsListResult;
3817
+
3818
+ /** Optional parameters. */
3819
+ export declare interface SystemTopicsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
3820
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
3821
+ filter?: string;
3822
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
3823
+ top?: number;
3824
+ }
3825
+
3826
+ /** Contains response data for the listBySubscription operation. */
3827
+ export declare type SystemTopicsListBySubscriptionResponse = SystemTopicsListResult;
3828
+
3829
+ /** Result of the List System topics operation. */
3830
+ export declare interface SystemTopicsListResult {
3831
+ /** A collection of system Topics. */
3832
+ value?: SystemTopic[];
3833
+ /** A link for the next page of topics. */
3834
+ nextLink?: string;
3835
+ }
3836
+
3837
+ /** Optional parameters. */
3838
+ export declare interface SystemTopicsUpdateOptionalParams extends coreClient.OperationOptions {
3839
+ /** Delay to wait until next poll, in milliseconds. */
3840
+ updateIntervalInMs?: number;
3841
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3842
+ resumeFrom?: string;
3843
+ }
3844
+
3845
+ /** Contains response data for the update operation. */
3846
+ export declare type SystemTopicsUpdateResponse = SystemTopic;
3847
+
3848
+ /** Properties of the System Topic update. */
3849
+ export declare interface SystemTopicUpdateParameters {
3850
+ /** Tags of the system topic. */
3851
+ tags?: {
3852
+ [propertyName: string]: string;
3853
+ };
3854
+ /** Resource identity information. */
3855
+ identity?: IdentityInfo;
3856
+ }
3857
+
3858
+ /** EventGrid Topic */
3859
+ export declare type Topic = TrackedResource & {
3860
+ /** The Sku pricing tier for the topic. */
3861
+ sku?: ResourceSku;
3862
+ /** Identity information for the resource. */
3863
+ identity?: IdentityInfo;
3864
+ /** Kind of the resource. */
3865
+ kind?: ResourceKind;
3866
+ /** Extended location of the resource. */
3867
+ extendedLocation?: ExtendedLocation;
3868
+ /**
3869
+ * The system metadata relating to Topic resource.
3870
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3871
+ */
3872
+ readonly systemData?: SystemData;
3873
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
3874
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
3875
+ /**
3876
+ * Provisioning state of the topic.
3877
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3878
+ */
3879
+ readonly provisioningState?: TopicProvisioningState;
3880
+ /**
3881
+ * Endpoint for the topic.
3882
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3883
+ */
3884
+ readonly endpoint?: string;
3885
+ /** This determines the format that Event Grid should expect for incoming events published to the topic. */
3886
+ inputSchema?: InputSchema;
3887
+ /** This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema. */
3888
+ inputSchemaMapping?: InputSchemaMappingUnion;
3889
+ /**
3890
+ * Metric resource id for the topic.
3891
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3892
+ */
3893
+ readonly metricResourceId?: string;
3894
+ /**
3895
+ * This determines if traffic is allowed over public network. By default it is enabled.
3896
+ * You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicProperties.InboundIpRules" />
3897
+ */
3898
+ publicNetworkAccess?: PublicNetworkAccess;
3899
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
3900
+ inboundIpRules?: InboundIpRule[];
3901
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic. */
3902
+ disableLocalAuth?: boolean;
3903
+ };
3904
+
3905
+ /**
3906
+ * Defines values for TopicProvisioningState. \
3907
+ * {@link KnownTopicProvisioningState} can be used interchangeably with TopicProvisioningState,
3908
+ * this enum contains the known values that the service supports.
3909
+ * ### Known values supported by the service
3910
+ * **Creating** \
3911
+ * **Updating** \
3912
+ * **Deleting** \
3913
+ * **Succeeded** \
3914
+ * **Canceled** \
3915
+ * **Failed**
3916
+ */
3917
+ export declare type TopicProvisioningState = string;
3918
+
3919
+ /** Topic regenerate share access key request */
3920
+ export declare interface TopicRegenerateKeyRequest {
3921
+ /** Key name to regenerate key1 or key2 */
3922
+ keyName: string;
3923
+ }
3924
+
3925
+ /** Interface representing a Topics. */
3926
+ export declare interface Topics {
3927
+ /**
3928
+ * List all the topics under an Azure subscription.
3929
+ * @param options The options parameters.
3930
+ */
3931
+ listBySubscription(options?: TopicsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Topic>;
3932
+ /**
3933
+ * List all the topics under a resource group.
3934
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3935
+ * @param options The options parameters.
3936
+ */
3937
+ listByResourceGroup(resourceGroupName: string, options?: TopicsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Topic>;
3938
+ /**
3939
+ * List event types for a topic.
3940
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3941
+ * @param providerNamespace Namespace of the provider of the topic.
3942
+ * @param resourceTypeName Name of the topic type.
3943
+ * @param resourceName Name of the topic.
3944
+ * @param options The options parameters.
3945
+ */
3946
+ listEventTypes(resourceGroupName: string, providerNamespace: string, resourceTypeName: string, resourceName: string, options?: TopicsListEventTypesOptionalParams): PagedAsyncIterableIterator<EventType>;
3947
+ /**
3948
+ * Get properties of a topic.
3949
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3950
+ * @param topicName Name of the topic.
3951
+ * @param options The options parameters.
3952
+ */
3953
+ get(resourceGroupName: string, topicName: string, options?: TopicsGetOptionalParams): Promise<TopicsGetResponse>;
3954
+ /**
3955
+ * Asynchronously creates a new topic with the specified parameters.
3956
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3957
+ * @param topicName Name of the topic.
3958
+ * @param topicInfo Topic information.
3959
+ * @param options The options parameters.
3960
+ */
3961
+ beginCreateOrUpdate(resourceGroupName: string, topicName: string, topicInfo: Topic, options?: TopicsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<TopicsCreateOrUpdateResponse>, TopicsCreateOrUpdateResponse>>;
3962
+ /**
3963
+ * Asynchronously creates a new topic with the specified parameters.
3964
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3965
+ * @param topicName Name of the topic.
3966
+ * @param topicInfo Topic information.
3967
+ * @param options The options parameters.
3968
+ */
3969
+ beginCreateOrUpdateAndWait(resourceGroupName: string, topicName: string, topicInfo: Topic, options?: TopicsCreateOrUpdateOptionalParams): Promise<TopicsCreateOrUpdateResponse>;
3970
+ /**
3971
+ * Delete existing topic.
3972
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3973
+ * @param topicName Name of the topic.
3974
+ * @param options The options parameters.
3975
+ */
3976
+ beginDelete(resourceGroupName: string, topicName: string, options?: TopicsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
3977
+ /**
3978
+ * Delete existing topic.
3979
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3980
+ * @param topicName Name of the topic.
3981
+ * @param options The options parameters.
3982
+ */
3983
+ beginDeleteAndWait(resourceGroupName: string, topicName: string, options?: TopicsDeleteOptionalParams): Promise<void>;
3984
+ /**
3985
+ * Asynchronously updates a topic with the specified parameters.
3986
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3987
+ * @param topicName Name of the topic.
3988
+ * @param topicUpdateParameters Topic update information.
3989
+ * @param options The options parameters.
3990
+ */
3991
+ beginUpdate(resourceGroupName: string, topicName: string, topicUpdateParameters: TopicUpdateParameters, options?: TopicsUpdateOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
3992
+ /**
3993
+ * Asynchronously updates a topic with the specified parameters.
3994
+ * @param resourceGroupName The name of the resource group within the user's subscription.
3995
+ * @param topicName Name of the topic.
3996
+ * @param topicUpdateParameters Topic update information.
3997
+ * @param options The options parameters.
3998
+ */
3999
+ beginUpdateAndWait(resourceGroupName: string, topicName: string, topicUpdateParameters: TopicUpdateParameters, options?: TopicsUpdateOptionalParams): Promise<void>;
4000
+ /**
4001
+ * List the two keys used to publish to a topic.
4002
+ * @param resourceGroupName The name of the resource group within the user's subscription.
4003
+ * @param topicName Name of the topic.
4004
+ * @param options The options parameters.
4005
+ */
4006
+ listSharedAccessKeys(resourceGroupName: string, topicName: string, options?: TopicsListSharedAccessKeysOptionalParams): Promise<TopicsListSharedAccessKeysResponse>;
4007
+ /**
4008
+ * Regenerate a shared access key for a topic.
4009
+ * @param resourceGroupName The name of the resource group within the user's subscription.
4010
+ * @param topicName Name of the topic.
4011
+ * @param regenerateKeyRequest Request body to regenerate key.
4012
+ * @param options The options parameters.
4013
+ */
4014
+ beginRegenerateKey(resourceGroupName: string, topicName: string, regenerateKeyRequest: TopicRegenerateKeyRequest, options?: TopicsRegenerateKeyOptionalParams): Promise<PollerLike<PollOperationState<TopicsRegenerateKeyResponse>, TopicsRegenerateKeyResponse>>;
4015
+ /**
4016
+ * Regenerate a shared access key for a topic.
4017
+ * @param resourceGroupName The name of the resource group within the user's subscription.
4018
+ * @param topicName Name of the topic.
4019
+ * @param regenerateKeyRequest Request body to regenerate key.
4020
+ * @param options The options parameters.
4021
+ */
4022
+ beginRegenerateKeyAndWait(resourceGroupName: string, topicName: string, regenerateKeyRequest: TopicRegenerateKeyRequest, options?: TopicsRegenerateKeyOptionalParams): Promise<TopicsRegenerateKeyResponse>;
4023
+ }
4024
+
4025
+ /** Optional parameters. */
4026
+ export declare interface TopicsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
4027
+ /** Delay to wait until next poll, in milliseconds. */
4028
+ updateIntervalInMs?: number;
4029
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4030
+ resumeFrom?: string;
4031
+ }
4032
+
4033
+ /** Contains response data for the createOrUpdate operation. */
4034
+ export declare type TopicsCreateOrUpdateResponse = Topic;
4035
+
4036
+ /** Optional parameters. */
4037
+ export declare interface TopicsDeleteOptionalParams extends coreClient.OperationOptions {
4038
+ /** Delay to wait until next poll, in milliseconds. */
4039
+ updateIntervalInMs?: number;
4040
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4041
+ resumeFrom?: string;
4042
+ }
4043
+
4044
+ /** Optional parameters. */
4045
+ export declare interface TopicsGetOptionalParams extends coreClient.OperationOptions {
4046
+ }
4047
+
4048
+ /** Contains response data for the get operation. */
4049
+ export declare type TopicsGetResponse = Topic;
4050
+
4051
+ /** Shared access keys of the Topic */
4052
+ export declare interface TopicSharedAccessKeys {
4053
+ /** Shared access key1 for the topic. */
4054
+ key1?: string;
4055
+ /** Shared access key2 for the topic. */
4056
+ key2?: string;
4057
+ }
4058
+
4059
+ /** Optional parameters. */
4060
+ export declare interface TopicsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
4061
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
4062
+ filter?: string;
4063
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
4064
+ top?: number;
4065
+ }
4066
+
4067
+ /** Contains response data for the listByResourceGroupNext operation. */
4068
+ export declare type TopicsListByResourceGroupNextResponse = TopicsListResult;
4069
+
4070
+ /** Optional parameters. */
4071
+ export declare interface TopicsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
4072
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
4073
+ filter?: string;
4074
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
4075
+ top?: number;
4076
+ }
4077
+
4078
+ /** Contains response data for the listByResourceGroup operation. */
4079
+ export declare type TopicsListByResourceGroupResponse = TopicsListResult;
4080
+
4081
+ /** Optional parameters. */
4082
+ export declare interface TopicsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
4083
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
4084
+ filter?: string;
4085
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
4086
+ top?: number;
4087
+ }
4088
+
4089
+ /** Contains response data for the listBySubscriptionNext operation. */
4090
+ export declare type TopicsListBySubscriptionNextResponse = TopicsListResult;
4091
+
4092
+ /** Optional parameters. */
4093
+ export declare interface TopicsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
4094
+ /** The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. */
4095
+ filter?: string;
4096
+ /** The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. */
4097
+ top?: number;
4098
+ }
4099
+
4100
+ /** Contains response data for the listBySubscription operation. */
4101
+ export declare type TopicsListBySubscriptionResponse = TopicsListResult;
4102
+
4103
+ /** Optional parameters. */
4104
+ export declare interface TopicsListEventTypesOptionalParams extends coreClient.OperationOptions {
4105
+ }
4106
+
4107
+ /** Contains response data for the listEventTypes operation. */
4108
+ export declare type TopicsListEventTypesResponse = EventTypesListResult;
4109
+
4110
+ /** Result of the List Topics operation */
4111
+ export declare interface TopicsListResult {
4112
+ /** A collection of Topics */
4113
+ value?: Topic[];
4114
+ /** A link for the next page of topics */
4115
+ nextLink?: string;
4116
+ }
4117
+
4118
+ /** Optional parameters. */
4119
+ export declare interface TopicsListSharedAccessKeysOptionalParams extends coreClient.OperationOptions {
4120
+ }
4121
+
4122
+ /** Contains response data for the listSharedAccessKeys operation. */
4123
+ export declare type TopicsListSharedAccessKeysResponse = TopicSharedAccessKeys;
4124
+
4125
+ /** Optional parameters. */
4126
+ export declare interface TopicsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
4127
+ /** Delay to wait until next poll, in milliseconds. */
4128
+ updateIntervalInMs?: number;
4129
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4130
+ resumeFrom?: string;
4131
+ }
4132
+
4133
+ /** Contains response data for the regenerateKey operation. */
4134
+ export declare type TopicsRegenerateKeyResponse = TopicSharedAccessKeys;
4135
+
4136
+ /** Optional parameters. */
4137
+ export declare interface TopicsUpdateOptionalParams extends coreClient.OperationOptions {
4138
+ /** Delay to wait until next poll, in milliseconds. */
4139
+ updateIntervalInMs?: number;
4140
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
4141
+ resumeFrom?: string;
4142
+ }
4143
+
4144
+ /** Properties of a topic type info. */
4145
+ export declare type TopicTypeInfo = Resource & {
4146
+ /** Namespace of the provider of the topic type. */
4147
+ provider?: string;
4148
+ /** Display Name for the topic type. */
4149
+ displayName?: string;
4150
+ /** Description of the topic type. */
4151
+ description?: string;
4152
+ /** Region type of the resource. */
4153
+ resourceRegionType?: ResourceRegionType;
4154
+ /** Provisioning state of the topic type */
4155
+ provisioningState?: TopicTypeProvisioningState;
4156
+ /** List of locations supported by this topic type. */
4157
+ supportedLocations?: string[];
4158
+ /** Source resource format. */
4159
+ sourceResourceFormat?: string;
4160
+ /** Supported source scopes. */
4161
+ supportedScopesForSource?: TopicTypePropertiesSupportedScopesForSourceItem[];
4162
+ };
4163
+
4164
+ /**
4165
+ * Defines values for TopicTypePropertiesSupportedScopesForSourceItem. \
4166
+ * {@link KnownTopicTypePropertiesSupportedScopesForSourceItem} can be used interchangeably with TopicTypePropertiesSupportedScopesForSourceItem,
4167
+ * this enum contains the known values that the service supports.
4168
+ * ### Known values supported by the service
4169
+ * **Resource** \
4170
+ * **ResourceGroup** \
4171
+ * **AzureSubscription**
4172
+ */
4173
+ export declare type TopicTypePropertiesSupportedScopesForSourceItem = string;
4174
+
4175
+ /**
4176
+ * Defines values for TopicTypeProvisioningState. \
4177
+ * {@link KnownTopicTypeProvisioningState} can be used interchangeably with TopicTypeProvisioningState,
4178
+ * this enum contains the known values that the service supports.
4179
+ * ### Known values supported by the service
4180
+ * **Creating** \
4181
+ * **Updating** \
4182
+ * **Deleting** \
4183
+ * **Succeeded** \
4184
+ * **Canceled** \
4185
+ * **Failed**
4186
+ */
4187
+ export declare type TopicTypeProvisioningState = string;
4188
+
4189
+ /** Interface representing a TopicTypes. */
4190
+ export declare interface TopicTypes {
4191
+ /**
4192
+ * List all registered topic types.
4193
+ * @param options The options parameters.
4194
+ */
4195
+ list(options?: TopicTypesListOptionalParams): PagedAsyncIterableIterator<TopicTypeInfo>;
4196
+ /**
4197
+ * List event types for a topic type.
4198
+ * @param topicTypeName Name of the topic type.
4199
+ * @param options The options parameters.
4200
+ */
4201
+ listEventTypes(topicTypeName: string, options?: TopicTypesListEventTypesOptionalParams): PagedAsyncIterableIterator<EventType>;
4202
+ /**
4203
+ * Get information about a topic type.
4204
+ * @param topicTypeName Name of the topic type.
4205
+ * @param options The options parameters.
4206
+ */
4207
+ get(topicTypeName: string, options?: TopicTypesGetOptionalParams): Promise<TopicTypesGetResponse>;
4208
+ }
4209
+
4210
+ /** Optional parameters. */
4211
+ export declare interface TopicTypesGetOptionalParams extends coreClient.OperationOptions {
4212
+ }
4213
+
4214
+ /** Contains response data for the get operation. */
4215
+ export declare type TopicTypesGetResponse = TopicTypeInfo;
4216
+
4217
+ /** Optional parameters. */
4218
+ export declare interface TopicTypesListEventTypesOptionalParams extends coreClient.OperationOptions {
4219
+ }
4220
+
4221
+ /** Contains response data for the listEventTypes operation. */
4222
+ export declare type TopicTypesListEventTypesResponse = EventTypesListResult;
4223
+
4224
+ /** Optional parameters. */
4225
+ export declare interface TopicTypesListOptionalParams extends coreClient.OperationOptions {
4226
+ }
4227
+
4228
+ /** Contains response data for the list operation. */
4229
+ export declare type TopicTypesListResponse = TopicTypesListResult;
4230
+
4231
+ /** Result of the List Topic Types operation */
4232
+ export declare interface TopicTypesListResult {
4233
+ /** A collection of topic types */
4234
+ value?: TopicTypeInfo[];
4235
+ }
4236
+
4237
+ /** Properties of the Topic update */
4238
+ export declare interface TopicUpdateParameters {
4239
+ /** Tags of the Topic resource. */
4240
+ tags?: {
4241
+ [propertyName: string]: string;
4242
+ };
4243
+ /** Topic resource identity information. */
4244
+ identity?: IdentityInfo;
4245
+ /** The Sku pricing tier for the topic. */
4246
+ sku?: ResourceSku;
4247
+ /**
4248
+ * This determines if traffic is allowed over public network. By default it is enabled.
4249
+ * You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.TopicUpdateParameterProperties.InboundIpRules" />
4250
+ */
4251
+ publicNetworkAccess?: PublicNetworkAccess;
4252
+ /** This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. */
4253
+ inboundIpRules?: InboundIpRule[];
4254
+ /** This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic. */
4255
+ disableLocalAuth?: boolean;
4256
+ }
4257
+
4258
+ /** Definition of a Tracked Resource. */
4259
+ export declare type TrackedResource = Resource & {
4260
+ /** Location of the resource. */
4261
+ location: string;
4262
+ /** Tags of the resource. */
4263
+ tags?: {
4264
+ [propertyName: string]: string;
4265
+ };
4266
+ };
4267
+
4268
+ /** The information about the user identity. */
4269
+ export declare interface UserIdentityProperties {
4270
+ /** The principal id of user assigned identity. */
4271
+ principalId?: string;
4272
+ /** The client id of user assigned identity. */
4273
+ clientId?: string;
4274
+ }
4275
+
4276
+ /** Information about the webhook destination for an event subscription. */
4277
+ export declare type WebHookEventSubscriptionDestination = EventSubscriptionDestination & {
4278
+ /** Polymorphic discriminator, which specifies the different types this object can be */
4279
+ endpointType: "WebHook";
4280
+ /** The URL that represents the endpoint of the destination of an event subscription. */
4281
+ endpointUrl?: string;
4282
+ /**
4283
+ * The base URL that represents the endpoint of the destination of an event subscription.
4284
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4285
+ */
4286
+ readonly endpointBaseUrl?: string;
4287
+ /** Maximum number of events per batch. */
4288
+ maxEventsPerBatch?: number;
4289
+ /** Preferred batch size in Kilobytes. */
4290
+ preferredBatchSizeInKilobytes?: number;
4291
+ /** The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests. */
4292
+ azureActiveDirectoryTenantId?: string;
4293
+ /** The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests. */
4294
+ azureActiveDirectoryApplicationIdOrUri?: string;
4295
+ /** Delivery attribute details. */
4296
+ deliveryAttributeMappings?: DeliveryAttributeMappingUnion[];
4297
+ };
4298
+
4299
+ export { }