azure_mgmt_stream_analytics 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/azure_mgmt_stream_analytics.rb +5 -0
  4. data/lib/generated/azure_mgmt_stream_analytics.rb +102 -0
  5. data/lib/generated/azure_mgmt_stream_analytics/functions.rb +1055 -0
  6. data/lib/generated/azure_mgmt_stream_analytics/inputs.rb +923 -0
  7. data/lib/generated/azure_mgmt_stream_analytics/models/avro_serialization.rb +61 -0
  8. data/lib/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_binding.rb +115 -0
  9. data/lib/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_retrieve_default_definition_parameters.rb +75 -0
  10. data/lib/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_input_column.rb +71 -0
  11. data/lib/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_inputs.rb +65 -0
  12. data/lib/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_output_column.rb +60 -0
  13. data/lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb +91 -0
  14. data/lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb +104 -0
  15. data/lib/generated/azure_mgmt_stream_analytics/models/azure_table_output_data_source.rb +135 -0
  16. data/lib/generated/azure_mgmt_stream_analytics/models/blob_data_source_properties.rb +107 -0
  17. data/lib/generated/azure_mgmt_stream_analytics/models/blob_output_data_source.rb +121 -0
  18. data/lib/generated/azure_mgmt_stream_analytics/models/blob_reference_input_data_source.rb +121 -0
  19. data/lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb +132 -0
  20. data/lib/generated/azure_mgmt_stream_analytics/models/compatibility_level.rb +15 -0
  21. data/lib/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb +79 -0
  22. data/lib/generated/azure_mgmt_stream_analytics/models/diagnostic_condition.rb +72 -0
  23. data/lib/generated/azure_mgmt_stream_analytics/models/diagnostics.rb +57 -0
  24. data/lib/generated/azure_mgmt_stream_analytics/models/document_db_output_data_source.rb +121 -0
  25. data/lib/generated/azure_mgmt_stream_analytics/models/encoding.rb +15 -0
  26. data/lib/generated/azure_mgmt_stream_analytics/models/error_response.rb +57 -0
  27. data/lib/generated/azure_mgmt_stream_analytics/models/event_hub_data_source_properties.rb +67 -0
  28. data/lib/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb +106 -0
  29. data/lib/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb +109 -0
  30. data/lib/generated/azure_mgmt_stream_analytics/models/events_out_of_order_policy.rb +16 -0
  31. data/lib/generated/azure_mgmt_stream_analytics/models/function.rb +73 -0
  32. data/lib/generated/azure_mgmt_stream_analytics/models/function_binding.rb +48 -0
  33. data/lib/generated/azure_mgmt_stream_analytics/models/function_input.rb +60 -0
  34. data/lib/generated/azure_mgmt_stream_analytics/models/function_list_result.rb +97 -0
  35. data/lib/generated/azure_mgmt_stream_analytics/models/function_output.rb +48 -0
  36. data/lib/generated/azure_mgmt_stream_analytics/models/function_properties.rb +60 -0
  37. data/lib/generated/azure_mgmt_stream_analytics/models/function_retrieve_default_definition_parameters.rb +49 -0
  38. data/lib/generated/azure_mgmt_stream_analytics/models/input.rb +73 -0
  39. data/lib/generated/azure_mgmt_stream_analytics/models/input_list_result.rb +97 -0
  40. data/lib/generated/azure_mgmt_stream_analytics/models/input_properties.rb +89 -0
  41. data/lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb +106 -0
  42. data/lib/generated/azure_mgmt_stream_analytics/models/java_script_function_binding.rb +60 -0
  43. data/lib/generated/azure_mgmt_stream_analytics/models/java_script_function_retrieve_default_definition_parameters.rb +73 -0
  44. data/lib/generated/azure_mgmt_stream_analytics/models/json_output_serialization_format.rb +16 -0
  45. data/lib/generated/azure_mgmt_stream_analytics/models/json_serialization.rb +80 -0
  46. data/lib/generated/azure_mgmt_stream_analytics/models/operation.rb +60 -0
  47. data/lib/generated/azure_mgmt_stream_analytics/models/operation_display.rb +82 -0
  48. data/lib/generated/azure_mgmt_stream_analytics/models/operation_list_result.rb +99 -0
  49. data/lib/generated/azure_mgmt_stream_analytics/models/output.rb +115 -0
  50. data/lib/generated/azure_mgmt_stream_analytics/models/output_data_source.rb +52 -0
  51. data/lib/generated/azure_mgmt_stream_analytics/models/output_error_policy.rb +16 -0
  52. data/lib/generated/azure_mgmt_stream_analytics/models/output_list_result.rb +97 -0
  53. data/lib/generated/azure_mgmt_stream_analytics/models/output_start_mode.rb +17 -0
  54. data/lib/generated/azure_mgmt_stream_analytics/models/reference_input_data_source.rb +46 -0
  55. data/lib/generated/azure_mgmt_stream_analytics/models/reference_input_properties.rb +91 -0
  56. data/lib/generated/azure_mgmt_stream_analytics/models/resource_test_status.rb +59 -0
  57. data/lib/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb +102 -0
  58. data/lib/generated/azure_mgmt_stream_analytics/models/serialization.rb +49 -0
  59. data/lib/generated/azure_mgmt_stream_analytics/models/service_bus_data_source_properties.rb +71 -0
  60. data/lib/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb +113 -0
  61. data/lib/generated/azure_mgmt_stream_analytics/models/service_bus_topic_output_data_source.rb +113 -0
  62. data/lib/generated/azure_mgmt_stream_analytics/models/sku.rb +46 -0
  63. data/lib/generated/azure_mgmt_stream_analytics/models/sku_name.rb +15 -0
  64. data/lib/generated/azure_mgmt_stream_analytics/models/start_streaming_job_parameters.rb +64 -0
  65. data/lib/generated/azure_mgmt_stream_analytics/models/storage_account.rb +57 -0
  66. data/lib/generated/azure_mgmt_stream_analytics/models/stream_input_data_source.rb +48 -0
  67. data/lib/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb +90 -0
  68. data/lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb +353 -0
  69. data/lib/generated/azure_mgmt_stream_analytics/models/streaming_job_list_result.rb +97 -0
  70. data/lib/generated/azure_mgmt_stream_analytics/models/sub_resource.rb +64 -0
  71. data/lib/generated/azure_mgmt_stream_analytics/models/subscription_quota.rb +80 -0
  72. data/lib/generated/azure_mgmt_stream_analytics/models/subscription_quotas_list_result.rb +56 -0
  73. data/lib/generated/azure_mgmt_stream_analytics/models/transformation.rb +98 -0
  74. data/lib/generated/azure_mgmt_stream_analytics/models/udf_type.rb +15 -0
  75. data/lib/generated/azure_mgmt_stream_analytics/module_definition.rb +8 -0
  76. data/lib/generated/azure_mgmt_stream_analytics/operations.rb +213 -0
  77. data/lib/generated/azure_mgmt_stream_analytics/outputs.rb +924 -0
  78. data/lib/generated/azure_mgmt_stream_analytics/stream_analytics_management_client.rb +155 -0
  79. data/lib/generated/azure_mgmt_stream_analytics/streaming_jobs.rb +1327 -0
  80. data/lib/generated/azure_mgmt_stream_analytics/subscriptions.rb +121 -0
  81. data/lib/generated/azure_mgmt_stream_analytics/transformations.rb +427 -0
  82. data/lib/generated/azure_mgmt_stream_analytics/version.rb +8 -0
  83. metadata +195 -0
@@ -0,0 +1,73 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::StreamAnalytics
7
+ module Models
8
+ #
9
+ # An input object, containing all information associated with the named
10
+ # input. All inputs are contained under a streaming job.
11
+ #
12
+ class Input < MsRestAzure::SubResource
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [InputProperties] The properties that are associated with an
18
+ # input. Required on PUT (CreateOrReplace) requests.
19
+ attr_accessor :properties
20
+
21
+
22
+ #
23
+ # Mapper for Input class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'Input',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'Input',
33
+ model_properties: {
34
+ id: {
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ required: false,
44
+ serialized_name: 'name',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ type: {
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'type',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ properties: {
58
+ required: false,
59
+ serialized_name: 'properties',
60
+ type: {
61
+ name: 'Composite',
62
+ polymorphic_discriminator: 'type',
63
+ uber_parent: 'InputProperties',
64
+ class_name: 'InputProperties'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,97 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::StreamAnalytics
7
+ module Models
8
+ #
9
+ # Object containing a list of inputs under a streaming job.
10
+ #
11
+ class InputListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<Input>] A list of inputs under a streaming job.
17
+ # Populated by a 'List' operation.
18
+ attr_accessor :value
19
+
20
+ # @return [String] The link (url) to the next page of results.
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<Input>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [InputListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for InputListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ required: false,
62
+ serialized_name: 'InputListResult',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'InputListResult',
66
+ model_properties: {
67
+ value: {
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ required: false,
75
+ serialized_name: 'InputElementType',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'Input'
79
+ }
80
+ }
81
+ }
82
+ },
83
+ next_link: {
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'nextLink',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end
@@ -0,0 +1,89 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::StreamAnalytics
7
+ module Models
8
+ #
9
+ # The properties that are associated with an input.
10
+ #
11
+ class InputProperties
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ @@discriminatorMap = Hash.new
17
+ @@discriminatorMap["Reference"] = "ReferenceInputProperties"
18
+ @@discriminatorMap["Stream"] = "StreamInputProperties"
19
+
20
+ def initialize
21
+ @type = "InputProperties"
22
+ end
23
+
24
+ attr_accessor :type
25
+
26
+ # @return [Serialization] Describes how data from an input is serialized
27
+ # or how data is serialized when written to an output. Required on PUT
28
+ # (CreateOrReplace) requests.
29
+ attr_accessor :serialization
30
+
31
+ # @return [Diagnostics] Describes conditions applicable to the Input,
32
+ # Output, or the job overall, that warrant customer attention.
33
+ attr_accessor :diagnostics
34
+
35
+ # @return [String] The current entity tag for the input. This is an
36
+ # opaque string. You can use it to detect whether the resource has
37
+ # changed between requests. You can also use it in the If-Match or
38
+ # If-None-Match headers for write operations for optimistic concurrency.
39
+ attr_accessor :etag
40
+
41
+
42
+ #
43
+ # Mapper for InputProperties class as Ruby Hash.
44
+ # This will be used for serialization/deserialization.
45
+ #
46
+ def self.mapper()
47
+ {
48
+ required: false,
49
+ serialized_name: 'InputProperties',
50
+ type: {
51
+ name: 'Composite',
52
+ polymorphic_discriminator: 'type',
53
+ uber_parent: 'InputProperties',
54
+ class_name: 'InputProperties',
55
+ model_properties: {
56
+ serialization: {
57
+ required: false,
58
+ serialized_name: 'serialization',
59
+ type: {
60
+ name: 'Composite',
61
+ polymorphic_discriminator: 'type',
62
+ uber_parent: 'Serialization',
63
+ class_name: 'Serialization'
64
+ }
65
+ },
66
+ diagnostics: {
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'diagnostics',
70
+ type: {
71
+ name: 'Composite',
72
+ class_name: 'Diagnostics'
73
+ }
74
+ },
75
+ etag: {
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'etag',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ end
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,106 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::StreamAnalytics
7
+ module Models
8
+ #
9
+ # Describes an IoT Hub input data source that contains stream data.
10
+ #
11
+ class IoTHubStreamInputDataSource < StreamInputDataSource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+
17
+ def initialize
18
+ @type = "Microsoft.Devices/IotHubs"
19
+ end
20
+
21
+ attr_accessor :type
22
+
23
+ # @return [String] The name or the URI of the IoT Hub. Required on PUT
24
+ # (CreateOrReplace) requests.
25
+ attr_accessor :iot_hub_namespace
26
+
27
+ # @return [String] The shared access policy name for the IoT Hub. This
28
+ # policy must contain at least the Service connect permission. Required
29
+ # on PUT (CreateOrReplace) requests.
30
+ attr_accessor :shared_access_policy_name
31
+
32
+ # @return [String] The shared access policy key for the specified shared
33
+ # access policy. Required on PUT (CreateOrReplace) requests.
34
+ attr_accessor :shared_access_policy_key
35
+
36
+ # @return [String] The name of an IoT Hub Consumer Group that should be
37
+ # used to read events from the IoT Hub. If not specified, the input uses
38
+ # the Iot Hub’s default consumer group.
39
+ attr_accessor :consumer_group_name
40
+
41
+ # @return [String] The IoT Hub endpoint to connect to (ie.
42
+ # messages/events, messages/operationsMonitoringEvents, etc.).
43
+ attr_accessor :endpoint
44
+
45
+
46
+ #
47
+ # Mapper for IoTHubStreamInputDataSource class as Ruby Hash.
48
+ # This will be used for serialization/deserialization.
49
+ #
50
+ def self.mapper()
51
+ {
52
+ required: false,
53
+ serialized_name: 'Microsoft.Devices/IotHubs',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'IoTHubStreamInputDataSource',
57
+ model_properties: {
58
+ type: {
59
+ required: true,
60
+ serialized_name: 'type',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ iot_hub_namespace: {
66
+ required: false,
67
+ serialized_name: 'properties.iotHubNamespace',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ shared_access_policy_name: {
73
+ required: false,
74
+ serialized_name: 'properties.sharedAccessPolicyName',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ shared_access_policy_key: {
80
+ required: false,
81
+ serialized_name: 'properties.sharedAccessPolicyKey',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ consumer_group_name: {
87
+ required: false,
88
+ serialized_name: 'properties.consumerGroupName',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ endpoint: {
94
+ required: false,
95
+ serialized_name: 'properties.endpoint',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ }
100
+ }
101
+ }
102
+ }
103
+ end
104
+ end
105
+ end
106
+ end
@@ -0,0 +1,60 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::StreamAnalytics
7
+ module Models
8
+ #
9
+ # The binding to a JavaScript function.
10
+ #
11
+ class JavaScriptFunctionBinding < FunctionBinding
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+
17
+ def initialize
18
+ @type = "Microsoft.StreamAnalytics/JavascriptUdf"
19
+ end
20
+
21
+ attr_accessor :type
22
+
23
+ # @return [String] The JavaScript code containing a single function
24
+ # definition. For example: 'function (x, y) { return x + y; }'
25
+ attr_accessor :script
26
+
27
+
28
+ #
29
+ # Mapper for JavaScriptFunctionBinding class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'Microsoft.StreamAnalytics/JavascriptUdf',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'JavaScriptFunctionBinding',
39
+ model_properties: {
40
+ type: {
41
+ required: true,
42
+ serialized_name: 'type',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ script: {
48
+ required: false,
49
+ serialized_name: 'properties.script',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,73 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::StreamAnalytics
7
+ module Models
8
+ #
9
+ # The parameters needed to retrieve the default function definition for a
10
+ # JavaScript function.
11
+ #
12
+ class JavaScriptFunctionRetrieveDefaultDefinitionParameters < FunctionRetrieveDefaultDefinitionParameters
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+
18
+ def initialize
19
+ @bindingType = "Microsoft.StreamAnalytics/JavascriptUdf"
20
+ end
21
+
22
+ attr_accessor :bindingType
23
+
24
+ # @return [String] The JavaScript code containing a single function
25
+ # definition. For example: 'function (x, y) { return x + y; }'.
26
+ attr_accessor :script
27
+
28
+ # @return [UdfType] The function type. Possible values include: 'Scalar'
29
+ attr_accessor :udf_type
30
+
31
+
32
+ #
33
+ # Mapper for JavaScriptFunctionRetrieveDefaultDefinitionParameters class
34
+ # as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ required: false,
40
+ serialized_name: 'Microsoft.StreamAnalytics/JavascriptUdf',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'JavaScriptFunctionRetrieveDefaultDefinitionParameters',
44
+ model_properties: {
45
+ bindingType: {
46
+ required: true,
47
+ serialized_name: 'bindingType',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ script: {
53
+ required: false,
54
+ serialized_name: 'bindingRetrievalProperties.script',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ udf_type: {
60
+ required: false,
61
+ serialized_name: 'bindingRetrievalProperties.udfType',
62
+ type: {
63
+ name: 'Enum',
64
+ module: 'UdfType'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end