Class: Azure::ARM::StreamAnalytics::Models::StreamingJob

Inherits:
MsRestAzure::Resource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb

Overview

A streamng job object, containing all information associated with the named streaming job.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#compatibility_levelCompatibilityLevel

streaming job. Possible values include: ‘1.0’

Returns:



84
85
86
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 84

def compatibility_level
  @compatibility_level
end

#created_dateDateTime

indicating when the streaming job was created.

Returns:

  • (DateTime)

    Value is an ISO-8601 formatted UTC timestamp



88
89
90
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 88

def created_date
  @created_date
end

#data_localeString

should be the name of a supported .NET Culture from the set msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx. Defaults to ‘en-US’ if none specified.

Returns:

  • (String)

    The data locale of the stream analytics job. Value



80
81
82
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 80

def data_locale
  @data_locale
end

#etagString

an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.

Returns:

  • (String)

    The current entity tag for the streaming job. This is



122
123
124
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 122

def etag
  @etag
end

#events_late_arrival_max_delay_in_secondsInteger

arriving late could be included. Supported range is -1 to 1814399 (20.23:59:59 days) and -1 is used to specify wait indefinitely. If the property is absent, it is interpreted to have a value of -1.

Returns:

  • (Integer)

    The maximum tolerable delay in seconds where events



74
75
76
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 74

def events_late_arrival_max_delay_in_seconds
  @events_late_arrival_max_delay_in_seconds
end

#events_out_of_order_max_delay_in_secondsInteger

out-of-order events can be adjusted to be back in order.

Returns:

  • (Integer)

    The maximum tolerable delay in seconds where



68
69
70
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 68

def events_out_of_order_max_delay_in_seconds
  @events_out_of_order_max_delay_in_seconds
end

#events_out_of_order_policyEventsOutOfOrderPolicy

events that arrive out of order in the input event stream. Possible values include: ‘Adjust’, ‘Drop’

Returns:



58
59
60
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 58

def events_out_of_order_policy
  @events_out_of_order_policy
end

#functionsArray<Function>

streaming job. The name property for each function is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation.

Returns:

  • (Array<Function>)

    A list of one or more functions for the



116
117
118
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 116

def functions
  @functions
end

#inputsArray<Input>

job. The name property for each input is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual input.

Returns:

  • (Array<Input>)

    A list of one or more inputs to the streaming



95
96
97
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 95

def inputs
  @inputs
end

#job_idString

GUID is generated upon creation of the streaming job.

Returns:

  • (String)

    A GUID uniquely identifying the streaming job. This



23
24
25
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 23

def job_id
  @job_id
end

#job_stateString

Returns Describes the state of the streaming job.

Returns:

  • (String)

    Describes the state of the streaming job.



30
31
32
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 30

def job_state
  @job_state
end

#last_output_event_timeDateTime

indicating the last output event time of the streaming job or null indicating that output has not yet been produced. In case of multiple outputs or multiple streams, this shows the latest value in that set.

Returns:

  • (DateTime)

    Value is either an ISO-8601 formatted timestamp



53
54
55
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 53

def last_output_event_time
  @last_output_event_time
end

#output_error_policyOutputErrorPolicy

that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size). Possible values include: ‘Stop’, ‘Drop’

Returns:



64
65
66
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 64

def output_error_policy
  @output_error_policy
end

#output_start_modeOutputStartMode

is desired that the job be started immediately upon creation. Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time. Possible values include: ‘JobStartTime’, ‘CustomTime’, ‘LastOutputEventTime’

Returns:



40
41
42
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 40

def output_start_mode
  @output_start_mode
end

#output_start_timeDateTime

that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime.

Returns:

  • (DateTime)

    Value is either an ISO-8601 formatted time stamp



47
48
49
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 47

def output_start_time
  @output_start_time
end

#outputsArray<Output>

job. The name property for each output is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual output.

Returns:

  • (Array<Output>)

    A list of one or more outputs for the streaming



109
110
111
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 109

def outputs
  @outputs
end

#provisioning_stateString

job.

Returns:

  • (String)

    Describes the provisioning status of the streaming



27
28
29
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 27

def provisioning_state
  @provisioning_state
end

#skuSku

(CreateOrReplace) requests.

Returns:

  • (Sku)

    Describes the SKU of the streaming job. Required on PUT



19
20
21
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 19

def sku
  @sku
end

#transformationTransformation

streaming units to use for the streaming job. The name property of the transformation is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual tranformation.

Returns:



102
103
104
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 102

def transformation
  @transformation
end

Class Method Details

.mapperObject

Mapper for StreamingJob class as Ruby Hash. This will be used for serialization/deserialization.



129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
# File 'lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb', line 129

def self.mapper()
  {
    required: false,
    serialized_name: 'StreamingJob',
    type: {
      name: 'Composite',
      class_name: 'StreamingJob',
      model_properties: {
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        sku: {
          required: false,
          serialized_name: 'properties.sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        job_id: {
          required: false,
          read_only: true,
          serialized_name: 'properties.jobId',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        job_state: {
          required: false,
          read_only: true,
          serialized_name: 'properties.jobState',
          type: {
            name: 'String'
          }
        },
        output_start_mode: {
          required: false,
          serialized_name: 'properties.outputStartMode',
          type: {
            name: 'String'
          }
        },
        output_start_time: {
          required: false,
          serialized_name: 'properties.outputStartTime',
          type: {
            name: 'DateTime'
          }
        },
        last_output_event_time: {
          required: false,
          read_only: true,
          serialized_name: 'properties.lastOutputEventTime',
          type: {
            name: 'DateTime'
          }
        },
        events_out_of_order_policy: {
          required: false,
          serialized_name: 'properties.eventsOutOfOrderPolicy',
          type: {
            name: 'String'
          }
        },
        output_error_policy: {
          required: false,
          serialized_name: 'properties.outputErrorPolicy',
          type: {
            name: 'String'
          }
        },
        events_out_of_order_max_delay_in_seconds: {
          required: false,
          serialized_name: 'properties.eventsOutOfOrderMaxDelayInSeconds',
          type: {
            name: 'Number'
          }
        },
        events_late_arrival_max_delay_in_seconds: {
          required: false,
          serialized_name: 'properties.eventsLateArrivalMaxDelayInSeconds',
          type: {
            name: 'Number'
          }
        },
        data_locale: {
          required: false,
          serialized_name: 'properties.dataLocale',
          type: {
            name: 'String'
          }
        },
        compatibility_level: {
          required: false,
          serialized_name: 'properties.compatibilityLevel',
          type: {
            name: 'String'
          }
        },
        created_date: {
          required: false,
          read_only: true,
          serialized_name: 'properties.createdDate',
          type: {
            name: 'DateTime'
          }
        },
        inputs: {
          required: false,
          serialized_name: 'properties.inputs',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'InputElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Input'
                }
            }
          }
        },
        transformation: {
          required: false,
          serialized_name: 'properties.transformation',
          type: {
            name: 'Composite',
            class_name: 'Transformation'
          }
        },
        outputs: {
          required: false,
          serialized_name: 'properties.outputs',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'OutputElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Output'
                }
            }
          }
        },
        functions: {
          required: false,
          serialized_name: 'properties.functions',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'FunctionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Function'
                }
            }
          }
        },
        etag: {
          required: false,
          read_only: true,
          serialized_name: 'properties.etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end