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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_mgmt_stream_analytics.rb +5 -0
- data/lib/generated/azure_mgmt_stream_analytics.rb +102 -0
- data/lib/generated/azure_mgmt_stream_analytics/functions.rb +1055 -0
- data/lib/generated/azure_mgmt_stream_analytics/inputs.rb +923 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/avro_serialization.rb +61 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_binding.rb +115 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_retrieve_default_definition_parameters.rb +75 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_input_column.rb +71 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_inputs.rb +65 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_output_column.rb +60 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb +91 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb +104 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/azure_table_output_data_source.rb +135 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/blob_data_source_properties.rb +107 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/blob_output_data_source.rb +121 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/blob_reference_input_data_source.rb +121 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb +132 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/compatibility_level.rb +15 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb +79 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/diagnostic_condition.rb +72 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/diagnostics.rb +57 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/document_db_output_data_source.rb +121 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/encoding.rb +15 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/error_response.rb +57 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/event_hub_data_source_properties.rb +67 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/event_hub_output_data_source.rb +106 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb +109 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/events_out_of_order_policy.rb +16 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/function.rb +73 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/function_binding.rb +48 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/function_input.rb +60 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/function_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/function_output.rb +48 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/function_properties.rb +60 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/function_retrieve_default_definition_parameters.rb +49 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/input.rb +73 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/input_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/input_properties.rb +89 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/io_thub_stream_input_data_source.rb +106 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/java_script_function_binding.rb +60 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/java_script_function_retrieve_default_definition_parameters.rb +73 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/json_output_serialization_format.rb +16 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/json_serialization.rb +80 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/operation.rb +60 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/operation_display.rb +82 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/operation_list_result.rb +99 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/output.rb +115 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/output_data_source.rb +52 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/output_error_policy.rb +16 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/output_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/output_start_mode.rb +17 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/reference_input_data_source.rb +46 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/reference_input_properties.rb +91 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/resource_test_status.rb +59 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb +102 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/serialization.rb +49 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/service_bus_data_source_properties.rb +71 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/service_bus_queue_output_data_source.rb +113 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/service_bus_topic_output_data_source.rb +113 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/sku.rb +46 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/sku_name.rb +15 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/start_streaming_job_parameters.rb +64 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/storage_account.rb +57 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/stream_input_data_source.rb +48 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb +90 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/streaming_job.rb +353 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/streaming_job_list_result.rb +97 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/sub_resource.rb +64 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/subscription_quota.rb +80 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/subscription_quotas_list_result.rb +56 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/transformation.rb +98 -0
- data/lib/generated/azure_mgmt_stream_analytics/models/udf_type.rb +15 -0
- data/lib/generated/azure_mgmt_stream_analytics/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_stream_analytics/operations.rb +213 -0
- data/lib/generated/azure_mgmt_stream_analytics/outputs.rb +924 -0
- data/lib/generated/azure_mgmt_stream_analytics/stream_analytics_management_client.rb +155 -0
- data/lib/generated/azure_mgmt_stream_analytics/streaming_jobs.rb +1327 -0
- data/lib/generated/azure_mgmt_stream_analytics/subscriptions.rb +121 -0
- data/lib/generated/azure_mgmt_stream_analytics/transformations.rb +427 -0
- data/lib/generated/azure_mgmt_stream_analytics/version.rb +8 -0
- 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 DocumentDB data source.
|
|
10
|
+
#
|
|
11
|
+
class DocumentDbOutputDataSource < OutputDataSource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
|
|
17
|
+
def initialize
|
|
18
|
+
@type = "Microsoft.Storage/DocumentDB"
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
attr_accessor :type
|
|
22
|
+
|
|
23
|
+
# @return [String] The DocumentDB account name or ID. Required on PUT
|
|
24
|
+
# (CreateOrReplace) requests.
|
|
25
|
+
attr_accessor :account_id
|
|
26
|
+
|
|
27
|
+
# @return [String] The account key for the DocumentDB account. Required
|
|
28
|
+
# on PUT (CreateOrReplace) requests.
|
|
29
|
+
attr_accessor :account_key
|
|
30
|
+
|
|
31
|
+
# @return [String] The name of the DocumentDB database. Required on PUT
|
|
32
|
+
# (CreateOrReplace) requests.
|
|
33
|
+
attr_accessor :database
|
|
34
|
+
|
|
35
|
+
# @return [String] The collection name pattern for the collections to be
|
|
36
|
+
# used. The collection name format can be constructed using the optional
|
|
37
|
+
# {partition} token, where partitions start from 0. See the DocumentDB
|
|
38
|
+
# section of
|
|
39
|
+
# https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output
|
|
40
|
+
# for more information. Required on PUT (CreateOrReplace) requests.
|
|
41
|
+
attr_accessor :collection_name_pattern
|
|
42
|
+
|
|
43
|
+
# @return [String] The name of the field in output events used to specify
|
|
44
|
+
# the key for partitioning output across collections. If
|
|
45
|
+
# 'collectionNamePattern' contains the {partition} token, this property
|
|
46
|
+
# is required to be specified.
|
|
47
|
+
attr_accessor :partition_key
|
|
48
|
+
|
|
49
|
+
# @return [String] The name of the field in output events used to specify
|
|
50
|
+
# the primary key which insert or update operations are based on.
|
|
51
|
+
attr_accessor :document_id
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
#
|
|
55
|
+
# Mapper for DocumentDbOutputDataSource class as Ruby Hash.
|
|
56
|
+
# This will be used for serialization/deserialization.
|
|
57
|
+
#
|
|
58
|
+
def self.mapper()
|
|
59
|
+
{
|
|
60
|
+
required: false,
|
|
61
|
+
serialized_name: 'Microsoft.Storage/DocumentDB',
|
|
62
|
+
type: {
|
|
63
|
+
name: 'Composite',
|
|
64
|
+
class_name: 'DocumentDbOutputDataSource',
|
|
65
|
+
model_properties: {
|
|
66
|
+
type: {
|
|
67
|
+
required: true,
|
|
68
|
+
serialized_name: 'type',
|
|
69
|
+
type: {
|
|
70
|
+
name: 'String'
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
account_id: {
|
|
74
|
+
required: false,
|
|
75
|
+
serialized_name: 'properties.accountId',
|
|
76
|
+
type: {
|
|
77
|
+
name: 'String'
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
account_key: {
|
|
81
|
+
required: false,
|
|
82
|
+
serialized_name: 'properties.accountKey',
|
|
83
|
+
type: {
|
|
84
|
+
name: 'String'
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
database: {
|
|
88
|
+
required: false,
|
|
89
|
+
serialized_name: 'properties.database',
|
|
90
|
+
type: {
|
|
91
|
+
name: 'String'
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
collection_name_pattern: {
|
|
95
|
+
required: false,
|
|
96
|
+
serialized_name: 'properties.collectionNamePattern',
|
|
97
|
+
type: {
|
|
98
|
+
name: 'String'
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
partition_key: {
|
|
102
|
+
required: false,
|
|
103
|
+
serialized_name: 'properties.partitionKey',
|
|
104
|
+
type: {
|
|
105
|
+
name: 'String'
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
document_id: {
|
|
109
|
+
required: false,
|
|
110
|
+
serialized_name: 'properties.documentId',
|
|
111
|
+
type: {
|
|
112
|
+
name: 'String'
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
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 Encoding
|
|
10
|
+
#
|
|
11
|
+
module Encoding
|
|
12
|
+
UTF8 = "UTF8"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
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 the error that occurred.
|
|
10
|
+
#
|
|
11
|
+
class ErrorResponse
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
# @return [String] Error code associated with the error that occurred.
|
|
17
|
+
attr_accessor :code
|
|
18
|
+
|
|
19
|
+
# @return [String] Describes the error in detail.
|
|
20
|
+
attr_accessor :message
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#
|
|
24
|
+
# Mapper for ErrorResponse class as Ruby Hash.
|
|
25
|
+
# This will be used for serialization/deserialization.
|
|
26
|
+
#
|
|
27
|
+
def self.mapper()
|
|
28
|
+
{
|
|
29
|
+
required: false,
|
|
30
|
+
serialized_name: 'ErrorResponse',
|
|
31
|
+
type: {
|
|
32
|
+
name: 'Composite',
|
|
33
|
+
class_name: 'ErrorResponse',
|
|
34
|
+
model_properties: {
|
|
35
|
+
code: {
|
|
36
|
+
required: false,
|
|
37
|
+
read_only: true,
|
|
38
|
+
serialized_name: 'code',
|
|
39
|
+
type: {
|
|
40
|
+
name: 'String'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
message: {
|
|
44
|
+
required: false,
|
|
45
|
+
read_only: true,
|
|
46
|
+
serialized_name: 'message',
|
|
47
|
+
type: {
|
|
48
|
+
name: 'String'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
@@ -0,0 +1,67 @@
|
|
|
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 common properties that are associated with Event Hub data sources.
|
|
10
|
+
#
|
|
11
|
+
class EventHubDataSourceProperties < ServiceBusDataSourceProperties
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
# @return [String] The name of the Event Hub. Required on PUT
|
|
17
|
+
# (CreateOrReplace) requests.
|
|
18
|
+
attr_accessor :event_hub_name
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
#
|
|
22
|
+
# Mapper for EventHubDataSourceProperties class as Ruby Hash.
|
|
23
|
+
# This will be used for serialization/deserialization.
|
|
24
|
+
#
|
|
25
|
+
def self.mapper()
|
|
26
|
+
{
|
|
27
|
+
required: false,
|
|
28
|
+
serialized_name: 'EventHubDataSourceProperties',
|
|
29
|
+
type: {
|
|
30
|
+
name: 'Composite',
|
|
31
|
+
class_name: 'EventHubDataSourceProperties',
|
|
32
|
+
model_properties: {
|
|
33
|
+
service_bus_namespace: {
|
|
34
|
+
required: false,
|
|
35
|
+
serialized_name: 'serviceBusNamespace',
|
|
36
|
+
type: {
|
|
37
|
+
name: 'String'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
shared_access_policy_name: {
|
|
41
|
+
required: false,
|
|
42
|
+
serialized_name: 'sharedAccessPolicyName',
|
|
43
|
+
type: {
|
|
44
|
+
name: 'String'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
shared_access_policy_key: {
|
|
48
|
+
required: false,
|
|
49
|
+
serialized_name: 'sharedAccessPolicyKey',
|
|
50
|
+
type: {
|
|
51
|
+
name: 'String'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
event_hub_name: {
|
|
55
|
+
required: false,
|
|
56
|
+
serialized_name: 'eventHubName',
|
|
57
|
+
type: {
|
|
58
|
+
name: 'String'
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
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 Event Hub output data source.
|
|
10
|
+
#
|
|
11
|
+
class EventHubOutputDataSource < OutputDataSource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
|
|
17
|
+
def initialize
|
|
18
|
+
@type = "Microsoft.ServiceBus/EventHub"
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
attr_accessor :type
|
|
22
|
+
|
|
23
|
+
# @return [String] The namespace that is associated with the desired
|
|
24
|
+
# Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT
|
|
25
|
+
# (CreateOrReplace) requests.
|
|
26
|
+
attr_accessor :service_bus_namespace
|
|
27
|
+
|
|
28
|
+
# @return [String] The shared access policy name for the Event Hub,
|
|
29
|
+
# Service Bus Queue, Service Bus Topic, etc. Required on PUT
|
|
30
|
+
# (CreateOrReplace) requests.
|
|
31
|
+
attr_accessor :shared_access_policy_name
|
|
32
|
+
|
|
33
|
+
# @return [String] The shared access policy key for the specified shared
|
|
34
|
+
# access policy. Required on PUT (CreateOrReplace) requests.
|
|
35
|
+
attr_accessor :shared_access_policy_key
|
|
36
|
+
|
|
37
|
+
# @return [String] The name of the Event Hub. Required on PUT
|
|
38
|
+
# (CreateOrReplace) requests.
|
|
39
|
+
attr_accessor :event_hub_name
|
|
40
|
+
|
|
41
|
+
# @return [String] The key/column that is used to determine to which
|
|
42
|
+
# partition to send event data.
|
|
43
|
+
attr_accessor :partition_key
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
#
|
|
47
|
+
# Mapper for EventHubOutputDataSource 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.ServiceBus/EventHub',
|
|
54
|
+
type: {
|
|
55
|
+
name: 'Composite',
|
|
56
|
+
class_name: 'EventHubOutputDataSource',
|
|
57
|
+
model_properties: {
|
|
58
|
+
type: {
|
|
59
|
+
required: true,
|
|
60
|
+
serialized_name: 'type',
|
|
61
|
+
type: {
|
|
62
|
+
name: 'String'
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
service_bus_namespace: {
|
|
66
|
+
required: false,
|
|
67
|
+
serialized_name: 'properties.serviceBusNamespace',
|
|
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
|
+
event_hub_name: {
|
|
87
|
+
required: false,
|
|
88
|
+
serialized_name: 'properties.eventHubName',
|
|
89
|
+
type: {
|
|
90
|
+
name: 'String'
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
partition_key: {
|
|
94
|
+
required: false,
|
|
95
|
+
serialized_name: 'properties.partitionKey',
|
|
96
|
+
type: {
|
|
97
|
+
name: 'String'
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
end
|
|
@@ -0,0 +1,109 @@
|
|
|
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 Event Hub input data source that contains stream data.
|
|
10
|
+
#
|
|
11
|
+
class EventHubStreamInputDataSource < StreamInputDataSource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
|
|
17
|
+
def initialize
|
|
18
|
+
@type = "Microsoft.ServiceBus/EventHub"
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
attr_accessor :type
|
|
22
|
+
|
|
23
|
+
# @return [String] The namespace that is associated with the desired
|
|
24
|
+
# Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT
|
|
25
|
+
# (CreateOrReplace) requests.
|
|
26
|
+
attr_accessor :service_bus_namespace
|
|
27
|
+
|
|
28
|
+
# @return [String] The shared access policy name for the Event Hub,
|
|
29
|
+
# Service Bus Queue, Service Bus Topic, etc. Required on PUT
|
|
30
|
+
# (CreateOrReplace) requests.
|
|
31
|
+
attr_accessor :shared_access_policy_name
|
|
32
|
+
|
|
33
|
+
# @return [String] The shared access policy key for the specified shared
|
|
34
|
+
# access policy. Required on PUT (CreateOrReplace) requests.
|
|
35
|
+
attr_accessor :shared_access_policy_key
|
|
36
|
+
|
|
37
|
+
# @return [String] The name of the Event Hub. Required on PUT
|
|
38
|
+
# (CreateOrReplace) requests.
|
|
39
|
+
attr_accessor :event_hub_name
|
|
40
|
+
|
|
41
|
+
# @return [String] The name of an Event Hub Consumer Group that should be
|
|
42
|
+
# used to read events from the Event Hub. Specifying distinct consumer
|
|
43
|
+
# group names for multiple inputs allows each of those inputs to receive
|
|
44
|
+
# the same events from the Event Hub. If not specified, the input uses
|
|
45
|
+
# the Event Hub’s default consumer group.
|
|
46
|
+
attr_accessor :consumer_group_name
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
#
|
|
50
|
+
# Mapper for EventHubStreamInputDataSource class as Ruby Hash.
|
|
51
|
+
# This will be used for serialization/deserialization.
|
|
52
|
+
#
|
|
53
|
+
def self.mapper()
|
|
54
|
+
{
|
|
55
|
+
required: false,
|
|
56
|
+
serialized_name: 'Microsoft.ServiceBus/EventHub',
|
|
57
|
+
type: {
|
|
58
|
+
name: 'Composite',
|
|
59
|
+
class_name: 'EventHubStreamInputDataSource',
|
|
60
|
+
model_properties: {
|
|
61
|
+
type: {
|
|
62
|
+
required: true,
|
|
63
|
+
serialized_name: 'type',
|
|
64
|
+
type: {
|
|
65
|
+
name: 'String'
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
service_bus_namespace: {
|
|
69
|
+
required: false,
|
|
70
|
+
serialized_name: 'properties.serviceBusNamespace',
|
|
71
|
+
type: {
|
|
72
|
+
name: 'String'
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
shared_access_policy_name: {
|
|
76
|
+
required: false,
|
|
77
|
+
serialized_name: 'properties.sharedAccessPolicyName',
|
|
78
|
+
type: {
|
|
79
|
+
name: 'String'
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
shared_access_policy_key: {
|
|
83
|
+
required: false,
|
|
84
|
+
serialized_name: 'properties.sharedAccessPolicyKey',
|
|
85
|
+
type: {
|
|
86
|
+
name: 'String'
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
event_hub_name: {
|
|
90
|
+
required: false,
|
|
91
|
+
serialized_name: 'properties.eventHubName',
|
|
92
|
+
type: {
|
|
93
|
+
name: 'String'
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
consumer_group_name: {
|
|
97
|
+
required: false,
|
|
98
|
+
serialized_name: 'properties.consumerGroupName',
|
|
99
|
+
type: {
|
|
100
|
+
name: 'String'
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
end
|