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
data/lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb
ADDED
|
@@ -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 Azure SQL database data
|
|
10
|
+
# source.
|
|
11
|
+
#
|
|
12
|
+
class AzureSqlDatabaseDataSourceProperties
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
include MsRest::JSONable
|
|
17
|
+
# @return [String] The name of the SQL server containing the Azure SQL
|
|
18
|
+
# database. Required on PUT (CreateOrReplace) requests.
|
|
19
|
+
attr_accessor :server
|
|
20
|
+
|
|
21
|
+
# @return [String] The name of the Azure SQL database. Required on PUT
|
|
22
|
+
# (CreateOrReplace) requests.
|
|
23
|
+
attr_accessor :database
|
|
24
|
+
|
|
25
|
+
# @return [String] The user name that will be used to connect to the
|
|
26
|
+
# Azure SQL database. Required on PUT (CreateOrReplace) requests.
|
|
27
|
+
attr_accessor :user
|
|
28
|
+
|
|
29
|
+
# @return [String] The password that will be used to connect to the Azure
|
|
30
|
+
# SQL database. Required on PUT (CreateOrReplace) requests.
|
|
31
|
+
attr_accessor :password
|
|
32
|
+
|
|
33
|
+
# @return [String] The name of the table in the Azure SQL database.
|
|
34
|
+
# Required on PUT (CreateOrReplace) requests.
|
|
35
|
+
attr_accessor :table
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
#
|
|
39
|
+
# Mapper for AzureSqlDatabaseDataSourceProperties class as Ruby Hash.
|
|
40
|
+
# This will be used for serialization/deserialization.
|
|
41
|
+
#
|
|
42
|
+
def self.mapper()
|
|
43
|
+
{
|
|
44
|
+
required: false,
|
|
45
|
+
serialized_name: 'AzureSqlDatabaseDataSourceProperties',
|
|
46
|
+
type: {
|
|
47
|
+
name: 'Composite',
|
|
48
|
+
class_name: 'AzureSqlDatabaseDataSourceProperties',
|
|
49
|
+
model_properties: {
|
|
50
|
+
server: {
|
|
51
|
+
required: false,
|
|
52
|
+
serialized_name: 'server',
|
|
53
|
+
type: {
|
|
54
|
+
name: 'String'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
database: {
|
|
58
|
+
required: false,
|
|
59
|
+
serialized_name: 'database',
|
|
60
|
+
type: {
|
|
61
|
+
name: 'String'
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
user: {
|
|
65
|
+
required: false,
|
|
66
|
+
serialized_name: 'user',
|
|
67
|
+
type: {
|
|
68
|
+
name: 'String'
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
password: {
|
|
72
|
+
required: false,
|
|
73
|
+
serialized_name: 'password',
|
|
74
|
+
type: {
|
|
75
|
+
name: 'String'
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
table: {
|
|
79
|
+
required: false,
|
|
80
|
+
serialized_name: 'table',
|
|
81
|
+
type: {
|
|
82
|
+
name: 'String'
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
end
|
data/lib/generated/azure_mgmt_stream_analytics/models/azure_sql_database_output_data_source.rb
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
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 Azure SQL database output data source.
|
|
10
|
+
#
|
|
11
|
+
class AzureSqlDatabaseOutputDataSource < OutputDataSource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
|
|
17
|
+
def initialize
|
|
18
|
+
@type = "Microsoft.Sql/Server/Database"
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
attr_accessor :type
|
|
22
|
+
|
|
23
|
+
# @return [String] The name of the SQL server containing the Azure SQL
|
|
24
|
+
# database. Required on PUT (CreateOrReplace) requests.
|
|
25
|
+
attr_accessor :server
|
|
26
|
+
|
|
27
|
+
# @return [String] The name of the Azure SQL database. Required on PUT
|
|
28
|
+
# (CreateOrReplace) requests.
|
|
29
|
+
attr_accessor :database
|
|
30
|
+
|
|
31
|
+
# @return [String] The user name that will be used to connect to the
|
|
32
|
+
# Azure SQL database. Required on PUT (CreateOrReplace) requests.
|
|
33
|
+
attr_accessor :user
|
|
34
|
+
|
|
35
|
+
# @return [String] The password that will be used to connect to the Azure
|
|
36
|
+
# SQL database. Required on PUT (CreateOrReplace) requests.
|
|
37
|
+
attr_accessor :password
|
|
38
|
+
|
|
39
|
+
# @return [String] The name of the table in the Azure SQL database.
|
|
40
|
+
# Required on PUT (CreateOrReplace) requests.
|
|
41
|
+
attr_accessor :table
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
#
|
|
45
|
+
# Mapper for AzureSqlDatabaseOutputDataSource class as Ruby Hash.
|
|
46
|
+
# This will be used for serialization/deserialization.
|
|
47
|
+
#
|
|
48
|
+
def self.mapper()
|
|
49
|
+
{
|
|
50
|
+
required: false,
|
|
51
|
+
serialized_name: 'Microsoft.Sql/Server/Database',
|
|
52
|
+
type: {
|
|
53
|
+
name: 'Composite',
|
|
54
|
+
class_name: 'AzureSqlDatabaseOutputDataSource',
|
|
55
|
+
model_properties: {
|
|
56
|
+
type: {
|
|
57
|
+
required: true,
|
|
58
|
+
serialized_name: 'type',
|
|
59
|
+
type: {
|
|
60
|
+
name: 'String'
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
server: {
|
|
64
|
+
required: false,
|
|
65
|
+
serialized_name: 'properties.server',
|
|
66
|
+
type: {
|
|
67
|
+
name: 'String'
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
database: {
|
|
71
|
+
required: false,
|
|
72
|
+
serialized_name: 'properties.database',
|
|
73
|
+
type: {
|
|
74
|
+
name: 'String'
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
user: {
|
|
78
|
+
required: false,
|
|
79
|
+
serialized_name: 'properties.user',
|
|
80
|
+
type: {
|
|
81
|
+
name: 'String'
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
password: {
|
|
85
|
+
required: false,
|
|
86
|
+
serialized_name: 'properties.password',
|
|
87
|
+
type: {
|
|
88
|
+
name: 'String'
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
table: {
|
|
92
|
+
required: false,
|
|
93
|
+
serialized_name: 'properties.table',
|
|
94
|
+
type: {
|
|
95
|
+
name: 'String'
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
@@ -0,0 +1,135 @@
|
|
|
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 Azure Table data source.
|
|
10
|
+
#
|
|
11
|
+
class AzureTableOutputDataSource < OutputDataSource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
|
|
17
|
+
def initialize
|
|
18
|
+
@type = "Microsoft.Storage/Table"
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
attr_accessor :type
|
|
22
|
+
|
|
23
|
+
# @return [String] The name of the Azure Storage account. Required on PUT
|
|
24
|
+
# (CreateOrReplace) requests.
|
|
25
|
+
attr_accessor :account_name
|
|
26
|
+
|
|
27
|
+
# @return [String] The account key for the Azure Storage account.
|
|
28
|
+
# Required on PUT (CreateOrReplace) requests.
|
|
29
|
+
attr_accessor :account_key
|
|
30
|
+
|
|
31
|
+
# @return [String] The name of the Azure Table. Required on PUT
|
|
32
|
+
# (CreateOrReplace) requests.
|
|
33
|
+
attr_accessor :table
|
|
34
|
+
|
|
35
|
+
# @return [String] This element indicates the name of a column from the
|
|
36
|
+
# SELECT statement in the query that will be used as the partition key
|
|
37
|
+
# for the Azure Table. Required on PUT (CreateOrReplace) requests.
|
|
38
|
+
attr_accessor :partition_key
|
|
39
|
+
|
|
40
|
+
# @return [String] This element indicates the name of a column from the
|
|
41
|
+
# SELECT statement in the query that will be used as the row key for the
|
|
42
|
+
# Azure Table. Required on PUT (CreateOrReplace) requests.
|
|
43
|
+
attr_accessor :row_key
|
|
44
|
+
|
|
45
|
+
# @return [Array<String>] If specified, each item in the array is the
|
|
46
|
+
# name of a column to remove (if present) from output event entities.
|
|
47
|
+
attr_accessor :columns_to_remove
|
|
48
|
+
|
|
49
|
+
# @return [Integer] The number of rows to write to the Azure Table at a
|
|
50
|
+
# time.
|
|
51
|
+
attr_accessor :batch_size
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
#
|
|
55
|
+
# Mapper for AzureTableOutputDataSource 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/Table',
|
|
62
|
+
type: {
|
|
63
|
+
name: 'Composite',
|
|
64
|
+
class_name: 'AzureTableOutputDataSource',
|
|
65
|
+
model_properties: {
|
|
66
|
+
type: {
|
|
67
|
+
required: true,
|
|
68
|
+
serialized_name: 'type',
|
|
69
|
+
type: {
|
|
70
|
+
name: 'String'
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
account_name: {
|
|
74
|
+
required: false,
|
|
75
|
+
serialized_name: 'properties.accountName',
|
|
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
|
+
table: {
|
|
88
|
+
required: false,
|
|
89
|
+
serialized_name: 'properties.table',
|
|
90
|
+
type: {
|
|
91
|
+
name: 'String'
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
partition_key: {
|
|
95
|
+
required: false,
|
|
96
|
+
serialized_name: 'properties.partitionKey',
|
|
97
|
+
type: {
|
|
98
|
+
name: 'String'
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
row_key: {
|
|
102
|
+
required: false,
|
|
103
|
+
serialized_name: 'properties.rowKey',
|
|
104
|
+
type: {
|
|
105
|
+
name: 'String'
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
columns_to_remove: {
|
|
109
|
+
required: false,
|
|
110
|
+
serialized_name: 'properties.columnsToRemove',
|
|
111
|
+
type: {
|
|
112
|
+
name: 'Sequence',
|
|
113
|
+
element: {
|
|
114
|
+
required: false,
|
|
115
|
+
serialized_name: 'StringElementType',
|
|
116
|
+
type: {
|
|
117
|
+
name: 'String'
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
batch_size: {
|
|
123
|
+
required: false,
|
|
124
|
+
serialized_name: 'properties.batchSize',
|
|
125
|
+
type: {
|
|
126
|
+
name: 'Number'
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
end
|
|
@@ -0,0 +1,107 @@
|
|
|
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 blob data source.
|
|
10
|
+
#
|
|
11
|
+
class BlobDataSourceProperties
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
include MsRest::JSONable
|
|
16
|
+
# @return [Array<StorageAccount>] A list of one or more Azure Storage
|
|
17
|
+
# accounts. Required on PUT (CreateOrReplace) requests.
|
|
18
|
+
attr_accessor :storage_accounts
|
|
19
|
+
|
|
20
|
+
# @return [String] The name of a container within the associated Storage
|
|
21
|
+
# account. This container contains either the blob(s) to be read from or
|
|
22
|
+
# written to. Required on PUT (CreateOrReplace) requests.
|
|
23
|
+
attr_accessor :container
|
|
24
|
+
|
|
25
|
+
# @return [String] The blob path pattern. Not a regular expression. It
|
|
26
|
+
# represents a pattern against which blob names will be matched to
|
|
27
|
+
# determine whether or not they should be included as input or output to
|
|
28
|
+
# the job. See
|
|
29
|
+
# https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input
|
|
30
|
+
# or
|
|
31
|
+
# https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output
|
|
32
|
+
# for a more detailed explanation and example.
|
|
33
|
+
attr_accessor :path_pattern
|
|
34
|
+
|
|
35
|
+
# @return [String] The date format. Wherever {date} appears in
|
|
36
|
+
# pathPattern, the value of this property is used as the date format
|
|
37
|
+
# instead.
|
|
38
|
+
attr_accessor :date_format
|
|
39
|
+
|
|
40
|
+
# @return [String] The time format. Wherever {time} appears in
|
|
41
|
+
# pathPattern, the value of this property is used as the time format
|
|
42
|
+
# instead.
|
|
43
|
+
attr_accessor :time_format
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
#
|
|
47
|
+
# Mapper for BlobDataSourceProperties class as Ruby Hash.
|
|
48
|
+
# This will be used for serialization/deserialization.
|
|
49
|
+
#
|
|
50
|
+
def self.mapper()
|
|
51
|
+
{
|
|
52
|
+
required: false,
|
|
53
|
+
serialized_name: 'BlobDataSourceProperties',
|
|
54
|
+
type: {
|
|
55
|
+
name: 'Composite',
|
|
56
|
+
class_name: 'BlobDataSourceProperties',
|
|
57
|
+
model_properties: {
|
|
58
|
+
storage_accounts: {
|
|
59
|
+
required: false,
|
|
60
|
+
serialized_name: 'storageAccounts',
|
|
61
|
+
type: {
|
|
62
|
+
name: 'Sequence',
|
|
63
|
+
element: {
|
|
64
|
+
required: false,
|
|
65
|
+
serialized_name: 'StorageAccountElementType',
|
|
66
|
+
type: {
|
|
67
|
+
name: 'Composite',
|
|
68
|
+
class_name: 'StorageAccount'
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
container: {
|
|
74
|
+
required: false,
|
|
75
|
+
serialized_name: 'container',
|
|
76
|
+
type: {
|
|
77
|
+
name: 'String'
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
path_pattern: {
|
|
81
|
+
required: false,
|
|
82
|
+
serialized_name: 'pathPattern',
|
|
83
|
+
type: {
|
|
84
|
+
name: 'String'
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
date_format: {
|
|
88
|
+
required: false,
|
|
89
|
+
serialized_name: 'dateFormat',
|
|
90
|
+
type: {
|
|
91
|
+
name: 'String'
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
time_format: {
|
|
95
|
+
required: false,
|
|
96
|
+
serialized_name: 'timeFormat',
|
|
97
|
+
type: {
|
|
98
|
+
name: 'String'
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|
|
@@ -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 output data source.
|
|
10
|
+
#
|
|
11
|
+
class BlobOutputDataSource < OutputDataSource
|
|
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 BlobOutputDataSource 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: 'BlobOutputDataSource',
|
|
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
|