azure_mgmt_stream_analytics 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,16 @@
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
+ # Defines values for JsonOutputSerializationFormat
10
+ #
11
+ module JsonOutputSerializationFormat
12
+ LineSeparated = "LineSeparated"
13
+ Array = "Array"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,80 @@
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 how data from an input is serialized or how data is serialized
10
+ # when written to an output in JSON format.
11
+ #
12
+ class JsonSerialization < Serialization
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+
18
+ def initialize
19
+ @type = "Json"
20
+ end
21
+
22
+ attr_accessor :type
23
+
24
+ # @return [Encoding] Specifies the encoding of the incoming data in the
25
+ # case of input and the encoding of outgoing data in the case of output.
26
+ # Required on PUT (CreateOrReplace) requests. Possible values include:
27
+ # 'UTF8'
28
+ attr_accessor :encoding
29
+
30
+ # @return [JsonOutputSerializationFormat] This property only applies to
31
+ # JSON serialization of outputs only. It is not applicable to inputs.
32
+ # This property specifies the format of the JSON the output will be
33
+ # written in. The currently supported values are 'lineSeparated'
34
+ # indicating the output will be formatted by having each JSON object
35
+ # separated by a new line and 'array' indicating the output will be
36
+ # formatted as an array of JSON objects. Default value is 'lineSeparated'
37
+ # if left null. Possible values include: 'LineSeparated', 'Array'
38
+ attr_accessor :format
39
+
40
+
41
+ #
42
+ # Mapper for JsonSerialization class as Ruby Hash.
43
+ # This will be used for serialization/deserialization.
44
+ #
45
+ def self.mapper()
46
+ {
47
+ required: false,
48
+ serialized_name: 'Json',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'JsonSerialization',
52
+ model_properties: {
53
+ type: {
54
+ required: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ encoding: {
61
+ required: false,
62
+ serialized_name: 'properties.encoding',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ format: {
68
+ required: false,
69
+ serialized_name: 'properties.format',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ 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
+ # A Stream Analytics REST API operation
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The name of the operation being performed on this
17
+ # particular object.
18
+ attr_accessor :name
19
+
20
+ # @return [OperationDisplay] Contains the localized display information
21
+ # for this particular operation / action.
22
+ attr_accessor :display
23
+
24
+
25
+ #
26
+ # Mapper for Operation class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'Operation',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'Operation',
36
+ model_properties: {
37
+ name: {
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'name',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ display: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'display',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'OperationDisplay'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,82 @@
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
+ # Contains the localized display information for this particular operation
10
+ # / action.
11
+ #
12
+ class OperationDisplay
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [String] The localized friendly form of the resource provider
18
+ # name.
19
+ attr_accessor :provider
20
+
21
+ # @return [String] The localized friendly form of the resource type
22
+ # related to this action/operation.
23
+ attr_accessor :resource
24
+
25
+ # @return [String] The localized friendly name for the operation.
26
+ attr_accessor :operation
27
+
28
+ # @return [String] The localized friendly description for the operation.
29
+ attr_accessor :description
30
+
31
+
32
+ #
33
+ # Mapper for OperationDisplay class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ required: false,
39
+ serialized_name: 'Operation_display',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'OperationDisplay',
43
+ model_properties: {
44
+ provider: {
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'provider',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ resource: {
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'resource',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ operation: {
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'operation',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ description: {
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'description',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,99 @@
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
+ # Result of the request to list Stream Analytics operations. It contains a
10
+ # list of operations and a URL link to get the next set of results.
11
+ #
12
+ class OperationListResult
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [Array<Operation>] List of Stream Analytics operations
18
+ # supported by the Microsoft.StreamAnalytics resource provider.
19
+ attr_accessor :value
20
+
21
+ # @return [String] URL to get the next set of operation list results if
22
+ # there are any.
23
+ attr_accessor :next_link
24
+
25
+ # return [Proc] with next page method call.
26
+ attr_accessor :next_method
27
+
28
+ #
29
+ # Gets the rest of the items for the request, enabling auto-pagination.
30
+ #
31
+ # @return [Array<Operation>] operation results.
32
+ #
33
+ def get_all_items
34
+ items = @value
35
+ page = self
36
+ while page.next_link != nil do
37
+ page = page.get_next_page
38
+ items.concat(page.value)
39
+ end
40
+ items
41
+ end
42
+
43
+ #
44
+ # Gets the next page of results.
45
+ #
46
+ # @return [OperationListResult] with next page content.
47
+ #
48
+ def get_next_page
49
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
50
+ unless response.nil?
51
+ @next_link = response.body.next_link
52
+ @value = response.body.value
53
+ self
54
+ end
55
+ end
56
+
57
+ #
58
+ # Mapper for OperationListResult class as Ruby Hash.
59
+ # This will be used for serialization/deserialization.
60
+ #
61
+ def self.mapper()
62
+ {
63
+ required: false,
64
+ serialized_name: 'OperationListResult',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'OperationListResult',
68
+ model_properties: {
69
+ value: {
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'value',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ required: false,
77
+ serialized_name: 'OperationElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'Operation'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,115 @@
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 output object, containing all information associated with the named
10
+ # output. All outputs are contained under a streaming job.
11
+ #
12
+ class Output < MsRestAzure::SubResource
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [OutputDataSource] Describes the data source that output will
18
+ # be written to. Required on PUT (CreateOrReplace) requests.
19
+ attr_accessor :datasource
20
+
21
+ # @return [Serialization] Describes how data from an input is serialized
22
+ # or how data is serialized when written to an output. Required on PUT
23
+ # (CreateOrReplace) requests.
24
+ attr_accessor :serialization
25
+
26
+ # @return [Diagnostics] Describes conditions applicable to the Input,
27
+ # Output, or the job overall, that warrant customer attention.
28
+ attr_accessor :diagnostics
29
+
30
+ # @return [String] The current entity tag for the output. This is an
31
+ # opaque string. You can use it to detect whether the resource has
32
+ # changed between requests. You can also use it in the If-Match or
33
+ # If-None-Match headers for write operations for optimistic concurrency.
34
+ attr_accessor :etag
35
+
36
+
37
+ #
38
+ # Mapper for Output class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ required: false,
44
+ serialized_name: 'Output',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'Output',
48
+ model_properties: {
49
+ id: {
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'id',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ name: {
58
+ required: false,
59
+ serialized_name: 'name',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ type: {
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'type',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ datasource: {
73
+ required: false,
74
+ serialized_name: 'properties.datasource',
75
+ type: {
76
+ name: 'Composite',
77
+ polymorphic_discriminator: 'type',
78
+ uber_parent: 'OutputDataSource',
79
+ class_name: 'OutputDataSource'
80
+ }
81
+ },
82
+ serialization: {
83
+ required: false,
84
+ serialized_name: 'properties.serialization',
85
+ type: {
86
+ name: 'Composite',
87
+ polymorphic_discriminator: 'type',
88
+ uber_parent: 'Serialization',
89
+ class_name: 'Serialization'
90
+ }
91
+ },
92
+ diagnostics: {
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'properties.diagnostics',
96
+ type: {
97
+ name: 'Composite',
98
+ class_name: 'Diagnostics'
99
+ }
100
+ },
101
+ etag: {
102
+ required: false,
103
+ read_only: true,
104
+ serialized_name: 'properties.etag',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ end
113
+ end
114
+ end
115
+ end