azure_sdk 0.50.0 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46dbc959763ccc5586e9aa341804c4b2587ebe9e84669a7f0531835d805f7097
4
- data.tar.gz: 66017041c0e148a6e9c3950ac14746166b0b50fcdf25e60f7b7bd4c1e2efcac1
3
+ metadata.gz: e8a3696e92d192765e96eba8453c13001cd3cf5b6b772c73935ef633e2e5a61d
4
+ data.tar.gz: d89a5073ee5e02c2e7d21510e6fbff5ca6d408f1b9e3baaf8301767b24914657
5
5
  SHA512:
6
- metadata.gz: d2799fafc893cefdfd67345718daacbaca927117923d0386659184efaaf2bc1638f42b979d5f47343db2beaf9f55bd9d79cef1befedc5a467617602aea9dbe3c
7
- data.tar.gz: 823d3b386d0535909771e01f651baac1bb4452e236d8ea727afb195c51032e274219382ac5c21d4da3c9694ad05a411e1e7c40b4bd608535d33f92088d80b1e2
6
+ metadata.gz: af72fc551f9bf587c847495130b1daacbba25079dadadf66afc266ff3a45f6d6213a3c00ccba5cb9ced8329c21d197581dc812aecdd34bcb48681b87323a73aa
7
+ data.tar.gz: 1d25b96f528d64cf29194d65e757f246cce8351eece075d3a728cd785ebfa7db1e61239a6f0adbc08f8cc4dddb2207ead149b3ffc691a05e5974653c332c057e
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure
6
- VERSION = '0.50.0'
6
+ VERSION = '0.51.0'
7
7
  end
@@ -1,671 +1,679 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- require 'azure_mgmt_event_grid'
6
- require 'azure_event_grid'
7
-
8
- module Azure::Profiles::Latest
9
- module EventGrid
10
-
11
- module Models
12
- ContainerRegistryArtifactEventTarget = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryArtifactEventTarget
13
- StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData
14
- ContainerRegistryArtifactEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryArtifactEventData
15
- EventHubCaptureFileCreatedEventData = Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData
16
- ServiceBusActiveMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData
17
- ResourceWriteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData
18
- ServiceBusDeadletterMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
19
- ResourceDeleteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData
20
- MediaJobStateChangeEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData
21
- ResourceDeleteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteCancelData
22
- MediaJobErrorDetail = Azure::EventGrid::V2018_01_01::Models::MediaJobErrorDetail
23
- ResourceActionFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceActionFailureData
24
- MediaJobError = Azure::EventGrid::V2018_01_01::Models::MediaJobError
25
- EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent
26
- MediaJobOutput = Azure::EventGrid::V2018_01_01::Models::MediaJobOutput
27
- SubscriptionValidationResponse = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse
28
- StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData
29
- ContainerRegistryEventRequest = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventRequest
30
- MediaLiveEventEncoderConnectedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventEncoderConnectedEventData
31
- ContainerRegistryEventActor = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventActor
32
- MediaLiveEventEncoderDisconnectedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventEncoderDisconnectedEventData
33
- ContainerRegistryEventSource = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventSource
34
- DeviceTwinMetadata = Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata
35
- ContainerRegistryEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventData
36
- DeviceTwinInfoProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties
37
- MediaLiveEventTrackDiscontinuityDetectedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventTrackDiscontinuityDetectedEventData
38
- DeviceTwinInfo = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo
39
- ResourceWriteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData
40
- DeviceConnectionStateEventInfo = Azure::EventGrid::V2018_01_01::Models::DeviceConnectionStateEventInfo
41
- ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData
42
- DeviceTelemetryEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTelemetryEventProperties
43
- ResourceDeleteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData
44
- MediaLiveEventIncomingVideoStreamsOutOfSyncEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingVideoStreamsOutOfSyncEventData
45
- ResourceActionSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceActionSuccessData
46
- MediaLiveEventIngestHeartbeatEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIngestHeartbeatEventData
47
- ResourceActionCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceActionCancelData
48
- MediaLiveEventConnectionRejectedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventConnectionRejectedEventData
49
- SubscriptionValidationEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData
50
- DeviceTwinProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties
51
- SubscriptionDeletedEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData
52
- DeviceLifeCycleEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties
53
- MediaLiveEventIncomingStreamsOutOfSyncEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingStreamsOutOfSyncEventData
54
- MediaJobOutputProgressEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputProgressEventData
55
- ContainerRegistryEventTarget = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget
56
- MediaJobOutputStateChangeEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputStateChangeEventData
57
- DeviceTwinInfoX509Thumbprint = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint
58
- AppConfigurationKeyValueDeletedEventData = Azure::EventGrid::V2018_01_01::Models::AppConfigurationKeyValueDeletedEventData
59
- MediaLiveEventIncomingDataChunkDroppedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingDataChunkDroppedEventData
60
- AppConfigurationKeyValueModifiedEventData = Azure::EventGrid::V2018_01_01::Models::AppConfigurationKeyValueModifiedEventData
61
- DeviceConnectionStateEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceConnectionStateEventProperties
62
- MapsGeofenceEventProperties = Azure::EventGrid::V2018_01_01::Models::MapsGeofenceEventProperties
63
- MediaLiveEventIncomingStreamReceivedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingStreamReceivedEventData
64
- MapsGeofenceGeometry = Azure::EventGrid::V2018_01_01::Models::MapsGeofenceGeometry
65
- IotHubDeviceCreatedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceCreatedEventData
66
- IotHubDeviceDeletedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDeletedEventData
67
- IotHubDeviceConnectedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceConnectedEventData
68
- IotHubDeviceDisconnectedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDisconnectedEventData
69
- IotHubDeviceTelemetryEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceTelemetryEventData
70
- ContainerRegistryImagePushedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData
71
- ContainerRegistryImageDeletedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData
72
- ContainerRegistryChartPushedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryChartPushedEventData
73
- ContainerRegistryChartDeletedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryChartDeletedEventData
74
- MediaJobOutputAsset = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputAsset
75
- MediaJobScheduledEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobScheduledEventData
76
- MediaJobProcessingEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobProcessingEventData
77
- MediaJobCancelingEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobCancelingEventData
78
- MediaJobFinishedEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobFinishedEventData
79
- MediaJobCanceledEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobCanceledEventData
80
- MediaJobErroredEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobErroredEventData
81
- MediaJobOutputCanceledEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputCanceledEventData
82
- MediaJobOutputCancelingEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputCancelingEventData
83
- MediaJobOutputErroredEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputErroredEventData
84
- MediaJobOutputFinishedEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputFinishedEventData
85
- MediaJobOutputProcessingEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputProcessingEventData
86
- MediaJobOutputScheduledEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputScheduledEventData
87
- MapsGeofenceEnteredEventData = Azure::EventGrid::V2018_01_01::Models::MapsGeofenceEnteredEventData
88
- MapsGeofenceExitedEventData = Azure::EventGrid::V2018_01_01::Models::MapsGeofenceExitedEventData
89
- MapsGeofenceResultEventData = Azure::EventGrid::V2018_01_01::Models::MapsGeofenceResultEventData
90
- MediaJobState = Azure::EventGrid::V2018_01_01::Models::MediaJobState
91
- MediaJobErrorCode = Azure::EventGrid::V2018_01_01::Models::MediaJobErrorCode
92
- MediaJobErrorCategory = Azure::EventGrid::V2018_01_01::Models::MediaJobErrorCategory
93
- MediaJobRetry = Azure::EventGrid::V2018_01_01::Models::MediaJobRetry
94
- end
95
-
96
- class EventGridDataClass
97
- attr_reader :configurable, :base_url, :options, :model_classes
98
-
99
- def initialize(configurable, base_url=nil, options=nil)
100
- @configurable, @base_url, @options = configurable, base_url, options
101
-
102
- @client_0 = Azure::EventGrid::V2018_01_01::EventGridClient.new(configurable.credentials, options)
103
- if(@client_0.respond_to?(:subscription_id))
104
- @client_0.subscription_id = configurable.subscription_id
105
- end
106
- add_telemetry(@client_0)
107
-
108
- @model_classes = ModelClasses.new
109
- end
110
-
111
- def add_telemetry(client)
112
- profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/EventGrid"
113
- client.add_user_agent_information(profile_information)
114
- end
115
-
116
- def method_missing(method, *args)
117
- if @client_0.respond_to?method
118
- @client_0.send(method, *args)
119
- else
120
- super
121
- end
122
- end
123
-
124
- class ModelClasses
125
- def container_registry_artifact_event_target
126
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryArtifactEventTarget
127
- end
128
- def storage_blob_created_event_data
129
- Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData
130
- end
131
- def container_registry_artifact_event_data
132
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryArtifactEventData
133
- end
134
- def event_hub_capture_file_created_event_data
135
- Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData
136
- end
137
- def service_bus_active_messages_available_with_no_listeners_event_data
138
- Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData
139
- end
140
- def resource_write_failure_data
141
- Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData
142
- end
143
- def service_bus_deadletter_messages_available_with_no_listeners_event_data
144
- Azure::EventGrid::V2018_01_01::Models::ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
145
- end
146
- def resource_delete_success_data
147
- Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData
148
- end
149
- def media_job_state_change_event_data
150
- Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData
151
- end
152
- def resource_delete_cancel_data
153
- Azure::EventGrid::V2018_01_01::Models::ResourceDeleteCancelData
154
- end
155
- def media_job_error_detail
156
- Azure::EventGrid::V2018_01_01::Models::MediaJobErrorDetail
157
- end
158
- def resource_action_failure_data
159
- Azure::EventGrid::V2018_01_01::Models::ResourceActionFailureData
160
- end
161
- def media_job_error
162
- Azure::EventGrid::V2018_01_01::Models::MediaJobError
163
- end
164
- def event_grid_event
165
- Azure::EventGrid::V2018_01_01::Models::EventGridEvent
166
- end
167
- def media_job_output
168
- Azure::EventGrid::V2018_01_01::Models::MediaJobOutput
169
- end
170
- def subscription_validation_response
171
- Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse
172
- end
173
- def storage_blob_deleted_event_data
174
- Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData
175
- end
176
- def container_registry_event_request
177
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventRequest
178
- end
179
- def media_live_event_encoder_connected_event_data
180
- Azure::EventGrid::V2018_01_01::Models::MediaLiveEventEncoderConnectedEventData
181
- end
182
- def container_registry_event_actor
183
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventActor
184
- end
185
- def media_live_event_encoder_disconnected_event_data
186
- Azure::EventGrid::V2018_01_01::Models::MediaLiveEventEncoderDisconnectedEventData
187
- end
188
- def container_registry_event_source
189
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventSource
190
- end
191
- def device_twin_metadata
192
- Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata
193
- end
194
- def container_registry_event_data
195
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventData
196
- end
197
- def device_twin_info_properties
198
- Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties
199
- end
200
- def media_live_event_track_discontinuity_detected_event_data
201
- Azure::EventGrid::V2018_01_01::Models::MediaLiveEventTrackDiscontinuityDetectedEventData
202
- end
203
- def device_twin_info
204
- Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo
205
- end
206
- def resource_write_success_data
207
- Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData
208
- end
209
- def device_connection_state_event_info
210
- Azure::EventGrid::V2018_01_01::Models::DeviceConnectionStateEventInfo
211
- end
212
- def resource_write_cancel_data
213
- Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData
214
- end
215
- def device_telemetry_event_properties
216
- Azure::EventGrid::V2018_01_01::Models::DeviceTelemetryEventProperties
217
- end
218
- def resource_delete_failure_data
219
- Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData
220
- end
221
- def media_live_event_incoming_video_streams_out_of_sync_event_data
222
- Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingVideoStreamsOutOfSyncEventData
223
- end
224
- def resource_action_success_data
225
- Azure::EventGrid::V2018_01_01::Models::ResourceActionSuccessData
226
- end
227
- def media_live_event_ingest_heartbeat_event_data
228
- Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIngestHeartbeatEventData
229
- end
230
- def resource_action_cancel_data
231
- Azure::EventGrid::V2018_01_01::Models::ResourceActionCancelData
232
- end
233
- def media_live_event_connection_rejected_event_data
234
- Azure::EventGrid::V2018_01_01::Models::MediaLiveEventConnectionRejectedEventData
235
- end
236
- def subscription_validation_event_data
237
- Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData
238
- end
239
- def device_twin_properties
240
- Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties
241
- end
242
- def subscription_deleted_event_data
243
- Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData
244
- end
245
- def device_life_cycle_event_properties
246
- Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties
247
- end
248
- def media_live_event_incoming_streams_out_of_sync_event_data
249
- Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingStreamsOutOfSyncEventData
250
- end
251
- def media_job_output_progress_event_data
252
- Azure::EventGrid::V2018_01_01::Models::MediaJobOutputProgressEventData
253
- end
254
- def container_registry_event_target
255
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget
256
- end
257
- def media_job_output_state_change_event_data
258
- Azure::EventGrid::V2018_01_01::Models::MediaJobOutputStateChangeEventData
259
- end
260
- def device_twin_info_x509_thumbprint
261
- Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint
262
- end
263
- def app_configuration_key_value_deleted_event_data
264
- Azure::EventGrid::V2018_01_01::Models::AppConfigurationKeyValueDeletedEventData
265
- end
266
- def media_live_event_incoming_data_chunk_dropped_event_data
267
- Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingDataChunkDroppedEventData
268
- end
269
- def app_configuration_key_value_modified_event_data
270
- Azure::EventGrid::V2018_01_01::Models::AppConfigurationKeyValueModifiedEventData
271
- end
272
- def device_connection_state_event_properties
273
- Azure::EventGrid::V2018_01_01::Models::DeviceConnectionStateEventProperties
274
- end
275
- def maps_geofence_event_properties
276
- Azure::EventGrid::V2018_01_01::Models::MapsGeofenceEventProperties
277
- end
278
- def media_live_event_incoming_stream_received_event_data
279
- Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingStreamReceivedEventData
280
- end
281
- def maps_geofence_geometry
282
- Azure::EventGrid::V2018_01_01::Models::MapsGeofenceGeometry
283
- end
284
- def iot_hub_device_created_event_data
285
- Azure::EventGrid::V2018_01_01::Models::IotHubDeviceCreatedEventData
286
- end
287
- def iot_hub_device_deleted_event_data
288
- Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDeletedEventData
289
- end
290
- def iot_hub_device_connected_event_data
291
- Azure::EventGrid::V2018_01_01::Models::IotHubDeviceConnectedEventData
292
- end
293
- def iot_hub_device_disconnected_event_data
294
- Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDisconnectedEventData
295
- end
296
- def iot_hub_device_telemetry_event_data
297
- Azure::EventGrid::V2018_01_01::Models::IotHubDeviceTelemetryEventData
298
- end
299
- def container_registry_image_pushed_event_data
300
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData
301
- end
302
- def container_registry_image_deleted_event_data
303
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData
304
- end
305
- def container_registry_chart_pushed_event_data
306
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryChartPushedEventData
307
- end
308
- def container_registry_chart_deleted_event_data
309
- Azure::EventGrid::V2018_01_01::Models::ContainerRegistryChartDeletedEventData
310
- end
311
- def media_job_output_asset
312
- Azure::EventGrid::V2018_01_01::Models::MediaJobOutputAsset
313
- end
314
- def media_job_scheduled_event_data
315
- Azure::EventGrid::V2018_01_01::Models::MediaJobScheduledEventData
316
- end
317
- def media_job_processing_event_data
318
- Azure::EventGrid::V2018_01_01::Models::MediaJobProcessingEventData
319
- end
320
- def media_job_canceling_event_data
321
- Azure::EventGrid::V2018_01_01::Models::MediaJobCancelingEventData
322
- end
323
- def media_job_finished_event_data
324
- Azure::EventGrid::V2018_01_01::Models::MediaJobFinishedEventData
325
- end
326
- def media_job_canceled_event_data
327
- Azure::EventGrid::V2018_01_01::Models::MediaJobCanceledEventData
328
- end
329
- def media_job_errored_event_data
330
- Azure::EventGrid::V2018_01_01::Models::MediaJobErroredEventData
331
- end
332
- def media_job_output_canceled_event_data
333
- Azure::EventGrid::V2018_01_01::Models::MediaJobOutputCanceledEventData
334
- end
335
- def media_job_output_canceling_event_data
336
- Azure::EventGrid::V2018_01_01::Models::MediaJobOutputCancelingEventData
337
- end
338
- def media_job_output_errored_event_data
339
- Azure::EventGrid::V2018_01_01::Models::MediaJobOutputErroredEventData
340
- end
341
- def media_job_output_finished_event_data
342
- Azure::EventGrid::V2018_01_01::Models::MediaJobOutputFinishedEventData
343
- end
344
- def media_job_output_processing_event_data
345
- Azure::EventGrid::V2018_01_01::Models::MediaJobOutputProcessingEventData
346
- end
347
- def media_job_output_scheduled_event_data
348
- Azure::EventGrid::V2018_01_01::Models::MediaJobOutputScheduledEventData
349
- end
350
- def maps_geofence_entered_event_data
351
- Azure::EventGrid::V2018_01_01::Models::MapsGeofenceEnteredEventData
352
- end
353
- def maps_geofence_exited_event_data
354
- Azure::EventGrid::V2018_01_01::Models::MapsGeofenceExitedEventData
355
- end
356
- def maps_geofence_result_event_data
357
- Azure::EventGrid::V2018_01_01::Models::MapsGeofenceResultEventData
358
- end
359
- def media_job_state
360
- Azure::EventGrid::V2018_01_01::Models::MediaJobState
361
- end
362
- def media_job_error_code
363
- Azure::EventGrid::V2018_01_01::Models::MediaJobErrorCode
364
- end
365
- def media_job_error_category
366
- Azure::EventGrid::V2018_01_01::Models::MediaJobErrorCategory
367
- end
368
- def media_job_retry
369
- Azure::EventGrid::V2018_01_01::Models::MediaJobRetry
370
- end
371
- end
372
- end
373
- module Mgmt
374
- Domains = Azure::EventGrid::Mgmt::V2020_01_01_preview::Domains
375
- DomainTopics = Azure::EventGrid::Mgmt::V2020_01_01_preview::DomainTopics
376
- EventSubscriptions = Azure::EventGrid::Mgmt::V2020_01_01_preview::EventSubscriptions
377
- Operations = Azure::EventGrid::Mgmt::V2020_01_01_preview::Operations
378
- Topics = Azure::EventGrid::Mgmt::V2020_01_01_preview::Topics
379
- TopicTypes = Azure::EventGrid::Mgmt::V2020_01_01_preview::TopicTypes
380
-
381
- module Models
382
- EventSubscriptionFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionFilter
383
- RetryPolicy = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::RetryPolicy
384
- Resource = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::Resource
385
- DeadLetterDestination = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DeadLetterDestination
386
- JsonFieldWithDefault = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::JsonFieldWithDefault
387
- InputSchemaMapping = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::InputSchemaMapping
388
- JsonField = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::JsonField
389
- EventTypesListResult = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventTypesListResult
390
- DomainsListResult = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainsListResult
391
- TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicSharedAccessKeys
392
- DomainRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainRegenerateKeyRequest
393
- EventSubscriptionUpdateParameters = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionUpdateParameters
394
- DomainTopicsListResult = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainTopicsListResult
395
- EventSubscriptionFullUrl = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionFullUrl
396
- AdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::AdvancedFilter
397
- EventSubscriptionsListResult = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionsListResult
398
- DomainUpdateParameters = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainUpdateParameters
399
- OperationInfo = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::OperationInfo
400
- TopicTypesListResult = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicTypesListResult
401
- Operation = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::Operation
402
- TopicRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicRegenerateKeyRequest
403
- OperationsListResult = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::OperationsListResult
404
- EventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionDestination
405
- TopicUpdateParameters = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicUpdateParameters
406
- DomainSharedAccessKeys = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainSharedAccessKeys
407
- TopicsListResult = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicsListResult
408
- JsonInputSchemaMapping = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::JsonInputSchemaMapping
409
- TrackedResource = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TrackedResource
410
- Domain = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::Domain
411
- DomainTopic = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainTopic
412
- NumberInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberInAdvancedFilter
413
- StorageBlobDeadLetterDestination = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StorageBlobDeadLetterDestination
414
- NumberNotInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberNotInAdvancedFilter
415
- NumberLessThanAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberLessThanAdvancedFilter
416
- NumberGreaterThanAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberGreaterThanAdvancedFilter
417
- NumberLessThanOrEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberLessThanOrEqualsAdvancedFilter
418
- NumberGreaterThanOrEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberGreaterThanOrEqualsAdvancedFilter
419
- BoolEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::BoolEqualsAdvancedFilter
420
- StringInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StringInAdvancedFilter
421
- StringNotInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StringNotInAdvancedFilter
422
- StringBeginsWithAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StringBeginsWithAdvancedFilter
423
- StringEndsWithAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StringEndsWithAdvancedFilter
424
- StringContainsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StringContainsAdvancedFilter
425
- WebHookEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::WebHookEventSubscriptionDestination
426
- EventHubEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventHubEventSubscriptionDestination
427
- StorageQueueEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StorageQueueEventSubscriptionDestination
428
- HybridConnectionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::HybridConnectionEventSubscriptionDestination
429
- ServiceBusQueueEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::ServiceBusQueueEventSubscriptionDestination
430
- ServiceBusTopicEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::ServiceBusTopicEventSubscriptionDestination
431
- AzureFunctionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::AzureFunctionEventSubscriptionDestination
432
- EventSubscription = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscription
433
- Topic = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::Topic
434
- EventType = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventType
435
- TopicTypeInfo = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicTypeInfo
436
- DomainProvisioningState = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainProvisioningState
437
- InputSchema = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::InputSchema
438
- DomainTopicProvisioningState = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainTopicProvisioningState
439
- EventSubscriptionProvisioningState = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionProvisioningState
440
- EventDeliverySchema = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventDeliverySchema
441
- TopicProvisioningState = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicProvisioningState
442
- ResourceRegionType = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::ResourceRegionType
443
- TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicTypeProvisioningState
444
- end
445
-
446
- class EventGridManagementClass
447
- attr_reader :domains, :domain_topics, :event_subscriptions, :operations, :topics, :topic_types, :configurable, :base_url, :options, :model_classes
448
-
449
- def initialize(configurable, base_url=nil, options=nil)
450
- @configurable, @base_url, @options = configurable, base_url, options
451
-
452
- @client_0 = Azure::EventGrid::Mgmt::V2020_01_01_preview::EventGridManagementClient.new(configurable.credentials, base_url, options)
453
- if(@client_0.respond_to?(:subscription_id))
454
- @client_0.subscription_id = configurable.subscription_id
455
- end
456
- add_telemetry(@client_0)
457
- @domains = @client_0.domains
458
- @domain_topics = @client_0.domain_topics
459
- @event_subscriptions = @client_0.event_subscriptions
460
- @operations = @client_0.operations
461
- @topics = @client_0.topics
462
- @topic_types = @client_0.topic_types
463
-
464
- @model_classes = ModelClasses.new
465
- end
466
-
467
- def add_telemetry(client)
468
- profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/EventGrid/Mgmt"
469
- client.add_user_agent_information(profile_information)
470
- end
471
-
472
- def method_missing(method, *args)
473
- if @client_0.respond_to?method
474
- @client_0.send(method, *args)
475
- else
476
- super
477
- end
478
- end
479
-
480
- class ModelClasses
481
- def event_subscription_filter
482
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionFilter
483
- end
484
- def retry_policy
485
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::RetryPolicy
486
- end
487
- def resource
488
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::Resource
489
- end
490
- def dead_letter_destination
491
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DeadLetterDestination
492
- end
493
- def json_field_with_default
494
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::JsonFieldWithDefault
495
- end
496
- def input_schema_mapping
497
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::InputSchemaMapping
498
- end
499
- def json_field
500
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::JsonField
501
- end
502
- def event_types_list_result
503
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventTypesListResult
504
- end
505
- def domains_list_result
506
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainsListResult
507
- end
508
- def topic_shared_access_keys
509
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicSharedAccessKeys
510
- end
511
- def domain_regenerate_key_request
512
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainRegenerateKeyRequest
513
- end
514
- def event_subscription_update_parameters
515
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionUpdateParameters
516
- end
517
- def domain_topics_list_result
518
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainTopicsListResult
519
- end
520
- def event_subscription_full_url
521
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionFullUrl
522
- end
523
- def advanced_filter
524
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::AdvancedFilter
525
- end
526
- def event_subscriptions_list_result
527
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionsListResult
528
- end
529
- def domain_update_parameters
530
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainUpdateParameters
531
- end
532
- def operation_info
533
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::OperationInfo
534
- end
535
- def topic_types_list_result
536
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicTypesListResult
537
- end
538
- def operation
539
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::Operation
540
- end
541
- def topic_regenerate_key_request
542
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicRegenerateKeyRequest
543
- end
544
- def operations_list_result
545
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::OperationsListResult
546
- end
547
- def event_subscription_destination
548
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionDestination
549
- end
550
- def topic_update_parameters
551
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicUpdateParameters
552
- end
553
- def domain_shared_access_keys
554
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainSharedAccessKeys
555
- end
556
- def topics_list_result
557
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicsListResult
558
- end
559
- def json_input_schema_mapping
560
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::JsonInputSchemaMapping
561
- end
562
- def tracked_resource
563
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TrackedResource
564
- end
565
- def domain
566
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::Domain
567
- end
568
- def domain_topic
569
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainTopic
570
- end
571
- def number_in_advanced_filter
572
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberInAdvancedFilter
573
- end
574
- def storage_blob_dead_letter_destination
575
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StorageBlobDeadLetterDestination
576
- end
577
- def number_not_in_advanced_filter
578
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberNotInAdvancedFilter
579
- end
580
- def number_less_than_advanced_filter
581
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberLessThanAdvancedFilter
582
- end
583
- def number_greater_than_advanced_filter
584
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberGreaterThanAdvancedFilter
585
- end
586
- def number_less_than_or_equals_advanced_filter
587
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberLessThanOrEqualsAdvancedFilter
588
- end
589
- def number_greater_than_or_equals_advanced_filter
590
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::NumberGreaterThanOrEqualsAdvancedFilter
591
- end
592
- def bool_equals_advanced_filter
593
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::BoolEqualsAdvancedFilter
594
- end
595
- def string_in_advanced_filter
596
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StringInAdvancedFilter
597
- end
598
- def string_not_in_advanced_filter
599
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StringNotInAdvancedFilter
600
- end
601
- def string_begins_with_advanced_filter
602
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StringBeginsWithAdvancedFilter
603
- end
604
- def string_ends_with_advanced_filter
605
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StringEndsWithAdvancedFilter
606
- end
607
- def string_contains_advanced_filter
608
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StringContainsAdvancedFilter
609
- end
610
- def web_hook_event_subscription_destination
611
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::WebHookEventSubscriptionDestination
612
- end
613
- def event_hub_event_subscription_destination
614
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventHubEventSubscriptionDestination
615
- end
616
- def storage_queue_event_subscription_destination
617
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::StorageQueueEventSubscriptionDestination
618
- end
619
- def hybrid_connection_event_subscription_destination
620
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::HybridConnectionEventSubscriptionDestination
621
- end
622
- def service_bus_queue_event_subscription_destination
623
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::ServiceBusQueueEventSubscriptionDestination
624
- end
625
- def service_bus_topic_event_subscription_destination
626
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::ServiceBusTopicEventSubscriptionDestination
627
- end
628
- def azure_function_event_subscription_destination
629
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::AzureFunctionEventSubscriptionDestination
630
- end
631
- def event_subscription
632
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscription
633
- end
634
- def topic
635
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::Topic
636
- end
637
- def event_type
638
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventType
639
- end
640
- def topic_type_info
641
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicTypeInfo
642
- end
643
- def domain_provisioning_state
644
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainProvisioningState
645
- end
646
- def input_schema
647
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::InputSchema
648
- end
649
- def domain_topic_provisioning_state
650
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::DomainTopicProvisioningState
651
- end
652
- def event_subscription_provisioning_state
653
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventSubscriptionProvisioningState
654
- end
655
- def event_delivery_schema
656
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::EventDeliverySchema
657
- end
658
- def topic_provisioning_state
659
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicProvisioningState
660
- end
661
- def resource_region_type
662
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::ResourceRegionType
663
- end
664
- def topic_type_provisioning_state
665
- Azure::EventGrid::Mgmt::V2020_01_01_preview::Models::TopicTypeProvisioningState
666
- end
667
- end
668
- end
669
- end
670
- end
671
- end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_event_grid'
6
+ require 'azure_event_grid'
7
+
8
+ module Azure::Profiles::Latest
9
+ module EventGrid
10
+
11
+ module Models
12
+ ContainerRegistryArtifactEventTarget = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryArtifactEventTarget
13
+ StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData
14
+ ContainerRegistryArtifactEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryArtifactEventData
15
+ EventHubCaptureFileCreatedEventData = Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData
16
+ ServiceBusActiveMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData
17
+ ResourceWriteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData
18
+ ServiceBusDeadletterMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
19
+ ResourceDeleteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData
20
+ MediaJobStateChangeEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData
21
+ ResourceDeleteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteCancelData
22
+ MediaJobErrorDetail = Azure::EventGrid::V2018_01_01::Models::MediaJobErrorDetail
23
+ ResourceActionFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceActionFailureData
24
+ MediaJobError = Azure::EventGrid::V2018_01_01::Models::MediaJobError
25
+ EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent
26
+ MediaJobOutput = Azure::EventGrid::V2018_01_01::Models::MediaJobOutput
27
+ SubscriptionValidationResponse = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse
28
+ StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData
29
+ ContainerRegistryEventRequest = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventRequest
30
+ MediaLiveEventEncoderConnectedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventEncoderConnectedEventData
31
+ ContainerRegistryEventActor = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventActor
32
+ MediaLiveEventEncoderDisconnectedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventEncoderDisconnectedEventData
33
+ ContainerRegistryEventSource = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventSource
34
+ DeviceTwinMetadata = Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata
35
+ ContainerRegistryEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventData
36
+ DeviceTwinInfoProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties
37
+ MediaLiveEventTrackDiscontinuityDetectedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventTrackDiscontinuityDetectedEventData
38
+ DeviceTwinInfo = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo
39
+ ResourceWriteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData
40
+ DeviceConnectionStateEventInfo = Azure::EventGrid::V2018_01_01::Models::DeviceConnectionStateEventInfo
41
+ ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData
42
+ DeviceTelemetryEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTelemetryEventProperties
43
+ ResourceDeleteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData
44
+ MediaLiveEventIncomingVideoStreamsOutOfSyncEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingVideoStreamsOutOfSyncEventData
45
+ ResourceActionSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceActionSuccessData
46
+ MediaLiveEventIngestHeartbeatEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIngestHeartbeatEventData
47
+ ResourceActionCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceActionCancelData
48
+ MediaLiveEventConnectionRejectedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventConnectionRejectedEventData
49
+ SubscriptionValidationEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData
50
+ DeviceTwinProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties
51
+ SubscriptionDeletedEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData
52
+ DeviceLifeCycleEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties
53
+ MediaLiveEventIncomingStreamsOutOfSyncEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingStreamsOutOfSyncEventData
54
+ MediaJobOutputProgressEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputProgressEventData
55
+ ContainerRegistryEventTarget = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget
56
+ MediaJobOutputStateChangeEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputStateChangeEventData
57
+ DeviceTwinInfoX509Thumbprint = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint
58
+ AppConfigurationKeyValueDeletedEventData = Azure::EventGrid::V2018_01_01::Models::AppConfigurationKeyValueDeletedEventData
59
+ MediaLiveEventIncomingDataChunkDroppedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingDataChunkDroppedEventData
60
+ AppConfigurationKeyValueModifiedEventData = Azure::EventGrid::V2018_01_01::Models::AppConfigurationKeyValueModifiedEventData
61
+ DeviceConnectionStateEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceConnectionStateEventProperties
62
+ MapsGeofenceEventProperties = Azure::EventGrid::V2018_01_01::Models::MapsGeofenceEventProperties
63
+ MediaLiveEventIncomingStreamReceivedEventData = Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingStreamReceivedEventData
64
+ MapsGeofenceGeometry = Azure::EventGrid::V2018_01_01::Models::MapsGeofenceGeometry
65
+ IotHubDeviceCreatedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceCreatedEventData
66
+ IotHubDeviceDeletedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDeletedEventData
67
+ IotHubDeviceConnectedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceConnectedEventData
68
+ IotHubDeviceDisconnectedEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDisconnectedEventData
69
+ IotHubDeviceTelemetryEventData = Azure::EventGrid::V2018_01_01::Models::IotHubDeviceTelemetryEventData
70
+ ContainerRegistryImagePushedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData
71
+ ContainerRegistryImageDeletedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData
72
+ ContainerRegistryChartPushedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryChartPushedEventData
73
+ ContainerRegistryChartDeletedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryChartDeletedEventData
74
+ MediaJobOutputAsset = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputAsset
75
+ MediaJobScheduledEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobScheduledEventData
76
+ MediaJobProcessingEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobProcessingEventData
77
+ MediaJobCancelingEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobCancelingEventData
78
+ MediaJobFinishedEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobFinishedEventData
79
+ MediaJobCanceledEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobCanceledEventData
80
+ MediaJobErroredEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobErroredEventData
81
+ MediaJobOutputCanceledEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputCanceledEventData
82
+ MediaJobOutputCancelingEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputCancelingEventData
83
+ MediaJobOutputErroredEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputErroredEventData
84
+ MediaJobOutputFinishedEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputFinishedEventData
85
+ MediaJobOutputProcessingEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputProcessingEventData
86
+ MediaJobOutputScheduledEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobOutputScheduledEventData
87
+ MapsGeofenceEnteredEventData = Azure::EventGrid::V2018_01_01::Models::MapsGeofenceEnteredEventData
88
+ MapsGeofenceExitedEventData = Azure::EventGrid::V2018_01_01::Models::MapsGeofenceExitedEventData
89
+ MapsGeofenceResultEventData = Azure::EventGrid::V2018_01_01::Models::MapsGeofenceResultEventData
90
+ MediaJobState = Azure::EventGrid::V2018_01_01::Models::MediaJobState
91
+ MediaJobErrorCode = Azure::EventGrid::V2018_01_01::Models::MediaJobErrorCode
92
+ MediaJobErrorCategory = Azure::EventGrid::V2018_01_01::Models::MediaJobErrorCategory
93
+ MediaJobRetry = Azure::EventGrid::V2018_01_01::Models::MediaJobRetry
94
+ end
95
+
96
+ class EventGridDataClass
97
+ attr_reader :configurable, :base_url, :options, :model_classes
98
+
99
+ def initialize(configurable, base_url=nil, options=nil)
100
+ @configurable, @base_url, @options = configurable, base_url, options
101
+
102
+ @client_0 = Azure::EventGrid::V2018_01_01::EventGridClient.new(configurable.credentials, options)
103
+ if(@client_0.respond_to?(:subscription_id))
104
+ @client_0.subscription_id = configurable.subscription_id
105
+ end
106
+ add_telemetry(@client_0)
107
+
108
+ @model_classes = ModelClasses.new
109
+ end
110
+
111
+ def add_telemetry(client)
112
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/EventGrid"
113
+ client.add_user_agent_information(profile_information)
114
+ end
115
+
116
+ def method_missing(method, *args)
117
+ if @client_0.respond_to?method
118
+ @client_0.send(method, *args)
119
+ else
120
+ super
121
+ end
122
+ end
123
+
124
+ class ModelClasses
125
+ def container_registry_artifact_event_target
126
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryArtifactEventTarget
127
+ end
128
+ def storage_blob_created_event_data
129
+ Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData
130
+ end
131
+ def container_registry_artifact_event_data
132
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryArtifactEventData
133
+ end
134
+ def event_hub_capture_file_created_event_data
135
+ Azure::EventGrid::V2018_01_01::Models::EventHubCaptureFileCreatedEventData
136
+ end
137
+ def service_bus_active_messages_available_with_no_listeners_event_data
138
+ Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData
139
+ end
140
+ def resource_write_failure_data
141
+ Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData
142
+ end
143
+ def service_bus_deadletter_messages_available_with_no_listeners_event_data
144
+ Azure::EventGrid::V2018_01_01::Models::ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
145
+ end
146
+ def resource_delete_success_data
147
+ Azure::EventGrid::V2018_01_01::Models::ResourceDeleteSuccessData
148
+ end
149
+ def media_job_state_change_event_data
150
+ Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData
151
+ end
152
+ def resource_delete_cancel_data
153
+ Azure::EventGrid::V2018_01_01::Models::ResourceDeleteCancelData
154
+ end
155
+ def media_job_error_detail
156
+ Azure::EventGrid::V2018_01_01::Models::MediaJobErrorDetail
157
+ end
158
+ def resource_action_failure_data
159
+ Azure::EventGrid::V2018_01_01::Models::ResourceActionFailureData
160
+ end
161
+ def media_job_error
162
+ Azure::EventGrid::V2018_01_01::Models::MediaJobError
163
+ end
164
+ def event_grid_event
165
+ Azure::EventGrid::V2018_01_01::Models::EventGridEvent
166
+ end
167
+ def media_job_output
168
+ Azure::EventGrid::V2018_01_01::Models::MediaJobOutput
169
+ end
170
+ def subscription_validation_response
171
+ Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse
172
+ end
173
+ def storage_blob_deleted_event_data
174
+ Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData
175
+ end
176
+ def container_registry_event_request
177
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventRequest
178
+ end
179
+ def media_live_event_encoder_connected_event_data
180
+ Azure::EventGrid::V2018_01_01::Models::MediaLiveEventEncoderConnectedEventData
181
+ end
182
+ def container_registry_event_actor
183
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventActor
184
+ end
185
+ def media_live_event_encoder_disconnected_event_data
186
+ Azure::EventGrid::V2018_01_01::Models::MediaLiveEventEncoderDisconnectedEventData
187
+ end
188
+ def container_registry_event_source
189
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventSource
190
+ end
191
+ def device_twin_metadata
192
+ Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata
193
+ end
194
+ def container_registry_event_data
195
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventData
196
+ end
197
+ def device_twin_info_properties
198
+ Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties
199
+ end
200
+ def media_live_event_track_discontinuity_detected_event_data
201
+ Azure::EventGrid::V2018_01_01::Models::MediaLiveEventTrackDiscontinuityDetectedEventData
202
+ end
203
+ def device_twin_info
204
+ Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo
205
+ end
206
+ def resource_write_success_data
207
+ Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData
208
+ end
209
+ def device_connection_state_event_info
210
+ Azure::EventGrid::V2018_01_01::Models::DeviceConnectionStateEventInfo
211
+ end
212
+ def resource_write_cancel_data
213
+ Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData
214
+ end
215
+ def device_telemetry_event_properties
216
+ Azure::EventGrid::V2018_01_01::Models::DeviceTelemetryEventProperties
217
+ end
218
+ def resource_delete_failure_data
219
+ Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData
220
+ end
221
+ def media_live_event_incoming_video_streams_out_of_sync_event_data
222
+ Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingVideoStreamsOutOfSyncEventData
223
+ end
224
+ def resource_action_success_data
225
+ Azure::EventGrid::V2018_01_01::Models::ResourceActionSuccessData
226
+ end
227
+ def media_live_event_ingest_heartbeat_event_data
228
+ Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIngestHeartbeatEventData
229
+ end
230
+ def resource_action_cancel_data
231
+ Azure::EventGrid::V2018_01_01::Models::ResourceActionCancelData
232
+ end
233
+ def media_live_event_connection_rejected_event_data
234
+ Azure::EventGrid::V2018_01_01::Models::MediaLiveEventConnectionRejectedEventData
235
+ end
236
+ def subscription_validation_event_data
237
+ Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData
238
+ end
239
+ def device_twin_properties
240
+ Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties
241
+ end
242
+ def subscription_deleted_event_data
243
+ Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData
244
+ end
245
+ def device_life_cycle_event_properties
246
+ Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties
247
+ end
248
+ def media_live_event_incoming_streams_out_of_sync_event_data
249
+ Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingStreamsOutOfSyncEventData
250
+ end
251
+ def media_job_output_progress_event_data
252
+ Azure::EventGrid::V2018_01_01::Models::MediaJobOutputProgressEventData
253
+ end
254
+ def container_registry_event_target
255
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget
256
+ end
257
+ def media_job_output_state_change_event_data
258
+ Azure::EventGrid::V2018_01_01::Models::MediaJobOutputStateChangeEventData
259
+ end
260
+ def device_twin_info_x509_thumbprint
261
+ Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint
262
+ end
263
+ def app_configuration_key_value_deleted_event_data
264
+ Azure::EventGrid::V2018_01_01::Models::AppConfigurationKeyValueDeletedEventData
265
+ end
266
+ def media_live_event_incoming_data_chunk_dropped_event_data
267
+ Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingDataChunkDroppedEventData
268
+ end
269
+ def app_configuration_key_value_modified_event_data
270
+ Azure::EventGrid::V2018_01_01::Models::AppConfigurationKeyValueModifiedEventData
271
+ end
272
+ def device_connection_state_event_properties
273
+ Azure::EventGrid::V2018_01_01::Models::DeviceConnectionStateEventProperties
274
+ end
275
+ def maps_geofence_event_properties
276
+ Azure::EventGrid::V2018_01_01::Models::MapsGeofenceEventProperties
277
+ end
278
+ def media_live_event_incoming_stream_received_event_data
279
+ Azure::EventGrid::V2018_01_01::Models::MediaLiveEventIncomingStreamReceivedEventData
280
+ end
281
+ def maps_geofence_geometry
282
+ Azure::EventGrid::V2018_01_01::Models::MapsGeofenceGeometry
283
+ end
284
+ def iot_hub_device_created_event_data
285
+ Azure::EventGrid::V2018_01_01::Models::IotHubDeviceCreatedEventData
286
+ end
287
+ def iot_hub_device_deleted_event_data
288
+ Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDeletedEventData
289
+ end
290
+ def iot_hub_device_connected_event_data
291
+ Azure::EventGrid::V2018_01_01::Models::IotHubDeviceConnectedEventData
292
+ end
293
+ def iot_hub_device_disconnected_event_data
294
+ Azure::EventGrid::V2018_01_01::Models::IotHubDeviceDisconnectedEventData
295
+ end
296
+ def iot_hub_device_telemetry_event_data
297
+ Azure::EventGrid::V2018_01_01::Models::IotHubDeviceTelemetryEventData
298
+ end
299
+ def container_registry_image_pushed_event_data
300
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData
301
+ end
302
+ def container_registry_image_deleted_event_data
303
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData
304
+ end
305
+ def container_registry_chart_pushed_event_data
306
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryChartPushedEventData
307
+ end
308
+ def container_registry_chart_deleted_event_data
309
+ Azure::EventGrid::V2018_01_01::Models::ContainerRegistryChartDeletedEventData
310
+ end
311
+ def media_job_output_asset
312
+ Azure::EventGrid::V2018_01_01::Models::MediaJobOutputAsset
313
+ end
314
+ def media_job_scheduled_event_data
315
+ Azure::EventGrid::V2018_01_01::Models::MediaJobScheduledEventData
316
+ end
317
+ def media_job_processing_event_data
318
+ Azure::EventGrid::V2018_01_01::Models::MediaJobProcessingEventData
319
+ end
320
+ def media_job_canceling_event_data
321
+ Azure::EventGrid::V2018_01_01::Models::MediaJobCancelingEventData
322
+ end
323
+ def media_job_finished_event_data
324
+ Azure::EventGrid::V2018_01_01::Models::MediaJobFinishedEventData
325
+ end
326
+ def media_job_canceled_event_data
327
+ Azure::EventGrid::V2018_01_01::Models::MediaJobCanceledEventData
328
+ end
329
+ def media_job_errored_event_data
330
+ Azure::EventGrid::V2018_01_01::Models::MediaJobErroredEventData
331
+ end
332
+ def media_job_output_canceled_event_data
333
+ Azure::EventGrid::V2018_01_01::Models::MediaJobOutputCanceledEventData
334
+ end
335
+ def media_job_output_canceling_event_data
336
+ Azure::EventGrid::V2018_01_01::Models::MediaJobOutputCancelingEventData
337
+ end
338
+ def media_job_output_errored_event_data
339
+ Azure::EventGrid::V2018_01_01::Models::MediaJobOutputErroredEventData
340
+ end
341
+ def media_job_output_finished_event_data
342
+ Azure::EventGrid::V2018_01_01::Models::MediaJobOutputFinishedEventData
343
+ end
344
+ def media_job_output_processing_event_data
345
+ Azure::EventGrid::V2018_01_01::Models::MediaJobOutputProcessingEventData
346
+ end
347
+ def media_job_output_scheduled_event_data
348
+ Azure::EventGrid::V2018_01_01::Models::MediaJobOutputScheduledEventData
349
+ end
350
+ def maps_geofence_entered_event_data
351
+ Azure::EventGrid::V2018_01_01::Models::MapsGeofenceEnteredEventData
352
+ end
353
+ def maps_geofence_exited_event_data
354
+ Azure::EventGrid::V2018_01_01::Models::MapsGeofenceExitedEventData
355
+ end
356
+ def maps_geofence_result_event_data
357
+ Azure::EventGrid::V2018_01_01::Models::MapsGeofenceResultEventData
358
+ end
359
+ def media_job_state
360
+ Azure::EventGrid::V2018_01_01::Models::MediaJobState
361
+ end
362
+ def media_job_error_code
363
+ Azure::EventGrid::V2018_01_01::Models::MediaJobErrorCode
364
+ end
365
+ def media_job_error_category
366
+ Azure::EventGrid::V2018_01_01::Models::MediaJobErrorCategory
367
+ end
368
+ def media_job_retry
369
+ Azure::EventGrid::V2018_01_01::Models::MediaJobRetry
370
+ end
371
+ end
372
+ end
373
+ module Mgmt
374
+ Domains = Azure::EventGrid::Mgmt::V2020_04_01_preview::Domains
375
+ DomainTopics = Azure::EventGrid::Mgmt::V2020_04_01_preview::DomainTopics
376
+ EventSubscriptions = Azure::EventGrid::Mgmt::V2020_04_01_preview::EventSubscriptions
377
+ Operations = Azure::EventGrid::Mgmt::V2020_04_01_preview::Operations
378
+ Topics = Azure::EventGrid::Mgmt::V2020_04_01_preview::Topics
379
+ TopicTypes = Azure::EventGrid::Mgmt::V2020_04_01_preview::TopicTypes
380
+
381
+ module Models
382
+ AdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::AdvancedFilter
383
+ EventSubscriptionFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionFilter
384
+ InboundIpRule = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InboundIpRule
385
+ RetryPolicy = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::RetryPolicy
386
+ JsonField = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonField
387
+ DeadLetterDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DeadLetterDestination
388
+ Resource = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Resource
389
+ JsonFieldWithDefault = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonFieldWithDefault
390
+ TopicRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicRegenerateKeyRequest
391
+ TopicTypesListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypesListResult
392
+ DomainsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainsListResult
393
+ EventSubscriptionUpdateParameters = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionUpdateParameters
394
+ DomainRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainRegenerateKeyRequest
395
+ EventSubscriptionFullUrl = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionFullUrl
396
+ DomainTopicsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopicsListResult
397
+ EventSubscriptionsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionsListResult
398
+ InputSchemaMapping = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InputSchemaMapping
399
+ OperationInfo = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::OperationInfo
400
+ DomainUpdateParameters = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainUpdateParameters
401
+ Operation = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Operation
402
+ EventTypesListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventTypesListResult
403
+ OperationsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::OperationsListResult
404
+ TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicSharedAccessKeys
405
+ TopicUpdateParameters = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicUpdateParameters
406
+ EventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionDestination
407
+ TopicsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicsListResult
408
+ DomainSharedAccessKeys = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainSharedAccessKeys
409
+ JsonInputSchemaMapping = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonInputSchemaMapping
410
+ TrackedResource = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TrackedResource
411
+ Domain = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Domain
412
+ DomainTopic = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopic
413
+ NumberInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberInAdvancedFilter
414
+ StorageBlobDeadLetterDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StorageBlobDeadLetterDestination
415
+ NumberNotInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberNotInAdvancedFilter
416
+ NumberLessThanAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberLessThanAdvancedFilter
417
+ NumberGreaterThanAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberGreaterThanAdvancedFilter
418
+ NumberLessThanOrEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberLessThanOrEqualsAdvancedFilter
419
+ NumberGreaterThanOrEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberGreaterThanOrEqualsAdvancedFilter
420
+ BoolEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::BoolEqualsAdvancedFilter
421
+ StringInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringInAdvancedFilter
422
+ StringNotInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringNotInAdvancedFilter
423
+ StringBeginsWithAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringBeginsWithAdvancedFilter
424
+ StringEndsWithAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringEndsWithAdvancedFilter
425
+ StringContainsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringContainsAdvancedFilter
426
+ WebHookEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::WebHookEventSubscriptionDestination
427
+ EventHubEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventHubEventSubscriptionDestination
428
+ StorageQueueEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StorageQueueEventSubscriptionDestination
429
+ HybridConnectionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::HybridConnectionEventSubscriptionDestination
430
+ ServiceBusQueueEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ServiceBusQueueEventSubscriptionDestination
431
+ ServiceBusTopicEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ServiceBusTopicEventSubscriptionDestination
432
+ AzureFunctionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::AzureFunctionEventSubscriptionDestination
433
+ EventSubscription = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription
434
+ Topic = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Topic
435
+ EventType = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventType
436
+ TopicTypeInfo = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypeInfo
437
+ DomainProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainProvisioningState
438
+ InputSchema = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InputSchema
439
+ IpActionType = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::IpActionType
440
+ DomainTopicProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopicProvisioningState
441
+ EventSubscriptionProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionProvisioningState
442
+ EventDeliverySchema = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventDeliverySchema
443
+ TopicProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicProvisioningState
444
+ ResourceRegionType = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ResourceRegionType
445
+ TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypeProvisioningState
446
+ end
447
+
448
+ class EventGridManagementClass
449
+ attr_reader :domains, :domain_topics, :event_subscriptions, :operations, :topics, :topic_types, :configurable, :base_url, :options, :model_classes
450
+
451
+ def initialize(configurable, base_url=nil, options=nil)
452
+ @configurable, @base_url, @options = configurable, base_url, options
453
+
454
+ @client_0 = Azure::EventGrid::Mgmt::V2020_04_01_preview::EventGridManagementClient.new(configurable.credentials, base_url, options)
455
+ if(@client_0.respond_to?(:subscription_id))
456
+ @client_0.subscription_id = configurable.subscription_id
457
+ end
458
+ add_telemetry(@client_0)
459
+ @domains = @client_0.domains
460
+ @domain_topics = @client_0.domain_topics
461
+ @event_subscriptions = @client_0.event_subscriptions
462
+ @operations = @client_0.operations
463
+ @topics = @client_0.topics
464
+ @topic_types = @client_0.topic_types
465
+
466
+ @model_classes = ModelClasses.new
467
+ end
468
+
469
+ def add_telemetry(client)
470
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/EventGrid/Mgmt"
471
+ client.add_user_agent_information(profile_information)
472
+ end
473
+
474
+ def method_missing(method, *args)
475
+ if @client_0.respond_to?method
476
+ @client_0.send(method, *args)
477
+ else
478
+ super
479
+ end
480
+ end
481
+
482
+ class ModelClasses
483
+ def advanced_filter
484
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::AdvancedFilter
485
+ end
486
+ def event_subscription_filter
487
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionFilter
488
+ end
489
+ def inbound_ip_rule
490
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InboundIpRule
491
+ end
492
+ def retry_policy
493
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::RetryPolicy
494
+ end
495
+ def json_field
496
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonField
497
+ end
498
+ def dead_letter_destination
499
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DeadLetterDestination
500
+ end
501
+ def resource
502
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Resource
503
+ end
504
+ def json_field_with_default
505
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonFieldWithDefault
506
+ end
507
+ def topic_regenerate_key_request
508
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicRegenerateKeyRequest
509
+ end
510
+ def topic_types_list_result
511
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypesListResult
512
+ end
513
+ def domains_list_result
514
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainsListResult
515
+ end
516
+ def event_subscription_update_parameters
517
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionUpdateParameters
518
+ end
519
+ def domain_regenerate_key_request
520
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainRegenerateKeyRequest
521
+ end
522
+ def event_subscription_full_url
523
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionFullUrl
524
+ end
525
+ def domain_topics_list_result
526
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopicsListResult
527
+ end
528
+ def event_subscriptions_list_result
529
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionsListResult
530
+ end
531
+ def input_schema_mapping
532
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InputSchemaMapping
533
+ end
534
+ def operation_info
535
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::OperationInfo
536
+ end
537
+ def domain_update_parameters
538
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainUpdateParameters
539
+ end
540
+ def operation
541
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Operation
542
+ end
543
+ def event_types_list_result
544
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventTypesListResult
545
+ end
546
+ def operations_list_result
547
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::OperationsListResult
548
+ end
549
+ def topic_shared_access_keys
550
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicSharedAccessKeys
551
+ end
552
+ def topic_update_parameters
553
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicUpdateParameters
554
+ end
555
+ def event_subscription_destination
556
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionDestination
557
+ end
558
+ def topics_list_result
559
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicsListResult
560
+ end
561
+ def domain_shared_access_keys
562
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainSharedAccessKeys
563
+ end
564
+ def json_input_schema_mapping
565
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonInputSchemaMapping
566
+ end
567
+ def tracked_resource
568
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TrackedResource
569
+ end
570
+ def domain
571
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Domain
572
+ end
573
+ def domain_topic
574
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopic
575
+ end
576
+ def number_in_advanced_filter
577
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberInAdvancedFilter
578
+ end
579
+ def storage_blob_dead_letter_destination
580
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StorageBlobDeadLetterDestination
581
+ end
582
+ def number_not_in_advanced_filter
583
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberNotInAdvancedFilter
584
+ end
585
+ def number_less_than_advanced_filter
586
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberLessThanAdvancedFilter
587
+ end
588
+ def number_greater_than_advanced_filter
589
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberGreaterThanAdvancedFilter
590
+ end
591
+ def number_less_than_or_equals_advanced_filter
592
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberLessThanOrEqualsAdvancedFilter
593
+ end
594
+ def number_greater_than_or_equals_advanced_filter
595
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberGreaterThanOrEqualsAdvancedFilter
596
+ end
597
+ def bool_equals_advanced_filter
598
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::BoolEqualsAdvancedFilter
599
+ end
600
+ def string_in_advanced_filter
601
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringInAdvancedFilter
602
+ end
603
+ def string_not_in_advanced_filter
604
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringNotInAdvancedFilter
605
+ end
606
+ def string_begins_with_advanced_filter
607
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringBeginsWithAdvancedFilter
608
+ end
609
+ def string_ends_with_advanced_filter
610
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringEndsWithAdvancedFilter
611
+ end
612
+ def string_contains_advanced_filter
613
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringContainsAdvancedFilter
614
+ end
615
+ def web_hook_event_subscription_destination
616
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::WebHookEventSubscriptionDestination
617
+ end
618
+ def event_hub_event_subscription_destination
619
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventHubEventSubscriptionDestination
620
+ end
621
+ def storage_queue_event_subscription_destination
622
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StorageQueueEventSubscriptionDestination
623
+ end
624
+ def hybrid_connection_event_subscription_destination
625
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::HybridConnectionEventSubscriptionDestination
626
+ end
627
+ def service_bus_queue_event_subscription_destination
628
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ServiceBusQueueEventSubscriptionDestination
629
+ end
630
+ def service_bus_topic_event_subscription_destination
631
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ServiceBusTopicEventSubscriptionDestination
632
+ end
633
+ def azure_function_event_subscription_destination
634
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::AzureFunctionEventSubscriptionDestination
635
+ end
636
+ def event_subscription
637
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription
638
+ end
639
+ def topic
640
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Topic
641
+ end
642
+ def event_type
643
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventType
644
+ end
645
+ def topic_type_info
646
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypeInfo
647
+ end
648
+ def domain_provisioning_state
649
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainProvisioningState
650
+ end
651
+ def input_schema
652
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InputSchema
653
+ end
654
+ def ip_action_type
655
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::IpActionType
656
+ end
657
+ def domain_topic_provisioning_state
658
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopicProvisioningState
659
+ end
660
+ def event_subscription_provisioning_state
661
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionProvisioningState
662
+ end
663
+ def event_delivery_schema
664
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventDeliverySchema
665
+ end
666
+ def topic_provisioning_state
667
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicProvisioningState
668
+ end
669
+ def resource_region_type
670
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ResourceRegionType
671
+ end
672
+ def topic_type_provisioning_state
673
+ Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypeProvisioningState
674
+ end
675
+ end
676
+ end
677
+ end
678
+ end
679
+ end