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,52 @@
|
|
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 data source that output will be written to.
|
10
|
+
#
|
11
|
+
class OutputDataSource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
@@discriminatorMap = Hash.new
|
17
|
+
@@discriminatorMap["Microsoft.ServiceBus/Topic"] = "ServiceBusTopicOutputDataSource"
|
18
|
+
@@discriminatorMap["Microsoft.ServiceBus/Queue"] = "ServiceBusQueueOutputDataSource"
|
19
|
+
@@discriminatorMap["Microsoft.Storage/DocumentDB"] = "DocumentDbOutputDataSource"
|
20
|
+
@@discriminatorMap["Microsoft.Sql/Server/Database"] = "AzureSqlDatabaseOutputDataSource"
|
21
|
+
@@discriminatorMap["Microsoft.ServiceBus/EventHub"] = "EventHubOutputDataSource"
|
22
|
+
@@discriminatorMap["Microsoft.Storage/Table"] = "AzureTableOutputDataSource"
|
23
|
+
@@discriminatorMap["Microsoft.Storage/Blob"] = "BlobOutputDataSource"
|
24
|
+
|
25
|
+
def initialize
|
26
|
+
@type = "OutputDataSource"
|
27
|
+
end
|
28
|
+
|
29
|
+
attr_accessor :type
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for OutputDataSource class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'OutputDataSource',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
polymorphic_discriminator: 'type',
|
43
|
+
uber_parent: 'OutputDataSource',
|
44
|
+
class_name: 'OutputDataSource',
|
45
|
+
model_properties: {
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -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 OutputErrorPolicy
|
10
|
+
#
|
11
|
+
module OutputErrorPolicy
|
12
|
+
Stop = "Stop"
|
13
|
+
Drop = "Drop"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
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 outputs under a streaming job.
|
10
|
+
#
|
11
|
+
class OutputListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Output>] A list of outputs 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<Output>] 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 [OutputListResult] 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 OutputListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'OutputListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'OutputListResult',
|
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: 'OutputElementType',
|
76
|
+
type: {
|
77
|
+
name: 'Composite',
|
78
|
+
class_name: 'Output'
|
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,17 @@
|
|
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 OutputStartMode
|
10
|
+
#
|
11
|
+
module OutputStartMode
|
12
|
+
JobStartTime = "JobStartTime"
|
13
|
+
CustomTime = "CustomTime"
|
14
|
+
LastOutputEventTime = "LastOutputEventTime"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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 input data source that contains reference data.
|
10
|
+
#
|
11
|
+
class ReferenceInputDataSource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
@@discriminatorMap = Hash.new
|
17
|
+
@@discriminatorMap["Microsoft.Storage/Blob"] = "BlobReferenceInputDataSource"
|
18
|
+
|
19
|
+
def initialize
|
20
|
+
@type = "ReferenceInputDataSource"
|
21
|
+
end
|
22
|
+
|
23
|
+
attr_accessor :type
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ReferenceInputDataSource class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ReferenceInputDataSource',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
polymorphic_discriminator: 'type',
|
37
|
+
uber_parent: 'ReferenceInputDataSource',
|
38
|
+
class_name: 'ReferenceInputDataSource',
|
39
|
+
model_properties: {
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,91 @@
|
|
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 containing reference
|
10
|
+
# data.
|
11
|
+
#
|
12
|
+
class ReferenceInputProperties < InputProperties
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
|
18
|
+
def initialize
|
19
|
+
@type = "Reference"
|
20
|
+
end
|
21
|
+
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [ReferenceInputDataSource] Describes an input data source that
|
25
|
+
# contains reference data. Required on PUT (CreateOrReplace) requests.
|
26
|
+
attr_accessor :datasource
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for ReferenceInputProperties class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'Reference',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'ReferenceInputProperties',
|
40
|
+
model_properties: {
|
41
|
+
serialization: {
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'serialization',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
polymorphic_discriminator: 'type',
|
47
|
+
uber_parent: 'Serialization',
|
48
|
+
class_name: 'Serialization'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
diagnostics: {
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'diagnostics',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'Diagnostics'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
etag: {
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'etag',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
required: true,
|
70
|
+
serialized_name: 'type',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
datasource: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'datasource',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
polymorphic_discriminator: 'type',
|
81
|
+
uber_parent: 'ReferenceInputDataSource',
|
82
|
+
class_name: 'ReferenceInputDataSource'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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 status of the test operation along with error information,
|
10
|
+
# if applicable.
|
11
|
+
#
|
12
|
+
class ResourceTestStatus
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [String] The status of the test operation.
|
18
|
+
attr_accessor :status
|
19
|
+
|
20
|
+
# @return [ErrorResponse] Describes the error that occurred.
|
21
|
+
attr_accessor :error
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for ResourceTestStatus class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'ResourceTestStatus',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'ResourceTestStatus',
|
35
|
+
model_properties: {
|
36
|
+
status: {
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'status',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
error: {
|
45
|
+
required: false,
|
46
|
+
read_only: true,
|
47
|
+
serialized_name: 'error',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'ErrorResponse'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,102 @@
|
|
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 scalar function.
|
10
|
+
#
|
11
|
+
class ScalarFunctionProperties < FunctionProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@type = "Scalar"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :type
|
22
|
+
|
23
|
+
# @return [Array<FunctionInput>] A list of inputs describing the
|
24
|
+
# parameters of the function.
|
25
|
+
attr_accessor :inputs
|
26
|
+
|
27
|
+
# @return [FunctionOutput] The output of the function.
|
28
|
+
attr_accessor :output
|
29
|
+
|
30
|
+
# @return [FunctionBinding] The physical binding of the function. For
|
31
|
+
# example, in the Azure Machine Learning web service’s case, this
|
32
|
+
# describes the endpoint.
|
33
|
+
attr_accessor :binding
|
34
|
+
|
35
|
+
|
36
|
+
#
|
37
|
+
# Mapper for ScalarFunctionProperties class as Ruby Hash.
|
38
|
+
# This will be used for serialization/deserialization.
|
39
|
+
#
|
40
|
+
def self.mapper()
|
41
|
+
{
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'Scalar',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'ScalarFunctionProperties',
|
47
|
+
model_properties: {
|
48
|
+
etag: {
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'etag',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
type: {
|
57
|
+
required: true,
|
58
|
+
serialized_name: 'type',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
inputs: {
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'properties.inputs',
|
66
|
+
type: {
|
67
|
+
name: 'Sequence',
|
68
|
+
element: {
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'FunctionInputElementType',
|
71
|
+
type: {
|
72
|
+
name: 'Composite',
|
73
|
+
class_name: 'FunctionInput'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
output: {
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'properties.output',
|
81
|
+
type: {
|
82
|
+
name: 'Composite',
|
83
|
+
class_name: 'FunctionOutput'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
binding: {
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'properties.binding',
|
89
|
+
type: {
|
90
|
+
name: 'Composite',
|
91
|
+
polymorphic_discriminator: 'type',
|
92
|
+
uber_parent: 'FunctionBinding',
|
93
|
+
class_name: 'FunctionBinding'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|