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,121 @@
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 a blob input data source that contains reference data.
10
+ #
11
+ class BlobReferenceInputDataSource < ReferenceInputDataSource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+
17
+ def initialize
18
+ @type = "Microsoft.Storage/Blob"
19
+ end
20
+
21
+ attr_accessor :type
22
+
23
+ # @return [Array<StorageAccount>] A list of one or more Azure Storage
24
+ # accounts. Required on PUT (CreateOrReplace) requests.
25
+ attr_accessor :storage_accounts
26
+
27
+ # @return [String] The name of a container within the associated Storage
28
+ # account. This container contains either the blob(s) to be read from or
29
+ # written to. Required on PUT (CreateOrReplace) requests.
30
+ attr_accessor :container
31
+
32
+ # @return [String] The blob path pattern. Not a regular expression. It
33
+ # represents a pattern against which blob names will be matched to
34
+ # determine whether or not they should be included as input or output to
35
+ # the job. See
36
+ # https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input
37
+ # or
38
+ # https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output
39
+ # for a more detailed explanation and example.
40
+ attr_accessor :path_pattern
41
+
42
+ # @return [String] The date format. Wherever {date} appears in
43
+ # pathPattern, the value of this property is used as the date format
44
+ # instead.
45
+ attr_accessor :date_format
46
+
47
+ # @return [String] The time format. Wherever {time} appears in
48
+ # pathPattern, the value of this property is used as the time format
49
+ # instead.
50
+ attr_accessor :time_format
51
+
52
+
53
+ #
54
+ # Mapper for BlobReferenceInputDataSource class as Ruby Hash.
55
+ # This will be used for serialization/deserialization.
56
+ #
57
+ def self.mapper()
58
+ {
59
+ required: false,
60
+ serialized_name: 'Microsoft.Storage/Blob',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'BlobReferenceInputDataSource',
64
+ model_properties: {
65
+ type: {
66
+ required: true,
67
+ serialized_name: 'type',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ storage_accounts: {
73
+ required: false,
74
+ serialized_name: 'properties.storageAccounts',
75
+ type: {
76
+ name: 'Sequence',
77
+ element: {
78
+ required: false,
79
+ serialized_name: 'StorageAccountElementType',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'StorageAccount'
83
+ }
84
+ }
85
+ }
86
+ },
87
+ container: {
88
+ required: false,
89
+ serialized_name: 'properties.container',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ path_pattern: {
95
+ required: false,
96
+ serialized_name: 'properties.pathPattern',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ date_format: {
102
+ required: false,
103
+ serialized_name: 'properties.dateFormat',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ time_format: {
109
+ required: false,
110
+ serialized_name: 'properties.timeFormat',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ end
119
+ end
120
+ end
121
+ end
@@ -0,0 +1,132 @@
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 a blob input data source that contains stream data.
10
+ #
11
+ class BlobStreamInputDataSource < StreamInputDataSource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+
17
+ def initialize
18
+ @type = "Microsoft.Storage/Blob"
19
+ end
20
+
21
+ attr_accessor :type
22
+
23
+ # @return [Array<StorageAccount>] A list of one or more Azure Storage
24
+ # accounts. Required on PUT (CreateOrReplace) requests.
25
+ attr_accessor :storage_accounts
26
+
27
+ # @return [String] The name of a container within the associated Storage
28
+ # account. This container contains either the blob(s) to be read from or
29
+ # written to. Required on PUT (CreateOrReplace) requests.
30
+ attr_accessor :container
31
+
32
+ # @return [String] The blob path pattern. Not a regular expression. It
33
+ # represents a pattern against which blob names will be matched to
34
+ # determine whether or not they should be included as input or output to
35
+ # the job. See
36
+ # https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input
37
+ # or
38
+ # https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output
39
+ # for a more detailed explanation and example.
40
+ attr_accessor :path_pattern
41
+
42
+ # @return [String] The date format. Wherever {date} appears in
43
+ # pathPattern, the value of this property is used as the date format
44
+ # instead.
45
+ attr_accessor :date_format
46
+
47
+ # @return [String] The time format. Wherever {time} appears in
48
+ # pathPattern, the value of this property is used as the time format
49
+ # instead.
50
+ attr_accessor :time_format
51
+
52
+ # @return [Integer] The partition count of the blob input data source.
53
+ # Range 1 - 256.
54
+ attr_accessor :source_partition_count
55
+
56
+
57
+ #
58
+ # Mapper for BlobStreamInputDataSource class as Ruby Hash.
59
+ # This will be used for serialization/deserialization.
60
+ #
61
+ def self.mapper()
62
+ {
63
+ required: false,
64
+ serialized_name: 'Microsoft.Storage/Blob',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'BlobStreamInputDataSource',
68
+ model_properties: {
69
+ type: {
70
+ required: true,
71
+ serialized_name: 'type',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ storage_accounts: {
77
+ required: false,
78
+ serialized_name: 'properties.storageAccounts',
79
+ type: {
80
+ name: 'Sequence',
81
+ element: {
82
+ required: false,
83
+ serialized_name: 'StorageAccountElementType',
84
+ type: {
85
+ name: 'Composite',
86
+ class_name: 'StorageAccount'
87
+ }
88
+ }
89
+ }
90
+ },
91
+ container: {
92
+ required: false,
93
+ serialized_name: 'properties.container',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ path_pattern: {
99
+ required: false,
100
+ serialized_name: 'properties.pathPattern',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ },
105
+ date_format: {
106
+ required: false,
107
+ serialized_name: 'properties.dateFormat',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ time_format: {
113
+ required: false,
114
+ serialized_name: 'properties.timeFormat',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ source_partition_count: {
120
+ required: false,
121
+ serialized_name: 'properties.sourcePartitionCount',
122
+ type: {
123
+ name: 'Number'
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ end
130
+ end
131
+ end
132
+ end
@@ -0,0 +1,15 @@
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 CompatibilityLevel
10
+ #
11
+ module CompatibilityLevel
12
+ OneFullStopZero = "1.0"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,79 @@
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 CSV format.
11
+ #
12
+ class CsvSerialization < Serialization
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+
18
+ def initialize
19
+ @type = "Csv"
20
+ end
21
+
22
+ attr_accessor :type
23
+
24
+ # @return [String] Specifies the delimiter that will be used to separate
25
+ # comma-separated value (CSV) records. See
26
+ # https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input
27
+ # or
28
+ # https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output
29
+ # for a list of supported values. Required on PUT (CreateOrReplace)
30
+ # requests.
31
+ attr_accessor :field_delimiter
32
+
33
+ # @return [Encoding] Specifies the encoding of the incoming data in the
34
+ # case of input and the encoding of outgoing data in the case of output.
35
+ # Required on PUT (CreateOrReplace) requests. Possible values include:
36
+ # 'UTF8'
37
+ attr_accessor :encoding
38
+
39
+
40
+ #
41
+ # Mapper for CsvSerialization class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ required: false,
47
+ serialized_name: 'Csv',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'CsvSerialization',
51
+ model_properties: {
52
+ type: {
53
+ required: true,
54
+ serialized_name: 'type',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ field_delimiter: {
60
+ required: false,
61
+ serialized_name: 'properties.fieldDelimiter',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ encoding: {
67
+ required: false,
68
+ serialized_name: 'properties.encoding',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,72 @@
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
+ # Condition applicable to the resource, or to the job overall, that warrant
10
+ # customer attention.
11
+ #
12
+ class DiagnosticCondition
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [String] The UTC timestamp of when the condition started.
18
+ # Customers should be able to find a corresponding event in the ops log
19
+ # around this time.
20
+ attr_accessor :since
21
+
22
+ # @return [String] The opaque diagnostic code.
23
+ attr_accessor :code
24
+
25
+ # @return [String] The human-readable message describing the condition in
26
+ # detail. Localized in the Accept-Language of the client request.
27
+ attr_accessor :message
28
+
29
+
30
+ #
31
+ # Mapper for DiagnosticCondition class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ required: false,
37
+ serialized_name: 'DiagnosticCondition',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'DiagnosticCondition',
41
+ model_properties: {
42
+ since: {
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'since',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ code: {
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'code',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ message: {
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'message',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,57 @@
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 conditions applicable to the Input, Output, or the job overall,
10
+ # that warrant customer attention.
11
+ #
12
+ class Diagnostics
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [Array<DiagnosticCondition>] A collection of zero or more
18
+ # conditions applicable to the resource, or to the job overall, that
19
+ # warrant customer attention.
20
+ attr_accessor :conditions
21
+
22
+
23
+ #
24
+ # Mapper for Diagnostics class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'Diagnostics',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Diagnostics',
34
+ model_properties: {
35
+ conditions: {
36
+ required: false,
37
+ read_only: true,
38
+ serialized_name: 'conditions',
39
+ type: {
40
+ name: 'Sequence',
41
+ element: {
42
+ required: false,
43
+ serialized_name: 'DiagnosticConditionElementType',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'DiagnosticCondition'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end