azure_mgmt_stream_analytics 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,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 EventsOutOfOrderPolicy
|
10
|
+
#
|
11
|
+
module EventsOutOfOrderPolicy
|
12
|
+
Adjust = "Adjust"
|
13
|
+
Drop = "Drop"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
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
|
+
# A function object, containing all information associated with the named
|
10
|
+
# function. All functions are contained under a streaming job.
|
11
|
+
#
|
12
|
+
class Function < MsRestAzure::SubResource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [FunctionProperties] The properties that are associated with a
|
18
|
+
# function.
|
19
|
+
attr_accessor :properties
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for Function class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'Function',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'Function',
|
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: 'FunctionProperties',
|
64
|
+
class_name: 'FunctionProperties'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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 physical binding of the function. For example, in the Azure Machine
|
10
|
+
# Learning web service’s case, this describes the endpoint.
|
11
|
+
#
|
12
|
+
class FunctionBinding
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
@@discriminatorMap = Hash.new
|
18
|
+
@@discriminatorMap["Microsoft.StreamAnalytics/JavascriptUdf"] = "JavaScriptFunctionBinding"
|
19
|
+
@@discriminatorMap["Microsoft.MachineLearning/WebService"] = "AzureMachineLearningWebServiceFunctionBinding"
|
20
|
+
|
21
|
+
def initialize
|
22
|
+
@type = "FunctionBinding"
|
23
|
+
end
|
24
|
+
|
25
|
+
attr_accessor :type
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for FunctionBinding class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'FunctionBinding',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
polymorphic_discriminator: 'type',
|
39
|
+
uber_parent: 'FunctionBinding',
|
40
|
+
class_name: 'FunctionBinding',
|
41
|
+
model_properties: {
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
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
|
+
# Describes one input parameter of a function.
|
10
|
+
#
|
11
|
+
class FunctionInput
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The (Azure Stream Analytics supported) data type of
|
17
|
+
# the function input parameter. A list of valid Azure Stream Analytics
|
18
|
+
# data types are described at
|
19
|
+
# https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx
|
20
|
+
attr_accessor :data_type
|
21
|
+
|
22
|
+
# @return [Boolean] A flag indicating if the parameter is a configuration
|
23
|
+
# parameter. True if this input parameter is expected to be a constant.
|
24
|
+
# Default is false.
|
25
|
+
attr_accessor :is_configuration_parameter
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for FunctionInput class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'FunctionInput',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'FunctionInput',
|
39
|
+
model_properties: {
|
40
|
+
data_type: {
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'dataType',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
is_configuration_parameter: {
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'isConfigurationParameter',
|
50
|
+
type: {
|
51
|
+
name: 'Boolean'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
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 functions under a streaming job.
|
10
|
+
#
|
11
|
+
class FunctionListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Function>] A list of functions 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<Function>] 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 [FunctionListResult] 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 FunctionListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'FunctionListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'FunctionListResult',
|
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: 'FunctionElementType',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'Function'
|
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,48 @@
|
|
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 output of a function.
|
10
|
+
#
|
11
|
+
class FunctionOutput
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The (Azure Stream Analytics supported) data type of
|
17
|
+
# the function output. A list of valid Azure Stream Analytics data types
|
18
|
+
# are described at
|
19
|
+
# https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx
|
20
|
+
attr_accessor :data_type
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for FunctionOutput class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'FunctionOutput',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'FunctionOutput',
|
34
|
+
model_properties: {
|
35
|
+
data_type: {
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'dataType',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
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 properties that are associated with a function.
|
10
|
+
#
|
11
|
+
class FunctionProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
@@discriminatorMap = Hash.new
|
17
|
+
@@discriminatorMap["Scalar"] = "ScalarFunctionProperties"
|
18
|
+
|
19
|
+
def initialize
|
20
|
+
@type = "FunctionProperties"
|
21
|
+
end
|
22
|
+
|
23
|
+
attr_accessor :type
|
24
|
+
|
25
|
+
# @return [String] The current entity tag for the function. This is an
|
26
|
+
# opaque string. You can use it to detect whether the resource has
|
27
|
+
# changed between requests. You can also use it in the If-Match or
|
28
|
+
# If-None-Match headers for write operations for optimistic concurrency.
|
29
|
+
attr_accessor :etag
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for FunctionProperties class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'FunctionProperties',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
polymorphic_discriminator: 'type',
|
43
|
+
uber_parent: 'FunctionProperties',
|
44
|
+
class_name: 'FunctionProperties',
|
45
|
+
model_properties: {
|
46
|
+
etag: {
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'etag',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,49 @@
|
|
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
|
+
# Parameters used to specify the type of function to retrieve the default
|
10
|
+
# definition for.
|
11
|
+
#
|
12
|
+
class FunctionRetrieveDefaultDefinitionParameters
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
@@discriminatorMap = Hash.new
|
18
|
+
@@discriminatorMap["Microsoft.StreamAnalytics/JavascriptUdf"] = "JavaScriptFunctionRetrieveDefaultDefinitionParameters"
|
19
|
+
@@discriminatorMap["Microsoft.MachineLearning/WebService"] = "AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters"
|
20
|
+
|
21
|
+
def initialize
|
22
|
+
@bindingType = "FunctionRetrieveDefaultDefinitionParameters"
|
23
|
+
end
|
24
|
+
|
25
|
+
attr_accessor :bindingType
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for FunctionRetrieveDefaultDefinitionParameters class as Ruby
|
30
|
+
# Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'FunctionRetrieveDefaultDefinitionParameters',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
polymorphic_discriminator: 'bindingType',
|
40
|
+
uber_parent: 'FunctionRetrieveDefaultDefinitionParameters',
|
41
|
+
class_name: 'FunctionRetrieveDefaultDefinitionParameters',
|
42
|
+
model_properties: {
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|