azure_mgmt_stream_analytics 0.15.2 → 0.17.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics.rb +15 -15
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/functions.rb +59 -59
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/inputs.rb +53 -52
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/function_list_result.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/function_retrieve_default_definition_parameters.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/input_list_result.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/operation_list_result.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/output_list_result.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/resource.rb +9 -0
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/streaming_job_list_result.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/operations.rb +15 -13
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/outputs.rb +53 -52
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/stream_analytics_management_client.rb +10 -6
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/streaming_jobs.rb +82 -78
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/subscriptions.rb +6 -5
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/transformations.rb +18 -19
- data/lib/profiles/latest/modules/streamanalytics_profile_module.rb +265 -246
- data/lib/profiles/latest/streamanalytics_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/streamanalytics_module_definition.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8f410c638a11d24dc130df1894f824eff6fea9b5cc858748941f411e47e19ce6
|
4
|
+
data.tar.gz: e615abaec45847451fb3c8580c8602373e4027ccb034768d92a53c09785e5434
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ecd5de2256d30231f051c212454248e4f1d69876789a01819ca8d8ae1812a5643623f49a006d64a13c4824be80782c6196d022143072576f2f59a307319a30d
|
7
|
+
data.tar.gz: 10ed0ffaf7be9b6cbbccdf6542b6ed303ea8763c5efccb5c58f8c282e2a4beff54e7564dafe17ea9aab9af56ad9f8e49a78f7d1783b815bbefb90ae625c3e973
|
@@ -34,7 +34,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
34
34
|
autoload :OperationDisplay, '2016-03-01/generated/azure_mgmt_stream_analytics/models/operation_display.rb'
|
35
35
|
autoload :AzureMachineLearningWebServiceInputs, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_inputs.rb'
|
36
36
|
autoload :OperationListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/operation_list_result.rb'
|
37
|
-
autoload :
|
37
|
+
autoload :ReferenceInputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/reference_input_data_source.rb'
|
38
38
|
autoload :Serialization, '2016-03-01/generated/azure_mgmt_stream_analytics/models/serialization.rb'
|
39
39
|
autoload :FunctionBinding, '2016-03-01/generated/azure_mgmt_stream_analytics/models/function_binding.rb'
|
40
40
|
autoload :Diagnostics, '2016-03-01/generated/azure_mgmt_stream_analytics/models/diagnostics.rb'
|
@@ -44,26 +44,26 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
44
44
|
autoload :OutputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output_data_source.rb'
|
45
45
|
autoload :InputProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/input_properties.rb'
|
46
46
|
autoload :FunctionProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/function_properties.rb'
|
47
|
-
autoload :
|
48
|
-
autoload :
|
47
|
+
autoload :ServiceBusDataSourceProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_data_source_properties.rb'
|
48
|
+
autoload :OutputListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output_list_result.rb'
|
49
49
|
autoload :FunctionInput, '2016-03-01/generated/azure_mgmt_stream_analytics/models/function_input.rb'
|
50
50
|
autoload :StartStreamingJobParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/start_streaming_job_parameters.rb'
|
51
51
|
autoload :BlobDataSourceProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_data_source_properties.rb'
|
52
|
-
autoload :OutputListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output_list_result.rb'
|
53
|
-
autoload :ReferenceInputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/reference_input_data_source.rb'
|
54
|
-
autoload :Operation, '2016-03-01/generated/azure_mgmt_stream_analytics/models/operation.rb'
|
55
|
-
autoload :AzureSqlDatabaseDataSourceProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb'
|
56
|
-
autoload :ErrorResponse, '2016-03-01/generated/azure_mgmt_stream_analytics/models/error_response.rb'
|
57
52
|
autoload :FunctionRetrieveDefaultDefinitionParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/function_retrieve_default_definition_parameters.rb'
|
58
|
-
autoload :StreamingJobListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/streaming_job_list_result.rb'
|
59
53
|
autoload :SubResource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/sub_resource.rb'
|
60
|
-
autoload :
|
54
|
+
autoload :Operation, '2016-03-01/generated/azure_mgmt_stream_analytics/models/operation.rb'
|
55
|
+
autoload :StorageAccount, '2016-03-01/generated/azure_mgmt_stream_analytics/models/storage_account.rb'
|
56
|
+
autoload :AzureSqlDatabaseDataSourceProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb'
|
61
57
|
autoload :StreamInputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_data_source.rb'
|
62
|
-
autoload :
|
58
|
+
autoload :StreamingJobListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/streaming_job_list_result.rb'
|
63
59
|
autoload :InputListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/input_list_result.rb'
|
60
|
+
autoload :AzureMachineLearningWebServiceOutputColumn, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_output_column.rb'
|
61
|
+
autoload :OAuthBasedDataSourceProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/oauth_based_data_source_properties.rb'
|
62
|
+
autoload :ResourceTestStatus, '2016-03-01/generated/azure_mgmt_stream_analytics/models/resource_test_status.rb'
|
63
|
+
autoload :ErrorResponse, '2016-03-01/generated/azure_mgmt_stream_analytics/models/error_response.rb'
|
64
64
|
autoload :SubscriptionQuotasListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/subscription_quotas_list_result.rb'
|
65
65
|
autoload :Resource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/resource.rb'
|
66
|
-
autoload :
|
66
|
+
autoload :FunctionListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/function_list_result.rb'
|
67
67
|
autoload :Input, '2016-03-01/generated/azure_mgmt_stream_analytics/models/input.rb'
|
68
68
|
autoload :Transformation, '2016-03-01/generated/azure_mgmt_stream_analytics/models/transformation.rb'
|
69
69
|
autoload :Output, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output.rb'
|
@@ -72,8 +72,6 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
72
72
|
autoload :JavaScriptFunctionBinding, '2016-03-01/generated/azure_mgmt_stream_analytics/models/java_script_function_binding.rb'
|
73
73
|
autoload :AzureMachineLearningWebServiceFunctionBinding, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_binding.rb'
|
74
74
|
autoload :ScalarFunctionProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb'
|
75
|
-
autoload :JavaScriptFunctionRetrieveDefaultDefinitionParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/java_script_function_retrieve_default_definition_parameters.rb'
|
76
|
-
autoload :AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_retrieve_default_definition_parameters.rb'
|
77
75
|
autoload :AvroSerialization, '2016-03-01/generated/azure_mgmt_stream_analytics/models/avro_serialization.rb'
|
78
76
|
autoload :JsonSerialization, '2016-03-01/generated/azure_mgmt_stream_analytics/models/json_serialization.rb'
|
79
77
|
autoload :CsvSerialization, '2016-03-01/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb'
|
@@ -93,14 +91,16 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
93
91
|
autoload :EventHubStreamInputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb'
|
94
92
|
autoload :BlobStreamInputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb'
|
95
93
|
autoload :StreamInputProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb'
|
94
|
+
autoload :AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_retrieve_default_definition_parameters.rb'
|
95
|
+
autoload :JavaScriptFunctionRetrieveDefaultDefinitionParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/java_script_function_retrieve_default_definition_parameters.rb'
|
96
96
|
autoload :SubscriptionQuota, '2016-03-01/generated/azure_mgmt_stream_analytics/models/subscription_quota.rb'
|
97
97
|
autoload :SkuName, '2016-03-01/generated/azure_mgmt_stream_analytics/models/sku_name.rb'
|
98
98
|
autoload :OutputStartMode, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output_start_mode.rb'
|
99
99
|
autoload :EventsOutOfOrderPolicy, '2016-03-01/generated/azure_mgmt_stream_analytics/models/events_out_of_order_policy.rb'
|
100
100
|
autoload :OutputErrorPolicy, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output_error_policy.rb'
|
101
101
|
autoload :CompatibilityLevel, '2016-03-01/generated/azure_mgmt_stream_analytics/models/compatibility_level.rb'
|
102
|
-
autoload :UdfType, '2016-03-01/generated/azure_mgmt_stream_analytics/models/udf_type.rb'
|
103
102
|
autoload :JsonOutputSerializationFormat, '2016-03-01/generated/azure_mgmt_stream_analytics/models/json_output_serialization_format.rb'
|
104
103
|
autoload :Encoding, '2016-03-01/generated/azure_mgmt_stream_analytics/models/encoding.rb'
|
104
|
+
autoload :UdfType, '2016-03-01/generated/azure_mgmt_stream_analytics/models/udf_type.rb'
|
105
105
|
end
|
106
106
|
end
|
@@ -43,8 +43,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
43
43
|
#
|
44
44
|
# @return [Function] operation results.
|
45
45
|
#
|
46
|
-
def create_or_replace(function, resource_group_name, job_name, function_name, if_match
|
47
|
-
response = create_or_replace_async(function, resource_group_name, job_name, function_name, if_match, if_none_match, custom_headers).value!
|
46
|
+
def create_or_replace(function, resource_group_name, job_name, function_name, if_match:nil, if_none_match:nil, custom_headers:nil)
|
47
|
+
response = create_or_replace_async(function, resource_group_name, job_name, function_name, if_match:if_match, if_none_match:if_none_match, custom_headers:custom_headers).value!
|
48
48
|
response.body unless response.nil?
|
49
49
|
end
|
50
50
|
|
@@ -70,8 +70,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
70
70
|
#
|
71
71
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
72
72
|
#
|
73
|
-
def create_or_replace_with_http_info(function, resource_group_name, job_name, function_name, if_match
|
74
|
-
create_or_replace_async(function, resource_group_name, job_name, function_name, if_match, if_none_match, custom_headers).value!
|
73
|
+
def create_or_replace_with_http_info(function, resource_group_name, job_name, function_name, if_match:nil, if_none_match:nil, custom_headers:nil)
|
74
|
+
create_or_replace_async(function, resource_group_name, job_name, function_name, if_match:if_match, if_none_match:if_none_match, custom_headers:custom_headers).value!
|
75
75
|
end
|
76
76
|
|
77
77
|
#
|
@@ -96,7 +96,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
96
96
|
#
|
97
97
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
98
98
|
#
|
99
|
-
def create_or_replace_async(function, resource_group_name, job_name, function_name, if_match
|
99
|
+
def create_or_replace_async(function, resource_group_name, job_name, function_name, if_match:nil, if_none_match:nil, custom_headers:nil)
|
100
100
|
fail ArgumentError, 'function is nil' if function.nil?
|
101
101
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
102
102
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -106,6 +106,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
106
106
|
|
107
107
|
|
108
108
|
request_headers = {}
|
109
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
109
110
|
|
110
111
|
# Set Headers
|
111
112
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -113,8 +114,6 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
113
114
|
request_headers['If-None-Match'] = if_none_match unless if_none_match.nil?
|
114
115
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
115
116
|
|
116
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
117
|
-
|
118
117
|
# Serialize Request
|
119
118
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function.mapper()
|
120
119
|
request_content = @client.serialize(request_mapper, function)
|
@@ -194,8 +193,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
194
193
|
#
|
195
194
|
# @return [Function] operation results.
|
196
195
|
#
|
197
|
-
def update(function, resource_group_name, job_name, function_name, if_match
|
198
|
-
response = update_async(function, resource_group_name, job_name, function_name, if_match, custom_headers).value!
|
196
|
+
def update(function, resource_group_name, job_name, function_name, if_match:nil, custom_headers:nil)
|
197
|
+
response = update_async(function, resource_group_name, job_name, function_name, if_match:if_match, custom_headers:custom_headers).value!
|
199
198
|
response.body unless response.nil?
|
200
199
|
end
|
201
200
|
|
@@ -222,8 +221,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
222
221
|
#
|
223
222
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
224
223
|
#
|
225
|
-
def update_with_http_info(function, resource_group_name, job_name, function_name, if_match
|
226
|
-
update_async(function, resource_group_name, job_name, function_name, if_match, custom_headers).value!
|
224
|
+
def update_with_http_info(function, resource_group_name, job_name, function_name, if_match:nil, custom_headers:nil)
|
225
|
+
update_async(function, resource_group_name, job_name, function_name, if_match:if_match, custom_headers:custom_headers).value!
|
227
226
|
end
|
228
227
|
|
229
228
|
#
|
@@ -249,7 +248,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
249
248
|
#
|
250
249
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
251
250
|
#
|
252
|
-
def update_async(function, resource_group_name, job_name, function_name, if_match
|
251
|
+
def update_async(function, resource_group_name, job_name, function_name, if_match:nil, custom_headers:nil)
|
253
252
|
fail ArgumentError, 'function is nil' if function.nil?
|
254
253
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
255
254
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -259,14 +258,13 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
259
258
|
|
260
259
|
|
261
260
|
request_headers = {}
|
261
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
262
262
|
|
263
263
|
# Set Headers
|
264
264
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
265
265
|
request_headers['If-Match'] = if_match unless if_match.nil?
|
266
266
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
267
267
|
|
268
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
269
|
-
|
270
268
|
# Serialize Request
|
271
269
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function.mapper()
|
272
270
|
request_content = @client.serialize(request_mapper, function)
|
@@ -325,8 +323,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
325
323
|
# will be added to the HTTP request.
|
326
324
|
#
|
327
325
|
#
|
328
|
-
def delete(resource_group_name, job_name, function_name, custom_headers
|
329
|
-
response = delete_async(resource_group_name, job_name, function_name, custom_headers).value!
|
326
|
+
def delete(resource_group_name, job_name, function_name, custom_headers:nil)
|
327
|
+
response = delete_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
|
330
328
|
nil
|
331
329
|
end
|
332
330
|
|
@@ -343,8 +341,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
343
341
|
#
|
344
342
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
345
343
|
#
|
346
|
-
def delete_with_http_info(resource_group_name, job_name, function_name, custom_headers
|
347
|
-
delete_async(resource_group_name, job_name, function_name, custom_headers).value!
|
344
|
+
def delete_with_http_info(resource_group_name, job_name, function_name, custom_headers:nil)
|
345
|
+
delete_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
|
348
346
|
end
|
349
347
|
|
350
348
|
#
|
@@ -360,7 +358,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
360
358
|
#
|
361
359
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
362
360
|
#
|
363
|
-
def delete_async(resource_group_name, job_name, function_name, custom_headers
|
361
|
+
def delete_async(resource_group_name, job_name, function_name, custom_headers:nil)
|
364
362
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
365
363
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
366
364
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -369,6 +367,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
369
367
|
|
370
368
|
|
371
369
|
request_headers = {}
|
370
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
372
371
|
|
373
372
|
# Set Headers
|
374
373
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -416,8 +415,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
416
415
|
#
|
417
416
|
# @return [Function] operation results.
|
418
417
|
#
|
419
|
-
def get(resource_group_name, job_name, function_name, custom_headers
|
420
|
-
response = get_async(resource_group_name, job_name, function_name, custom_headers).value!
|
418
|
+
def get(resource_group_name, job_name, function_name, custom_headers:nil)
|
419
|
+
response = get_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
|
421
420
|
response.body unless response.nil?
|
422
421
|
end
|
423
422
|
|
@@ -434,8 +433,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
434
433
|
#
|
435
434
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
436
435
|
#
|
437
|
-
def get_with_http_info(resource_group_name, job_name, function_name, custom_headers
|
438
|
-
get_async(resource_group_name, job_name, function_name, custom_headers).value!
|
436
|
+
def get_with_http_info(resource_group_name, job_name, function_name, custom_headers:nil)
|
437
|
+
get_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
|
439
438
|
end
|
440
439
|
|
441
440
|
#
|
@@ -451,7 +450,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
451
450
|
#
|
452
451
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
453
452
|
#
|
454
|
-
def get_async(resource_group_name, job_name, function_name, custom_headers
|
453
|
+
def get_async(resource_group_name, job_name, function_name, custom_headers:nil)
|
455
454
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
456
455
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
457
456
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -460,6 +459,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
460
459
|
|
461
460
|
|
462
461
|
request_headers = {}
|
462
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
463
463
|
|
464
464
|
# Set Headers
|
465
465
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -513,15 +513,15 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
513
513
|
# @param job_name [String] The name of the streaming job.
|
514
514
|
# @param select [String] The $select OData query parameter. This is a
|
515
515
|
# comma-separated list of structural properties to include in the response, or
|
516
|
-
#
|
516
|
+
# "*" to include all properties. By default, all properties are returned except
|
517
517
|
# diagnostics. Currently only accepts '*' as a valid value.
|
518
518
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
519
519
|
# will be added to the HTTP request.
|
520
520
|
#
|
521
521
|
# @return [Array<Function>] operation results.
|
522
522
|
#
|
523
|
-
def list_by_streaming_job(resource_group_name, job_name, select
|
524
|
-
first_page = list_by_streaming_job_as_lazy(resource_group_name, job_name, select, custom_headers)
|
523
|
+
def list_by_streaming_job(resource_group_name, job_name, select:nil, custom_headers:nil)
|
524
|
+
first_page = list_by_streaming_job_as_lazy(resource_group_name, job_name, select:select, custom_headers:custom_headers)
|
525
525
|
first_page.get_all_items
|
526
526
|
end
|
527
527
|
|
@@ -534,15 +534,15 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
534
534
|
# @param job_name [String] The name of the streaming job.
|
535
535
|
# @param select [String] The $select OData query parameter. This is a
|
536
536
|
# comma-separated list of structural properties to include in the response, or
|
537
|
-
#
|
537
|
+
# "*" to include all properties. By default, all properties are returned except
|
538
538
|
# diagnostics. Currently only accepts '*' as a valid value.
|
539
539
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
540
540
|
# will be added to the HTTP request.
|
541
541
|
#
|
542
542
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
543
543
|
#
|
544
|
-
def list_by_streaming_job_with_http_info(resource_group_name, job_name, select
|
545
|
-
list_by_streaming_job_async(resource_group_name, job_name, select, custom_headers).value!
|
544
|
+
def list_by_streaming_job_with_http_info(resource_group_name, job_name, select:nil, custom_headers:nil)
|
545
|
+
list_by_streaming_job_async(resource_group_name, job_name, select:select, custom_headers:custom_headers).value!
|
546
546
|
end
|
547
547
|
|
548
548
|
#
|
@@ -554,14 +554,14 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
554
554
|
# @param job_name [String] The name of the streaming job.
|
555
555
|
# @param select [String] The $select OData query parameter. This is a
|
556
556
|
# comma-separated list of structural properties to include in the response, or
|
557
|
-
#
|
557
|
+
# "*" to include all properties. By default, all properties are returned except
|
558
558
|
# diagnostics. Currently only accepts '*' as a valid value.
|
559
559
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
560
560
|
# to the HTTP request.
|
561
561
|
#
|
562
562
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
563
563
|
#
|
564
|
-
def list_by_streaming_job_async(resource_group_name, job_name, select
|
564
|
+
def list_by_streaming_job_async(resource_group_name, job_name, select:nil, custom_headers:nil)
|
565
565
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
566
566
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
567
567
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -569,6 +569,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
569
569
|
|
570
570
|
|
571
571
|
request_headers = {}
|
572
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
572
573
|
|
573
574
|
# Set Headers
|
574
575
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -635,8 +636,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
635
636
|
#
|
636
637
|
# @return [ResourceTestStatus] operation results.
|
637
638
|
#
|
638
|
-
def test(resource_group_name, job_name, function_name, function
|
639
|
-
response = test_async(resource_group_name, job_name, function_name, function, custom_headers).value!
|
639
|
+
def test(resource_group_name, job_name, function_name, function:nil, custom_headers:nil)
|
640
|
+
response = test_async(resource_group_name, job_name, function_name, function:function, custom_headers:custom_headers).value!
|
640
641
|
response.body unless response.nil?
|
641
642
|
end
|
642
643
|
|
@@ -659,9 +660,9 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
659
660
|
# @return [Concurrent::Promise] promise which provides async access to http
|
660
661
|
# response.
|
661
662
|
#
|
662
|
-
def test_async(resource_group_name, job_name, function_name, function
|
663
|
+
def test_async(resource_group_name, job_name, function_name, function:nil, custom_headers:nil)
|
663
664
|
# Send request
|
664
|
-
promise = begin_test_async(resource_group_name, job_name, function_name, function, custom_headers)
|
665
|
+
promise = begin_test_async(resource_group_name, job_name, function_name, function:function, custom_headers:custom_headers)
|
665
666
|
|
666
667
|
promise = promise.then do |response|
|
667
668
|
# Defining deserialization method.
|
@@ -694,8 +695,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
694
695
|
#
|
695
696
|
# @return [Function] operation results.
|
696
697
|
#
|
697
|
-
def retrieve_default_definition(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters
|
698
|
-
response = retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters, custom_headers).value!
|
698
|
+
def retrieve_default_definition(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters:nil, custom_headers:nil)
|
699
|
+
response = retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters:function_retrieve_default_definition_parameters, custom_headers:custom_headers).value!
|
699
700
|
response.body unless response.nil?
|
700
701
|
end
|
701
702
|
|
@@ -716,8 +717,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
716
717
|
#
|
717
718
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
718
719
|
#
|
719
|
-
def retrieve_default_definition_with_http_info(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters
|
720
|
-
retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters, custom_headers).value!
|
720
|
+
def retrieve_default_definition_with_http_info(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters:nil, custom_headers:nil)
|
721
|
+
retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters:function_retrieve_default_definition_parameters, custom_headers:custom_headers).value!
|
721
722
|
end
|
722
723
|
|
723
724
|
#
|
@@ -737,7 +738,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
737
738
|
#
|
738
739
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
739
740
|
#
|
740
|
-
def retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters
|
741
|
+
def retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters:nil, custom_headers:nil)
|
741
742
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
742
743
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
743
744
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -746,13 +747,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
746
747
|
|
747
748
|
|
748
749
|
request_headers = {}
|
750
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
749
751
|
|
750
752
|
# Set Headers
|
751
753
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
752
754
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
753
755
|
|
754
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
755
|
-
|
756
756
|
# Serialize Request
|
757
757
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters.mapper()
|
758
758
|
request_content = @client.serialize(request_mapper, function_retrieve_default_definition_parameters)
|
@@ -821,8 +821,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
821
821
|
#
|
822
822
|
# @return [ResourceTestStatus] operation results.
|
823
823
|
#
|
824
|
-
def begin_test(resource_group_name, job_name, function_name, function
|
825
|
-
response = begin_test_async(resource_group_name, job_name, function_name, function, custom_headers).value!
|
824
|
+
def begin_test(resource_group_name, job_name, function_name, function:nil, custom_headers:nil)
|
825
|
+
response = begin_test_async(resource_group_name, job_name, function_name, function:function, custom_headers:custom_headers).value!
|
826
826
|
response.body unless response.nil?
|
827
827
|
end
|
828
828
|
|
@@ -848,8 +848,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
848
848
|
#
|
849
849
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
850
850
|
#
|
851
|
-
def begin_test_with_http_info(resource_group_name, job_name, function_name, function
|
852
|
-
begin_test_async(resource_group_name, job_name, function_name, function, custom_headers).value!
|
851
|
+
def begin_test_with_http_info(resource_group_name, job_name, function_name, function:nil, custom_headers:nil)
|
852
|
+
begin_test_async(resource_group_name, job_name, function_name, function:function, custom_headers:custom_headers).value!
|
853
853
|
end
|
854
854
|
|
855
855
|
#
|
@@ -874,7 +874,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
874
874
|
#
|
875
875
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
876
876
|
#
|
877
|
-
def begin_test_async(resource_group_name, job_name, function_name, function
|
877
|
+
def begin_test_async(resource_group_name, job_name, function_name, function:nil, custom_headers:nil)
|
878
878
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
879
879
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
880
880
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -883,13 +883,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
883
883
|
|
884
884
|
|
885
885
|
request_headers = {}
|
886
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
886
887
|
|
887
888
|
# Set Headers
|
888
889
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
889
890
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
890
891
|
|
891
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
892
|
-
|
893
892
|
# Serialize Request
|
894
893
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function.mapper()
|
895
894
|
request_content = @client.serialize(request_mapper, function)
|
@@ -946,8 +945,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
946
945
|
#
|
947
946
|
# @return [FunctionListResult] operation results.
|
948
947
|
#
|
949
|
-
def list_by_streaming_job_next(next_page_link, custom_headers
|
950
|
-
response = list_by_streaming_job_next_async(next_page_link, custom_headers).value!
|
948
|
+
def list_by_streaming_job_next(next_page_link, custom_headers:nil)
|
949
|
+
response = list_by_streaming_job_next_async(next_page_link, custom_headers:custom_headers).value!
|
951
950
|
response.body unless response.nil?
|
952
951
|
end
|
953
952
|
|
@@ -961,8 +960,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
961
960
|
#
|
962
961
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
963
962
|
#
|
964
|
-
def list_by_streaming_job_next_with_http_info(next_page_link, custom_headers
|
965
|
-
list_by_streaming_job_next_async(next_page_link, custom_headers).value!
|
963
|
+
def list_by_streaming_job_next_with_http_info(next_page_link, custom_headers:nil)
|
964
|
+
list_by_streaming_job_next_async(next_page_link, custom_headers:custom_headers).value!
|
966
965
|
end
|
967
966
|
|
968
967
|
#
|
@@ -975,11 +974,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
975
974
|
#
|
976
975
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
977
976
|
#
|
978
|
-
def list_by_streaming_job_next_async(next_page_link, custom_headers
|
977
|
+
def list_by_streaming_job_next_async(next_page_link, custom_headers:nil)
|
979
978
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
980
979
|
|
981
980
|
|
982
981
|
request_headers = {}
|
982
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
983
983
|
|
984
984
|
# Set Headers
|
985
985
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -1032,7 +1032,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
1032
1032
|
# @param job_name [String] The name of the streaming job.
|
1033
1033
|
# @param select [String] The $select OData query parameter. This is a
|
1034
1034
|
# comma-separated list of structural properties to include in the response, or
|
1035
|
-
#
|
1035
|
+
# "*" to include all properties. By default, all properties are returned except
|
1036
1036
|
# diagnostics. Currently only accepts '*' as a valid value.
|
1037
1037
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1038
1038
|
# will be added to the HTTP request.
|
@@ -1040,12 +1040,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
1040
1040
|
# @return [FunctionListResult] which provide lazy access to pages of the
|
1041
1041
|
# response.
|
1042
1042
|
#
|
1043
|
-
def list_by_streaming_job_as_lazy(resource_group_name, job_name, select
|
1044
|
-
response = list_by_streaming_job_async(resource_group_name, job_name, select, custom_headers).value!
|
1043
|
+
def list_by_streaming_job_as_lazy(resource_group_name, job_name, select:nil, custom_headers:nil)
|
1044
|
+
response = list_by_streaming_job_async(resource_group_name, job_name, select:select, custom_headers:custom_headers).value!
|
1045
1045
|
unless response.nil?
|
1046
1046
|
page = response.body
|
1047
1047
|
page.next_method = Proc.new do |next_page_link|
|
1048
|
-
list_by_streaming_job_next_async(next_page_link, custom_headers)
|
1048
|
+
list_by_streaming_job_next_async(next_page_link, custom_headers:custom_headers)
|
1049
1049
|
end
|
1050
1050
|
page
|
1051
1051
|
end
|