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
@@ -0,0 +1,111 @@
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
+ # Incoming streams out of sync event data.
10
+ #
11
+ class MediaLiveEventIncomingStreamsOutOfSyncEventData
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets the minimum last timestamp received.
16
+ attr_accessor :min_last_timestamp
17
+
18
+ # @return [String] Gets the type of stream with minimum last timestamp.
19
+ attr_accessor :type_of_stream_with_min_last_timestamp
20
+
21
+ # @return [String] Gets the maximum timestamp among all the tracks (audio
22
+ # or video).
23
+ attr_accessor :max_last_timestamp
24
+
25
+ # @return [String] Gets the type of stream with maximum last timestamp.
26
+ attr_accessor :type_of_stream_with_max_last_timestamp
27
+
28
+ # @return [String] Gets the timescale in which "MinLastTimestamp" is
29
+ # represented.
30
+ attr_accessor :timescale_of_min_last_timestamp
31
+
32
+ # @return [String] Gets the timescale in which "MaxLastTimestamp" is
33
+ # represented.
34
+ attr_accessor :timescale_of_max_last_timestamp
35
+
36
+
37
+ #
38
+ # Mapper for MediaLiveEventIncomingStreamsOutOfSyncEventData class as
39
+ # Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'MediaLiveEventIncomingStreamsOutOfSyncEventData',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'MediaLiveEventIncomingStreamsOutOfSyncEventData',
50
+ model_properties: {
51
+ min_last_timestamp: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'minLastTimestamp',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ type_of_stream_with_min_last_timestamp: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'typeOfStreamWithMinLastTimestamp',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ max_last_timestamp: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'maxLastTimestamp',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ type_of_stream_with_max_last_timestamp: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'typeOfStreamWithMaxLastTimestamp',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ timescale_of_min_last_timestamp: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ read_only: true,
91
+ serialized_name: 'timescaleOfMinLastTimestamp',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ },
96
+ timescale_of_max_last_timestamp: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ read_only: true,
100
+ serialized_name: 'timescaleOfMaxLastTimestamp',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ end
109
+ end
110
+ end
111
+ end
@@ -0,0 +1,101 @@
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
+ # Incoming video stream out of synch event data.
10
+ #
11
+ class MediaLiveEventIncomingVideoStreamsOutOfSyncEventData
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets the first timestamp received for one of the
16
+ # quality levels.
17
+ attr_accessor :first_timestamp
18
+
19
+ # @return [String] Gets the duration of the data chunk with first
20
+ # timestamp.
21
+ attr_accessor :first_duration
22
+
23
+ # @return [String] Gets the timestamp received for some other quality
24
+ # levels.
25
+ attr_accessor :second_timestamp
26
+
27
+ # @return [String] Gets the duration of the data chunk with second
28
+ # timestamp.
29
+ attr_accessor :second_duration
30
+
31
+ # @return [String] Gets the timescale in which both the timestamps and
32
+ # durations are represented.
33
+ attr_accessor :timescale
34
+
35
+
36
+ #
37
+ # Mapper for MediaLiveEventIncomingVideoStreamsOutOfSyncEventData class
38
+ # 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: 'MediaLiveEventIncomingVideoStreamsOutOfSyncEventData',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'MediaLiveEventIncomingVideoStreamsOutOfSyncEventData',
49
+ model_properties: {
50
+ first_timestamp: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'firstTimestamp',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ first_duration: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'firstDuration',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ second_timestamp: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'secondTimestamp',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ second_duration: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'secondDuration',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ timescale: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ read_only: true,
90
+ serialized_name: 'timescale',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,181 @@
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
+ # Ingest fragment dropped event data.
10
+ #
11
+ class MediaLiveEventIngestHeartbeatEventData
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets the type of the track (Audio / Video).
16
+ attr_accessor :track_type
17
+
18
+ # @return [String] Gets the track name.
19
+ attr_accessor :track_name
20
+
21
+ # @return [Integer] Gets the bitrate of the track.
22
+ attr_accessor :bitrate
23
+
24
+ # @return [Integer] Gets the incoming bitrate.
25
+ attr_accessor :incoming_bitrate
26
+
27
+ # @return [String] Gets the last timestamp.
28
+ attr_accessor :last_timestamp
29
+
30
+ # @return [String] Gets the timescale of the last timestamp.
31
+ attr_accessor :timescale
32
+
33
+ # @return [Integer] Gets the fragment Overlap count.
34
+ attr_accessor :overlap_count
35
+
36
+ # @return [Integer] Gets the fragment Discontinuity count.
37
+ attr_accessor :discontinuity_count
38
+
39
+ # @return [Integer] Gets Non increasing count.
40
+ attr_accessor :nonincreasing_count
41
+
42
+ # @return [Boolean] Gets a value indicating whether unexpected bitrate is
43
+ # present or not.
44
+ attr_accessor :unexpected_bitrate
45
+
46
+ # @return [String] Gets the state of the live event.
47
+ attr_accessor :state
48
+
49
+ # @return [Boolean] Gets a value indicating whether preview is healthy or
50
+ # not.
51
+ attr_accessor :healthy
52
+
53
+
54
+ #
55
+ # Mapper for MediaLiveEventIngestHeartbeatEventData class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'MediaLiveEventIngestHeartbeatEventData',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'MediaLiveEventIngestHeartbeatEventData',
66
+ model_properties: {
67
+ track_type: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'trackType',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ track_name: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'trackName',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ bitrate: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'bitrate',
90
+ type: {
91
+ name: 'Number'
92
+ }
93
+ },
94
+ incoming_bitrate: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ read_only: true,
98
+ serialized_name: 'incomingBitrate',
99
+ type: {
100
+ name: 'Number'
101
+ }
102
+ },
103
+ last_timestamp: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ read_only: true,
107
+ serialized_name: 'lastTimestamp',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ timescale: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ read_only: true,
116
+ serialized_name: 'timescale',
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ },
121
+ overlap_count: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ read_only: true,
125
+ serialized_name: 'overlapCount',
126
+ type: {
127
+ name: 'Number'
128
+ }
129
+ },
130
+ discontinuity_count: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ read_only: true,
134
+ serialized_name: 'discontinuityCount',
135
+ type: {
136
+ name: 'Number'
137
+ }
138
+ },
139
+ nonincreasing_count: {
140
+ client_side_validation: true,
141
+ required: false,
142
+ read_only: true,
143
+ serialized_name: 'nonincreasingCount',
144
+ type: {
145
+ name: 'Number'
146
+ }
147
+ },
148
+ unexpected_bitrate: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ read_only: true,
152
+ serialized_name: 'unexpectedBitrate',
153
+ type: {
154
+ name: 'Boolean'
155
+ }
156
+ },
157
+ state: {
158
+ client_side_validation: true,
159
+ required: false,
160
+ read_only: true,
161
+ serialized_name: 'state',
162
+ type: {
163
+ name: 'String'
164
+ }
165
+ },
166
+ healthy: {
167
+ client_side_validation: true,
168
+ required: false,
169
+ read_only: true,
170
+ serialized_name: 'healthy',
171
+ type: {
172
+ name: 'Boolean'
173
+ }
174
+ }
175
+ }
176
+ }
177
+ }
178
+ end
179
+ end
180
+ end
181
+ end
@@ -0,0 +1,122 @@
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
+ # Ingest track discontinuity detected event data.
10
+ #
11
+ class MediaLiveEventTrackDiscontinuityDetectedEventData
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Gets the type of the track (Audio / Video).
16
+ attr_accessor :track_type
17
+
18
+ # @return [String] Gets the track name.
19
+ attr_accessor :track_name
20
+
21
+ # @return [Integer] Gets the bitrate.
22
+ attr_accessor :bitrate
23
+
24
+ # @return [String] Gets the timestamp of the previous fragment.
25
+ attr_accessor :previous_timestamp
26
+
27
+ # @return [String] Gets the timestamp of the current fragment.
28
+ attr_accessor :new_timestamp
29
+
30
+ # @return [String] Gets the timescale in which both timestamps and
31
+ # discontinuity gap are represented.
32
+ attr_accessor :timescale
33
+
34
+ # @return [String] Gets the discontinuity gap between PreviousTimestamp
35
+ # and NewTimestamp.
36
+ attr_accessor :discontinuity_gap
37
+
38
+
39
+ #
40
+ # Mapper for MediaLiveEventTrackDiscontinuityDetectedEventData class as
41
+ # Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'MediaLiveEventTrackDiscontinuityDetectedEventData',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'MediaLiveEventTrackDiscontinuityDetectedEventData',
52
+ model_properties: {
53
+ track_type: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'trackType',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ track_name: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'trackName',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ bitrate: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'bitrate',
76
+ type: {
77
+ name: 'Number'
78
+ }
79
+ },
80
+ previous_timestamp: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ read_only: true,
84
+ serialized_name: 'previousTimestamp',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ new_timestamp: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ read_only: true,
93
+ serialized_name: 'newTimestamp',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ timescale: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ read_only: true,
102
+ serialized_name: 'timescale',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ },
107
+ discontinuity_gap: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ read_only: true,
111
+ serialized_name: 'discontinuityGap',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
119
+ end
120
+ end
121
+ end
122
+ end