/
event_subscription_spec_arm_types_gen.go
610 lines (495 loc) · 25 KB
/
event_subscription_spec_arm_types_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20200601
import (
"encoding/json"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
)
type EventSubscription_Spec_ARM struct {
Name string `json:"name,omitempty"`
// Properties: Properties of the event subscription.
Properties *EventSubscriptionProperties_ARM `json:"properties,omitempty"`
}
var _ genruntime.ARMResourceSpec = &EventSubscription_Spec_ARM{}
// GetAPIVersion returns the ARM API version of the resource. This is always "2020-06-01"
func (subscription EventSubscription_Spec_ARM) GetAPIVersion() string {
return string(APIVersion_Value)
}
// GetName returns the Name of the resource
func (subscription *EventSubscription_Spec_ARM) GetName() string {
return subscription.Name
}
// GetType returns the ARM Type of the resource. This is always "Microsoft.EventGrid/eventSubscriptions"
func (subscription *EventSubscription_Spec_ARM) GetType() string {
return "Microsoft.EventGrid/eventSubscriptions"
}
// Properties of the Event Subscription.
type EventSubscriptionProperties_ARM struct {
// DeadLetterDestination: The DeadLetter destination of the event subscription.
DeadLetterDestination *DeadLetterDestination_ARM `json:"deadLetterDestination,omitempty"`
// Destination: Information about the destination where events have to be delivered for the event subscription.
Destination *EventSubscriptionDestination_ARM `json:"destination,omitempty"`
// EventDeliverySchema: The event delivery schema for the event subscription.
EventDeliverySchema *EventSubscriptionProperties_EventDeliverySchema `json:"eventDeliverySchema,omitempty"`
// ExpirationTimeUtc: Expiration time of the event subscription.
ExpirationTimeUtc *string `json:"expirationTimeUtc,omitempty"`
// Filter: Information about the filter for the event subscription.
Filter *EventSubscriptionFilter_ARM `json:"filter,omitempty"`
// Labels: List of user defined labels.
Labels []string `json:"labels,omitempty"`
// RetryPolicy: The retry policy for events. This can be used to configure maximum number of delivery attempts and time to
// live for events.
RetryPolicy *RetryPolicy_ARM `json:"retryPolicy,omitempty"`
}
type DeadLetterDestination_ARM struct {
// StorageBlob: Mutually exclusive with all other properties
StorageBlob *StorageBlobDeadLetterDestination_ARM `json:"storageBlob,omitempty"`
}
// MarshalJSON defers JSON marshaling to the first non-nil property, because DeadLetterDestination_ARM represents a discriminated union (JSON OneOf)
func (destination DeadLetterDestination_ARM) MarshalJSON() ([]byte, error) {
if destination.StorageBlob != nil {
return json.Marshal(destination.StorageBlob)
}
return nil, nil
}
// UnmarshalJSON unmarshals the DeadLetterDestination_ARM
func (destination *DeadLetterDestination_ARM) UnmarshalJSON(data []byte) error {
var rawJson map[string]interface{}
err := json.Unmarshal(data, &rawJson)
if err != nil {
return err
}
discriminator := rawJson["endpointType"]
if discriminator == "StorageBlob" {
destination.StorageBlob = &StorageBlobDeadLetterDestination_ARM{}
return json.Unmarshal(data, destination.StorageBlob)
}
// No error
return nil
}
type EventSubscriptionDestination_ARM struct {
// AzureFunction: Mutually exclusive with all other properties
AzureFunction *AzureFunctionEventSubscriptionDestination_ARM `json:"azureFunction,omitempty"`
// EventHub: Mutually exclusive with all other properties
EventHub *EventHubEventSubscriptionDestination_ARM `json:"eventHub,omitempty"`
// HybridConnection: Mutually exclusive with all other properties
HybridConnection *HybridConnectionEventSubscriptionDestination_ARM `json:"hybridConnection,omitempty"`
// ServiceBusQueue: Mutually exclusive with all other properties
ServiceBusQueue *ServiceBusQueueEventSubscriptionDestination_ARM `json:"serviceBusQueue,omitempty"`
// ServiceBusTopic: Mutually exclusive with all other properties
ServiceBusTopic *ServiceBusTopicEventSubscriptionDestination_ARM `json:"serviceBusTopic,omitempty"`
// StorageQueue: Mutually exclusive with all other properties
StorageQueue *StorageQueueEventSubscriptionDestination_ARM `json:"storageQueue,omitempty"`
// WebHook: Mutually exclusive with all other properties
WebHook *WebHookEventSubscriptionDestination_ARM `json:"webHook,omitempty"`
}
// MarshalJSON defers JSON marshaling to the first non-nil property, because EventSubscriptionDestination_ARM represents a discriminated union (JSON OneOf)
func (destination EventSubscriptionDestination_ARM) MarshalJSON() ([]byte, error) {
if destination.AzureFunction != nil {
return json.Marshal(destination.AzureFunction)
}
if destination.EventHub != nil {
return json.Marshal(destination.EventHub)
}
if destination.HybridConnection != nil {
return json.Marshal(destination.HybridConnection)
}
if destination.ServiceBusQueue != nil {
return json.Marshal(destination.ServiceBusQueue)
}
if destination.ServiceBusTopic != nil {
return json.Marshal(destination.ServiceBusTopic)
}
if destination.StorageQueue != nil {
return json.Marshal(destination.StorageQueue)
}
if destination.WebHook != nil {
return json.Marshal(destination.WebHook)
}
return nil, nil
}
// UnmarshalJSON unmarshals the EventSubscriptionDestination_ARM
func (destination *EventSubscriptionDestination_ARM) UnmarshalJSON(data []byte) error {
var rawJson map[string]interface{}
err := json.Unmarshal(data, &rawJson)
if err != nil {
return err
}
discriminator := rawJson["endpointType"]
if discriminator == "AzureFunction" {
destination.AzureFunction = &AzureFunctionEventSubscriptionDestination_ARM{}
return json.Unmarshal(data, destination.AzureFunction)
}
if discriminator == "EventHub" {
destination.EventHub = &EventHubEventSubscriptionDestination_ARM{}
return json.Unmarshal(data, destination.EventHub)
}
if discriminator == "HybridConnection" {
destination.HybridConnection = &HybridConnectionEventSubscriptionDestination_ARM{}
return json.Unmarshal(data, destination.HybridConnection)
}
if discriminator == "ServiceBusQueue" {
destination.ServiceBusQueue = &ServiceBusQueueEventSubscriptionDestination_ARM{}
return json.Unmarshal(data, destination.ServiceBusQueue)
}
if discriminator == "ServiceBusTopic" {
destination.ServiceBusTopic = &ServiceBusTopicEventSubscriptionDestination_ARM{}
return json.Unmarshal(data, destination.ServiceBusTopic)
}
if discriminator == "StorageQueue" {
destination.StorageQueue = &StorageQueueEventSubscriptionDestination_ARM{}
return json.Unmarshal(data, destination.StorageQueue)
}
if discriminator == "WebHook" {
destination.WebHook = &WebHookEventSubscriptionDestination_ARM{}
return json.Unmarshal(data, destination.WebHook)
}
// No error
return nil
}
// Filter for the Event Subscription.
type EventSubscriptionFilter_ARM struct {
// AdvancedFilters: An array of advanced filters that are used for filtering event subscriptions.
AdvancedFilters []AdvancedFilter_ARM `json:"advancedFilters,omitempty"`
// IncludedEventTypes: 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.
IncludedEventTypes []string `json:"includedEventTypes,omitempty"`
// IsSubjectCaseSensitive: Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter
// should be compared in a case sensitive manner.
IsSubjectCaseSensitive *bool `json:"isSubjectCaseSensitive,omitempty"`
// SubjectBeginsWith: An optional string to filter events for an event subscription based on a resource path prefix.
// The format of this depends on the publisher of the events.
// Wildcard characters are not supported in this path.
SubjectBeginsWith *string `json:"subjectBeginsWith,omitempty"`
// SubjectEndsWith: An optional string to filter events for an event subscription based on a resource path suffix.
// Wildcard characters are not supported in this path.
SubjectEndsWith *string `json:"subjectEndsWith,omitempty"`
}
// Information about the retry policy for an event subscription.
type RetryPolicy_ARM struct {
// EventTimeToLiveInMinutes: Time To Live (in minutes) for events.
EventTimeToLiveInMinutes *int `json:"eventTimeToLiveInMinutes,omitempty"`
// MaxDeliveryAttempts: Maximum number of delivery retry attempts for events.
MaxDeliveryAttempts *int `json:"maxDeliveryAttempts,omitempty"`
}
type AdvancedFilter_ARM struct {
// BoolEquals: Mutually exclusive with all other properties
BoolEquals *BoolEqualsAdvancedFilter_ARM `json:"boolEquals,omitempty"`
// NumberGreaterThan: Mutually exclusive with all other properties
NumberGreaterThan *NumberGreaterThanAdvancedFilter_ARM `json:"numberGreaterThan,omitempty"`
// NumberGreaterThanOrEquals: Mutually exclusive with all other properties
NumberGreaterThanOrEquals *NumberGreaterThanOrEqualsAdvancedFilter_ARM `json:"numberGreaterThanOrEquals,omitempty"`
// NumberIn: Mutually exclusive with all other properties
NumberIn *NumberInAdvancedFilter_ARM `json:"numberIn,omitempty"`
// NumberLessThan: Mutually exclusive with all other properties
NumberLessThan *NumberLessThanAdvancedFilter_ARM `json:"numberLessThan,omitempty"`
// NumberLessThanOrEquals: Mutually exclusive with all other properties
NumberLessThanOrEquals *NumberLessThanOrEqualsAdvancedFilter_ARM `json:"numberLessThanOrEquals,omitempty"`
// NumberNotIn: Mutually exclusive with all other properties
NumberNotIn *NumberNotInAdvancedFilter_ARM `json:"numberNotIn,omitempty"`
// StringBeginsWith: Mutually exclusive with all other properties
StringBeginsWith *StringBeginsWithAdvancedFilter_ARM `json:"stringBeginsWith,omitempty"`
// StringContains: Mutually exclusive with all other properties
StringContains *StringContainsAdvancedFilter_ARM `json:"stringContains,omitempty"`
// StringEndsWith: Mutually exclusive with all other properties
StringEndsWith *StringEndsWithAdvancedFilter_ARM `json:"stringEndsWith,omitempty"`
// StringIn: Mutually exclusive with all other properties
StringIn *StringInAdvancedFilter_ARM `json:"stringIn,omitempty"`
// StringNotIn: Mutually exclusive with all other properties
StringNotIn *StringNotInAdvancedFilter_ARM `json:"stringNotIn,omitempty"`
}
// MarshalJSON defers JSON marshaling to the first non-nil property, because AdvancedFilter_ARM represents a discriminated union (JSON OneOf)
func (filter AdvancedFilter_ARM) MarshalJSON() ([]byte, error) {
if filter.BoolEquals != nil {
return json.Marshal(filter.BoolEquals)
}
if filter.NumberGreaterThan != nil {
return json.Marshal(filter.NumberGreaterThan)
}
if filter.NumberGreaterThanOrEquals != nil {
return json.Marshal(filter.NumberGreaterThanOrEquals)
}
if filter.NumberIn != nil {
return json.Marshal(filter.NumberIn)
}
if filter.NumberLessThan != nil {
return json.Marshal(filter.NumberLessThan)
}
if filter.NumberLessThanOrEquals != nil {
return json.Marshal(filter.NumberLessThanOrEquals)
}
if filter.NumberNotIn != nil {
return json.Marshal(filter.NumberNotIn)
}
if filter.StringBeginsWith != nil {
return json.Marshal(filter.StringBeginsWith)
}
if filter.StringContains != nil {
return json.Marshal(filter.StringContains)
}
if filter.StringEndsWith != nil {
return json.Marshal(filter.StringEndsWith)
}
if filter.StringIn != nil {
return json.Marshal(filter.StringIn)
}
if filter.StringNotIn != nil {
return json.Marshal(filter.StringNotIn)
}
return nil, nil
}
// UnmarshalJSON unmarshals the AdvancedFilter_ARM
func (filter *AdvancedFilter_ARM) UnmarshalJSON(data []byte) error {
var rawJson map[string]interface{}
err := json.Unmarshal(data, &rawJson)
if err != nil {
return err
}
discriminator := rawJson["operatorType"]
if discriminator == "BoolEquals" {
filter.BoolEquals = &BoolEqualsAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.BoolEquals)
}
if discriminator == "NumberGreaterThan" {
filter.NumberGreaterThan = &NumberGreaterThanAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.NumberGreaterThan)
}
if discriminator == "NumberGreaterThanOrEquals" {
filter.NumberGreaterThanOrEquals = &NumberGreaterThanOrEqualsAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.NumberGreaterThanOrEquals)
}
if discriminator == "NumberIn" {
filter.NumberIn = &NumberInAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.NumberIn)
}
if discriminator == "NumberLessThan" {
filter.NumberLessThan = &NumberLessThanAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.NumberLessThan)
}
if discriminator == "NumberLessThanOrEquals" {
filter.NumberLessThanOrEquals = &NumberLessThanOrEqualsAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.NumberLessThanOrEquals)
}
if discriminator == "NumberNotIn" {
filter.NumberNotIn = &NumberNotInAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.NumberNotIn)
}
if discriminator == "StringBeginsWith" {
filter.StringBeginsWith = &StringBeginsWithAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.StringBeginsWith)
}
if discriminator == "StringContains" {
filter.StringContains = &StringContainsAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.StringContains)
}
if discriminator == "StringEndsWith" {
filter.StringEndsWith = &StringEndsWithAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.StringEndsWith)
}
if discriminator == "StringIn" {
filter.StringIn = &StringInAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.StringIn)
}
if discriminator == "StringNotIn" {
filter.StringNotIn = &StringNotInAdvancedFilter_ARM{}
return json.Unmarshal(data, filter.StringNotIn)
}
// No error
return nil
}
type AzureFunctionEventSubscriptionDestination_ARM struct {
// EndpointType: Type of the endpoint for the event subscription destination.
EndpointType AzureFunctionEventSubscriptionDestination_EndpointType `json:"endpointType,omitempty"`
// Properties: Azure Function Properties of the event subscription destination.
Properties *AzureFunctionEventSubscriptionDestinationProperties_ARM `json:"properties,omitempty"`
}
type EventHubEventSubscriptionDestination_ARM struct {
// EndpointType: Type of the endpoint for the event subscription destination.
EndpointType EventHubEventSubscriptionDestination_EndpointType `json:"endpointType,omitempty"`
// Properties: Event Hub Properties of the event subscription destination.
Properties *EventHubEventSubscriptionDestinationProperties_ARM `json:"properties,omitempty"`
}
type HybridConnectionEventSubscriptionDestination_ARM struct {
// EndpointType: Type of the endpoint for the event subscription destination.
EndpointType HybridConnectionEventSubscriptionDestination_EndpointType `json:"endpointType,omitempty"`
// Properties: Hybrid connection Properties of the event subscription destination.
Properties *HybridConnectionEventSubscriptionDestinationProperties_ARM `json:"properties,omitempty"`
}
type ServiceBusQueueEventSubscriptionDestination_ARM struct {
// EndpointType: Type of the endpoint for the event subscription destination.
EndpointType ServiceBusQueueEventSubscriptionDestination_EndpointType `json:"endpointType,omitempty"`
// Properties: Service Bus Properties of the event subscription destination.
Properties *ServiceBusQueueEventSubscriptionDestinationProperties_ARM `json:"properties,omitempty"`
}
type ServiceBusTopicEventSubscriptionDestination_ARM struct {
// EndpointType: Type of the endpoint for the event subscription destination.
EndpointType ServiceBusTopicEventSubscriptionDestination_EndpointType `json:"endpointType,omitempty"`
// Properties: Service Bus Topic Properties of the event subscription destination.
Properties *ServiceBusTopicEventSubscriptionDestinationProperties_ARM `json:"properties,omitempty"`
}
type StorageBlobDeadLetterDestination_ARM struct {
// EndpointType: Type of the endpoint for the dead letter destination
EndpointType StorageBlobDeadLetterDestination_EndpointType `json:"endpointType,omitempty"`
// Properties: The properties of the Storage Blob based deadletter destination
Properties *StorageBlobDeadLetterDestinationProperties_ARM `json:"properties,omitempty"`
}
type StorageQueueEventSubscriptionDestination_ARM struct {
// EndpointType: Type of the endpoint for the event subscription destination.
EndpointType StorageQueueEventSubscriptionDestination_EndpointType `json:"endpointType,omitempty"`
// Properties: Storage Queue Properties of the event subscription destination.
Properties *StorageQueueEventSubscriptionDestinationProperties_ARM `json:"properties,omitempty"`
}
type WebHookEventSubscriptionDestination_ARM struct {
// EndpointType: Type of the endpoint for the event subscription destination.
EndpointType WebHookEventSubscriptionDestination_EndpointType `json:"endpointType,omitempty"`
// Properties: WebHook Properties of the event subscription destination.
Properties *WebHookEventSubscriptionDestinationProperties_ARM `json:"properties,omitempty"`
}
// The properties that represent the Azure Function destination of an event subscription.
type AzureFunctionEventSubscriptionDestinationProperties_ARM struct {
// MaxEventsPerBatch: Maximum number of events per batch.
MaxEventsPerBatch *int `json:"maxEventsPerBatch,omitempty"`
// PreferredBatchSizeInKilobytes: Preferred batch size in Kilobytes.
PreferredBatchSizeInKilobytes *int `json:"preferredBatchSizeInKilobytes,omitempty"`
ResourceId *string `json:"resourceId,omitempty"`
}
type BoolEqualsAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType BoolEqualsAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Value: The boolean filter value.
Value *bool `json:"value,omitempty"`
}
// The properties for a event hub destination.
type EventHubEventSubscriptionDestinationProperties_ARM struct {
ResourceId *string `json:"resourceId,omitempty"`
}
// The properties for a hybrid connection destination.
type HybridConnectionEventSubscriptionDestinationProperties_ARM struct {
ResourceId *string `json:"resourceId,omitempty"`
}
type NumberGreaterThanAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType NumberGreaterThanAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Value: The filter value.
Value *float64 `json:"value,omitempty"`
}
type NumberGreaterThanOrEqualsAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType NumberGreaterThanOrEqualsAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Value: The filter value.
Value *float64 `json:"value,omitempty"`
}
type NumberInAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType NumberInAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Values: The set of filter values.
Values []float64 `json:"values,omitempty"`
}
type NumberLessThanAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType NumberLessThanAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Value: The filter value.
Value *float64 `json:"value,omitempty"`
}
type NumberLessThanOrEqualsAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType NumberLessThanOrEqualsAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Value: The filter value.
Value *float64 `json:"value,omitempty"`
}
type NumberNotInAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType NumberNotInAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Values: The set of filter values.
Values []float64 `json:"values,omitempty"`
}
// The properties that represent the Service Bus destination of an event subscription.
type ServiceBusQueueEventSubscriptionDestinationProperties_ARM struct {
ResourceId *string `json:"resourceId,omitempty"`
}
// The properties that represent the Service Bus Topic destination of an event subscription.
type ServiceBusTopicEventSubscriptionDestinationProperties_ARM struct {
ResourceId *string `json:"resourceId,omitempty"`
}
// Properties of the storage blob based dead letter destination.
type StorageBlobDeadLetterDestinationProperties_ARM struct {
// BlobContainerName: The name of the Storage blob container that is the destination of the deadletter events
BlobContainerName *string `json:"blobContainerName,omitempty"`
ResourceId *string `json:"resourceId,omitempty"`
}
// The properties for a storage queue destination.
type StorageQueueEventSubscriptionDestinationProperties_ARM struct {
// QueueName: The name of the Storage queue under a storage account that is the destination of an event subscription.
QueueName *string `json:"queueName,omitempty"`
ResourceId *string `json:"resourceId,omitempty"`
}
type StringBeginsWithAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType StringBeginsWithAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Values: The set of filter values.
Values []string `json:"values,omitempty"`
}
type StringContainsAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType StringContainsAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Values: The set of filter values.
Values []string `json:"values,omitempty"`
}
type StringEndsWithAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType StringEndsWithAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Values: The set of filter values.
Values []string `json:"values,omitempty"`
}
type StringInAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType StringInAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Values: The set of filter values.
Values []string `json:"values,omitempty"`
}
type StringNotInAdvancedFilter_ARM struct {
// Key: The field/property in the event based on which you want to filter.
Key *string `json:"key,omitempty"`
// OperatorType: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
OperatorType StringNotInAdvancedFilter_OperatorType `json:"operatorType,omitempty"`
// Values: The set of filter values.
Values []string `json:"values,omitempty"`
}
// Information about the webhook destination properties for an event subscription.
type WebHookEventSubscriptionDestinationProperties_ARM struct {
// AzureActiveDirectoryApplicationIdOrUri: The Azure Active Directory Application ID or URI to get the access token that
// will be included as the bearer token in delivery requests.
AzureActiveDirectoryApplicationIdOrUri *string `json:"azureActiveDirectoryApplicationIdOrUri,omitempty"`
// AzureActiveDirectoryTenantId: The Azure Active Directory Tenant ID to get the access token that will be included as the
// bearer token in delivery requests.
AzureActiveDirectoryTenantId *string `json:"azureActiveDirectoryTenantId,omitempty"`
// EndpointUrl: The URL that represents the endpoint of the destination of an event subscription.
EndpointUrl *string `json:"endpointUrl,omitempty"`
// MaxEventsPerBatch: Maximum number of events per batch.
MaxEventsPerBatch *int `json:"maxEventsPerBatch,omitempty"`
// PreferredBatchSizeInKilobytes: Preferred batch size in Kilobytes.
PreferredBatchSizeInKilobytes *int `json:"preferredBatchSizeInKilobytes,omitempty"`
}