azure_event_grid 0.17.1 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2018-01-01/generated/azure_event_grid.rb +68 -22
  3. data/lib/2018-01-01/generated/azure_event_grid/event_grid_client.rb +3 -1
  4. data/lib/2018-01-01/generated/azure_event_grid/models/app_configuration_key_value_deleted_event_data.rb +71 -0
  5. data/lib/2018-01-01/generated/azure_event_grid/models/app_configuration_key_value_modified_event_data.rb +72 -0
  6. data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_artifact_event_data.rb +80 -0
  7. data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_artifact_event_target.rb +112 -0
  8. data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_chart_deleted_event_data.rb +69 -0
  9. data/lib/2018-01-01/generated/azure_event_grid/models/container_registry_chart_pushed_event_data.rb +69 -0
  10. data/lib/2018-01-01/generated/azure_event_grid/models/device_telemetry_event_properties.rb +88 -0
  11. data/lib/2018-01-01/generated/azure_event_grid/models/iot_hub_device_telemetry_event_data.rb +75 -0
  12. data/lib/2018-01-01/generated/azure_event_grid/models/maps_geofence_entered_event_data.rb +93 -0
  13. data/lib/2018-01-01/generated/azure_event_grid/models/maps_geofence_event_properties.rb +111 -0
  14. data/lib/2018-01-01/generated/azure_event_grid/models/maps_geofence_exited_event_data.rb +93 -0
  15. data/lib/2018-01-01/generated/azure_event_grid/models/maps_geofence_geometry.rb +111 -0
  16. data/lib/2018-01-01/generated/azure_event_grid/models/maps_geofence_result_event_data.rb +93 -0
  17. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_canceled_event_data.rb +93 -0
  18. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_canceling_event_data.rb +71 -0
  19. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_error.rb +117 -0
  20. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_error_category.rb +19 -0
  21. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_error_code.rb +23 -0
  22. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_error_detail.rb +59 -0
  23. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_errored_event_data.rb +93 -0
  24. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_finished_event_data.rb +93 -0
  25. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_output.rb +94 -0
  26. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_output_asset.rb +95 -0
  27. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_output_canceled_event_data.rb +72 -0
  28. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_output_canceling_event_data.rb +72 -0
  29. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_output_errored_event_data.rb +72 -0
  30. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_output_finished_event_data.rb +72 -0
  31. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_output_processing_event_data.rb +72 -0
  32. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_output_progress_event_data.rb +76 -0
  33. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_output_scheduled_event_data.rb +72 -0
  34. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_output_state_change_event_data.rb +84 -0
  35. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_processing_event_data.rb +71 -0
  36. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_retry.rb +16 -0
  37. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_scheduled_event_data.rb +71 -0
  38. data/lib/2018-01-01/generated/azure_event_grid/models/{job_state.rb → media_job_state.rb} +2 -2
  39. data/lib/2018-01-01/generated/azure_event_grid/models/media_job_state_change_event_data.rb +25 -6
  40. data/lib/2018-01-01/generated/azure_event_grid/models/media_live_event_connection_rejected_event_data.rb +96 -0
  41. data/lib/2018-01-01/generated/azure_event_grid/models/media_live_event_encoder_connected_event_data.rb +83 -0
  42. data/lib/2018-01-01/generated/azure_event_grid/models/media_live_event_encoder_disconnected_event_data.rb +96 -0
  43. data/lib/2018-01-01/generated/azure_event_grid/models/media_live_event_incoming_data_chunk_dropped_event_data.rb +109 -0
  44. data/lib/2018-01-01/generated/azure_event_grid/models/media_live_event_incoming_stream_received_event_data.rb +144 -0
  45. data/lib/2018-01-01/generated/azure_event_grid/models/media_live_event_incoming_streams_out_of_sync_event_data.rb +111 -0
  46. data/lib/2018-01-01/generated/azure_event_grid/models/media_live_event_incoming_video_streams_out_of_sync_event_data.rb +101 -0
  47. data/lib/2018-01-01/generated/azure_event_grid/models/media_live_event_ingest_heartbeat_event_data.rb +181 -0
  48. data/lib/2018-01-01/generated/azure_event_grid/models/media_live_event_track_discontinuity_detected_event_data.rb +122 -0
  49. data/lib/2018-01-01/generated/azure_event_grid/models/resource_action_cancel_data.rb +158 -0
  50. data/lib/2018-01-01/generated/azure_event_grid/models/resource_action_failure_data.rb +158 -0
  51. data/lib/2018-01-01/generated/azure_event_grid/models/resource_action_success_data.rb +158 -0
  52. data/lib/profiles/latest/modules/eventgrid_profile_module.rb +253 -69
  53. data/lib/version.rb +1 -1
  54. metadata +51 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6b12440af082916067ae996f806f7f3332f8da517377d1d97fcfbf580dcb3d9
4
- data.tar.gz: f117c3049249095bb66528e7366f441bdfae62f30c897f02f6e96101e2d7ec57
3
+ metadata.gz: ed1ec8e332cefbe5dff5cd0b821529eb2cd4670d837d73f45639ebbd89ddfe03
4
+ data.tar.gz: ba5608cd4438b7c18d7249dda0f4fabb749ef5967303d31a8b094383a95af0c1
5
5
  SHA512:
6
- metadata.gz: c33d26830db69db62a3361e153b59d0018c4703fe641a1d5250d66dd1827bdcf008256d2123e6ef375c8e06f189f7fa31753219c861c1cb42d6b57ec90815abc
7
- data.tar.gz: 16bd551f686d8d3cf4ec514d28610b78f26cd973dbe3936da98786e53a43a87c6b8a30824661bbc8ccd6c4506ee1febdd0b68b3b2d6650783cc1b7f95ea1adab
6
+ metadata.gz: 0fe9d6d3fef48e85782e9295eda3060b5353cd97c60925bc0a55362d109cff332c0a57ca73d9e62b597af37d49fedd5fda4371808f3d1cf802608e0bbbb007c2
7
+ data.tar.gz: dfd17531e4067349a2566c431647a10b88303c4a0eeaf03af7e2c5e1ce0d96c046db3b39fa9157fcbf9ae5a0628e8956d1c71cf7b6d5ae8f3a636326f2573f6d
@@ -23,41 +23,87 @@ module Azure::EventGrid::V2018_01_01
23
23
  autoload :EventGridClient, '2018-01-01/generated/azure_event_grid/event_grid_client.rb'
24
24
 
25
25
  module Models
26
- autoload :DeviceTwinMetadata, '2018-01-01/generated/azure_event_grid/models/device_twin_metadata.rb'
27
- autoload :DeviceTwinProperties, '2018-01-01/generated/azure_event_grid/models/device_twin_properties.rb'
26
+ autoload :ContainerRegistryArtifactEventTarget, '2018-01-01/generated/azure_event_grid/models/container_registry_artifact_event_target.rb'
27
+ autoload :StorageBlobCreatedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb'
28
+ autoload :ContainerRegistryArtifactEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_artifact_event_data.rb'
29
+ autoload :EventHubCaptureFileCreatedEventData, '2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb'
30
+ autoload :ServiceBusActiveMessagesAvailableWithNoListenersEventData, '2018-01-01/generated/azure_event_grid/models/service_bus_active_messages_available_with_no_listeners_event_data.rb'
31
+ autoload :ResourceWriteFailureData, '2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb'
32
+ autoload :ServiceBusDeadletterMessagesAvailableWithNoListenersEventData, '2018-01-01/generated/azure_event_grid/models/service_bus_deadletter_messages_available_with_no_listeners_event_data.rb'
33
+ autoload :ResourceDeleteSuccessData, '2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb'
34
+ autoload :MediaJobStateChangeEventData, '2018-01-01/generated/azure_event_grid/models/media_job_state_change_event_data.rb'
35
+ autoload :ResourceDeleteCancelData, '2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb'
36
+ autoload :MediaJobErrorDetail, '2018-01-01/generated/azure_event_grid/models/media_job_error_detail.rb'
37
+ autoload :ResourceActionFailureData, '2018-01-01/generated/azure_event_grid/models/resource_action_failure_data.rb'
38
+ autoload :MediaJobError, '2018-01-01/generated/azure_event_grid/models/media_job_error.rb'
39
+ autoload :EventGridEvent, '2018-01-01/generated/azure_event_grid/models/event_grid_event.rb'
40
+ autoload :MediaJobOutput, '2018-01-01/generated/azure_event_grid/models/media_job_output.rb'
41
+ autoload :SubscriptionValidationResponse, '2018-01-01/generated/azure_event_grid/models/subscription_validation_response.rb'
28
42
  autoload :StorageBlobDeletedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_deleted_event_data.rb'
43
+ autoload :ContainerRegistryEventRequest, '2018-01-01/generated/azure_event_grid/models/container_registry_event_request.rb'
44
+ autoload :MediaLiveEventEncoderConnectedEventData, '2018-01-01/generated/azure_event_grid/models/media_live_event_encoder_connected_event_data.rb'
45
+ autoload :ContainerRegistryEventActor, '2018-01-01/generated/azure_event_grid/models/container_registry_event_actor.rb'
46
+ autoload :MediaLiveEventEncoderDisconnectedEventData, '2018-01-01/generated/azure_event_grid/models/media_live_event_encoder_disconnected_event_data.rb'
47
+ autoload :ContainerRegistryEventSource, '2018-01-01/generated/azure_event_grid/models/container_registry_event_source.rb'
48
+ autoload :DeviceTwinMetadata, '2018-01-01/generated/azure_event_grid/models/device_twin_metadata.rb'
49
+ autoload :ContainerRegistryEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_event_data.rb'
29
50
  autoload :DeviceTwinInfoProperties, '2018-01-01/generated/azure_event_grid/models/device_twin_info_properties.rb'
51
+ autoload :MediaLiveEventTrackDiscontinuityDetectedEventData, '2018-01-01/generated/azure_event_grid/models/media_live_event_track_discontinuity_detected_event_data.rb'
52
+ autoload :DeviceTwinInfo, '2018-01-01/generated/azure_event_grid/models/device_twin_info.rb'
30
53
  autoload :ResourceWriteSuccessData, '2018-01-01/generated/azure_event_grid/models/resource_write_success_data.rb'
31
- autoload :DeviceTwinInfoX509Thumbprint, '2018-01-01/generated/azure_event_grid/models/device_twin_info_x509thumbprint.rb'
54
+ autoload :DeviceConnectionStateEventInfo, '2018-01-01/generated/azure_event_grid/models/device_connection_state_event_info.rb'
32
55
  autoload :ResourceWriteCancelData, '2018-01-01/generated/azure_event_grid/models/resource_write_cancel_data.rb'
33
- autoload :DeviceTwinInfo, '2018-01-01/generated/azure_event_grid/models/device_twin_info.rb'
56
+ autoload :DeviceTelemetryEventProperties, '2018-01-01/generated/azure_event_grid/models/device_telemetry_event_properties.rb'
34
57
  autoload :ResourceDeleteFailureData, '2018-01-01/generated/azure_event_grid/models/resource_delete_failure_data.rb'
35
- autoload :DeviceLifeCycleEventProperties, '2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb'
36
- autoload :EventGridEvent, '2018-01-01/generated/azure_event_grid/models/event_grid_event.rb'
37
- autoload :DeviceConnectionStateEventInfo, '2018-01-01/generated/azure_event_grid/models/device_connection_state_event_info.rb'
38
- autoload :SubscriptionValidationResponse, '2018-01-01/generated/azure_event_grid/models/subscription_validation_response.rb'
39
- autoload :DeviceConnectionStateEventProperties, '2018-01-01/generated/azure_event_grid/models/device_connection_state_event_properties.rb'
40
- autoload :ResourceDeleteCancelData, '2018-01-01/generated/azure_event_grid/models/resource_delete_cancel_data.rb'
58
+ autoload :MediaLiveEventIncomingVideoStreamsOutOfSyncEventData, '2018-01-01/generated/azure_event_grid/models/media_live_event_incoming_video_streams_out_of_sync_event_data.rb'
59
+ autoload :ResourceActionSuccessData, '2018-01-01/generated/azure_event_grid/models/resource_action_success_data.rb'
60
+ autoload :MediaLiveEventIngestHeartbeatEventData, '2018-01-01/generated/azure_event_grid/models/media_live_event_ingest_heartbeat_event_data.rb'
61
+ autoload :ResourceActionCancelData, '2018-01-01/generated/azure_event_grid/models/resource_action_cancel_data.rb'
62
+ autoload :MediaLiveEventConnectionRejectedEventData, '2018-01-01/generated/azure_event_grid/models/media_live_event_connection_rejected_event_data.rb'
41
63
  autoload :SubscriptionValidationEventData, '2018-01-01/generated/azure_event_grid/models/subscription_validation_event_data.rb'
42
- autoload :MediaJobStateChangeEventData, '2018-01-01/generated/azure_event_grid/models/media_job_state_change_event_data.rb'
64
+ autoload :DeviceTwinProperties, '2018-01-01/generated/azure_event_grid/models/device_twin_properties.rb'
43
65
  autoload :SubscriptionDeletedEventData, '2018-01-01/generated/azure_event_grid/models/subscription_deleted_event_data.rb'
44
- autoload :StorageBlobCreatedEventData, '2018-01-01/generated/azure_event_grid/models/storage_blob_created_event_data.rb'
45
- autoload :ServiceBusActiveMessagesAvailableWithNoListenersEventData, '2018-01-01/generated/azure_event_grid/models/service_bus_active_messages_available_with_no_listeners_event_data.rb'
46
- autoload :ResourceWriteFailureData, '2018-01-01/generated/azure_event_grid/models/resource_write_failure_data.rb'
47
- autoload :ContainerRegistryEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_event_data.rb'
48
- autoload :ContainerRegistryEventSource, '2018-01-01/generated/azure_event_grid/models/container_registry_event_source.rb'
49
- autoload :EventHubCaptureFileCreatedEventData, '2018-01-01/generated/azure_event_grid/models/event_hub_capture_file_created_event_data.rb'
66
+ autoload :DeviceLifeCycleEventProperties, '2018-01-01/generated/azure_event_grid/models/device_life_cycle_event_properties.rb'
67
+ autoload :MediaLiveEventIncomingStreamsOutOfSyncEventData, '2018-01-01/generated/azure_event_grid/models/media_live_event_incoming_streams_out_of_sync_event_data.rb'
68
+ autoload :MediaJobOutputProgressEventData, '2018-01-01/generated/azure_event_grid/models/media_job_output_progress_event_data.rb'
50
69
  autoload :ContainerRegistryEventTarget, '2018-01-01/generated/azure_event_grid/models/container_registry_event_target.rb'
51
- autoload :ServiceBusDeadletterMessagesAvailableWithNoListenersEventData, '2018-01-01/generated/azure_event_grid/models/service_bus_deadletter_messages_available_with_no_listeners_event_data.rb'
52
- autoload :ContainerRegistryEventRequest, '2018-01-01/generated/azure_event_grid/models/container_registry_event_request.rb'
53
- autoload :ResourceDeleteSuccessData, '2018-01-01/generated/azure_event_grid/models/resource_delete_success_data.rb'
54
- autoload :ContainerRegistryEventActor, '2018-01-01/generated/azure_event_grid/models/container_registry_event_actor.rb'
70
+ autoload :MediaJobOutputStateChangeEventData, '2018-01-01/generated/azure_event_grid/models/media_job_output_state_change_event_data.rb'
71
+ autoload :DeviceTwinInfoX509Thumbprint, '2018-01-01/generated/azure_event_grid/models/device_twin_info_x509thumbprint.rb'
72
+ autoload :AppConfigurationKeyValueDeletedEventData, '2018-01-01/generated/azure_event_grid/models/app_configuration_key_value_deleted_event_data.rb'
73
+ autoload :MediaLiveEventIncomingDataChunkDroppedEventData, '2018-01-01/generated/azure_event_grid/models/media_live_event_incoming_data_chunk_dropped_event_data.rb'
74
+ autoload :AppConfigurationKeyValueModifiedEventData, '2018-01-01/generated/azure_event_grid/models/app_configuration_key_value_modified_event_data.rb'
75
+ autoload :DeviceConnectionStateEventProperties, '2018-01-01/generated/azure_event_grid/models/device_connection_state_event_properties.rb'
76
+ autoload :MapsGeofenceEventProperties, '2018-01-01/generated/azure_event_grid/models/maps_geofence_event_properties.rb'
77
+ autoload :MediaLiveEventIncomingStreamReceivedEventData, '2018-01-01/generated/azure_event_grid/models/media_live_event_incoming_stream_received_event_data.rb'
78
+ autoload :MapsGeofenceGeometry, '2018-01-01/generated/azure_event_grid/models/maps_geofence_geometry.rb'
55
79
  autoload :IotHubDeviceCreatedEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_created_event_data.rb'
56
80
  autoload :IotHubDeviceDeletedEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_deleted_event_data.rb'
57
81
  autoload :IotHubDeviceConnectedEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_connected_event_data.rb'
58
82
  autoload :IotHubDeviceDisconnectedEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_disconnected_event_data.rb'
83
+ autoload :IotHubDeviceTelemetryEventData, '2018-01-01/generated/azure_event_grid/models/iot_hub_device_telemetry_event_data.rb'
59
84
  autoload :ContainerRegistryImagePushedEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_image_pushed_event_data.rb'
60
85
  autoload :ContainerRegistryImageDeletedEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_image_deleted_event_data.rb'
61
- autoload :JobState, '2018-01-01/generated/azure_event_grid/models/job_state.rb'
86
+ autoload :ContainerRegistryChartPushedEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_chart_pushed_event_data.rb'
87
+ autoload :ContainerRegistryChartDeletedEventData, '2018-01-01/generated/azure_event_grid/models/container_registry_chart_deleted_event_data.rb'
88
+ autoload :MediaJobOutputAsset, '2018-01-01/generated/azure_event_grid/models/media_job_output_asset.rb'
89
+ autoload :MediaJobScheduledEventData, '2018-01-01/generated/azure_event_grid/models/media_job_scheduled_event_data.rb'
90
+ autoload :MediaJobProcessingEventData, '2018-01-01/generated/azure_event_grid/models/media_job_processing_event_data.rb'
91
+ autoload :MediaJobCancelingEventData, '2018-01-01/generated/azure_event_grid/models/media_job_canceling_event_data.rb'
92
+ autoload :MediaJobFinishedEventData, '2018-01-01/generated/azure_event_grid/models/media_job_finished_event_data.rb'
93
+ autoload :MediaJobCanceledEventData, '2018-01-01/generated/azure_event_grid/models/media_job_canceled_event_data.rb'
94
+ autoload :MediaJobErroredEventData, '2018-01-01/generated/azure_event_grid/models/media_job_errored_event_data.rb'
95
+ autoload :MediaJobOutputCanceledEventData, '2018-01-01/generated/azure_event_grid/models/media_job_output_canceled_event_data.rb'
96
+ autoload :MediaJobOutputCancelingEventData, '2018-01-01/generated/azure_event_grid/models/media_job_output_canceling_event_data.rb'
97
+ autoload :MediaJobOutputErroredEventData, '2018-01-01/generated/azure_event_grid/models/media_job_output_errored_event_data.rb'
98
+ autoload :MediaJobOutputFinishedEventData, '2018-01-01/generated/azure_event_grid/models/media_job_output_finished_event_data.rb'
99
+ autoload :MediaJobOutputProcessingEventData, '2018-01-01/generated/azure_event_grid/models/media_job_output_processing_event_data.rb'
100
+ autoload :MediaJobOutputScheduledEventData, '2018-01-01/generated/azure_event_grid/models/media_job_output_scheduled_event_data.rb'
101
+ autoload :MapsGeofenceEnteredEventData, '2018-01-01/generated/azure_event_grid/models/maps_geofence_entered_event_data.rb'
102
+ autoload :MapsGeofenceExitedEventData, '2018-01-01/generated/azure_event_grid/models/maps_geofence_exited_event_data.rb'
103
+ autoload :MapsGeofenceResultEventData, '2018-01-01/generated/azure_event_grid/models/maps_geofence_result_event_data.rb'
104
+ autoload :MediaJobState, '2018-01-01/generated/azure_event_grid/models/media_job_state.rb'
105
+ autoload :MediaJobErrorCode, '2018-01-01/generated/azure_event_grid/models/media_job_error_code.rb'
106
+ autoload :MediaJobErrorCategory, '2018-01-01/generated/azure_event_grid/models/media_job_error_category.rb'
107
+ autoload :MediaJobRetry, '2018-01-01/generated/azure_event_grid/models/media_job_retry.rb'
62
108
  end
63
109
  end
@@ -211,6 +211,8 @@ module Azure::EventGrid::V2018_01_01
211
211
  end
212
212
 
213
213
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
214
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
215
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
214
216
 
215
217
  result
216
218
  end
@@ -225,7 +227,7 @@ module Azure::EventGrid::V2018_01_01
225
227
  #
226
228
  def add_telemetry
227
229
  sdk_information = 'azure_event_grid'
228
- sdk_information = "#{sdk_information}/0.17.1"
230
+ sdk_information = "#{sdk_information}/0.18.0"
229
231
  add_user_agent_information(sdk_information)
230
232
  end
231
233
  end
@@ -0,0 +1,71 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::V2018_01_01
7
+ module Models
8
+ #
9
+ # Schema of the Data property of an EventGridEvent for an
10
+ # Microsoft.AppConfiguration.KeyValueDeleted event.
11
+ #
12
+ class AppConfigurationKeyValueDeletedEventData
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The key used to identify the key-value that was
17
+ # deleted.
18
+ attr_accessor :key
19
+
20
+ # @return [String] The label, if any, used to identify the key-value that
21
+ # was deleted.
22
+ attr_accessor :label
23
+
24
+ # @return [String] The etag representing the key-value that was deleted.
25
+ attr_accessor :etag
26
+
27
+
28
+ #
29
+ # Mapper for AppConfigurationKeyValueDeletedEventData class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'AppConfigurationKeyValueDeletedEventData',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'AppConfigurationKeyValueDeletedEventData',
40
+ model_properties: {
41
+ key: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'key',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ label: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'label',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ etag: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'etag',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,72 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::V2018_01_01
7
+ module Models
8
+ #
9
+ # Schema of the Data property of an EventGridEvent for an
10
+ # Microsoft.AppConfiguration.KeyValueModified event.
11
+ #
12
+ class AppConfigurationKeyValueModifiedEventData
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The key used to identify the key-value that was
17
+ # modified.
18
+ attr_accessor :key
19
+
20
+ # @return [String] The label, if any, used to identify the key-value that
21
+ # was modified.
22
+ attr_accessor :label
23
+
24
+ # @return [String] The etag representing the new state of the key-value.
25
+ attr_accessor :etag
26
+
27
+
28
+ #
29
+ # Mapper for AppConfigurationKeyValueModifiedEventData class as Ruby
30
+ # Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'AppConfigurationKeyValueModifiedEventData',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'AppConfigurationKeyValueModifiedEventData',
41
+ model_properties: {
42
+ key: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'key',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ label: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'label',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ etag: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'etag',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,80 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::V2018_01_01
7
+ module Models
8
+ #
9
+ # The content of the event request message.
10
+ #
11
+ class ContainerRegistryArtifactEventData
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The event ID.
16
+ attr_accessor :id
17
+
18
+ # @return [DateTime] The time at which the event occurred.
19
+ attr_accessor :timestamp
20
+
21
+ # @return [String] The action that encompasses the provided event.
22
+ attr_accessor :action
23
+
24
+ # @return [ContainerRegistryArtifactEventTarget] The target of the event.
25
+ attr_accessor :target
26
+
27
+
28
+ #
29
+ # Mapper for ContainerRegistryArtifactEventData class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'ContainerRegistryArtifactEventData',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ContainerRegistryArtifactEventData',
40
+ model_properties: {
41
+ id: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'id',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ timestamp: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'timestamp',
53
+ type: {
54
+ name: 'DateTime'
55
+ }
56
+ },
57
+ action: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'action',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ target: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'target',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'ContainerRegistryArtifactEventTarget'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,112 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::EventGrid::V2018_01_01
7
+ module Models
8
+ #
9
+ # The target of the event.
10
+ #
11
+ class ContainerRegistryArtifactEventTarget
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The MIME type of the artifact.
16
+ attr_accessor :media_type
17
+
18
+ # @return [Integer] The size in bytes of the artifact.
19
+ attr_accessor :size
20
+
21
+ # @return [String] The digest of the artifact.
22
+ attr_accessor :digest
23
+
24
+ # @return [String] The repository name of the artifact.
25
+ attr_accessor :repository
26
+
27
+ # @return [String] The tag of the artifact.
28
+ attr_accessor :tag
29
+
30
+ # @return [String] The name of the artifact.
31
+ attr_accessor :name
32
+
33
+ # @return [String] The version of the artifact.
34
+ attr_accessor :version
35
+
36
+
37
+ #
38
+ # Mapper for ContainerRegistryArtifactEventTarget class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'ContainerRegistryArtifactEventTarget',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'ContainerRegistryArtifactEventTarget',
49
+ model_properties: {
50
+ media_type: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'mediaType',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ size: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'size',
62
+ type: {
63
+ name: 'Number'
64
+ }
65
+ },
66
+ digest: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'digest',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ repository: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'repository',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ tag: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'tag',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ name: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'name',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ version: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'version',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
109
+ end
110
+ end
111
+ end
112
+ end